/**
 * Cabeçalho da Aromatto Parfums
 *
 * Estrutura visual para o Header Builder do Blocksy.
 * Os itens (logo, menu, busca e botão) continuam configuráveis pelo painel.
 */

:root {
	--aromatto-gold: var(--aromatto-brand, #b8862f);
	--aromatto-gold-hover: var(--aromatto-brand-strong, #936719);
	--aromatto-black: var(--aromatto-on-brand, #17120a);
}

/* Base do header */
#header.ct-header {
	position: relative;
	z-index: 50;
	font-family: "Manrope", Arial, Helvetica, sans-serif;
}

#header [data-row="middle"] {
	background: var(--aromatto-header-bg);
	border-bottom: 1px solid var(--aromatto-border);
	box-shadow: 0 8px 24px var(--aromatto-shadow);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: background-color var(--aromatto-motion-base) var(--aromatto-ease-standard), border-color var(--aromatto-motion-base) var(--aromatto-ease-standard), box-shadow var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

#header [data-device="desktop"] [data-row="middle"] > .ct-container,
#header [data-device="desktop"] [data-row="middle"] > .ct-container-fluid {
	min-height: 72px;
}

/* Marca / logo
 * Recupera o lockup mais equilibrado do projeto anterior:
 * emblema compacto + AROMATTO discreto + PARFUMS em destaque.
 */
#header .site-branding {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

#header .site-logo-container {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border: 1px solid color-mix(in srgb, var(--aromatto-gold) 55%, transparent);
	border-radius: 50%;
	background: #000;
	box-shadow: 0 0 0 3px var(--aromatto-brand-glow);
	transition:
		transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
		border-color 280ms ease,
		box-shadow 280ms ease,
		filter 280ms ease;
	overflow: hidden;
}

#header .site-logo-container::after {
	content: none;
}

#header .site-logo-container img,
#header .site-logo-container svg {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	transform: none;
	filter: none;
	transition: none;
}

#header .site-title-container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 46px;
	margin: 0;
}

#header .site-title {
	display: flex;
	align-items: center;
	margin: 0;
	line-height: 1;
	white-space: nowrap;
}

#header .site-title a {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 3px;
	color: var(--aromatto-header-text);
	text-decoration: none;
}

#header .aromatto-brand-name {
	display: block;
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--aromatto-header-muted);
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

#header .aromatto-brand-subtitle {
	display: block;
	margin: 0;
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--aromatto-header-text);
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

#header .site-branding:hover .site-logo-container {
	transform: scale(1.05);
	border-color: var(--aromatto-gold);
	box-shadow:
		0 0 0 3px var(--aromatto-brand-glow),
		0 5px 16px color-mix(in srgb, var(--aromatto-gold) 24%, transparent);
	filter: brightness(1.06) saturate(1.04);
}

#header .site-branding:hover .aromatto-brand-name {
	color: var(--aromatto-header-muted);
}

#header .site-branding:hover .aromatto-brand-subtitle {
	color: var(--aromatto-gold);
}

/* Menu principal */
#header .menu-container > ul > li > a {
	position: relative;
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.015em;
	color: var(--aromatto-header-muted);
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

#header .menu-container > ul > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 8px;
	width: 0;
	height: 2px;
	border-radius: 999px;
	background: var(--aromatto-gold);
	transform: translateX(-50%);
	transition: width var(--aromatto-motion-base) var(--aromatto-ease-out);
}

#header .menu-container > ul > li:hover > a,
#header .menu-container > ul > li.current-menu-item > a,
#header .menu-container > ul > li.current-menu-ancestor > a {
	color: var(--aromatto-gold-hover);
}

#header .menu-container > ul > li:hover > a::after,
#header .menu-container > ul > li.current-menu-item > a::after,
#header .menu-container > ul > li.current-menu-ancestor > a::after {
	width: 22px;
}

/* Busca */
#header .ct-header-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--aromatto-border);
	border-radius: 50%;
	color: var(--aromatto-header-text);
	background: var(--aromatto-icon-bg);
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard), border-color var(--aromatto-motion-base) var(--aromatto-ease-standard), background-color var(--aromatto-motion-base) var(--aromatto-ease-standard), transform var(--aromatto-motion-base) var(--aromatto-ease-out);
}

#header .ct-header-search:hover {
	color: var(--aromatto-gold-hover);
	border-color: rgba(201, 162, 39, 0.72);
	background: var(--aromatto-icon-hover);
	transform: translateY(-1px);
}

/* CTA do WhatsApp via elemento Button do Blocksy */
#header .ct-header-cta .ct-button,
#header .ct-header-cta .ct-button-ghost {
	min-height: 44px;
	padding: 0 19px;
	border: 1px solid var(--aromatto-gold);
	border-radius: 999px;
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	color: var(--aromatto-black);
	background: var(--aromatto-gold);
	box-shadow: none;
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard), border-color var(--aromatto-motion-base) var(--aromatto-ease-standard), background-color var(--aromatto-motion-base) var(--aromatto-ease-standard), transform var(--aromatto-motion-base) var(--aromatto-ease-out), box-shadow var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

#header .ct-header-cta .ct-button:hover,
#header .ct-header-cta .ct-button-ghost:hover {
	color: var(--aromatto-black);
	border-color: var(--aromatto-gold-hover);
	background: var(--aromatto-gold-hover);
	transform: translateY(-1px);
}

#header .ct-header-cta a[href*="wa.me"],
#header .ct-header-cta a[href*="whatsapp.com"] {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #ffffff;
	border-color: var(--aromatto-whatsapp);
	background: var(--aromatto-whatsapp);
	box-shadow: 0 8px 20px var(--aromatto-whatsapp-shadow);
}

#header .ct-header-cta a[href*="wa.me"]:hover,
#header .ct-header-cta a[href*="whatsapp.com"]:hover {
	color: #ffffff;
	border-color: var(--aromatto-whatsapp-hover);
	background: var(--aromatto-whatsapp-hover);
	box-shadow: 0 11px 24px var(--aromatto-whatsapp-shadow);
}

#header .ct-header-cta a[href*="wa.me"]::before,
#header .ct-header-cta a[href*="whatsapp.com"]::before,
.aromatto-mobile-whatsapp::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: url("../images/whatsapp.svg") center / contain no-repeat;
}

/* Foco acessível para navegação por teclado */
#header a:focus-visible,
#header button:focus-visible,
#offcanvas a:focus-visible,
#offcanvas button:focus-visible {
	outline: 2px solid var(--aromatto-gold);
	outline-offset: 3px;
}

/* Mobile / tablet */
#header [data-device="mobile"] [data-row="middle"] > .ct-container,
#header [data-device="mobile"] [data-row="middle"] > .ct-container-fluid {
	min-height: 68px;
}

#header [data-device="mobile"] .site-logo-container img,
#header [data-device="mobile"] .site-logo-container svg {
	max-height: 44px;
}

#header .ct-header-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--aromatto-border);
	border-radius: 50%;
	color: var(--aromatto-header-text);
	background: var(--aromatto-icon-bg);
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard), border-color var(--aromatto-motion-base) var(--aromatto-ease-standard), background-color var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

#header .ct-header-trigger:hover {
	color: var(--aromatto-gold-hover);
	border-color: rgba(201, 162, 39, 0.72);
	background: var(--aromatto-icon-hover);
}

#offcanvas .mobile-menu a {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 600;
}

#offcanvas .mobile-menu > ul > li > a {
	font-size: 18px;
	color: var(--aromatto-text);
}

#offcanvas .mobile-menu li.current-menu-item > a,
#offcanvas .mobile-menu li.current-menu-ancestor > a,
#offcanvas .mobile-menu a:hover {
	color: var(--aromatto-gold-hover);
}

@media (max-width: 1024px) {
	#header .site-title {
		font-size: 19px;
	}
}

@media (max-width: 689px) {
	#header [data-device="mobile"] [data-row="middle"] > .ct-container,
	#header [data-device="mobile"] [data-row="middle"] > .ct-container-fluid {
		min-height: 64px;
	}

	#header [data-device="mobile"] .site-logo-container img,
	#header [data-device="mobile"] .site-logo-container svg {
		max-height: 40px;
	}

	#header .ct-header-search,
	#header .ct-header-trigger {
		width: 40px;
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#header *,
	#offcanvas * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================
 * Finalização do cabeçalho: sticky + navegação mobile própria
 * ========================================================== */

#header.ct-header {
	position: sticky;
	top: 0;
	transition: box-shadow var(--aromatto-motion-base) var(--aromatto-ease-standard), transform var(--aromatto-motion-base) var(--aromatto-ease-out);
}

body.admin-bar #header.ct-header {
	top: 32px;
}

#header.ct-header.is-scrolled [data-row="middle"] {
	box-shadow: 0 10px 28px var(--aromatto-shadow);
}

#header [data-device="desktop"] .site-branding {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.aromatto-mobile-actions,
.aromatto-mobile-drawer {
	display: none;
}

@media (max-width: 1024px) {
	/* O child theme controla o mobile usando a mesma marca do desktop. */
	#header [data-device="mobile"] {
		display: none !important;
	}

	#header [data-device="desktop"] {
		display: block !important;
	}

	#header [data-device="desktop"] [data-row="middle"] > .ct-container,
	#header [data-device="desktop"] [data-row="middle"] > .ct-container-fluid {
		min-height: 68px;
		padding-inline: 20px;
	}

	#header [data-device="desktop"] .menu-container,
	#header [data-device="desktop"] .ct-header-search,
	#header [data-device="desktop"] .ct-header-cta {
		display: none !important;
	}

	#header [data-device="desktop"] .site-logo-container img,
	#header [data-device="desktop"] .site-logo-container svg {
		max-height: 46px;
	}

	#header .aromatto-brand-name {
		font-size: 8px;
		letter-spacing: 0.3em;
	}

	#header .aromatto-brand-subtitle {
		font-size: 15px;
		letter-spacing: 0.105em;
	}

	.aromatto-mobile-actions {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-left: auto;
	}

	.aromatto-mobile-search,
	.aromatto-mobile-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 1px solid var(--aromatto-border);
		border-radius: 50%;
		color: var(--aromatto-header-text);
		background: var(--aromatto-icon-bg);
		cursor: pointer;
		transition: border-color var(--aromatto-motion-base) var(--aromatto-ease-standard), background-color var(--aromatto-motion-base) var(--aromatto-ease-standard), transform var(--aromatto-motion-base) var(--aromatto-ease-out);
	}

	.aromatto-mobile-search:hover,
	.aromatto-mobile-toggle:hover {
		border-color: var(--aromatto-gold);
		background: var(--aromatto-icon-hover);
		transform: translateY(-1px);
	}

	.aromatto-mobile-toggle {
		flex-direction: column;
		gap: 4px;
	}

	.aromatto-mobile-toggle span {
		display: block;
		width: 18px;
		height: 1.5px;
		border-radius: 99px;
		background: currentColor;
	}

	.aromatto-mobile-drawer {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 99999;
		visibility: hidden;
		pointer-events: none;
	}

	.aromatto-mobile-drawer.is-open {
		visibility: visible;
		pointer-events: auto;
	}

	.aromatto-mobile-backdrop {
		position: absolute;
		inset: 0;
		background: rgba(13, 13, 13, 0.48);
		opacity: 0;
		transition: opacity var(--aromatto-motion-base) var(--aromatto-ease-standard);
	}

	.aromatto-mobile-drawer.is-open .aromatto-mobile-backdrop {
		opacity: 1;
	}

	.aromatto-mobile-panel {
		position: absolute;
		top: 0;
		right: 0;
		width: min(88vw, 380px);
		height: 100%;
		padding: 22px;
		background: var(--aromatto-surface);
		box-shadow: -18px 0 50px var(--aromatto-shadow);
		transform: translateX(104%);
		transition: transform 420ms var(--aromatto-ease-out);
		overflow-y: auto;
	}

	.aromatto-mobile-drawer.is-open .aromatto-mobile-panel {
		transform: translateX(0);
	}

	.aromatto-mobile-panel-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		margin-bottom: 20px;
	}

	.aromatto-mobile-panel-head strong {
		font-family: "Manrope", Arial, Helvetica, sans-serif;
		font-size: 24px;
		font-weight: 600;
		color: var(--aromatto-text);
	}

	.aromatto-mobile-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 1px solid var(--aromatto-border);
		border-radius: 50%;
		font-size: 26px;
		font-weight: 300;
		line-height: 1;
		color: var(--aromatto-text);
		background: var(--aromatto-surface);
		cursor: pointer;
	}

	.aromatto-mobile-search-form {
		display: grid;
		grid-template-columns: 1fr 46px;
		gap: 8px;
		margin-bottom: 24px;
	}

	.aromatto-mobile-search-form input {
		min-width: 0;
		height: 46px;
		padding: 0 14px;
		border: 1px solid var(--aromatto-border);
		border-radius: 12px;
		font: 400 15px/1.2 "Manrope", Arial, Helvetica, sans-serif;
		color: var(--aromatto-text);
		background: var(--aromatto-surface);
	}

	.aromatto-mobile-search-form input:focus {
		border-color: var(--aromatto-gold);
		outline: 2px solid rgba(201, 162, 39, 0.16);
		outline-offset: 1px;
	}

	.aromatto-mobile-search-form button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 0;
		border-radius: 12px;
		color: var(--aromatto-black);
		background: var(--aromatto-gold);
		cursor: pointer;
	}

	.aromatto-mobile-nav .menu,
	.aromatto-mobile-nav ul {
		display: flex !important;
		flex-direction: column;
		gap: 0;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.aromatto-mobile-nav li {
		width: 100%;
		border-bottom: 1px solid var(--aromatto-border);
	}

	.aromatto-mobile-nav a {
		display: flex;
		align-items: center;
		min-height: 54px;
		padding: 0 2px;
		font: 600 16px/1.2 "Manrope", Arial, Helvetica, sans-serif;
		color: var(--aromatto-text);
		text-decoration: none;
	}

	.aromatto-mobile-nav .current-menu-item > a,
	.aromatto-mobile-nav .current-menu-ancestor > a,
	.aromatto-mobile-nav a:hover {
		color: var(--aromatto-gold-hover);
	}

	.aromatto-mobile-whatsapp {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 9px;
		min-height: 48px;
		margin-top: 24px;
		padding: 0 18px;
		border: 1px solid var(--aromatto-whatsapp);
		border-radius: 999px;
		font: 600 15px/1 "Manrope", Arial, Helvetica, sans-serif;
		color: #ffffff;
		background: var(--aromatto-whatsapp);
		box-shadow: 0 10px 24px var(--aromatto-whatsapp-shadow);
		text-decoration: none;
		transition: background-color var(--aromatto-motion-base) var(--aromatto-ease-standard), border-color var(--aromatto-motion-base) var(--aromatto-ease-standard), transform var(--aromatto-motion-base) var(--aromatto-ease-out), box-shadow var(--aromatto-motion-base) var(--aromatto-ease-standard);
	}

	.aromatto-mobile-whatsapp:hover {
		color: #ffffff;
		border-color: var(--aromatto-whatsapp-hover);
		background: var(--aromatto-whatsapp-hover);
		box-shadow: 0 13px 28px var(--aromatto-whatsapp-shadow);
		transform: translateY(-1px);
	}

	html.aromatto-menu-open,
	html.aromatto-menu-open body {
		overflow: hidden;
	}
}

@media (max-width: 782px) {
	body.admin-bar #header.ct-header {
		top: 46px;
	}
}

@media (max-width: 520px) {
	#header [data-device="desktop"] [data-row="middle"] > .ct-container,
	#header [data-device="desktop"] [data-row="middle"] > .ct-container-fluid {
		min-height: 64px;
		padding-inline: 14px;
	}

	#header [data-device="desktop"] .site-branding {
		column-gap: 8px;
	}

	#header [data-device="desktop"] .site-logo-container img,
	#header [data-device="desktop"] .site-logo-container svg {
		max-height: 40px;
	}

	#header .aromatto-brand-name {
		font-size: 7px;
		letter-spacing: 0.27em;
	}

	#header .aromatto-brand-subtitle {
		font-size: 13px;
		letter-spacing: 0.095em;
	}

	.aromatto-mobile-search,
	.aromatto-mobile-toggle {
		width: 39px;
		height: 39px;
	}
}

@media (max-width: 390px) {
	#header [data-device="desktop"] .site-branding {
		column-gap: 7px;
	}

	#header .aromatto-brand-name {
		font-size: 6.5px;
		letter-spacing: 0.24em;
	}

	#header .aromatto-brand-subtitle {
		font-size: 12px;
		letter-spacing: 0.085em;
	}

	.aromatto-mobile-actions {
		gap: 5px;
	}

	.aromatto-mobile-search,
	.aromatto-mobile-toggle {
		width: 37px;
		height: 37px;
	}
}


/* Proporções responsivas do lockup da marca. */
@media (max-width: 1024px) {
	#header [data-device="desktop"] .site-branding { gap: 10px; }
	#header .site-logo-container { width: 42px; height: 42px; flex-basis: 42px; }
	#header .site-title-container { min-height: 42px; }
	#header .aromatto-brand-name { font-size: 9px; letter-spacing: 0.30em; }
	#header .aromatto-brand-subtitle { font-size: 15px; letter-spacing: 0.16em; }
}

@media (max-width: 520px) {
	#header .site-logo-container { width: 39px; height: 39px; flex-basis: 39px; }
	#header .site-title-container { min-height: 39px; }
	#header .aromatto-brand-name { font-size: 8px; }
	#header .aromatto-brand-subtitle { font-size: 13px; }
}

/* ==========================================================
 * Refinamento final do header
 * - CTA do WhatsApp sai do topo e vira botão flutuante
 * - controles ficam mais discretos
 * - lockup recebe alinhamento óptico
 * ========================================================== */

/* No topo da página usamos apenas borda; a sombra aparece ao rolar. */
#header [data-row="middle"] {
	box-shadow: none;
}

#header.ct-header.is-scrolled [data-row="middle"] {
	box-shadow: 0 10px 30px var(--aromatto-shadow);
}

/* O botão grande pesa no header; o link continua no DOM para ser editável
 * pelo Blocksy e para alimentar o botão flutuante via JS. */
#header [data-device="desktop"] .ct-header-cta {
	display: none !important;
}

/* Lockup mais compacto e opticamente centralizado. */
#header [data-device="desktop"] .site-branding {
	gap: 10px;
}

#header .site-logo-container {
	width: 48px;
	height: 48px;
	flex-basis: 48px;
	box-shadow: 0 0 0 2px var(--aromatto-brand-glow);
}

#header .site-title-container {
	min-height: 48px;
	transform: translateY(1px);
}

#header .site-title a {
	gap: 4px;
}

#header .aromatto-brand-name {
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.31em;
}

#header .aromatto-brand-subtitle {
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.17em;
}

#header .site-branding:hover .site-logo-container {
	transform: translateY(-1px) scale(1.035);
	box-shadow:
		0 0 0 2px var(--aromatto-brand-glow),
		0 5px 14px color-mix(in srgb, var(--aromatto-gold) 20%, transparent);
	filter: brightness(1.04) saturate(1.03);
}

/* Busca e alternância de tema funcionam como um único conjunto visual. */
#header .ct-header-search,
.aromatto-theme-toggle--desktop {
	width: 40px;
	height: 40px;
}

.aromatto-theme-toggle--desktop {
	margin-left: 6px;
}

/* WhatsApp flutuante: disponível sem ocupar a navegação. */
.aromatto-whatsapp-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 54px;
	padding: 0 17px;
	border: 1px solid color-mix(in srgb, var(--aromatto-whatsapp) 84%, #ffffff);
	border-radius: 999px;
	font: 700 14px/1 "Manrope", Arial, Helvetica, sans-serif;
	color: #ffffff;
	background: var(--aromatto-whatsapp);
	box-shadow: 0 12px 30px var(--aromatto-whatsapp-shadow);
	text-decoration: none;
	isolation: isolate;
	transition:
		transform 360ms var(--aromatto-ease-out),
		background-color 320ms var(--aromatto-ease-standard),
		border-color 320ms var(--aromatto-ease-standard),
		box-shadow 360ms var(--aromatto-ease-standard);
}

.aromatto-whatsapp-float:hover {
	color: #ffffff;
	background: var(--aromatto-whatsapp-hover);
	border-color: var(--aromatto-whatsapp-hover);
	box-shadow: 0 16px 36px var(--aromatto-whatsapp-shadow);
	transform: translateY(-3px);
}

.aromatto-whatsapp-float:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--aromatto-whatsapp) 34%, transparent);
	outline-offset: 4px;
}

.aromatto-whatsapp-float__icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	background: url("../images/whatsapp.svg") center / contain no-repeat;
}

.aromatto-whatsapp-float__label {
	white-space: nowrap;
}

@media (max-width: 1024px) {
	#header [data-device="desktop"] .site-branding {
		gap: 9px;
	}

	/* Busca fica dentro do drawer; no topo mobile bastam tema + menu. */
	.aromatto-mobile-actions {
		gap: 7px;
	}
}

@media (max-width: 689px) {
	.aromatto-whatsapp-float {
		right: 18px;
		bottom: 18px;
		width: 52px;
		height: 52px;
		min-height: 52px;
		padding: 0;
	}

	.aromatto-whatsapp-float__label {
		display: none;
	}
}

@media (max-width: 520px) {
	#header .site-logo-container {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	#header .site-title-container {
		min-height: 40px;
	}

	#header .aromatto-brand-name {
		font-size: 7px;
		letter-spacing: 0.28em;
	}

	#header .aromatto-brand-subtitle {
		font-size: 12px;
		letter-spacing: 0.14em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aromatto-whatsapp-float {
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================
 * Assinatura da marca
 * Somente o emblema circular reage ao hover.
 * O texto permanece estável, como no footer.
 * ========================================================== */

#header .site-branding,
#header .site-branding:hover {
	transform: none !important;
}

#header .site-title-container,
#header .site-branding:hover .site-title-container {
	/* Mantém apenas o ajuste óptico estático já usado no header. */
	transform: translateY(1px) !important;
}

#header .site-title a,
#header .site-title a:hover,
#header .aromatto-brand-name,
#header .aromatto-brand-subtitle {
	transform: none !important;
}

#header .site-branding:hover .aromatto-brand-name {
	color: var(--aromatto-header-muted) !important;
}

#header .site-branding:hover .aromatto-brand-subtitle {
	color: var(--aromatto-header-text) !important;
}

/* O contêiner fica parado. O movimento acontece apenas na bolinha. */
#header .site-branding:hover .site-logo-container {
	transform: none !important;
	filter: none !important;
	box-shadow: 0 0 0 2px var(--aromatto-brand-glow);
}

#header .site-logo-container img,
#header .site-logo-container svg {
	transition:
		transform var(--aromatto-motion-base) var(--aromatto-ease-out),
		filter var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

#header .site-branding:hover .site-logo-container img,
#header .site-branding:hover .site-logo-container svg {
	transform: translateY(-1px) scale(1.025);
	filter:
		drop-shadow(0 9px 20px var(--aromatto-brand-glow))
		brightness(1.04);
}
