/* Senego — Styles du dropdown « Services » + barre Services homepage.
 * Extrait du <style id="services-dropdown-css"> précédemment inline dans
 * inc/services-dropdown.php (hook wp_head).
 * Enqueued globalement depuis functions.php (senego_header_assets). */

/* Services Dropdown (Desktop) */
.services-dropdown { position: relative; }
.services-chevron { vertical-align: middle; margin-left: 2px; transition: transform 0.2s; }
.services-dropdown:hover .services-chevron { transform: rotate(180deg); }
.services-mega-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	width: 320px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 6px 24px rgba(0,0,0,0.12);
	border: 1px solid var(--senego-color-border);
	z-index: 2000;
	padding: 0.5rem 0;
	padding-top: 0.8rem;
}
.services-mega-menu::before {
	content: "";
	position: absolute;
	top: -15px;
	left: 0;
	right: 0;
	height: 15px;
}
.services-dropdown:hover .services-mega-menu { display: block; }
.mega-menu-grid { display: flex; flex-direction: column; }
.mega-item {
	display: flex !important;
	align-items: center;
	gap: 0.7rem;
	padding: 0.55rem 1.2rem !important;
	text-decoration: none;
	color: #333 !important;
	background: transparent !important;
	font-size: 0.88rem !important;
	font-weight: 400 !important;
	font-family: "Source Sans 3", sans-serif !important;
	text-transform: none !important;
	border-radius: 0 !important;
	transition: background 0.15s, color 0.15s;
}
.mega-item:hover { background: #f8f8f8 !important; color: var(--senego-color-primary) !important; }
.mega-icon { font-size: 1.1rem; flex-shrink: 0; width: 20px; text-align: center; }
.mega-label { font-family: "Source Sans 3", sans-serif; text-transform: none; }
.mega-menu-footer { border-top: 1px solid #f0f0f0; margin-top: 0.2rem; padding: 0.5rem 1.2rem; }
.mega-see-all {
	display: block;
	color: var(--senego-color-primary);
	font-weight: 600;
	font-size: 0.85rem;
	text-decoration: none;
	padding: 0.5rem 0;
	text-align: center;
	border-radius: 5px;
	transition: background 0.2s;
}
.mega-see-all:hover { background: #fff5e6; }

/* Hide mega-menu inside drawer (mobile) */
.drawer-navigation .services-mega-menu { display: none !important; }
.drawer-navigation .services-chevron { display: none; }

@media (max-width: 991px) {
	.services-mega-menu { display: none !important; }
}

/* === Services Bar (Homepage) === */
.services-bar-section {
	padding: 10px 0;
}
.services-bar-section .container {
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
}
.services-bar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.6rem;
	border-bottom: 1px solid #e0dbdb;
}
.services-bar-title {
	font-family: var(--senego-font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: none;
	color: var(--senego-color-heading);
	margin: 0 auto;
}
.services-bar-all {
	font-size: 0.8rem;
	color: var(--senego-color-primary);
	font-weight: 600;
	text-decoration: none;
}
.services-bar-all:hover { text-decoration: underline; }
.services-bar-track {
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 2px;
}
.services-bar-track::-webkit-scrollbar { display: none; }
.services-bar-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.7rem;
	background: #f8f8f8;
	border: 1px solid #d8d7d7;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	white-space: nowrap;
	font-size: 0.78rem;
	font-weight: 500;
	flex-shrink: 0;
}
.services-bar-item:hover {
	background: #fff5e6;
	border-color: var(--senego-color-primary);
	color: var(--senego-color-primary);
}
.services-bar-icon { font-size: 0.95rem; }
.services-bar-label { font-family: "Source Sans 3", sans-serif; }

@media (max-width: 767px) {
	.services-bar-section { margin: 0.5rem 0; padding: 0.6rem 0.8rem; border-radius: 8px; }
	.services-bar-item { padding: 0.35rem 0.6rem; font-size: 0.72rem; }
}
