/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/* Brand: preto (não verde) */
:root {
	--color-corp: #000000;
	--color-cor2: #333333;
	--color-content-primary: #000000;
	--color-content-primary-grad: #000000;
	--color-content-secondary: #000000;
	--color-header-top-bg: #000000;
}

.l-subheader.at_top {
	background: #000 !important;
	color: #fff !important;
}

/* Footer: links brancos */
.l-footer,
.l-footer .l-section {
	color: #fff;
}

.l-footer a,
.l-footer .w-menu a,
.l-footer .widget a,
.l-footer .w-nav a,
.l-footer .w-nav-item a,
.l-footer .w-footer-menu a,
.l-footer li a {
	color: #fff !important;
}

.l-footer a:hover,
.l-footer .w-menu a:hover,
.l-footer .widget a:hover,
.l-footer .w-nav a:hover,
.l-footer .w-nav-item a:hover,
.l-footer .w-footer-menu a:hover,
.l-footer li a:hover {
	color: #ccc !important;
}

.l-header .ush_cart_1,
.l-header .ush_cart_1 .w-cart-link,
.l-header .ush_cart_1 .w-cart-icon {
	color: #000 !important;
}

/* Ícone conta: só o ícone, sem caixa preta */
.l-header a.ush_btn_2,
.l-header .ush_btn_2,
.l-header a.ush_btn_2.us-btn-style_1,
.l-header a.ush_btn_2.us-btn-style_3,
.l-header a.ush_btn_2.us-btn-style_6,
.l-header a.maxi-account-icon {
	--btn-background: transparent !important;
	--btn-hover-background: transparent !important;
	--btn-border-width: 0px !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: #000 !important;
	padding: 0 !important;
	min-width: 0 !important;
	border-radius: 0 !important;
}

/* O preenchimento real está no .w-btn-inner (estilo with_border_animation) */
.l-header a.ush_btn_2 .w-btn-inner,
.l-header a.maxi-account-icon .w-btn-inner {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	padding: 0.35rem !important;
	margin: 0 !important;
	width: auto !important;
	border-radius: 0 !important;
}

.l-header a.ush_btn_2:hover,
.l-header a.ush_btn_2:focus,
.no-touch .l-header a.ush_btn_2:hover,
.no-touch .l-header a.ush_btn_2:hover .w-btn-inner {
	--btn-background: transparent !important;
	--btn-hover-background: transparent !important;
	background: transparent !important;
	color: #333 !important;
}

.l-header a.ush_btn_2 i,
.l-header a.ush_btn_2 .fad {
	color: #000 !important;
	font-size: 1.15rem;
}

/* Remover animação/borda que cria a caixa */
.l-header a.ush_btn_2.with_border_animation::before,
.l-header a.ush_btn_2.with_border_animation::after {
	display: none !important;
	content: none !important;
	background: none !important;
	animation: none !important;
}


/* Logos sem fundo residual */
.l-header .ush_image_1 img,
.l-footer .w-image img {
	background: transparent !important;
	box-shadow: none !important;
}

/* Header: evitar sobreposição em ecrãs pequenos */
@media (max-width: 1024px) {
	.l-header .l-subheader.at_middle .l-subheader-h {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		min-width: 0;
	}

	.l-header .l-subheader-cell.at_left {
		min-width: 0;
		flex: 1 1 auto;
		overflow: hidden;
	}

	.l-header .l-subheader-cell.at_right {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		gap: 0.35rem;
	}

	.l-header .ush_image_1 {
		flex-shrink: 1 !important;
		max-width: 100% !important;
		width: auto !important;
		height: auto !important;
		max-height: 40px !important;
	}

	.l-header .ush_image_1 .w-image-h,
	.l-header .ush_image_1 img {
		width: auto !important;
		max-width: min(46vw, 160px) !important;
		height: auto !important;
		max-height: 40px !important;
		object-fit: contain !important;
		object-position: left center;
	}

	.l-header .ush_btn_1 {
		display: none !important;
	}
}

@media (max-width: 600px) {
	.l-header .ush_image_1,
	.l-header .ush_image_1 img {
		max-height: 30px !important;
	}

	.l-header .ush_image_1 img {
		max-width: min(50vw, 130px) !important;
	}
}

/* Serviços (layout_4882): sem “pilulas” arredondadas / sombra */
.layout_4882 .w-grid-item-h {
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.layout_4882 .usg_vwrapper_1 {
	border-radius: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.layout_4882 .usg_post_custom_field_1,
.layout_4882 .usg_post_custom_field_1.has_border_radius {
	border-radius: 0 !important;
}

.no-touch .layout_4882 .w-grid-item-h:hover,
.layout_4882 .w-grid-item-h:hover {
	box-shadow: none !important;
	z-index: auto !important;
}

.layout_4882 .w-grid-item-h:hover .usg_vwrapper_1,
.layout_4882 .w-grid-item-h:focus-within .usg_vwrapper_1 {
	transform: none !important;
	border-color: transparent !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* Hover limpo — impedir fundo preto no ícone (estilo inline do layout perde) */
html body .layout_4882 .w-grid-item-h:hover .usg_post_custom_field_1,
html body .layout_4882 .w-grid-item-h:focus-within .usg_post_custom_field_1,
html body .no-touch .layout_4882 .w-grid-item-h:hover .usg_post_custom_field_1 {
	background: #eff6ff !important;
	background-color: #eff6ff !important;
	color: #000 !important;
	transform: none !important;
}

html body .layout_4882 .w-grid-item-h:hover .usg_post_custom_field_1 i,
html body .layout_4882 .w-grid-item-h:hover .usg_post_custom_field_1 i::before,
html body .layout_4882 .w-grid-item-h:hover .usg_post_custom_field_1 i::after,
html body .layout_4882 .w-grid-item-h:focus-within .usg_post_custom_field_1 i,
html body .layout_4882 .w-grid-item-h:focus-within .usg_post_custom_field_1 i::before,
html body .layout_4882 .w-grid-item-h:focus-within .usg_post_custom_field_1 i::after {
	color: #000 !important;
	background: transparent !important;
	opacity: 1 !important;
}

/* Botão “Todos os Serviços” sem fundo */
.l-main a.w-btn[href="/servicos/"],
.l-main a.w-btn[href="/servicos/"].us-btn-style_6,
.l-main a.w-btn[href*="/servicos/"] {
	--btn-background: transparent !important;
	--btn-hover-background: transparent !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #000 !important;
	padding-left: 0 !important;
	padding-right: 0.25rem !important;
}

.l-main a.w-btn[href="/servicos/"] .w-btn-inner,
.l-main a.w-btn[href*="/servicos/"] .w-btn-inner {
	background: transparent !important;
}

.l-main a.w-btn[href="/servicos/"]:hover,
.l-main a.w-btn[href*="/servicos/"]:hover {
	color: #333 !important;
	background: transparent !important;
}

.l-main a.w-btn[href="/servicos/"] i,
.l-main a.w-btn[href*="/servicos/"] i {
	color: inherit !important;
}

/* Produtos em destaque (layout_1840): sem cantos arredondados */
.layout_1840 .w-grid-item-h {
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.layout_1840 .usg_vwrapper_1 {
	border-radius: 0 !important;
	box-shadow: none !important;
}

.layout_1840 .usg_post_image_1,
.layout_1840 .usg_post_image_1 img,
.layout_1840 .usg_text_1 {
	border-radius: 0 !important;
}

.no-touch .layout_1840 .w-grid-item-h:hover,
.layout_1840 .w-grid-item-h:hover {
	box-shadow: none !important;
	z-index: auto !important;
}

.layout_1840 .w-grid-item-h:hover .usg_vwrapper_1,
.layout_1840 .w-grid-item-h:focus-within .usg_vwrapper_1 {
	transform: none !important;
	border-color: transparent !important;
}

html body .layout_1840 .w-grid-item-h:hover .usg_text_1,
html body .layout_1840 .w-grid-item-h:focus-within .usg_text_1 {
	background: #eff6ff !important;
	color: #000 !important;
	transform: none !important;
}

/* Missão / Visão / Valores + outros grids “pill” (90px) */
.layout_5234 .w-grid-item-h,
.layout_5020 .w-grid-item-h,
.layout_5566 .w-grid-item-h,
.layout_4974 .w-grid-item-h {
	border-radius: 0 !important;
	box-shadow: none !important;
}

.layout_5234 .usg_vwrapper_1,
.layout_5020 .usg_vwrapper_1,
.layout_5566 .usg_vwrapper_1,
.layout_4974 .usg_vwrapper_1,
.layout_5234 .usg_post_custom_field_1,
.layout_5234 .usg_post_image_1,
.layout_5234 .usg_post_image_1 img {
	border-radius: 0 !important;
}

.layout_5234 .usg_vwrapper_1 {
	box-shadow: none !important;
}

.no-touch .layout_5234 .w-grid-item-h:hover,
.layout_5234 .w-grid-item-h:hover {
	box-shadow: none !important;
	z-index: auto !important;
}

.layout_5234 .w-grid-item-h:hover .usg_vwrapper_1,
.layout_5234 .w-grid-item-h:focus-within .usg_vwrapper_1 {
	transform: none !important;
	border-color: transparent !important;
}

html body .layout_5234 .w-grid-item-h:hover .usg_post_custom_field_1,
html body .layout_5234 .w-grid-item-h:focus-within .usg_post_custom_field_1 {
	background: #eff6ff !important;
	color: #000 !important;
	transform: none !important;
}

html body .layout_5234 .w-grid-item-h:hover .usg_post_custom_field_1 i,
html body .layout_5234 .w-grid-item-h:hover .usg_post_custom_field_1 i::before,
html body .layout_5234 .w-grid-item-h:hover .usg_post_custom_field_1 i::after {
	color: #000 !important;
	background: transparent !important;
}

/* Contactos — formulário de marcação com fundo preto */
.page-id-1144 .us_custom_e777ee55,
.us_custom_e777ee55 {
	background: #000 !important;
	color: #fff !important;
	padding: 2rem !important;
}

.page-id-1144 .us_custom_e777ee55 h4,
.page-id-1144 .us_custom_e777ee55 p,
.cf7-pedido-marcacao,
.cf7-pedido-marcacao label,
.cf7-pedido-marcacao .opcional,
.cf7-pedido-marcacao .wpcf7-list-item-label {
	color: #fff !important;
}

.cf7-pedido-marcacao input[type="text"],
.cf7-pedido-marcacao input[type="email"],
.cf7-pedido-marcacao input[type="tel"],
.cf7-pedido-marcacao input[type="date"],
.cf7-pedido-marcacao select,
.cf7-pedido-marcacao textarea {
	background: #111 !important;
	color: #fff !important;
	border: 1px solid #555 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.cf7-pedido-marcacao input::placeholder,
.cf7-pedido-marcacao textarea::placeholder {
	color: #999 !important;
	opacity: 1;
}

.cf7-pedido-marcacao input[type="submit"],
.cf7-pedido-marcacao .wpcf7-submit,
.page-id-1144 .cf7-pedido-marcacao input.wpcf7-submit {
	background: #fff !important;
	background-color: #fff !important;
	color: #000 !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0.9em 1.8em !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.03em;
	cursor: pointer;
	min-height: 2.8em;
	opacity: 1 !important;
}

.cf7-pedido-marcacao input[type="submit"]:hover {
	background: #e8e8e8 !important;
	color: #000 !important;
}

/* Homepage — tiles de categorias */
.layout_5020 .usg_post_title_1 a {
	color: #fff !important;
}

.layout_5020 .usg_btn_1,
.layout_5020 a.usg_btn_1 {
	--btn-background: #000 !important;
	--btn-hover-background: #333 !important;
	background: #000 !important;
	color: #fff !important;
	border-radius: 0 !important;
}

.layout_5020 .usg_btn_1 .w-btn-inner {
	background: #000 !important;
	border-radius: 0 !important;
	padding: 0.65em 1.1em !important;
}

.layout_5020 .usg_btn_1.with_border_animation::before,
.layout_5020 .usg_btn_1.with_border_animation::after {
	display: none !important;
}
