/**
 * Bouton flottant rappel — navy #022b60 · orange #fbaf3f
 */
.wpcursor-component.wpcursor-rappel-float {
	--sr-navy: #022b60;
	--sr-navy-deep: #011a3d;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-white: #ffffff;
	--sr-muted: #5b6b82;
	--sr-line: #e6ecf3;
	--sr-bg: #f7f9fc;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	box-sizing: border-box;
	font-family: var(--sr-font);
	pointer-events: none;
	position: relative;
	z-index: 100040;
}

.wpcursor-component.wpcursor-rappel-float *,
.wpcursor-component.wpcursor-rappel-float *::before,
.wpcursor-component.wpcursor-rappel-float *::after {
	box-sizing: border-box;
}

body.wpcursor-etude-modal-open .wpcursor-rappel-float__fab {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab {
	align-items: center;
	background: var(--sr-orange);
	border: 0;
	border-radius: 1rem;
	bottom: auto;
	box-shadow: 0 12px 28px rgba(2, 43, 96, 0.28);
	color: var(--sr-white);
	cursor: pointer;
	display: inline-flex;
	gap: 0.55rem;
	justify-content: center;
	min-height: 56px;
	min-width: 56px;
	padding: 0.85rem;
	pointer-events: auto;
	position: fixed;
	right: max(1.15rem, env(safe-area-inset-right));
	top: 50%;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	z-index: 100041;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab:hover,
.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab:focus-visible {
	background: var(--sr-orange-hover);
	box-shadow: 0 14px 32px rgba(2, 43, 96, 0.34);
	outline: none;
	transform: translateY(calc(-50% - 2px));
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__icon {
	display: block;
	flex: 0 0 auto;
	transform: rotate(-25deg);
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab-label {
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
	max-width: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0;
	transition: max-width 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
	white-space: nowrap;
}

@media (hover: hover) and (min-width: 900px) {
	.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab:hover .wpcursor-rappel-float__fab-label,
	.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab:focus-visible .wpcursor-rappel-float__fab-label {
		max-width: 12rem;
		opacity: 1;
		padding-right: 0.35rem;
	}
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__modal {
	inset: 0;
	pointer-events: none;
	position: fixed;
	z-index: 100042;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__modal[hidden] {
	display: none !important;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__modal:not([hidden]) {
	pointer-events: auto;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__backdrop {
	background: rgba(1, 26, 61, 0.58);
	inset: 0;
	position: absolute;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__dialog {
	background: var(--sr-white);
	border-radius: 1.15rem;
	box-shadow: 0 24px 60px rgba(1, 26, 61, 0.28);
	color: var(--sr-navy);
	display: flex;
	flex-direction: column;
	left: 50%;
	max-height: min(92vh, 34rem);
	max-width: 26rem;
	overflow: hidden;
	overscroll-behavior: contain;
	padding: 1.35rem 1.35rem 1.25rem;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 1.5rem);
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__close {
	align-items: center;
	background: var(--sr-bg);
	border: 0;
	border-radius: 999px;
	color: var(--sr-navy);
	cursor: pointer;
	display: inline-flex;
	font-size: 1.45rem;
	height: 40px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
	width: 40px;
	z-index: 2;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__close:hover,
.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__close:focus-visible {
	background: var(--sr-orange);
	color: var(--sr-white);
	outline: none;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__header {
	padding-right: 2.5rem;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__eyebrow {
	color: var(--sr-orange);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__title {
	color: var(--sr-navy) !important;
	font-size: clamp(1.2rem, 2.5vw, 1.4rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 0.4rem;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__intro {
	color: var(--sr-muted);
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0 0 1.1rem;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__body {
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__error {
	color: #b42318;
	margin: 0;
}

.wpcursor-component.wpcursor-rappel-float .sr-rappel-form br {
	display: none;
}

.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__field {
	margin: 0 0 0.9rem;
}

.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__label {
	color: var(--sr-navy);
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	margin: 0 0 0.4rem;
}

.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__input,
.wpcursor-component.wpcursor-rappel-float input[type="text"],
.wpcursor-component.wpcursor-rappel-float input[type="tel"] {
	background: var(--sr-bg) !important;
	border: 1.5px solid var(--sr-line) !important;
	border-radius: 0.65rem !important;
	box-shadow: none !important;
	color: var(--sr-navy) !important;
	font-family: inherit !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	min-height: 46px;
	padding: 0.7rem 0.85rem !important;
	width: 100% !important;
}

.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__field--rgpd {
	margin-bottom: 1rem;
}

.wpcursor-component.wpcursor-rappel-float .wpcf7-acceptance,
.wpcursor-component.wpcursor-rappel-float .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcursor-component.wpcursor-rappel-float .wpcf7-acceptance label,
.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__rgpd {
	align-items: flex-start;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--sr-muted);
	display: flex;
	font-size: 0.8rem;
	font-weight: 500;
	gap: 0.5rem;
	line-height: 1.4;
	padding: 0 !important;
	width: auto;
}

.wpcursor-component.wpcursor-rappel-float .wpcf7-acceptance .wpcf7-list-item-label {
	background: transparent !important;
	border: 0 !important;
	display: inline !important;
	padding: 0 !important;
	width: auto !important;
}

.wpcursor-component.wpcursor-rappel-float .wpcf7-acceptance input[type="checkbox"] {
	accent-color: var(--sr-navy);
	flex: 0 0 auto;
	height: 1.1rem;
	margin-top: 0.1rem;
	min-height: 1.1rem;
	min-width: 1.1rem;
	width: 1.1rem;
}

.wpcursor-component.wpcursor-rappel-float .wpcf7-acceptance a {
	color: var(--sr-navy);
	display: inline;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__nav {
	margin: 0;
}

.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__submit,
.wpcursor-component.wpcursor-rappel-float input.wpcf7-submit {
	background: var(--sr-navy) !important;
	border: 0 !important;
	border-radius: 0.7rem !important;
	color: var(--sr-white) !important;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	justify-content: center;
	line-height: 1.25 !important;
	min-height: 48px;
	padding: 0.85rem 1.15rem !important;
	text-transform: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease;
	width: 100%;
}

.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__submit:hover,
.wpcursor-component.wpcursor-rappel-float .sr-rappel-form__submit:focus-visible,
.wpcursor-component.wpcursor-rappel-float input.wpcf7-submit:hover,
.wpcursor-component.wpcursor-rappel-float input.wpcf7-submit:focus-visible {
	background: var(--sr-navy-deep) !important;
	outline: none;
	transform: translateY(-1px);
}

.wpcursor-component.wpcursor-rappel-float .wpcf7-not-valid-tip {
	color: #b42318;
	font-size: 0.78rem;
	margin-top: 0.3rem;
}

.wpcursor-component.wpcursor-rappel-float .wpcf7-response-output {
	border-radius: 0.65rem;
	font-size: 0.9rem;
	margin: 0.85rem 0 0 !important;
	padding: 0.75rem 0.9rem !important;
}

html.wpcursor-rappel-modal-open,
body.wpcursor-rappel-modal-open {
	overflow: hidden !important;
	overscroll-behavior: none;
	touch-action: none;
}

body.wpcursor-rappel-modal-open {
	left: 0;
	position: fixed;
	right: 0;
	width: 100%;
}

@media (max-width: 480px) {
	.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab {
		border-radius: 0.9rem;
		min-height: 52px;
		min-width: 52px;
		right: max(0.85rem, env(safe-area-inset-right));
	}

	.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__dialog {
		border-radius: 1rem;
		padding: 1.15rem 1.1rem 1.1rem;
		width: calc(100% - 1rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab,
	.wpcursor-component.wpcursor-rappel-float .wpcursor-rappel-float__fab-label,
	.wpcursor-component.wpcursor-rappel-float input.wpcf7-submit {
		transition: none;
	}
}
