/**
 * Nexus WP - Estilos de Componentes (Header, Menus, Captura, Footer, Widgets).
 *
 * @package Nexus_WP
 */

/* 0. Barra de Aviso / Oferta no Topo (Acima de Tudo) */
.nexus-top-notice {
	position: relative;
	z-index: 110;
	color: #ffffff;
	font-size: 13.5px;
	line-height: 1.4;
	padding: 10px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.nexus-top-notice.is-dismissed {
	display: none !important;
}

.nexus-notice-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding-right: 48px;
}

.nexus-notice-content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	text-align: center;
}

.nexus-notice-badge {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.nexus-notice-icon {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.nexus-notice-text {
	font-weight: 600;
	letter-spacing: 0.01em;
}

.nexus-notice-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: rgba(255, 255, 255, 0.95);
	color: #0f172a !important;
	font-size: 12.5px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 9999px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.nexus-notice-btn:hover {
	background-color: #ffffff;
	transform: translateY(-1px);
}

.nexus-notice-arrow {
	width: 12px;
	height: 12px;
}

.nexus-notice-close {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	padding: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.nexus-notice-close:hover {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.2);
}

.nexus-notice-close svg {
	width: 16px;
	height: 16px;
}

/* 1. Barra do Topo (Topbar) */
.nexus-topbar {
	background-color: var(--nexus-bg-card);
	border-bottom: 1px solid var(--nexus-border);
	font-size: 13px;
	color: var(--nexus-text-muted);
	padding: 8px 0;
	margin: 0;
}

.nexus-topbar:empty {
	display: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	height: 0 !important;
}

.nexus-topbar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.nexus-topbar-menu {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nexus-topbar-menu a {
	color: var(--nexus-text-muted);
	transition: color 0.15s ease;
}

.nexus-topbar-menu a:hover {
	color: var(--nexus-primary);
}

@media (max-width: 768px) {
	.nexus-topbar-container {
		justify-content: center;
	}
	.nexus-topbar-left {
		display: none;
	}
}

/* 2. Cabeçalho e Navbar */
.nexus-site-header {
	background-color: var(--nexus-bg-card);
	border-bottom: 1px solid var(--nexus-border);
	position: relative;
	z-index: 100;
	margin-top: 0 !important;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nexus-site-header.is-sticky {
	position: sticky;
	top: 0;
	box-shadow: var(--nexus-shadow-sm);
}

/* Ajuste quando barra de administração do WP está presente */
.admin-bar .nexus-site-header.is-sticky {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .nexus-site-header.is-sticky {
		top: 46px;
	}
}

.nexus-navbar-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
	gap: 24px;
}

.nexus-brand {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.nexus-brand-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.nexus-brand-link img,
.nexus-logo-img {
	max-height: 52px;
	height: auto;
	width: auto;
	object-fit: contain;
	display: block;
}

.nexus-logo-light {
	display: block !important;
}

.nexus-logo-dark {
	display: none !important;
}

[data-theme="dark"] .nexus-logo-light {
	display: none !important;
}

[data-theme="dark"] .nexus-logo-dark {
	display: block !important;
}

.nexus-site-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--nexus-text-main);
	letter-spacing: -0.5px;
	display: block;
}

.nexus-site-desc {
	font-size: 12px;
	color: var(--nexus-text-muted);
	display: block;
	margin-top: -2px;
}

/* Menu Principal Desktop */
.nexus-main-nav {
	flex-grow: 1;
	display: flex;
	justify-content: center;
}

.nexus-menu-primary {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8px;
}

.nexus-menu-primary > li {
	position: relative;
}

.nexus-menu-primary > li > a {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--nexus-text-main);
	border-radius: var(--nexus-radius);
	transition: all 0.15s ease;
}

.nexus-menu-primary > li > a:hover,
.nexus-menu-primary > li.current-menu-item > a {
	color: var(--nexus-primary);
	background-color: rgba(var(--nexus-primary-rgb), 0.08);
}

/* Submenus Dropdown */
.nexus-menu-primary .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background-color: var(--nexus-bg-card);
	border: 1px solid var(--nexus-border);
	border-radius: var(--nexus-radius);
	box-shadow: var(--nexus-shadow-lg);
	list-style: none;
	padding: 8px 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 110;
}

.nexus-menu-primary li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nexus-menu-primary .sub-menu a {
	display: block;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--nexus-text-main);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.nexus-menu-primary .sub-menu a:hover {
	background-color: rgba(var(--nexus-primary-rgb), 0.08);
	color: var(--nexus-primary);
}

/* Ações do Cabeçalho (Busca, Dark Mode, CTA) */
.nexus-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.nexus-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 50%;
	background-color: transparent;
	border: 1px solid var(--nexus-border);
	color: var(--nexus-text-main);
	cursor: pointer;
	transition: all 0.15s ease;
}

.nexus-action-btn:hover {
	background-color: rgba(var(--nexus-primary-rgb), 0.08);
	border-color: var(--nexus-primary);
	color: var(--nexus-primary);
}

/* Alternador Dark Mode */
.nexus-btn-theme-toggle .nexus-icon-sun-wrap {
	display: none;
}
.nexus-btn-theme-toggle .nexus-icon-moon-wrap {
	display: block;
}
[data-theme="dark"] .nexus-btn-theme-toggle .nexus-icon-sun-wrap {
	display: block;
}
[data-theme="dark"] .nexus-btn-theme-toggle .nexus-icon-moon-wrap {
	display: none;
}

.nexus-btn-mobile-toggle {
	display: none;
}

@media (max-width: 960px) {
	.nexus-main-nav {
		display: none;
	}
	.nexus-btn-mobile-toggle {
		display: inline-flex;
	}
}

/* 3. Gaveta de Pesquisa Expansível Moderna */
.nexus-search-drawer {
	background-color: var(--nexus-bg-card);
	border-bottom: 1px solid var(--nexus-border);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	padding: 24px 0;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 95;
	animation: nexusSearchSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nexusSearchSlideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nexus-search-drawer-inner {
	display: flex;
	justify-content: center;
}

.nexus-header-search-form {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 680px;
	background-color: var(--nexus-bg-body);
	border: 2px solid var(--nexus-border);
	border-radius: 9999px;
	padding: 6px 8px 6px 20px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nexus-header-search-form:focus-within {
	border-color: var(--nexus-primary);
	background-color: var(--nexus-bg-card);
	box-shadow: 0 0 0 4px rgba(var(--nexus-primary-rgb), 0.15);
}

.nexus-search-input-icon {
	color: var(--nexus-text-muted);
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.nexus-search-input-icon svg {
	width: 20px;
	height: 20px;
}

.nexus-header-search-form .nexus-search-input {
	flex: 1 1 auto;
	height: 44px;
	border: none;
	background: transparent;
	font-size: 16px;
	font-weight: 500;
	color: var(--nexus-text-main);
	outline: none;
	padding: 0;
	box-shadow: none !important;
}

.nexus-header-search-form .nexus-search-input::placeholder {
	color: var(--nexus-text-muted);
	font-weight: 400;
}

.nexus-search-submit {
	height: 42px;
	padding: 0 24px;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 600;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.nexus-search-close-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid transparent;
	background-color: transparent;
	color: var(--nexus-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.15s ease;
}

.nexus-search-close-btn:hover {
	background-color: rgba(0, 0, 0, 0.06);
	color: var(--nexus-text-main);
}

[data-theme="dark"] .nexus-search-close-btn:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

/* 4. Gaveta Mobile */
.nexus-mobile-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	display: none;
}

.nexus-mobile-drawer.is-active {
	display: block;
}

.nexus-mobile-drawer-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
}

.nexus-mobile-drawer-content {
	position: absolute;
	top: 0;
	right: 0;
	width: 85%;
	max-width: 340px;
	height: 100%;
	background-color: var(--nexus-bg-card);
	box-shadow: var(--nexus-shadow-lg);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	animation: slideInRight 0.25s ease-out;
}

@keyframes slideInRight {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

.nexus-mobile-drawer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid var(--nexus-border);
}

.nexus-mobile-drawer-title {
	font-weight: 700;
	font-size: 18px;
}

.nexus-mobile-drawer-close {
	background: none;
	border: none;
	color: var(--nexus-text-main);
	cursor: pointer;
	padding: 6px;
}

.nexus-mobile-drawer-body {
	padding: 20px 24px;
}

.nexus-mobile-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nexus-mobile-menu li {
	margin-bottom: 12px;
}

.nexus-mobile-menu a {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--nexus-text-main);
	padding: 8px 0;
}

.nexus-mobile-secondary-menu-wrap {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--nexus-border);
}

.nexus-mobile-menu-topbar {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nexus-mobile-menu-topbar a {
	font-size: 14px;
	color: var(--nexus-text-muted);
}

/* 5. Caixas de Captura de Leads Multi-Local */
.nexus-capture-box {
	background-color: var(--nexus-bg-card);
	border: 1px solid var(--nexus-border);
	border-radius: var(--nexus-radius);
	padding: 32px;
	box-shadow: var(--nexus-shadow-sm);
	margin: 32px 0;
	position: relative;
	overflow: hidden;
}

.nexus-capture-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--nexus-primary), var(--nexus-accent));
}

.nexus-capture-header {
	text-align: center;
	margin-bottom: 24px;
}

.nexus-capture-title {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 8px;
	color: var(--nexus-text-main);
}

.nexus-capture-subtitle {
	font-size: 15px;
	color: var(--nexus-text-muted);
	margin: 0;
}

.nexus-lead-fields-wrap {
	display: flex;
	gap: 12px;
	max-width: 720px;
	margin: 0 auto 12px auto;
	flex-wrap: wrap;
}

.nexus-lead-field {
	flex: 1 1 200px;
}

.nexus-field-submit {
	flex: 0 0 auto;
}

.nexus-btn-capture {
	width: 100%;
	height: 48px;
}

.nexus-lead-consent {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12px;
	color: var(--nexus-text-muted);
	margin-top: 8px;
}

.nexus-consent-icon {
	color: #10b981;
	width: 14px;
	height: 14px;
}

.nexus-lead-response {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: var(--nexus-radius);
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

.nexus-lead-response.is-success {
	background-color: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.nexus-lead-response.is-error {
	background-color: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* Captura no Topo (Faixa Esticada) */
.nexus-capture-top {
	border-radius: 0;
	border-left: none;
	border-right: none;
	margin: 0 0 24px 0;
	padding: 24px 20px;
	background: linear-gradient(135deg, rgba(var(--nexus-primary-rgb), 0.05), rgba(var(--nexus-accent-rgb), 0.05));
}

/* Captura na Sidebar */
.nexus-capture-box.nexus-capture-sidebar {
	padding: 24px;
	margin: 0 !important;
	background-color: var(--nexus-bg-card);
	border: 1px solid var(--nexus-border);
	border-radius: var(--nexus-radius);
	box-shadow: var(--nexus-shadow-sm);
	width: 100%;
	box-sizing: border-box;
}

.nexus-capture-sidebar .nexus-lead-fields-wrap {
	flex-direction: column;
}

.nexus-capture-sidebar .nexus-field-submit {
	flex: 1 1 auto;
}

/* Modal Pop-up de Captura */
.nexus-popup-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.nexus-popup-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}

.nexus-popup-container {
	position: relative;
	background-color: var(--nexus-bg-card);
	border-radius: 12px;
	max-width: 600px;
	width: 100%;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	z-index: 10;
	animation: popUpScale 0.25s ease-out;
}

@keyframes popUpScale {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

.nexus-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	color: var(--nexus-text-muted);
	cursor: pointer;
	padding: 6px;
	z-index: 20;
}

.nexus-popup-close:hover {
	color: var(--nexus-text-main);
}

.nexus-popup-content .nexus-capture-box {
	margin: 0;
	border: none;
	box-shadow: none;
}

/* 6. Espaços de Anúncios */
.nexus-ad-slot {
	margin: 24px auto;
	text-align: center;
	max-width: 100%;
	overflow: hidden;
}

.nexus-ad-image {
	margin: 0 auto;
	border-radius: var(--nexus-radius);
	max-width: 100%;
}

/* 7. Barra Lateral e Widgets */
.nexus-sidebar-area {
	display: block;
	width: 100%;
}

.nexus-sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.nexus-sidebar-inner > * {
	margin: 0 !important;
	width: 100%;
	box-sizing: border-box;
}

.nexus-widget,
.nexus-footer-widget {
	background-color: var(--nexus-bg-card);
	border: 1px solid var(--nexus-border);
	border-radius: var(--nexus-radius);
	padding: 24px;
	box-shadow: var(--nexus-shadow-sm);
	margin: 0 !important;
	width: 100%;
	box-sizing: border-box;
}

.nexus-widget-title,
.nexus-footer-widget-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--nexus-text-main);
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--nexus-border);
	position: relative;
}

.nexus-widget-title::after,
.nexus-footer-widget-title::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 36px;
	height: 2px;
	background-color: var(--nexus-primary);
}

/* Estilo de Widgets Nativos do WP (busca, recentes, categorias) */
.nexus-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nexus-widget li {
	padding: 10px 0;
	border-bottom: 1px solid var(--nexus-border);
	font-size: 14px;
}

.nexus-widget li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.nexus-widget li a {
	color: var(--nexus-text-main);
	font-weight: 500;
	transition: color 0.15s ease;
}

.nexus-widget li a:hover {
	color: var(--nexus-primary);
}

/* Formulário de Busca Nativo nos Widgets e Blocos WP */
.widget_search .search-form,
.wp-block-search {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}

.widget_search .search-form label,
.wp-block-search__label {
	width: 100%;
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--nexus-text-main);
}

.widget_search input[type="search"],
.widget_search input[type="text"],
.wp-block-search__input {
	flex: 1 1 140px;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--nexus-border);
	border-radius: var(--nexus-radius);
	background-color: var(--nexus-bg-body);
	color: var(--nexus-text-main);
	font-size: 14px;
	outline: none;
	transition: border-color 0.15s ease;
}

.widget_search input[type="search"]:focus,
.widget_search input[type="text"]:focus,
.wp-block-search__input:focus {
	border-color: var(--nexus-primary);
}

.widget_search input[type="submit"],
.widget_search button,
.wp-block-search__button {
	height: 44px;
	padding: 0 18px;
	background-color: var(--nexus-primary);
	color: #ffffff;
	border: none;
	border-radius: var(--nexus-radius);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background-color 0.15s ease;
}

.widget_search input[type="submit"]:hover,
.widget_search button:hover,
.wp-block-search__button:hover {
	background-color: var(--nexus-primary-hover);
}

/* Widget Customizado: Artigos Recentes com Miniaturas */
.nexus-widget-posts-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nexus-widget-post-item {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 0 !important;
	border-bottom: none !important;
}

.nexus-widget-post-thumb-wrap {
	flex-shrink: 0;
	width: 80px;
	height: 60px;
	border-radius: 6px;
	overflow: hidden;
}

.nexus-widget-post-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.nexus-widget-post-item:hover .nexus-widget-post-thumb {
	transform: scale(1.05);
}

.nexus-widget-post-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 4px 0;
}

.nexus-widget-post-date {
	font-size: 12px;
	color: var(--nexus-text-muted);
}

/* 8. Rodapé */
.nexus-site-footer {
	background-color: var(--nexus-bg-card);
	border-top: 1px solid var(--nexus-border);
	margin-top: auto;
}

.nexus-footer-widgets-area {
	padding: 56px 0 40px 0;
}

.nexus-footer-grid {
	display: grid;
	gap: 32px;
}

.nexus-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
.nexus-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.nexus-footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.nexus-footer-cols-1 { grid-template-columns: 1fr; }

@media (max-width: 960px) {
	.nexus-footer-cols-4,
	.nexus-footer-cols-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.nexus-footer-cols-4,
	.nexus-footer-cols-3,
	.nexus-footer-cols-2 {
		grid-template-columns: 1fr;
	}
}

.nexus-footer-widget {
	background: none;
	border: none;
	padding: 0;
	box-shadow: none;
}

.nexus-footer-bottom {
	border-top: 1px solid var(--nexus-border);
	padding: 24px 0;
	font-size: 14px;
	color: var(--nexus-text-muted);
}

.nexus-footer-bottom-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.nexus-footer-menu {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 20px;
}

.nexus-footer-menu a {
	color: var(--nexus-text-muted);
}

.nexus-footer-menu a:hover {
	color: var(--nexus-primary);
}


/* -------------------------------------------------------------
 * Formulário de Busca Global (.nexus-search-form)
 * ------------------------------------------------------------- */
.nexus-search-form {
	width: 100%;
}

.nexus-search-form-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	background-color: var(--nexus-bg-card);
	border: 1.5px solid var(--nexus-border);
	border-radius: var(--nexus-radius);
	padding: 6px 8px 6px 16px;
	box-shadow: var(--nexus-shadow-sm);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nexus-search-form-wrap:focus-within {
	border-color: var(--nexus-primary);
	box-shadow: 0 0 0 3px rgba(var(--nexus-primary-rgb), 0.15);
}

.nexus-search-form-icon {
	color: var(--nexus-text-muted);
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.nexus-search-form-icon svg {
	width: 18px;
	height: 18px;
}

.nexus-search-form-input {
	flex: 1 1 auto;
	height: 42px;
	border: none;
	background: transparent;
	font-size: 15px;
	color: var(--nexus-text-main);
	outline: none;
	padding: 0;
	box-shadow: none !important;
}

.nexus-search-form-btn {
	height: 40px;
	padding: 0 20px;
	font-size: 14px;
	font-weight: 600;
	border-radius: calc(var(--nexus-radius) - 2px);
	flex-shrink: 0;
}

/* -------------------------------------------------------------
 * Breadcrumbs Global (Trilha de Navegação)
 * ------------------------------------------------------------- */
.nexus-breadcrumbs {
	margin-bottom: 24px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--nexus-text-muted);
}

.nexus-breadcrumbs-trail,
.nexus-breadcrumbs-list,
ol.nexus-breadcrumbs-list {
	display: flex !important;
	flex-wrap: wrap !important;
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 !important;
	align-items: center !important;
	gap: 6px 8px;
}

.nexus-breadcrumb-item {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none !important;
	list-style-type: none !important;
}

.nexus-breadcrumb-item::before,
.nexus-breadcrumb-item::marker {
	display: none !important;
	content: none !important;
}

.nexus-breadcrumb-sep {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--nexus-border);
	margin: 0 2px;
	line-height: 1;
	opacity: 0.9;
}

.nexus-breadcrumb-item a {
	color: var(--nexus-text-muted);
	font-weight: 500;
	transition: color 0.15s ease;
	display: inline-flex;
	align-items: center;
}

.nexus-breadcrumb-item a:hover {
	color: var(--nexus-primary);
	text-decoration: underline;
}

.nexus-breadcrumb-item.is-current {
	color: var(--nexus-text-main);
	font-weight: 600;
}

.nexus-breadcrumb-item.is-current {
	color: var(--nexus-text-main);
	font-weight: 500;
}

/* -------------------------------------------------------------
 * Card de Página Não Encontrada (404)
 * ------------------------------------------------------------- */
.nexus-404-main {
	padding: 20px 0 60px 0;
}

.nexus-404-card {
	background-color: var(--nexus-bg-card);
	border: 1px solid var(--nexus-border);
	border-radius: var(--nexus-radius);
	padding: 48px 32px;
	text-align: center;
	max-width: 720px;
	margin: 0 auto 56px auto;
	box-shadow: var(--nexus-shadow-sm);
}

.nexus-404-badge {
	font-size: 80px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -2px;
	color: var(--nexus-primary);
	margin-bottom: 16px;
	opacity: 0.9;
}

.nexus-404-title {
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 12px;
	color: var(--nexus-text-main);
}

.nexus-404-desc {
	font-size: 16px;
	color: var(--nexus-text-muted);
	max-width: 540px;
	margin: 0 auto 28px auto;
}

.nexus-404-search-box {
	max-width: 520px;
	margin: 0 auto 28px auto;
}

.nexus-404-categories {
	margin-bottom: 32px;
}

.nexus-404-cat-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--nexus-text-muted);
	margin-bottom: 12px;
}

.nexus-404-cat-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.nexus-404-actions {
	margin-top: 24px;
}

/* -------------------------------------------------------------
 * Estado Vazio de Busca (.nexus-empty-state-card)
 * ------------------------------------------------------------- */
.nexus-empty-state-card {
	background-color: var(--nexus-bg-card);
	border: 1px solid var(--nexus-border);
	border-radius: var(--nexus-radius);
	padding: 40px 32px;
	text-align: center;
	margin-bottom: 48px;
	box-shadow: var(--nexus-shadow-sm);
}

.nexus-empty-state-icon {
	width: 56px;
	height: 56px;
	background-color: rgba(var(--nexus-primary-rgb), 0.1);
	color: var(--nexus-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px auto;
}

.nexus-empty-state-icon svg {
	width: 28px;
	height: 28px;
}

.nexus-empty-state-title {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 10px;
	color: var(--nexus-text-main);
}

.nexus-empty-state-desc {
	font-size: 15px;
	color: var(--nexus-text-muted);
	max-width: 540px;
	margin: 0 auto 24px auto;
}

.nexus-empty-state-form {
	max-width: 520px;
	margin: 0 auto 24px auto;
}

.nexus-empty-state-categories {
	margin-top: 20px;
}

.nexus-empty-state-cat-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--nexus-text-muted);
	margin-bottom: 10px;
}

.nexus-empty-state-cat-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.nexus-search-suggestions {
	margin-top: 40px;
}

/* -------------------------------------------------------------
 * Botão Flutuante de WhatsApp
 * ------------------------------------------------------------- */
.nexus-wa-float {
	position: fixed;
	bottom: 24px;
	z-index: 990;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nexus-wa-side-right {
	right: 24px;
}

.nexus-wa-side-left {
	left: 24px;
}

.nexus-wa-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: #25d366;
	color: #ffffff !important;
	padding: 12px 18px;
	border-radius: 9999px;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nexus-wa-link:hover {
	background-color: #1ebe5d;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.nexus-wa-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 24px;
	height: 24px;
}

.nexus-wa-icon-wrap svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.nexus-wa-text {
	line-height: 1;
	white-space: nowrap;
}

/* -------------------------------------------------------------
 * Aviso de Cookies e LGPD
 * ------------------------------------------------------------- */
.nexus-lgpd-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: var(--nexus-bg-card);
	border-top: 1px solid var(--nexus-border);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
	padding: 16px 0;
	animation: nexusSlideUp 0.3s ease forwards;
}

@keyframes nexusSlideUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.nexus-lgpd-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.nexus-lgpd-text {
	flex: 1 1 500px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--nexus-text-muted);
}

.nexus-lgpd-text p {
	margin: 0;
}

.nexus-lgpd-link {
	color: var(--nexus-primary);
	text-decoration: underline;
	margin-left: 6px;
	font-weight: 500;
}

.nexus-lgpd-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.nexus-lgpd-btn {
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	border-radius: var(--nexus-radius);
	cursor: pointer;
}
