/**
 * RadioInternet — Menus contextuels (rail « Dans cette section »).
 * Charte : bleu nuit #04060d, dégradé magenta #ff2e9e → violet #8b5cf6.
 * Bureau ≥ 1200 px : rail gauche fixe (sticky). En dessous : accordéon.
 */

/* ---------- Disposition (injected wrap) ---------- */
.rint-mc-wrap {
	box-sizing: border-box;
	max-width: 100%;
}
.rint-mc-wrap *,
.rint-mc-wrap *::before,
.rint-mc-wrap *::after {
	box-sizing: border-box;
}
.rint-mc-main {
	min-width: 0; /* empêche tout débordement du contenu dans le flex */
}

/* ---------- Le rail ---------- */
.rint-mc {
	background: #04060d;
	border: 1px solid rgba(139, 92, 246, 0.35);
	border-radius: 16px;
	padding: 18px 16px 14px;
	color: #eef0ff;
	font-size: 15px;
	line-height: 1.45;
	max-width: 100%;
}

/* Titre de section (lien pivot) */
.rint-mc__section-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	margin: 0 0 12px;
	background: linear-gradient(90deg, #ff2e9e, #8b5cf6);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #ff2e9e; /* repli si background-clip non supporté */
}
@supports not (background-clip: text) {
	.rint-mc__section-title {
		-webkit-text-fill-color: currentColor;
	}
}

/* Liste des sœurs */
.rint-mc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rint-mc__item {
	margin: 0 0 2px;
}
.rint-mc__item a {
	display: block;
	padding: 8px 12px;
	border-radius: 10px;
	border-left: 3px solid transparent;
	color: #cfd4f5;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
	overflow-wrap: break-word;
}
.rint-mc__item a:hover,
.rint-mc__item a:focus-visible {
	background: rgba(139, 92, 246, 0.16);
	color: #ffffff;
}
.rint-mc__item--current a {
	background: linear-gradient(90deg, rgba(255, 46, 158, 0.22), rgba(139, 92, 246, 0.22));
	border-left-color: #ff2e9e;
	color: #ffffff;
	font-weight: 700;
}
.rint-mc__item--ancestor a {
	color: #ffffff;
	font-weight: 600;
}

/* Sous-liste « Sur cette page » */
.rint-mc__anchors-title {
	margin: 16px 0 6px;
	padding-top: 12px;
	border-top: 1px solid rgba(139, 92, 246, 0.25);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9aa3d9;
}
.rint-mc__anchors {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13.5px;
}
.rint-mc__anchors a {
	display: block;
	padding: 5px 12px;
	color: #aeb6e8;
	text-decoration: none;
	border-radius: 8px;
}
.rint-mc__anchors a:hover,
.rint-mc__anchors a:focus-visible {
	background: rgba(139, 92, 246, 0.14);
	color: #ffffff;
}

/* Bouton accordéon : visible seulement sous 1200 px */
.rint-mc__toggle {
	display: none;
	width: 100%;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	padding: 2px 2px 0;
	margin: 0;
	color: #eef0ff;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.rint-mc__toggle-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9aa3d9;
}
.rint-mc__toggle-section {
	font-weight: 700;
	background: linear-gradient(90deg, #ff2e9e, #8b5cf6);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #ff2e9e;
}
@supports not (background-clip: text) {
	.rint-mc__toggle-section {
		-webkit-text-fill-color: currentColor;
	}
}
.rint-mc__chevron {
	margin-left: auto;
	width: 10px;
	height: 10px;
	flex: 0 0 auto;
	border-right: 2px solid #ff2e9e;
	border-bottom: 2px solid #ff2e9e;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.rint-mc.is-open .rint-mc__chevron {
	transform: rotate(225deg);
}

/* Focus visible — accessibilité */
.rint-mc a:focus-visible,
.rint-mc__toggle:focus-visible {
	outline: 2px solid #ff2e9e;
	outline-offset: 2px;
}

/* ---------- Bureau ≥ 1200 px : rail fixe à gauche ---------- */
@media (min-width: 1200px) {
	.rint-mc-wrap {
		display: flex;
		align-items: flex-start;
		gap: 30px;
	}
	.rint-mc {
		flex: 0 0 252px;
		width: 252px;
		position: sticky;
		top: 96px;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
	}
	.rint-mc-main {
		flex: 1 1 auto;
	}
}

/* ---------- Sous 1200 px : accordéon sous le titre ---------- */
@media (max-width: 1199.98px) {
	.rint-mc {
		margin: 0 0 22px;
		padding: 14px 14px 10px;
	}
	.rint-mc__toggle {
		display: flex;
	}
	.rint-mc__body {
		display: none;
		padding-top: 12px;
	}
	.rint-mc.is-open .rint-mc__body {
		display: block;
	}
}

/* ---------- Bloc « Plan du site » (repli menu du bas) ---------- */
.rint-mc-sitemap {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 36px;
	background: #04060d;
	border-top: 1px solid rgba(139, 92, 246, 0.35);
	padding: 28px 20px;
	max-width: 100%;
}
.rint-mc-sitemap__col {
	flex: 1 1 150px;
	min-width: 0;
}
.rint-mc-sitemap__title {
	margin: 0 0 10px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff2e9e;
}
.rint-mc-sitemap ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rint-mc-sitemap li {
	margin: 0 0 6px;
}
.rint-mc-sitemap a {
	color: #cfd4f5;
	text-decoration: none;
	font-size: 14px;
}
.rint-mc-sitemap a:hover,
.rint-mc-sitemap a:focus-visible {
	color: #ffffff;
	text-decoration: underline;
}

/* ---------- Divers ---------- */
@media (prefers-reduced-motion: reduce) {
	.rint-mc__item a,
	.rint-mc__chevron {
		transition: none;
	}
}
@media print {
	.rint-mc,
	.rint-mc-sitemap {
		display: none;
	}
}
