/**
 * Footer da Aromatto Parfums.
 */

.aromatto-footer {
	border-top: 1px solid var(--aromatto-border);
	background: var(--aromatto-surface);
	color: var(--aromatto-text);
}

.aromatto-footer__main {
	display: grid;
	grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(150px, 0.65fr));
	gap: clamp(44px, 7vw, 92px);
	padding-block: clamp(58px, 7vw, 84px);
}

.aromatto-footer__brand {
	max-width: 420px;
}

.aromatto-footer__brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--aromatto-text);
	text-decoration: none;
}

.aromatto-footer__brand-link .site-branding {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.aromatto-footer__brand-link .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-brand) 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;
}

.aromatto-footer__brand-link .site-logo-container::after {
	content: none;
}

.aromatto-footer__brand-link .aromatto-brand-lockup__logo,
.aromatto-footer__brand-link .site-logo-container img,
.aromatto-footer__brand-link .site-logo-container svg {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	transform: none;
	filter: none;
	transition: none;
}

.aromatto-footer__brand-link .site-title-container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 46px;
	margin: 0;
}

.aromatto-footer__brand-link .site-title,
.aromatto-footer__brand-link .aromatto-brand-lockup__title {
	display: flex;
	align-items: center;
	margin: 0;
	line-height: 1;
	white-space: nowrap;
}

.aromatto-footer__brand-link .aromatto-brand-lockup__title {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 3px;
}

.aromatto-footer__brand-link .aromatto-brand-name {
	display: block;
	font: 600 11px/1 "Manrope", Arial, Helvetica, sans-serif;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--aromatto-muted);
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

.aromatto-footer__brand-link .aromatto-brand-subtitle {
	display: block;
	margin: 0;
	font: 600 16px/1 "Manrope", Arial, Helvetica, sans-serif;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--aromatto-heading);
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard);
}

.aromatto-footer__brand-link:hover .site-logo-container {
	transform: scale(1.05);
	border-color: var(--aromatto-brand);
	box-shadow:
		0 0 0 3px var(--aromatto-brand-glow),
		0 5px 16px color-mix(in srgb, var(--aromatto-brand) 24%, transparent);
	filter: brightness(1.06) saturate(1.04);
}

.aromatto-footer__brand-link:hover .aromatto-brand-name {
	color: var(--aromatto-muted);
}

.aromatto-footer__brand-link:hover .aromatto-brand-subtitle {
	color: var(--aromatto-brand);
}

.aromatto-footer__brand > p {
	max-width: 390px;
	margin: 22px 0 0;
	font-size: 13px;
	line-height: 1.75;
	color: var(--aromatto-muted);
}

.aromatto-footer__whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	font: 600 13px/1.3 "Manrope", Arial, sans-serif;
	color: var(--aromatto-whatsapp);
	text-decoration: none;
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard), transform var(--aromatto-motion-base) var(--aromatto-ease-out);
}

.aromatto-footer__whatsapp::before {
	content: "";
	width: 17px;
	height: 17px;
	background: url("../images/whatsapp.svg") center / contain no-repeat;
	filter: brightness(0) saturate(100%) invert(70%) sepia(82%) saturate(531%) hue-rotate(82deg) brightness(91%) contrast(94%);
}

.aromatto-footer__whatsapp:hover {
	transform: translateX(2px);
	color: var(--aromatto-whatsapp-hover);
}

.aromatto-footer__column {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.aromatto-footer__title {
	margin: 0 0 5px;
	font: 700 11px/1.3 "Manrope", Arial, sans-serif;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--aromatto-heading);
}

.aromatto-footer__column a {
	font: 500 13px/1.4 "Manrope", Arial, sans-serif;
	color: var(--aromatto-muted);
	text-decoration: none;
	transition: color var(--aromatto-motion-base) var(--aromatto-ease-standard), transform var(--aromatto-motion-base) var(--aromatto-ease-out);
}

.aromatto-footer__column a:hover {
	transform: translateX(2px);
	color: var(--aromatto-brand);
}

.aromatto-footer__bottom {
	border-top: 1px solid var(--aromatto-border);
	background: var(--aromatto-surface-soft);
}

.aromatto-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 66px;
}

.aromatto-footer__bottom p,
.aromatto-footer__bottom span,
.aromatto-footer__bottom a {
	margin: 0;
	font: 500 11px/1.4 "Manrope", Arial, sans-serif;
	color: var(--aromatto-muted);
	text-decoration: none;
}

.aromatto-footer__legal {
	display: flex;
	align-items: center;
	gap: 18px;
}

.aromatto-footer__legal a:hover {
	color: var(--aromatto-brand);
}

@media (max-width: 820px) {
	.aromatto-footer__main {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 36px;
	}
}

@media (max-width: 690px) {
	.aromatto-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 42px 28px;
	}

	.aromatto-footer__brand {
		grid-column: 1 / -1;
	}

	.aromatto-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-block: 18px;
	}
}

@media (max-width: 430px) {
	.aromatto-footer__main {
		grid-template-columns: 1fr;
	}

	.aromatto-footer__brand {
		grid-column: auto;
	}

	.aromatto-footer__legal {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}
}

/* ==========================================================
 * Hotfix de layout para paginas internas e catalogo
 * ========================================================== */
.aromatto-footer__main {
	grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(140px, 0.55fr));
	align-items: start;
	gap: clamp(36px, 6vw, 76px);
	padding-block: clamp(46px, 5.5vw, 68px);
}

.aromatto-footer__brand {
	min-width: 0;
	max-width: 390px;
}

.aromatto-footer__bottom-inner {
	flex-wrap: wrap;
	gap: 16px 24px;
	min-height: 62px;
}

.aromatto-footer__legal {
	flex-wrap: wrap;
	gap: 10px 18px;
}

@media (max-width: 900px) {
	.aromatto-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 48px;
		padding-block: 48px;
	}

	.aromatto-footer__brand {
		grid-column: 1 / -1;
		max-width: 560px;
	}
}

@media (max-width: 620px) {
	.aromatto-footer__main {
		grid-template-columns: 1fr;
		gap: 30px;
		padding-block: 40px;
	}

	.aromatto-footer__brand {
		grid-column: auto;
	}

	.aromatto-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		gap: 10px;
		padding-block: 16px;
	}
}

@media (max-width: 430px) {
	.aromatto-footer__brand-link .site-logo-container {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
	}

	.aromatto-footer__brand-link .site-title-container {
		min-height: 42px;
	}

	.aromatto-footer__brand-link .aromatto-brand-name {
		font-size: 9px;
	}

	.aromatto-footer__brand-link .aromatto-brand-subtitle {
		font-size: 14px;
	}
}
