/**
 * Secteurs d’intervention — navy #ab1a19 · orange #8c1515
 * Carrousel horizontal glass, non cliquable.
 */
html:has(.wpcursor-secteurs-accueil) {
	overflow-x: clip;
}

.entry-content > .wpcursor-component.wpcursor-secteurs-accueil,
.entry-content[data-ast-blocks-layout] > .wpcursor-component.wpcursor-secteurs-accueil,
.wpcursor-component.wpcursor-secteurs-accueil.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-component.wpcursor-secteurs-accueil {
	--sr-navy: #ab1a19;
	--sr-navy-deep: #590e0d;
	--sr-navy-card: rgba(255, 255, 255, 0.06);
	--sr-navy-card-border: rgba(255, 255, 255, 0.14);
	--sr-orange: #8c1515;
	--sr-orange-soft: rgba(140, 21, 21, 0.22);
	--sr-white: #ffffff;
	--sr-muted: rgba(255, 255, 255, 0.72);
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-pad: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-content: 84rem;
	--sr-card-w: min(17.5rem, 78vw);
	background:
		radial-gradient(ellipse 50% 55% at 88% 0%, rgba(140, 21, 21, 0.16) 0%, transparent 55%),
		linear-gradient(180deg, var(--sr-navy) 0%, var(--sr-navy-deep) 100%);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	padding: 3rem 0 3.25rem;
	position: relative;
	width: 100%;
}

.wpcursor-component.wpcursor-secteurs-accueil *,
.wpcursor-component.wpcursor-secteurs-accueil *::before,
.wpcursor-component.wpcursor-secteurs-accueil *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__glow {
	background: radial-gradient(circle, rgba(140, 21, 21, 0.28) 0%, transparent 70%);
	height: 18rem;
	left: -6rem;
	opacity: 0.55;
	pointer-events: none;
	position: absolute;
	top: 40%;
	width: 18rem;
	z-index: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__grid {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 3.25rem 3.25rem;
	inset: 0;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
	opacity: 0.55;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__inner {
	display: grid;
	gap: 1.5rem;
	margin: 0 auto;
	max-width: var(--sr-content);
	padding: 0 var(--sr-pad);
	position: relative;
	width: 100%;
	z-index: 1;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__header {
	align-items: end;
	display: grid;
	gap: 1.25rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__intro {
	max-width: 40rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__eyebrow {
	align-items: center;
	color: var(--sr-orange) !important;
	display: flex;
	font-size: 0.76rem;
	font-weight: 700;
	gap: 0.7rem;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__eyebrow-line {
	background: var(--sr-orange);
	display: inline-block;
	flex: 0 0 auto;
	height: 2px;
	width: 1.6rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__title {
	color: var(--sr-white) !important;
	font-size: clamp(1.45rem, 3vw, 2.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.18;
	margin: 0 0 0.75rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__text {
	color: var(--sr-muted);
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__controls {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__counter {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.92rem;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__counter-sep {
	color: var(--sr-orange);
	margin: 0 0.2rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__nav {
	display: inline-flex;
	gap: 0.55rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__btn {
	align-items: center;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	color: var(--sr-white);
	cursor: pointer;
	display: inline-flex;
	height: 2.75rem;
	justify-content: center;
	padding: 0;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	width: 2.75rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__btn:hover,
.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__btn:focus-visible {
	background: var(--sr-orange-soft);
	border-color: var(--sr-orange);
	color: var(--sr-orange);
	outline: none;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__btn:active {
	transform: scale(0.96);
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__btn:disabled {
	cursor: default;
	opacity: 0.35;
	transform: none;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__viewport {
	margin-inline: calc(-1 * var(--sr-pad));
	min-width: 0;
	position: relative;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__viewport::before,
.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__viewport::after {
	content: "";
	height: 100%;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: clamp(1rem, 4vw, 2.5rem);
	z-index: 2;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__viewport::before {
	background: linear-gradient(90deg, var(--sr-navy-deep), transparent);
	left: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__viewport::after {
	background: linear-gradient(270deg, var(--sr-navy-deep), transparent);
	right: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__track {
	display: flex;
	gap: 0.9rem;
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: 0.35rem var(--sr-pad) 0.85rem;
	scroll-behavior: smooth;
	scroll-padding-inline: var(--sr-pad);
	scrollbar-width: none;
	snap-type: x mandatory;
	scroll-snap-type: x mandatory;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__track:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 4px;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__track::-webkit-scrollbar {
	display: none;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card {
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 48%, rgba(10, 58, 21, 0.25) 100%);
	border: 1px solid var(--sr-navy-card-border);
	border-radius: 1.15rem;
	box-shadow: 0 12px 28px rgba(8, 44, 15, 0.22);
	display: grid;
	flex: 0 0 var(--sr-card-w);
	gap: 1rem;
	grid-template-rows: auto 1fr;
	isolation: isolate;
	min-height: 14.5rem;
	overflow: hidden;
	padding: 1.2rem 1.15rem 1.15rem;
	position: relative;
	scroll-snap-align: start;
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	user-select: none;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card::before {
	background: linear-gradient(180deg, var(--sr-orange), rgba(140, 21, 21, 0.15));
	border-radius: 999px;
	content: "";
	height: 3.25rem;
	left: 0;
	opacity: 0.9;
	position: absolute;
	top: 1.35rem;
	width: 3px;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card.is-active,
.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card:hover {
	background:
		linear-gradient(160deg, rgba(140, 21, 21, 0.14) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(10, 58, 21, 0.2) 100%);
	border-color: rgba(140, 21, 21, 0.55);
	box-shadow: 0 16px 34px rgba(8, 44, 15, 0.3);
	transform: translateY(-3px);
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__icon {
	align-items: center;
	background: rgba(140, 21, 21, 0.1);
	border: 1px solid rgba(140, 21, 21, 0.45);
	border-radius: 0.9rem;
	color: var(--sr-orange);
	display: inline-flex;
	height: 3rem;
	justify-content: center;
	width: 3rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__icon svg {
	display: block;
	height: 1.65rem;
	width: 1.65rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card-body {
	display: grid;
	gap: 0.45rem;
	min-width: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card-title {
	color: var(--sr-white) !important;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card-text {
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card-index {
	bottom: 0.85rem;
	color: rgba(140, 21, 21, 0.55);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	position: absolute;
	right: 1rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__progress {
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	height: 3px;
	margin-top: 0.15rem;
	overflow: hidden;
	width: 100%;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__progress-bar {
	background: linear-gradient(90deg, var(--sr-orange), #f98700);
	border-radius: inherit;
	display: block;
	height: 100%;
	transform-origin: left center;
	transition: transform 0.2s ease;
	width: 100%;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__footer {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
	margin-top: 0.35rem;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__note {
	color: var(--sr-muted);
	font-size: 0.95rem;
	line-height: 1.45;
	margin: 0;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__cta {
	align-items: center;
	color: var(--sr-orange) !important;
	display: inline-flex;
	font-size: 0.98rem;
	font-weight: 700;
	gap: 0.4rem;
	line-height: 1.3;
	min-height: 44px;
	text-decoration: none !important;
	transition: color 0.2s ease, gap 0.2s ease;
}

.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__cta:hover,
.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__cta:focus-visible {
	color: #8c1515 !important;
	gap: 0.65rem;
	outline: none;
}

@media (min-width: 768px) {
	.wpcursor-component.wpcursor-secteurs-accueil {
		--sr-pad: clamp(1.25rem, 3.5vw, 2.75rem);
		padding: 3.75rem 0 4rem;
	}

	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__header {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__controls {
		justify-content: flex-end;
		padding-bottom: 0.2rem;
	}

	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card {
		--sr-card-w: 18.25rem;
		min-height: 15.25rem;
	}
}

@media (min-width: 1100px) {
	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card {
		--sr-card-w: 19rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__track {
		scroll-behavior: auto;
	}

	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card,
	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__btn,
	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__cta,
	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__progress-bar {
		transition: none !important;
	}

	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card:hover,
	.wpcursor-component.wpcursor-secteurs-accueil .wpcursor-secteurs-accueil__card.is-active {
		transform: none;
	}
}
