/* =========================================================
   HEADER
   ASHELO LANDINGS 08 · CUIDADOS
   ========================================================= */

.header {
	position: relative;
	z-index: var(--z-header);
	width: 100%;
	background: var(--color-bg);
	border-bottom: 1px solid var(--color-border-light);
}

.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	gap: 40px;
}

/* =========================================================
   BRAND
   ========================================================= */

.header__brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--color-dark);
}

.header__brand-name {
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: var(--weight-bold);
	line-height: 1;
	letter-spacing: -0.02em;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.header__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-left: auto;
}

.header__nav a {
	position: relative;
	padding: 8px 0;
	color: var(--color-text);
	font-size: var(--text-sm);
	font-weight: var(--weight-medium);
	line-height: 1.2;
}

.header__nav a::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 1px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform var(--transition-base);
}

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

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

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

.header__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	flex-shrink: 0;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--color-dark);
	border-radius: var(--radius-pill);
	background: var(--color-dark);
	color: var(--color-light);
	font-size: var(--text-sm);
	font-weight: var(--weight-semibold);
	line-height: 1;
	white-space: nowrap;
}

.header__button:hover {
	border-color: var(--color-accent-dark);
	background: var(--color-accent-dark);
	color: var(--color-light);
	transform: translateY(-1px);
}

.header__button .button__icon {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
	.header__container {
		gap: 24px;
	}

	.header__nav {
		gap: 20px;
	}
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
	.header__container {
		min-height: 72px;
		gap: 16px;
	}

	.header__nav {
		display: none;
	}

	.header__button {
		min-height: 42px;
		padding: 0 15px;
		font-size: 13px;
	}

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

	.header__button span:last-child {
		display: none;
	}
}
