/**
 * Lorem ipsum — vert foncé #8c1515 · accent #8c1515
 */
.wpcursor-component.wpcursor-hero-accueil {
	--sr-navy: #8c1515;
	--sr-navy-deep: #ab1a19;
	--sr-orange: #8c1515;
	--sr-orange-hover: #8c1515;
	--sr-white: #ffffff;
	--sr-muted: #8c1515;
	--sr-line: #f98700;
	--sr-input: #f3f6fa;
	--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));
	background: var(--sr-navy-deep);
	box-sizing: border-box;
	color: var(--sr-white);
	font-family: var(--sr-font);
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 100%;
}

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

/* Masque le titre Astra sur l’accueil quand le hero est présent */
body.home:has(.wpcursor-hero-accueil) .entry-header,
body.home:has(.wpcursor-hero-accueil) .ast-archive-description,
body.page-template-default:has(.wpcursor-hero-accueil) .entry-header {
	display: none !important;
}

body.home:has(.wpcursor-hero-accueil) #content > .ast-container,
body.home:has(.wpcursor-hero-accueil) .site-content > .ast-container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body.home:has(.wpcursor-hero-accueil) .entry-content > .wpcursor-hero-accueil:first-child,
body.home:has(.wpcursor-hero-accueil) .entry-content > .wpcursor-component.wpcursor-hero-accueil:first-child {
	margin-top: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__media {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__bg {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__shade {
	background:
		linear-gradient(90deg, rgba(12, 74, 34, 0.92) 0%, rgba(12, 74, 34, 0.78) 38%, rgba(12, 74, 34, 0.35) 62%, rgba(12, 74, 34, 0.18) 100%),
		linear-gradient(180deg, rgba(10, 57, 18, 0.35) 0%, rgba(10, 57, 18, 0.15) 45%, rgba(10, 57, 18, 0.55) 100%);
	inset: 0;
	position: absolute;
}

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

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__copy {
	align-content: center;
	display: grid;
	gap: 1rem;
	max-width: 38rem;
	padding-top: 0.35rem;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__eyebrow {
	color: var(--sr-orange) !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__hook {
	color: rgba(255, 255, 255, 0.95);
	font-size: clamp(1.15rem, 2.4vw, 1.55rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
	margin: 0;
	max-width: 28rem;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__title {
	color: var(--sr-white);
	font-size: clamp(1.7rem, 3.8vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.14;
	margin: 0;
	max-width: 18ch;
	text-wrap: balance;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__text {
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(0.98rem, 1.5vw, 1.125rem);
	font-weight: 400;
	line-height: 1.55;
	margin: 0;
	max-width: 34rem;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.35rem;
	margin-top: 0.35rem;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__btn {
	align-items: center;
	border-radius: 0.55rem;
	display: inline-flex;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__btn--primary {
	background: var(--sr-orange) !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #590e0d !important;
	min-height: 44px;
	padding: 0.85rem 1.25rem !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__btn--primary:hover,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__btn--primary:focus-visible {
	background: var(--sr-orange-hover) !important;
	color: #590e0d !important;
	transform: translateY(-1px);
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__btn--ghost {
	background: transparent;
	color: var(--sr-white) !important;
	min-height: 44px;
	padding: 0.7rem 0.15rem;
	text-decoration: underline !important;
	text-decoration-thickness: 1.5px !important;
	text-underline-offset: 0.28em;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__btn--ghost:hover,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__btn--ghost:focus-visible {
	color: var(--sr-orange) !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__aside {
	width: 100%;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__card {
	background: var(--sr-white);
	border-radius: 1rem;
	box-shadow: 0 22px 50px rgba(10, 57, 18, 0.28);
	color: var(--sr-navy);
	padding: 1.05rem 1.1rem 0.95rem;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__card-title {
	color: var(--sr-navy);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
	margin: 0 0 0.15rem;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__card-sub {
	color: var(--sr-muted);
	font-size: 0.86rem;
	line-height: 1.35;
	margin: 0 0 0.7rem;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__note {
	color: var(--sr-muted);
	font-size: 0.78rem;
	line-height: 1.35;
	margin: 0.55rem 0 0;
	text-align: center;
}

/* CF7 resets inside hero card */
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7 {
	margin: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-form {
	display: grid;
	gap: 0;
	margin: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__fields {
	display: grid;
	gap: 0.45rem;
	margin: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__row {
	display: grid;
	gap: 0.45rem;
	grid-template-columns: 1fr 1fr;
	margin: 0;
	min-width: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__field,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__submit-wrap,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__row > p {
	margin: 0 !important;
	min-width: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form input[type="text"],
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form input[type="email"],
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form input[type="tel"],
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form select,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form textarea {
	background: var(--sr-white) !important;
	border: 1px solid var(--sr-line) !important;
	border-radius: 0.5rem !important;
	box-shadow: none !important;
	color: var(--sr-navy) !important;
	font-family: inherit !important;
	font-size: 0.88rem !important;
	font-weight: 500 !important;
	height: auto !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	min-height: 44px;
	padding: 0.55rem 0.7rem !important;
	text-transform: none !important;
	width: 100% !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' stroke='%23022b60' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-position: right 0.65rem center !important;
	background-repeat: no-repeat !important;
	padding-right: 1.85rem !important;
}

@media (max-width: 640px) {
	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__row {
		grid-template-columns: 1fr;
	}
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form input::placeholder,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form textarea::placeholder {
	color: #8c1515;
	opacity: 1;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__file {
	align-items: center;
	border: 1.5px dashed #8c1515;
	border-radius: 0.5rem;
	cursor: pointer;
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	min-height: 2.55rem;
	padding: 0.55rem 0.7rem;
	position: relative;
	transition: border-color 0.2s ease, background-color 0.2s ease;
	width: 100%;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__file:hover {
	background: #f7fafc;
	border-color: #8c1515;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__file-label {
	color: var(--sr-navy);
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.2;
	pointer-events: none;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__file-label::before {
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7.5A2.5 2.5 0 0 1 6.5 5h2.1l1.2-1.6A1.5 1.5 0 0 1 11 3h2a1.5 1.5 0 0 1 1.2.6L15.4 5h2.1A2.5 2.5 0 0 1 20 7.5v9A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-9Z' stroke='%23022b60' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='3.2' stroke='%23022b60' stroke-width='1.6'/%3E%3C/svg%3E");
	content: "";
	display: inline-block;
	height: 1.15rem;
	margin-right: 0.45rem;
	vertical-align: -0.2rem;
	width: 1.15rem;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__file .wpcf7-form-control-wrap {
	inset: 0;
	opacity: 0;
	position: absolute;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__file input[type="file"] {
	cursor: pointer;
	height: 100% !important;
	left: 0;
	min-height: 0 !important;
	opacity: 0;
	padding: 0 !important;
	position: absolute;
	top: 0;
	width: 100% !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__file.is-filled {
	border-color: var(--sr-orange);
	border-style: solid;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__field--rgpd {
	margin: 0.15rem 0 0.05rem !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-acceptance,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__rgpd {
	margin: 0 !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-list-item {
	margin: 0 !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-acceptance label {
	align-items: flex-start;
	color: var(--sr-muted);
	cursor: pointer;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 500;
	gap: 0.55rem;
	line-height: 1.35;
	margin: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-acceptance input[type="checkbox"] {
	accent-color: var(--sr-navy);
	appearance: auto;
	background: var(--sr-white) !important;
	border: 1px solid var(--sr-line) !important;
	border-radius: 0.25rem !important;
	box-shadow: none !important;
	cursor: pointer;
	flex: 0 0 auto;
	height: 1.15rem !important;
	margin: 0.05rem 0 0 !important;
	min-height: 1.15rem !important;
	min-width: 1.15rem !important;
	padding: 0 !important;
	width: 1.15rem !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-acceptance a {
	color: var(--sr-navy) !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-acceptance a:hover,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-acceptance a:focus-visible {
	color: var(--sr-orange-hover) !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__submit {
	background: var(--sr-navy) !important;
	border: 0 !important;
	border-radius: 0.5rem !important;
	box-shadow: none !important;
	color: var(--sr-white) !important;
	cursor: pointer;
	font-family: inherit !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.01em;
	min-height: 44px;
	padding: 0.7rem 1rem !important;
	text-transform: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease;
	width: 100% !important;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__submit:hover,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__submit:focus-visible {
	background: #8c1515 !important;
	transform: translateY(-1px);
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-not-valid-tip,
.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-response-output {
	border-radius: 0.45rem;
	font-size: 0.82rem;
	margin: 0.45rem 0 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .wpcf7-response-output {
	margin-top: 0.75rem;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__trust {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.85rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0.35rem var(--sr-pad) 1.35rem;
	position: relative;
	z-index: 1;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__trust li {
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
	padding: 0;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__trust li:not(:last-child)::after {
	color: var(--sr-orange);
	content: "•";
	display: inline-block;
	font-size: 1rem;
	margin-left: 0.85rem;
	vertical-align: 0;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-hero-accueil {
		--sr-pad: clamp(1.25rem, 3.5vw, 2.75rem);
		min-height: min(42rem, calc(100vh - 4.5rem));
	}

	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__inner {
		align-items: center;
		gap: clamp(1.5rem, 3vw, 3rem);
		grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 23.5rem);
		min-height: min(36rem, calc(100vh - 7.5rem));
		padding: 3rem var(--sr-pad) 1.75rem;
	}

	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__card {
		padding: 1.15rem 1.2rem 1rem;
	}

	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__form .sr-hero-form__row {
		gap: 0.4rem;
	}

	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__trust {
		gap: 0.65rem 1rem;
		justify-content: flex-start;
		max-width: 84rem;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 1.75rem;
		width: 100%;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__copy,
	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__card,
	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__trust {
		animation: sr-hero-rise 0.7s ease both;
	}

	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__card {
		animation-delay: 0.12s;
	}

	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__trust {
		animation-delay: 0.22s;
	}

	.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__bg {
		animation: sr-hero-zoom 12s ease-out both;
	}
}

@keyframes sr-hero-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sr-hero-zoom {
	from {
		transform: scale(1.06);
	}
	to {
		transform: scale(1);
	}
}
