/* Header e menu BerlinerLuft - dimensões medidas no site oficial (desktop 1440px).
   Imagens: --bl-logo, --bl-branding e --bl-overlay (definidas em functions.php). */

body { overflow-x: hidden; }

/* Seção do Elementor que contém o header: sem espaçamentos e acima do conteúdo */
.bl-header-section { position: relative; z-index: 100; }
.bl-header-section > .elementor-container,
.bl-header-section .elementor-column,
.bl-header-section .elementor-column-wrap,
.bl-header-section .elementor-widget-wrap { padding: 0 !important; margin: 0 !important; }
.bl-header-section .elementor-widget { margin: 0 !important; }
.bl-header-section .elementor-widget-container { padding: 0 !important; margin: 0 !important; }
/* No editor do Elementor a seção ganha altura para poder ser selecionada */
.elementor-editor-active .bl-header-section { min-height: 110px; }

/* ---------- Header ---------- */
.bl-header {
	--bl-color: #748896;
	display: flow-root;              /* evita que a margem do menu "vaze" e crie espaço em branco */
	position: relative;
	width: 100%;
	height: 80px;
	background: #fff;
	z-index: 100;
	font-family: Helvetica, Roboto, Arial, sans-serif;
}
.bl-header *, .bl-header *::before, .bl-header *::after { box-sizing: border-box; }

.bl-header .header__inner {
	display: flow-root;
	position: relative;
	max-width: 68.125rem;
	margin: 0 auto;
}

.bl-header .header__branding { position: absolute; top: 0; left: 10px; width: 214px; height: 26px; z-index: 100; }
.bl-header .header__branding-inner { position: relative; width: 100%; height: 100%; }
.bl-header .header__logo {
	display: block; position: relative; z-index: 10; top: 27px;
	width: 100%; height: 100%;
	background: var(--bl-logo) center center / cover no-repeat;
	font-size: 0; color: transparent;
}
.bl-header .header__overlay {
	display: none; position: absolute; top: 0; right: -410px;
	width: 1256px; height: 365px;
	background: var(--bl-overlay) center top no-repeat;
	pointer-events: none;
}

/* ---------- Menu ---------- */
.bl-header .navbar {
	position: relative; z-index: 101;
	min-height: 50px;
	margin: 35px 0 20px;
	border: 1px solid transparent;
}
.bl-header .navbar-collapse { padding: 0 15px; }

.bl-header .navbar-nav {
	display: flex; flex-wrap: wrap;
	margin: 0; padding: 0 5px;
	list-style: none;
	background: var(--bl-color); color: #fff;
	border-radius: 5px;
}
.bl-header .navbar-nav .nav-item {
	position: relative;
	margin: 0; padding: 7px 13px;
	font-size: 14px; font-weight: 600; line-height: 27px;
	list-style: none; color: #fff;
}
.bl-header .navbar-nav .nav-item::before { content: none; }
.bl-header .navbar-nav a,
.bl-header .navbar-nav a:hover,
.bl-header .navbar-nav a:focus,
.bl-header .navbar-nav a:active { color: #fff; background: transparent; text-decoration: none; }
.bl-header .navbar-nav .nav-link { font-size: 14px; line-height: 20px; }
.bl-header .navbar-nav .nav-link:hover { opacity: .85; }

.bl-header .dropdown-menu {
	display: none;
	position: absolute; top: 100%; left: 0; z-index: 1000;
	min-width: 160px;
	margin: 0; padding: 5px;
	background: var(--bl-color);
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 0 0 4px 4px;
	box-shadow: 0 6px 12px rgba(0, 0, 0, .176);
	font-size: 14px;
}
.bl-header .menu-produtos { min-width: 250px; }
.bl-header .dropdown-menu .dropdown-item {
	display: block;
	margin: 0 8px; padding: 0;
	font-size: 15px; font-weight: 600; line-height: 30px;
	white-space: nowrap;
}

.bl-header .navbar-toggle { display: none; }

/* ---------- Desktop (>= 801px) ---------- */
@media screen and (min-width: 50.0625em) {
	.bl-header { height: 0; background: transparent; }
	.bl-header .header__branding { left: auto; right: 50px; }
	.bl-header .header__branding-inner::before {
		content: ""; position: absolute; top: 0; left: -190px;
		width: 662px; height: 147px;
		background: var(--bl-branding) center center / cover no-repeat;
		pointer-events: none;
	}
	.bl-header .header__logo { top: 35px; }
	.bl-header .header__overlay { display: block; }
	.bl-header .navbar-nav { display: inline-flex; }

	.bl-header .nav-item.dropdown:hover > .dropdown-menu,
	.bl-header .nav-item.dropdown:focus-within > .dropdown-menu,
	.bl-header .nav-item.dropdown.is-open > .dropdown-menu { display: block; }
}

/* ---------- 801px a 900px: o oficial desce o menu ---------- */
@media screen and (min-width: 50.0625em) and (max-width: 900px) {
	.bl-header .navbar { margin-top: 10px; }
	.bl-header .navbar-nav { margin-top: 55px; }
}

/* ---------- Mobile (<= 800px) ---------- */
@media screen and (max-width: 50em) {
	.bl-header .navbar { margin: 0; min-height: 0; }
	.bl-header .navbar-toggle,
	.bl-header .navbar-toggle:hover,
	.bl-header .navbar-toggle:focus {
		display: block; position: absolute; top: 22px; right: 15px; z-index: 102;
		padding: 9px 10px;
		background: transparent; border: 1px solid var(--bl-color); border-radius: 4px;
		cursor: pointer;
	}
	.bl-header .navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--bl-color); }
	.bl-header .navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }
	.bl-header .navbar-collapse { display: none; position: absolute; top: 70px; left: 10px; right: 10px; padding: 0; }
	.bl-header .navbar.is-open .navbar-collapse { display: block; }
	.bl-header .navbar-nav { display: block; }
	.bl-header .dropdown-menu { position: static; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
	.bl-header .nav-item.dropdown.is-open > .dropdown-menu { display: block; }
	.bl-header .dropdown-menu .dropdown-item { white-space: normal; }
}

/* ===================================================================
   Banner de página interna (modelo "Cabeçalho Sobre")
   Seção Elementor .bl-intro-section com widgets:
   .bl-intro-header (shortcode), .bl-intro-bg (Imagem),
   .bl-intro-title e .bl-intro-subtitle (Títulos)
   =================================================================== */
.bl-intro-section { position: relative; }
/* o banner passa a ser a referência de posição do header e da imagem */
.bl-intro-section > .elementor-container,
.bl-intro-section .elementor-column,
.bl-intro-section .elementor-column-wrap,
.bl-intro-section .elementor-widget-wrap { position: static !important; }
.bl-intro-section .elementor-widget { margin-block-end: 0 !important; margin-bottom: 0 !important; }

.bl-intro-section .bl-intro-header {
	position: absolute !important; top: 0; left: 0; right: 0;
	width: 100% !important; max-width: none !important; margin: 0 !important; z-index: 100;
}
.bl-intro-section .bl-intro-header .elementor-widget-container { margin: 0 !important; padding: 0 !important; }

.bl-intro-section .bl-intro-bg {
	position: absolute !important; top: 0; right: 0; bottom: 0; left: 0;
	width: 100% !important; max-width: none !important; height: 100%; margin: 0 !important; z-index: 0;
}
.bl-intro-section .bl-intro-bg .elementor-widget-container,
.bl-intro-section .bl-intro-bg a,
.bl-intro-section .bl-intro-bg img {
	display: block; width: 100% !important; height: 100% !important; max-width: none !important;
	object-fit: cover; object-position: center center; border-radius: 0; margin: 0; padding: 0;
}

.bl-intro-section .bl-intro-title,
.bl-intro-section .bl-intro-subtitle { position: relative; z-index: 1; }
.bl-intro-section .bl-intro-title .elementor-heading-title,
.bl-intro-section .bl-intro-subtitle .elementor-heading-title { margin: 0; }
.bl-intro-section .bl-intro-subtitle { margin-bottom: 10px !important; }
