/**
 * Layout global Ã¢â‚¬â€ header e footer
 */

 :root {
	--utf-site-max: var(--theme-normal-container-max-width, 1290px);
	/* NÃƒÂ£o usar --theme-container-edge-spacing: no Blocksy resolve mal (ex. 90vw). */
	--utf-content-padding: clamp(1.25rem, 5vw, 2.5rem);
	--utf-site-gutter: max(1.25rem, calc((100vw - min(100vw, var(--utf-site-max))) / 2));
	--utf-dark: #3e2b23;
	--utf-accent: #cb9d76;
}

/* Contentor com padding Ã¢â‚¬â€ header e footer (fora do <main>) */
.utf-shell,
.utf-inner,
.utf-hero__content,
.utf-services__intro,
.utf-services__layout,
.utf-portfolio__inner,
.utf-roots__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--utf-site-max);
	margin-inline: auto;
	padding-inline: var(--utf-content-padding);
}

/* Ã¢â‚¬â€Ã¢â‚¬â€ Header Ã¢â‚¬â€Ã¢â‚¬â€ */
.utf-header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: var(--utf-dark);
	color: #fff;
}

.utf-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 72px;
}

.utf-header__brand {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	text-decoration: none;
}

.utf-header__logo {
	display: block;
	height: 48px;
	width: auto;
	max-width: 140px;
}

.utf-header__site-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
}

.utf-header__toggle {
	display: none;
	flex-shrink: 0;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.utf-header__toggle-bar {
	display: block;
	width: 20px;
	height: 2px;
	margin-inline: auto;
	background: currentColor;
}

.utf-header__nav {
	display: flex;
	align-items: center;
}

.utf-header__menu,
.utf-header__menu ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.utf-header__menu a {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
}

.utf-header__menu a:hover,
.utf-header__menu .current-menu-item > a,
.utf-header__menu .current-menu-ancestor > a {
	color: var(--utf-accent);
}

.utf-header__menu .sub-menu {
	display: none;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0.5rem 0 0;
	padding: 0 0 0 1rem;
	list-style: none;
}

.utf-header__menu li:hover > .sub-menu,
.utf-header__menu li:focus-within > .sub-menu {
	display: flex;
}

@media (max-width: 999px) {
	.utf-header__menu .sub-menu {
		display: flex;
	}
}

/* id utf-site-header: evita conflito com #header { position:relative } do Blocksy */
body.utf-is-home #utf-site-header.utf-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
}

.admin-bar.utf-is-home #utf-site-header.utf-header {
	top: 32px;
}

/* Ã¢â‚¬â€Ã¢â‚¬â€ Footer Ã¢â‚¬â€Ã¢â‚¬â€ */
.utf-footer {
	color: #fff;
}

.utf-footer__main {
	position: relative;
	overflow: hidden;
	background: var(--utf-dark);
}

.utf-footer__inner {
	padding-block: clamp(4rem, 8vw, 6rem);
}

.utf-footer__layout {
	position: relative;
}

/* Tronco: fora do shell, largura total do viewport, sem max-width */
.utf-footer__visual {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 0;
	width: min(62vw, 820px);
	height: min(62vw, 820px);
	margin: 0;
	padding: 0;
	overflow: visible;
	pointer-events: none;
	transform: translateY(-48%);
}

.utf-footer__tronco {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: 38% center;
	transform: translateX(-14%);
}

.utf-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 32%);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	min-height: clamp(380px, 44vw, 520px);
}

.utf-footer__cta {
	position: relative;
	z-index: 2;
	max-width: 40rem;
}

.utf-footer__info {
	justify-self: end;
	width: 100%;
	max-width: 21rem;
}

.utf-footer__title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0 0 clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.utf-footer__title-accent,
.utf-footer__title-main {
	display: block;
	font-size: clamp(2.5rem, 4.8vw, 4.5rem);
	white-space: nowrap;
	color: #fff;
}

.utf-footer__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.65rem 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
}

.utf-footer__btn:hover {
	background: rgba(255, 255, 255, 0.08);
}

.utf-footer__info {
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.utf-footer__block {
	margin: 0;
}

.utf-footer__label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--utf-accent);
}

.utf-footer__value {
	margin: 0;
	font-size: clamp(0.95rem, 1.4vw, 1.05rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.utf-footer__value a {
	color: inherit;
	text-decoration: none;
}

.utf-footer__value a:hover {
	color: var(--utf-accent);
}

.utf-footer__note {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.65);
}

.utf-footer__email {
	margin: 0;
}

.utf-footer__email a {
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	font-weight: 500;
	color: #fff;
	text-decoration: none;
}

.utf-footer__email a:hover {
	color: var(--utf-accent);
}

.utf-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.utf-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
}

.utf-footer__social-link:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--utf-accent);
}

.utf-footer__socket {
	background: #fff;
	color: var(--utf-dark);
}

.utf-footer__socket-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding-block: clamp(0.85rem, 2vw, 1.15rem);
}

.utf-footer__funding-img {
	display: block;
	max-width: min(100%, 520px);
	max-height: 56px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.utf-footer__si-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 40px;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	background: var(--utf-accent);
	color: var(--utf-dark);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.utf-footer__si-btn:hover {
	background: #d4ab82;
}

/* Ã¢â‚¬â€Ã¢â‚¬â€ Mobile Ã¢â‚¬â€Ã¢â‚¬â€ */
@media (max-width: 999px) {
	.utf-header__toggle {
		display: inline-flex;
	}

	.utf-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 1rem var(--utf-content-padding) 1.25rem;
		background: var(--utf-dark);
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.utf-is-home .utf-header__nav {
		background: rgba(62, 43, 35, 0.98);
	}

	.utf-header.is-open .utf-header__nav {
		display: block;
	}

	.utf-header__menu,
	.utf-header__menu ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.85rem;
	}

	.utf-footer__visual {
		top: auto;
		bottom: 0;
		left: 0;
		width: min(100vw, 480px);
		height: min(100vw, 480px);
		transform: none;
		opacity: 0.9;
	}

	.utf-footer__tronco {
		transform: translateX(-18%);
		object-position: 42% center;
	}

	.utf-footer__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		min-height: 0;
		padding-top: clamp(14rem, 52vw, 18rem);
	}

	.utf-footer__cta {
		max-width: none;
	}

	.utf-footer__info {
		justify-self: start;
		max-width: none;
	}

	.utf-footer__title-accent,
	.utf-footer__title-main {
		white-space: normal;
	}

	.utf-footer__socket-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 782px) {
	.admin-bar.utf-is-home #utf-site-header.utf-header {
		top: 46px;
	}
}

