/* ==========================================================================
   Header global LASSORI — valores do original (controle).
   Transparente sobre o hero, solidifica ao rolar. Menu Clash Grotesk 28px.
   Breakpoints: mobile <740 · tablet 740–1159 · desktop ≥1160.
   ========================================================================== */
.raz-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: var(--raz-z-header);
	background: transparent;
	color: var(--raz-cream);
	transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
	will-change: transform;
}
/* ao rolar: fundo escuro (uicore_dark do original) */
.raz-header.is-scrolled {
	background: var(--raz-ink);
}
/* smart-scroll: esconde ao descer, reaparece ao subir */
.raz-header.is-hidden { transform: translateY(-100%); }
.raz-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--raz-sp-2);
	min-height: var(--raz-header-h);
}
.raz-header__title { font-family: var(--raz-font-display); font-weight: 500; font-size: 1.5rem; color: var(--raz-cream); text-decoration: none; }
.raz-header__brand img,
.raz-header .custom-logo { max-height: 27px; width: auto; display: block; }

.raz-header__aux { display: flex; align-items: center; gap: var(--raz-sp-3); }

.raz-header__nav { display: none; }

/* Seletor de idioma — SÓ a bandeira (BR=PT, US=EN) */
.raz-langs { display: inline-flex; align-items: center; gap: 0.5rem; }
.raz-langs__item {
	display: inline-flex; align-items: center;
	padding: 0.25rem;
	font-size: 0; line-height: 0;
	border-radius: 3px; text-decoration: none;
}
.raz-langs__item::before {
	content: ""; display: inline-block;
	width: 22px; height: 15px;
	background-size: cover; background-position: center;
	border-radius: 2px;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--raz-cream) 25%, transparent);
}
.raz-langs__item[lang="pt"]::before { background-image: url("../../img/flags/br.svg"); }
.raz-langs__item[lang="en"]::before { background-image: url("../../img/flags/us.svg"); }
.raz-langs__item[lang="ko"]::before { background-image: url("../../img/flags/kr.svg"); }
.raz-langs__item:not(.is-current) { opacity: 0.55; }
.raz-langs__item.is-current::before { box-shadow: 0 0 0 1px var(--raz-cream); }
.raz-langs__item:hover { opacity: 1; }

/* Hambúrguer (creme) — mobile/tablet */
.raz-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.raz-burger__box { position: relative; width: 26px; height: 2px; background: var(--raz-cream); display: block; }
.raz-burger__line { position: absolute; left: 0; width: 26px; height: 2px; background: var(--raz-cream); }
.raz-burger__line::before { content: ""; position: absolute; left: 0; top: -8px; width: 26px; height: 2px; background: var(--raz-cream); }
.raz-burger__line::after { content: ""; position: absolute; left: 0; top: 8px; width: 26px; height: 2px; background: var(--raz-cream); }

/* Desktop ≥1160: menu inline (Clash Grotesk 28px) */
@media (min-width: 1160px) {
	.raz-header__nav { display: block; }
	.raz-burger { display: none; }
	.raz-menu { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
	.raz-menu a {
		font-family: var(--raz-font-nav);
		font-weight: 400;
		font-size: 28px;
		color: var(--raz-cream);
		text-decoration: none;
		opacity: 0.92;
	}
	.raz-menu a:hover { opacity: 1; }
	.raz-menu .current-menu-item > a,
	.raz-menu .current_page_item > a { border-bottom: 1px solid var(--raz-cream); opacity: 1; }
}
