/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme do Blocksy. Use este tema para personalizações sem perder as atualizações do tema pai.
Author: Teu Nome
Author URI: https://example.com
Template: blocksy
	Version: 1.0.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-child
*/

/* Fonte Mark */
:root {
	--theme-font-family: 'Mark', var(--theme-font-stack-default);
	--theme-button-font-family: 'Mark', var(--theme-font-stack-default);
	--lh-site-max-width: 1800px;
	--lh-site-gutter: clamp(1.5rem, 5vw, 4.5rem);
	--lh-site-margin: max(0px, calc((100vw - var(--lh-site-max-width)) / 2));
	--lh-section-title-size: clamp(1.85rem, 3.8vw, 2.75rem);
	--lh-section-title-size-mobile: clamp(1.65rem, 6.5vw, 2.25rem);
}

@media (max-width: 1799px) {
	:root {
		--lh-site-gutter: clamp(2rem, 6.5vw, 5.5rem);
	}
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent],
.lenis.lenis-smooth [data-lenis-prevent-horizontal] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

.lh-valorizacao__title,
.lh-projetos__title,
.lh-contact__title,
.lh-portfolio-intro__title,
.lh-portfolio__title-line--light,
.lh-portfolio__title-line--emphasis {
	font-size: var(--lh-section-title-size);
	line-height: 1;
}

@media (max-width: 991px) {
	.lh-valorizacao__title,
	.lh-projetos__title,
	.lh-contact__title,
	.lh-portfolio-intro__title,
	.lh-portfolio__title-line--light,
	.lh-portfolio__title-line--emphasis {
		font-size: var(--lh-section-title-size-mobile);
	}
}

.lh-valorizacao__badge,
.lh-portfolio__badge,
.lh-projetos__badge,
.lh-portfolio-intro__badge,
.lh-contact__badge {
	display: block;
	width: clamp(2.35rem, 3.7vw, 3.7rem);
	height: clamp(1.45rem, 2.2vw, 0.75rem);
	margin-bottom: clamp(0.85rem, 1.6vw, 1.15rem);
	border: 1.5px solid;
	border-radius: 999px;
}

.ct-footer {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

#main-container {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

/* Footer: conteúdo alinhado ao contentor do site. */
.ct-footer .ct-container {
	max-width: var(--lh-site-max-width) !important;
	width: 100%;
	margin-inline: auto !important;
	padding-inline: var(--lh-site-gutter);
}

/* Footer: as linhas deixam ver o fundo definido no Customizer do Blocksy. */
[data-footer*='type-1'] .ct-footer [data-row] {
	background-color: transparent !important;
}

/* Footer: texto e links. */
.ct-footer,
.ct-footer p,
.ct-footer a,
.ct-footer .ct-footer-copyright,
.ct-footer .ct-footer-copyright p,
.ct-footer .stk-block-text__text,
.ct-footer .stk-block-text__text a,
.ct-footer .widget_block {
	color: #f0eae6 !important;
}

.ct-footer a:hover,
.ct-footer a:focus-visible {
	color: rgba(240, 234, 230, 0.75) !important;
}

/* Footer: ícone LinkedIn ao lado do texto. */
.ct-footer .stk-block-text__text a[href*='linkedin.com'] {
	display: inline-flex !important;
	align-items: center;
	gap: 0.45em;
	vertical-align: middle;
}

.ct-footer .stk-block-text__text a[href*='linkedin.com']::before {
	content: '';
	display: block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 4.126 0 2.063 2.063 0 0 1-2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 4.126 0 2.063 2.063 0 0 1-2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Footer: menu de políticas — uma linha quando couber, 2 linhas só se precisar. */
.ct-footer .menu-menu-footer-container {
	width: 100%;
}

.ct-footer .menu-menu-footer-container .widget-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.7rem clamp(1.1rem, 2vw, 1.6rem);
	width: 100%;
	max-width: var(--lh-site-max-width);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.ct-footer .menu-menu-footer-container .widget-menu > .menu-item {
	display: inline-flex;
	align-items: center;
	margin: 0;
	flex: 0 0 auto;
}

.ct-footer .menu-menu-footer-container .widget-menu a {
	font-size: clamp(0.72rem, 0.85vw, 0.82rem);
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
}

/* Customizer: garantir que o footer builder recebe cliques. */
body.customize-previewing .ct-footer,
body.customize-previewing .ct-footer * {
	pointer-events: auto;
}
