/* =========================================================
   HEADER
   ========================================================= */

.header {
	position: relative;
	z-index: 50;

	width: 100%;

	background: rgba(245, 244, 239, 0.94);

	border-bottom: 1px solid var(--color-border);

	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;

	min-height: 78px;

	gap: 40px;
}

/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.header__brand {
	display: inline-flex;
	align-items: center;

	flex: 0 0 auto;

	color: var(--color-text);

	transition: color var(--transition);
}

.header__brand:hover {
	color: var(--color-primary);
}

.header__brand-name {
	display: block;

	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

.header__nav {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 34px;

	margin-left: auto;
}

.header__nav a {
	position: relative;

	color: var(--color-text-light);

	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;

	transition: color var(--transition);
}

.header__nav a::after {
	content: '';

	position: absolute;
	left: 0;
	bottom: -9px;

	width: 100%;
	height: 1px;

	background: var(--color-primary);

	transform: scaleX(0);
	transform-origin: right;

	transition: transform var(--transition);
}

.header__nav a:hover {
	color: var(--color-text);
}

.header__nav a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* ---------------------------------------------------------
   WHATSAPP BUTTON
   --------------------------------------------------------- */

.header__button {
	flex: 0 0 auto;

	min-height: 46px;

	padding: 0 19px;

	font-size: 11px;
}

.header__button .button__icon {
	width: 18px;
	height: 18px;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 820px) {
	.header__container {
		min-height: 70px;
		gap: 20px;
	}

	.header__nav {
		display: none;
	}

	.header__button {
		min-height: 44px;
		padding: 0 16px;
	}

	.header__button span {
		font-size: 11px;
	}
}

@media (max-width: 480px) {
	.header__container {
		gap: 14px;
	}

	.header__brand-name {
		font-size: 16px;
	}

	.header__button {
		min-height: 42px;
		padding: 0 14px;
	}

	.header__button .button__icon {
		width: 17px;
		height: 17px;
	}

	.header__button span {
		font-size: 10px;
	}
}
