/* ==========================================================
   CYBERIAL — Navigation desktop (mega-menu)
   Chargé globalement via le plugin (pas lié à un widget).
   ========================================================== */

:root {
	--cy-text:       #1d1c1a;
	--cy-grey:       #666666;
	--cy-btn-bg:     #191919;
	--cy-btn-beige:  #E6E4DD;
	--font-main:     'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#cy-desktop-wrapper {
	font-family: var(--font-main);
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	position: relative;
	z-index: 100;
	padding: 10px 0;
}

.cy-nav-list {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cy-item {
	position: relative;
	padding: 10px 0;
}

.cy-link {
	text-decoration: none;
	color: var(--cy-text);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: opacity 0.2s;
}

.cy-link:hover { opacity: 0.6; }

.cy-chevron {
	width: 10px;
	height: 10px;
	transition: transform 0.2s;
	opacity: 0.8;
}

.cy-item:hover .cy-chevron { transform: rotate(180deg); }

/* --- Dropdown --- */
.cy-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: white;
	width: 360px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	padding: 16px;
	display: none;
	flex-direction: column;
	gap: 4px;
	border: 1px solid #f0f0f0;
	text-align: left;
	z-index: 1000;
}

.cy-item:hover .cy-dropdown { display: flex; }

/* Titre de section */
.cy-drop-title {
	font-size: 11px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin: 12px 0 8px 54px;
	font-weight: 600;
}

.cy-drop-title:first-child { margin-top: 4px; }

/* Lien & icône */
.cy-drop-link {
	text-decoration: none;
	padding: 10px 12px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	margin-left: 42px;
	position: relative;
	transition: all 0.2s ease;
}

.cy-drop-link:hover {
	background: #f5f5f5;
	padding-left: 18px;
}

.cy-drop-icon {
	width: 24px;
	height: 24px;
	color: var(--cy-text);
	position: absolute;
	left: -38px;
	top: 50%;
	transform: translateY(-50%);
	transition: color 0.2s, transform 0.2s;
}

.cy-drop-link:hover .cy-drop-icon {
	color: #000;
	transform: translateY(-50%) scale(1.1);
}

/* Icône lien externe */
.cy-ext-icon {
	width: 12px;
	height: 12px;
	color: #999;
	margin-left: 4px;
	vertical-align: middle;
	position: relative;
	top: -1px;
	transition: color 0.2s;
}

.cy-drop-link:hover .cy-ext-icon { color: var(--cy-text); }

.cy-link-col {
	display: flex;
	flex-direction: column;
}

.cy-link-title {
	color: var(--cy-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
}

.cy-link-desc {
	color: var(--cy-grey);
	font-size: 13px;
	line-height: 1.4;
	font-weight: 400;
}

/* Séparateur */
.cy-sep {
	height: 1px;
	background: #eee;
	margin: 8px 12px;
}

/* --- Actions (boutons CTA) --- */
.cy-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: 28px;
}

.cy-btn {
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: transform 0.2s, opacity 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
}

.cy-btn:hover {
	transform: translateY(-1px);
	opacity: 0.9;
}

.cy-btn-icon {
	width: 15px;
	height: 15px;
	stroke-width: 2;
	stroke: currentColor;
	fill: none;
}

.cy-btn-outline { background-color: var(--cy-btn-beige); color: var(--cy-text); }
.cy-btn-fill    { background-color: var(--cy-btn-bg); color: white; }
