/* Neuron · Consentement cookies (LPD) — v1.0.0
   Palette reprise du site : #28a3d9 (bleu), #25224d (encre), #b73b3b (accent).
   Tout est préfixé .nrc- pour ne rien croiser avec Bridge / WPBakery. */

.nrc-root,
.nrc-root * {
	box-sizing: border-box;
}

.nrc-root {
	font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #25224d;
}

.nrc-root[hidden] {
	display: none !important;
}

/* ---------------------------------------------------------------- bandeau */

.nrc-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	background: #25224d;
	color: #ffffff;
	box-shadow: 0 -2px 24px rgba(0, 0, 0, .28);
	padding: 20px 24px;
	animation: nrc-rise .28s ease-out both;
}

@keyframes nrc-rise {
	from { transform: translateY(100%); }
	to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.nrc-bar { animation: none; }
}

.nrc-bar-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
}

.nrc-text {
	flex: 1 1 460px;
	min-width: 260px;
}

.nrc-title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: .01em;
}

.nrc-body {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, .86);
}

.nrc-body a,
.nrc-panel-intro a {
	color: #7fd0f5;
	text-decoration: underline;
}

.nrc-body a:hover,
.nrc-panel-intro a:hover {
	color: #ffffff;
}

.nrc-actions {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

/* -------------------------------------------------------------- boutons
   « Refuser » a exactement la même taille et la même lisibilité
   qu'« Accepter » : c'est ce qu'exige un consentement libre. */

.nrc-btn {
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	padding: 12px 22px;
	min-height: 44px;
	min-width: 130px;
	border-radius: 3px;
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.nrc-btn-accept {
	background: #28a3d9;
	border-color: #28a3d9;
	color: #ffffff;
}

.nrc-btn-accept:hover {
	background: #1c8bbb;
	border-color: #1c8bbb;
}

.nrc-btn-reject {
	background: transparent;
	border-color: #ffffff;
	color: #ffffff;
}

.nrc-btn-reject:hover {
	background: #ffffff;
	color: #25224d;
}

.nrc-btn-link {
	background: none;
	border: 0;
	padding: 12px 6px;
	min-width: 0;
	color: rgba(255, 255, 255, .86);
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	font-size: 14px;
	font-family: inherit;
}

.nrc-btn-link:hover {
	color: #ffffff;
}

.nrc-root :focus-visible {
	outline: 3px solid #7fd0f5;
	outline-offset: 2px;
}

/* -------------------------------------------------------- panneau détaillé */

.nrc-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	background: rgba(37, 34, 77, .62);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}

.nrc-panel {
	background: #ffffff;
	color: #25224d;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	border-radius: 4px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
	padding: 28px;
}

.nrc-panel-title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	color: #25224d;
}

.nrc-panel-intro {
	margin: 0 0 20px;
	font-size: 14px;
	color: #55536e;
}

.nrc-cat {
	border-top: 1px solid #e4e6ef;
	padding: 16px 0;
}

.nrc-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.nrc-cat-name {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	color: #25224d;
}

.nrc-cat-desc {
	margin: 8px 0 0;
	font-size: 13px;
	color: #55536e;
}

.nrc-always {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #28a3d9;
	white-space: nowrap;
}

/* interrupteur */

.nrc-switch {
	position: relative;
	flex: 0 0 auto;
	width: 52px;
	height: 28px;
}

.nrc-switch input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.nrc-slider {
	position: absolute;
	inset: 0;
	background: #b9bcce;
	border-radius: 28px;
	transition: background-color .18s ease;
	pointer-events: none;
}

.nrc-slider::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	background: #ffffff;
	border-radius: 50%;
	transition: transform .18s ease;
}

.nrc-switch input:checked + .nrc-slider {
	background: #28a3d9;
}

.nrc-switch input:checked + .nrc-slider::before {
	transform: translateX(24px);
}

.nrc-switch input:focus-visible + .nrc-slider {
	outline: 3px solid #7fd0f5;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.nrc-slider,
	.nrc-slider::before { transition: none; }
}

.nrc-panel-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e4e6ef;
}

.nrc-panel .nrc-btn-reject {
	border-color: #25224d;
	color: #25224d;
}

.nrc-panel .nrc-btn-reject:hover {
	background: #25224d;
	color: #ffffff;
}

.nrc-panel-foot {
	margin: 18px 0 0;
	font-size: 13px;
}

.nrc-panel-foot a {
	color: #1c8bbb;
	text-decoration: underline;
}

/* ------------------------------------------------- lien du bas de page */

.neuron-consent-legal {
	margin: 4px 0 20px;
	font-size: 13px;
	line-height: 1.8;
}

.neuron-consent-legal a,
.neuron-consent-legal .neuron-consent-open {
	color: inherit;
	opacity: .85;
	text-decoration: underline;
	background: none;
	border: 0;
	padding: 0;
	margin: 0 4px;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	cursor: pointer;
}

.neuron-consent-legal a:hover,
.neuron-consent-legal .neuron-consent-open:hover {
	opacity: 1;
}

/* ------------------------------------------- pages légales : les tableaux
   Le thème ne met aucune bordure : un tableau de cookies devient alors un
   pâté de texte. `table-layout: fixed` le tient aussi dans la largeur du
   téléphone, où sinon il déborde de son conteneur. */

.neuron-legal table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin: 18px 0 28px;
	font-size: 14px;
}

.neuron-legal th,
.neuron-legal td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px;
	overflow-wrap: anywhere;
	word-wrap: break-word;
	line-height: 1.45;
}

.neuron-legal th {
	background: #f2f6fa;
	color: #25224d;
	font-weight: 700;
	font-size: 13px;
	border-bottom: 2px solid #28a3d9;
}

.neuron-legal td {
	border-bottom: 1px solid #e4e6ef;
	font-size: 14px;
}

.neuron-legal tbody tr:nth-child(even) td {
	background: #fafbfd;
}

/* la première colonne porte le nom du cookie : on la garde étroite et lisible */
.neuron-legal th:first-child,
.neuron-legal td:first-child {
	width: 26%;
	font-family: Consolas, "SFMono-Regular", Menlo, monospace;
	font-size: 13px;
}

.neuron-legal th:last-child,
.neuron-legal td:last-child {
	width: 18%;
}

.neuron-legal h2 {
	margin-top: 38px;
}

.neuron-legal h3 {
	margin-top: 26px;
}

@media (max-width: 600px) {
	.neuron-legal table,
	.neuron-legal td {
		font-size: 13px;
	}

	.neuron-legal th,
	.neuron-legal td {
		padding: 8px 8px;
	}

	.neuron-legal th:first-child,
	.neuron-legal td:first-child {
		width: 30%;
		font-size: 12px;
	}

	.neuron-legal th:last-child,
	.neuron-legal td:last-child {
		width: 20%;
	}
}

/* ------------------------------------------------------------- mobile */

@media (max-width: 767px) {
	.nrc-bar {
		padding: 18px 16px;
		max-height: 82vh;
		overflow-y: auto;
	}

	.nrc-bar-inner {
		gap: 16px;
	}

	.nrc-actions {
		width: 100%;
	}

	.nrc-btn-accept,
	.nrc-btn-reject {
		flex: 1 1 140px;
	}

	.nrc-btn-link {
		flex: 1 1 100%;
		text-align: center;
	}

	.nrc-panel {
		padding: 22px 18px;
	}

	.nrc-panel-actions .nrc-btn {
		flex: 1 1 100%;
	}
}
