@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght,YOPQ@100..900,300&display=swap');

html {
	font-family: 'Kumbh Sans', sans-serif;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

.glass-effect {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	border: 1px inset rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 15px rgba(0, 0, 0, .08);
	background: #00000075;
}

.glass-effect::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	filter: url(#glass-distortion);
	-webkit-filter: url(#glass-distortion);
}

.site-header {
	font-family: 'Kumbh Sans', sans-serif;
	position: relative;
	width: 100%;
	background-image:
		url('../img/header-sem-gemini.avif');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100vh;
	padding: 0;
}

.site-header__bar {
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 16px;
	margin: 0 auto;
	top: 0;
	position: fixed;
	isolation: isolate;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 32px 0;
	z-index: 10;

	background: transparent;
	transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}



.site-header__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
	padding: 0.4em 0.8em;

	border-radius: 15px;
	border: 1px inset rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 15px rgba(0, 0, 0, .08);

	img {
		display: block;
		height: 40px;
		width: auto;
		margin: 0;
	}
}


.site-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;

	font-size: clamp(0.8rem, 1.5vw, 1rem);

}

.site-header__nav-title {
	display: none;
}

.site-header__nav {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px 24px;

	align-items: center;
	justify-content: flex-end;
	position: relative;
	overflow: hidden;
	padding: 1em;

	a {
		color: white;
		font-weight: 300;
		letter-spacing: 0.5px;
		text-transform: uppercase;
		text-decoration: none;
		white-space: wrap;
		transition: opacity 0.2s ease;


		&:hover {
			opacity: 0.8;
		}
	}

	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	border-radius: 15px;
	border: 1px inset rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 15px rgba(0, 0, 0, .08);

}


.site-header__protocolo {
	background-color: #73A641;
	padding: 1em;
	text-decoration: none;
	color: #ffffff;
	border-radius: 12px;
	transition: background-color 0.2s ease;
}

.site-header__protocolo:hover {
	background-color: #648F38;
	opacity: 1;
}

.hamburger {
	display: none;
	cursor: pointer;
	z-index: 20;


	.svg-open{
		border: none;
		background: none;
		box-shadow: transparent;
	}
}

.hamburger input {
	display: none;
}

.hamburger svg {
	height: 2.8em;
	transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger .line {
	fill: none;
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.5;
	transition:
		stroke-dasharray 400ms cubic-bezier(0.4, 0, 0.2, 1),
		stroke-dashoffset 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger .line-top-bottom {
	stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
	transform: rotate(-45deg);
}

.hamburger input:checked+svg .line-top-bottom {
	stroke-dasharray: 20 300;
	stroke-dashoffset: -32.42;
}

@media (max-width: 868px) {
	.hamburger {
		display: block;

	}

	.site-header__toggle span {
		display: block;
		width: 100%;
		height: 2px;
		background: #fff;
		border-radius: 2px;
		transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;

	}

	/* Animação para "X" quando aberto */
	.site-header__toggle.is-open span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.site-header__toggle.is-open span:nth-child(2) {
		opacity: 0;
	}

	.site-header__toggle.is-open span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.site-header__bar {
		align-items: center;
		padding: 16px 20px;
	}

	.site-header__toggle {
		display: flex;
	}

	.site-header__actions {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: min(80vw, 320px);
		flex-direction: column;
		align-items: flex-start;
		justify-content:flex-start;
		gap: 24px;
		padding: 32px 24px;
		background: #000000d9;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		transform: translateX(100%);
		transition: transform 0.3s ease-in-out;

		font-size: clamp(1rem, 1.5vw, 1rem);
	}

	.site-header__actions.is-open {
		transform: translateX(0);
	}

	.site-header__nav-title {
		display: block;
		color: #ffffff;
		font-size: 1.1rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		margin: 0 0 8px;
	}

	.site-header__nav {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		background: transparent;
		border: none;
		border-radius: 0px;
		box-shadow: none;
		padding: 0;
	}

	.site-header__nav::after {
		display: none;
	}

	.site-header__protocolo {
		width: 100%;
		text-align: center;
		padding: 1em 0;
		font-weight: 500;
	}
}

@media (max-width: 768px) {
	.site-header__bar {
		align-items: flex-start;
		padding: 16px 20px;
		align-items: center;
	}

	.site-header__nav {
		justify-content: flex-start;
	}
}