﻿/**
 * Header NÅ“ud Papillon â€” alignÃ© sur le proto Edger
 */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Outfit:wght@400;500;600;700&display=swap");

.wpcursor-np-header-root {
	--np-honey: #fcc10a;
	--np-honey-soft: #ffe08a;
	--np-honey-wash: #ffe9a8;
	--np-honey-deep: #e0a800;
	--np-honey-rgb: 252, 193, 10;
	--np-charbon: #3c3c3b;
	--np-charbon-soft: #5a5a58;
	--np-charbon-deep: #2a2a29;
	--np-cream: #fff8e6;
	--np-cream-light: #fff9eb;
	--np-blanc: #ffffff;
	--np-stroke: 1.5px solid var(--np-charbon-deep);
	--np-shadow-sm: 3px 3px 0 var(--np-charbon-deep);
	--np-shadow-lg: 6px 6px 0 var(--np-charbon-deep);
	font-family: "Outfit", system-ui, sans-serif;
	color: var(--np-charbon);
}

.wpcursor-np-header__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.wpcursor-component.wpcursor-np-header {
	position: sticky;
	top: 0;
	z-index: 50;
	width: 100%;
	background: transparent;
	transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.wpcursor-np-header.is-scrolled {
	background: color-mix(in srgb, var(--np-cream-light) 94%, transparent);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 10px 28px rgba(42, 42, 41, 0.1);
}

.wpcursor-np-header__shell {
	max-width: min(1320px, 96vw);
	margin: 0 auto;
	padding: 0.85rem clamp(1.25rem, 4vw, 3rem) 0.35rem;
}

.wpcursor-np-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	gap: 2rem;
	min-height: clamp(96px, 11vw, 108px);
	padding-bottom: 0.35rem;
}

.wpcursor-np-header__social {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
	min-width: clamp(108px, 14vw, 168px);
}

.wpcursor-np-header__social-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: var(--np-stroke);
	background: var(--np-blanc);
	box-shadow: 2px 2px 0 var(--np-charbon-deep);
	display: grid;
	place-items: center;
	color: var(--np-charbon);
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.wpcursor-np-header__social-link svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 0;
}

.wpcursor-np-header__social-link:nth-child(2) svg rect,
.wpcursor-np-header__social-link:nth-child(2) svg circle:not(:last-child) {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.wpcursor-np-header__social-link:hover {
	transform: translate(1px, 1px);
	box-shadow: 1px 1px 0 var(--np-charbon-deep);
	background: var(--np-honey-soft);
}

.wpcursor-np-header__brand {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	z-index: 1;
	line-height: 0;
}

.wpcursor-np-header__logo {
	width: clamp(128px, 19vw, 182px);
	height: auto;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 10px 22px rgba(60, 60, 59, 0.14));
	transition: transform 0.2s ease;
}

.wpcursor-np-header__brand:hover .wpcursor-np-header__logo {
	transform: translateY(-4px) scale(1.04);
}

.wpcursor-np-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	flex-shrink: 0;
	margin-left: auto;
	min-width: clamp(108px, 14vw, 168px);
}

.wpcursor-np-header__loupe {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: var(--np-stroke) !important;
	background: var(--np-honey) !important;
	box-shadow: var(--np-shadow-sm);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	position: relative;
	flex-shrink: 0;
	padding: 0 !important;
	color: var(--np-charbon-deep) !important;
	-webkit-tap-highlight-color: transparent;
	-webkit-appearance: none;
	appearance: none;
}

.wpcursor-np-header__loupe:hover,
.wpcursor-np-header__loupe:focus,
.wpcursor-np-header__loupe:focus-visible {
	background: var(--np-honey-soft) !important;
	color: var(--np-charbon-deep) !important;
	border: var(--np-stroke) !important;
	outline: none;
}

.wpcursor-np-header__loupe::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1.5px solid var(--np-charbon-deep);
	opacity: 0.4;
	transform: translate(-4px, -4px);
	pointer-events: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.wpcursor-np-header__loupe:hover {
	transform: translate(2px, 2px) scale(1.08);
	box-shadow: 1px 1px 0 var(--np-charbon-deep);
}

.wpcursor-np-header__loupe:hover::after {
	opacity: 0.85;
	transform: translate(-6px, -6px) scale(1.06);
}

.wpcursor-np-header__loupe svg {
	width: 19px;
	height: 19px;
	stroke: var(--np-charbon-deep);
	fill: none;
	stroke-width: 2.2;
}

.wpcursor-np-header__nav-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 0.65rem 0 1.1rem;
	position: relative;
}

.wpcursor-np-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: var(--np-stroke);
	border-radius: 12px;
	background: var(--np-blanc);
	box-shadow: var(--np-shadow-sm);
	cursor: pointer;
	padding: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.wpcursor-np-header__toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--np-charbon-deep);
	margin: 4px auto;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.wpcursor-np-header__cluster {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.15rem;
}

.wpcursor-np-header__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem clamp(0.55rem, 1.4vw, 1.15rem);
	align-items: center;
	justify-content: center;
}

.wpcursor-np-header__nav a {
	position: relative;
	text-decoration: none;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(0.82rem, 1.05vw, 1rem);
	font-weight: 600;
	color: var(--np-charbon-soft);
	padding: 0.3rem 0.05rem;
	transition: color 0.15s ease;
	white-space: nowrap;
}

.wpcursor-np-header__nav a:hover,
.wpcursor-np-header__nav a.is-active {
	color: var(--np-charbon-deep);
}

.wpcursor-np-header__nav a.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	border-radius: 999px;
	background: var(--np-honey);
	box-shadow: 0 1px 0 var(--np-charbon-deep);
}

.wpcursor-np-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.72rem 1.55rem;
	border-radius: 999px;
	border: var(--np-stroke);
	background: var(--np-cream-light);
	color: var(--np-charbon-deep);
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	box-shadow: var(--np-shadow-sm);
	white-space: nowrap;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.wpcursor-np-header__cta:hover {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--np-charbon-deep);
	background: var(--np-honey-wash);
}

/* Search overlay */
.wpcursor-np-header__search {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: color-mix(in srgb, var(--np-cream-light) 94%, transparent);
	backdrop-filter: blur(8px);
	display: grid;
	place-items: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.wpcursor-np-header__search.is-open {
	opacity: 1;
	visibility: visible;
}

.wpcursor-np-header__search-panel {
	position: relative;
	width: min(920px, 92vw);
}

.wpcursor-np-header__search-close {
	position: fixed;
	top: clamp(0.85rem, 2.5vh, 1.75rem);
	right: clamp(1rem, 3vw, 2.25rem);
	z-index: 81;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: var(--np-stroke);
	background: var(--np-blanc);
	box-shadow: var(--np-shadow-sm);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
	color: var(--np-charbon-deep);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.wpcursor-np-header__search-close svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.4;
	stroke-linecap: round;
}

.wpcursor-np-header__search-close:hover {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--np-charbon-deep);
	background: var(--np-honey-soft);
}

.wpcursor-np-header__search-eyebrow {
	margin: 0 0 0.55rem;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--np-charbon-soft);
}

.wpcursor-np-header__search-hint {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 700;
	font-size: clamp(1.2rem, 2.6vw, 1.55rem);
	line-height: 1.35;
	max-width: 34rem;
	margin: 0 auto 0.65rem;
	text-align: center;
	color: var(--np-charbon-deep);
}

.wpcursor-np-header__search-sub {
	margin: 0 auto 1.5rem;
	max-width: 32rem;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #8a8984;
}

.wpcursor-np-header__search-bar {
	width: 100%;
	min-height: 4.25rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: var(--np-blanc);
	border: var(--np-stroke);
	border-radius: 999px;
	padding: 0.65rem 0.65rem 0.65rem 1.75rem;
	box-shadow: var(--np-shadow-lg);
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wpcursor-np-header__search-bar:focus-within {
	border-color: var(--np-charbon-deep);
	box-shadow: 0 0 0 3px rgba(var(--np-honey-rgb), 0.35), var(--np-shadow-lg);
	transform: translateY(-1px);
}

.wpcursor-np-header__search-bar input {
	flex: 1;
	border: 0 !important;
	background: transparent !important;
	font: inherit;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	font-weight: 500;
	outline: none !important;
	min-width: 0;
	color: var(--np-charbon-deep) !important;
	box-shadow: none !important;
}

.wpcursor-np-header__search-bar input::placeholder {
	color: #8a8984;
	opacity: 1;
}

.wpcursor-np-header__search-bar input:focus,
.wpcursor-np-header__search-bar input:focus-visible {
	outline: none !important;
	background: transparent !important;
}

.wpcursor-np-header__search-submit {
	flex-shrink: 0;
	padding: 0.95rem 1.85rem !important;
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	border-radius: 999px;
	border: var(--np-stroke) !important;
	background: var(--np-honey) !important;
	color: var(--np-charbon-deep) !important;
	box-shadow: var(--np-shadow-sm);
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.wpcursor-np-header__search-submit:hover,
.wpcursor-np-header__search-submit:focus,
.wpcursor-np-header__search-submit:focus-visible {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--np-charbon-deep);
	background: var(--np-honey-soft) !important;
	color: var(--np-charbon-deep) !important;
	outline: none;
}

@media (max-width: 820px) {
	body.np-has-mobile-dock.np-dock-visible {
		padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
	}

	.wpcursor-np-header__shell {
		position: relative;
		padding-left: 0.55rem;
		padding-right: clamp(0.75rem, 3vw, 1.25rem);
	}

	.wpcursor-np-header__top {
		min-height: 76px;
		gap: 0.5rem;
	}

	.wpcursor-np-header__social {
		min-width: 0;
		gap: 0.28rem;
		margin-left: 0;
		padding-left: 0;
		flex-shrink: 0;
	}

	.wpcursor-np-header__actions {
		display: none;
	}

	.wpcursor-np-header__nav-row {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: clamp(76px, 11vw, 108px);
		pointer-events: none;
		border: none;
		padding: 0;
		margin: 0;
		z-index: 5;
	}

	.wpcursor-np-header__toggle {
		display: flex;
		position: absolute;
		top: 50%;
		right: clamp(0.65rem, 3vw, 1.15rem);
		transform: translateY(-50%);
		pointer-events: auto;
		z-index: 12;
	}

	/* Croix au-dessus de l’overlay menu (sinon le burger reste caché derrière z-index 180) */
	.wpcursor-np-header__toggle[aria-expanded="true"],
	body.np-nav-open .wpcursor-np-header__toggle {
		position: fixed;
		top: calc(0.85rem + env(safe-area-inset-top, 0px));
		right: clamp(0.65rem, 3vw, 1.15rem);
		transform: none;
		z-index: 200;
	}

	.wpcursor-np-header__cluster {
		position: fixed;
		inset: 0;
		z-index: 180;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 1.25rem;
		padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1.5rem calc(6.25rem + env(safe-area-inset-bottom, 0px));
		background: color-mix(in srgb, var(--np-cream-light) 97%, transparent);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.28s ease, visibility 0.28s ease;
	}

	.wpcursor-np-header__cluster.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.wpcursor-np-header__nav {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0;
		width: min(300px, 88vw);
	}

	.wpcursor-np-header__nav a {
		display: block;
		width: 100%;
		padding: 0.95rem 0.75rem;
		text-align: center;
		font-size: 1.28rem;
		border-bottom: 1px solid rgba(42, 42, 41, 0.08);
	}

	.wpcursor-np-header__nav a.is-active::after {
		display: none;
	}

	.wpcursor-np-header__nav a.is-active {
		color: var(--np-charbon-deep);
		background: rgba(var(--np-honey-rgb), 0.28);
		border-radius: 14px;
		border-bottom-color: transparent;
	}

	.wpcursor-np-header__cta {
		width: min(300px, 88vw);
		justify-content: center;
		margin-top: 0.35rem;
	}

	.wpcursor-np-header__toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.wpcursor-np-header__toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.wpcursor-np-header__toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	body.np-nav-open {
		overflow: hidden;
	}

	body.np-nav-open .wpcursor-np-siderail,
	body.np-nav-open .wpcursor-np-mobile-dock {
		visibility: hidden;
		pointer-events: none;
	}

	.wpcursor-np-header__social-link {
		width: 32px;
		height: 32px;
	}

	.wpcursor-np-header__logo {
		width: clamp(100px, 28vw, 128px);
	}
}

/* â€”â€”â€” Curseur marqueur â€”â€”â€” */
body.np-has-cursor,
body.np-has-cursor * {
	cursor: none !important;
}

.wpcursor-np-cursor-ring,
.wpcursor-np-cursor-dot {
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 9999;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.wpcursor-np-cursor-ring {
	width: 22px;
	height: 22px;
	border: 1.5px solid #2a2a29;
	background: transparent;
	mix-blend-mode: multiply;
}

.wpcursor-np-cursor-dot {
	width: 4px;
	height: 4px;
	background: #2a2a29;
}

body.np-is-hovering .wpcursor-np-cursor-ring {
	width: 42px;
	height: 42px;
	background: rgba(var(--np-honey-rgb), 0.25);
}

body.np-is-hovering .wpcursor-np-cursor-dot {
	opacity: 0;
}

body.np-is-touch .wpcursor-np-cursor-ring,
body.np-is-touch .wpcursor-np-cursor-dot {
	display: none !important;
}

/* ——— Back to top ——— */
.wpcursor-np-top {
	--fill: 0;
	/* Laisse la place au bouton chat Tidio (coin bas-droit) */
	--np-top-chat-clearance: 5.5rem;
	position: fixed;
	right: clamp(1rem, 3vw, 1.75rem);
	bottom: calc(clamp(1rem, 3vw, 1.75rem) + var(--np-top-chat-clearance));
	z-index: 120;
	width: 56px;
	height: 56px;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	display: grid;
	place-items: center;
	padding: 0 !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	filter: drop-shadow(2px 2px 0 rgba(42, 42, 41, 0.55));
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.wpcursor-np-top[hidden] {
	display: none !important;
}

.wpcursor-np-top.is-visible {
	display: grid !important;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.wpcursor-np-top:hover:not(.is-returning) {
	transform: translateY(-4px);
	background: transparent !important;
}

.wpcursor-np-top.is-returning {
	pointer-events: none;
}

.wpcursor-np-top__stack {
	position: relative;
	display: block;
	width: 56px;
	height: 56px;
}

.wpcursor-np-top__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* screen rendait le nœud quasi invisible sur fond crème WP */
	mix-blend-mode: multiply;
	pointer-events: none;
}

.wpcursor-np-top__img--ghost {
	opacity: 0.35;
	filter: saturate(0.2) brightness(1.05);
}

.wpcursor-np-top__img--color {
	clip-path: inset(calc((1 - var(--fill)) * 100%) 0 0 0);
	transition: clip-path 0.1s linear;
	opacity: 1;
	filter: none;
}

.wpcursor-np-top:not(.is-returning) .wpcursor-np-top__stack {
	animation: wpcursor-np-bow-float 3.2s ease-in-out infinite;
}

@keyframes wpcursor-np-bow-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-2px); }
}

/* â€”â€”â€” Rail latÃ©ral â€”â€”â€” */
.wpcursor-np-siderail {
	position: fixed;
	left: 0;
	top: 52%;
	z-index: 58;
	transform: translateY(-50%);
	pointer-events: none;
}

.wpcursor-np-siderail__stack {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55rem;
	z-index: 2;
	pointer-events: none;
}

.wpcursor-np-siderail__tab,
.wpcursor-np-siderail__panel {
	pointer-events: auto;
}

.wpcursor-np-siderail__tab {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 0.85rem 0.5rem 0.95rem !important;
	border: 1.5px solid #2a2a29 !important;
	border-left: 0 !important;
	border-radius: 0 14px 14px 0;
	background: linear-gradient(180deg, var(--np-honey-soft), var(--np-honey)) !important;
	box-shadow: 4px 4px 0 #2a2a29;
	font-family: "Caveat", cursive;
	font-size: 1.05rem;
	font-weight: 600;
	color: #2a2a29 !important;
	text-decoration: none;
	transition: transform 0.28s ease, box-shadow 0.2s ease, background 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
	min-height: 0;
	line-height: 1.2;
}

.wpcursor-np-siderail__tab--soft {
	background: linear-gradient(180deg, var(--np-cream), var(--np-honey-wash)) !important;
}

.wpcursor-np-siderail__tab--ink {
	background: linear-gradient(180deg, #fffdf7, #c8d5b8) !important;
}

.wpcursor-np-siderail__tab svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wpcursor-np-siderail__tab span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	letter-spacing: 0.02em;
}

.wpcursor-np-siderail__tab:hover,
.wpcursor-np-siderail__tab:focus,
.wpcursor-np-siderail__tab:focus-visible {
	transform: translateX(3px);
	box-shadow: 6px 5px 0 #2a2a29;
	background: linear-gradient(180deg, var(--np-honey-soft), var(--np-honey)) !important;
	color: #2a2a29 !important;
	outline: none;
}

.wpcursor-np-siderail__tab--soft:hover,
.wpcursor-np-siderail__tab--soft:focus-visible {
	background: linear-gradient(180deg, var(--np-cream), var(--np-honey-wash)) !important;
}

.wpcursor-np-siderail__tab--ink:hover,
.wpcursor-np-siderail__tab--ink:focus-visible {
	background: linear-gradient(180deg, #fffdf7, #c8d5b8) !important;
}

.wpcursor-np-siderail.is-open .wpcursor-np-siderail__tab--note {
	background: var(--np-cream) !important;
	transform: translateX(4px);
}

.wpcursor-np-siderail__panel {
	position: absolute;
	left: 0;
	top: 50%;
	width: min(320px, calc(100vw - 3.5rem));
	transform: translate(-110%, -50%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.38s cubic-bezier(0.2, 0.85, 0.25, 1), opacity 0.25s ease, visibility 0.25s ease;
}

.wpcursor-np-siderail.is-open .wpcursor-np-siderail__panel {
	transform: translate(calc(100% - 0.5rem), -50%);
	opacity: 1;
	visibility: visible;
}

.wpcursor-np-siderail__paper {
	position: relative;
	padding: 1.15rem 1rem 1rem 1.35rem;
	border: 1.5px solid #2a2a29;
	border-radius: 6px 6px 22px 22px;
	background-color: #fffdf7;
	background-image:
		linear-gradient(90deg, transparent 31px, rgba(210, 90, 90, 0.38) 31px, rgba(210, 90, 90, 0.38) 33px, transparent 33px),
		repeating-linear-gradient(transparent, transparent 27px, rgba(120, 150, 200, 0.28) 27px, rgba(120, 150, 200, 0.28) 28px);
	background-size: 100% 100%, 100% 28px;
	box-shadow: 6px 6px 0 #2a2a29;
	transform: rotate(-1.2deg);
}

.wpcursor-np-siderail__paper::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 18px;
	width: 72px;
	height: 18px;
	background: rgba(var(--np-honey-rgb), 0.35);
	border: 1px solid rgba(42, 42, 41, 0.25);
	transform: rotate(-2deg);
}

.wpcursor-np-siderail__close {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	width: 32px;
	height: 32px;
	border: 1.5px solid #2a2a29 !important;
	border-radius: 50%;
	background: #fff !important;
	box-shadow: 3px 3px 0 #2a2a29;
	display: grid;
	place-items: center;
	padding: 0 !important;
	color: #2a2a29 !important;
}

.wpcursor-np-siderail__close svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.4;
	stroke-linecap: round;
}

.wpcursor-np-siderail__eyebrow {
	margin: 0.35rem 0 0.25rem;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	color: #8a8984;
}

.wpcursor-np-siderail__title {
	margin: 0 0 0.65rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #2a2a29;
	max-width: 14em;
}

.wpcursor-np-siderail__area {
	width: 100%;
	min-height: 148px;
	border: 0 !important;
	background: transparent !important;
	resize: none;
	font-family: "Caveat", cursive;
	font-size: 1.25rem;
	line-height: 28px;
	color: #2a2a29;
	padding: 0 0 0 36px;
	margin: 0 0 0.85rem;
	outline: none !important;
	box-shadow: none !important;
}

.wpcursor-np-siderail__area.is-empty {
	animation: wpcursor-np-shake 0.45s ease;
}

@keyframes wpcursor-np-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

.wpcursor-np-siderail__validate {
	display: block;
	width: 100%;
	border: 0 !important;
	background: transparent !important;
	padding: 0.35rem 0 0.15rem !important;
	position: relative;
	text-align: center;
	color: #5a5a58 !important;
	box-shadow: none !important;
}

.wpcursor-np-siderail__validate-text {
	position: relative;
	z-index: 1;
	font-family: "Caveat", cursive;
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	font-weight: 600;
}

.wpcursor-np-siderail__rature {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 28px;
	width: 100%;
	transform: translateY(-50%);
	color: #2a2a29;
	pointer-events: none;
}

.wpcursor-np-siderail__rature path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.wpcursor-np-siderail__validate:hover .wpcursor-np-siderail__validate-text {
	color: #2a2a29;
}

.wpcursor-np-siderail__paper.is-launching {
	opacity: 0.55;
	transform: rotate(-1.2deg) scale(0.98);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.wpcursor-np-note-flyer {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 200;
	pointer-events: none;
	width: 0;
	height: 0;
}

.wpcursor-np-note-flyer__pos {
	position: fixed;
	left: 0;
	top: 0;
	will-change: transform;
}

.wpcursor-np-note-flyer__rot {
	transform-origin: 0 0;
	will-change: transform;
}

.wpcursor-np-note-flyer__img {
	display: block;
	height: auto;
	pointer-events: none;
}

.wpcursor-np-note-graffiti {
	position: absolute;
	z-index: 35;
	max-width: min(300px, 74vw);
	transform: rotate(var(--note-rot, -2deg));
	pointer-events: none;
	animation: wpcursor-np-note-land 0.5s ease both;
}

@keyframes wpcursor-np-note-land {
	from { opacity: 0; transform: rotate(var(--note-rot, -2deg)) scale(0.9); }
	to { opacity: 1; transform: rotate(var(--note-rot, -2deg)) scale(1); }
}

.wpcursor-np-note-graffiti__pencil {
	position: absolute;
	left: -0.15rem;
	top: 0.1rem;
	width: 18px;
	height: 18px;
	color: #5a5a58;
	opacity: 0.75;
}

.wpcursor-np-note-graffiti__pencil svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.wpcursor-np-note-graffiti.is-done .wpcursor-np-note-graffiti__pencil {
	opacity: 0;
	transform: translate(4px, -6px) rotate(12deg);
}

.wpcursor-np-note-graffiti__text {
	margin: 0;
	padding-left: 1.15rem;
	font-family: "Caveat", cursive;
	font-size: clamp(1.3rem, 2.8vw, 1.6rem);
	font-weight: 600;
	line-height: 1.35;
	color: rgba(42, 42, 41, 0.9);
	white-space: pre-wrap;
	word-break: break-word;
}

/* â€”â€”â€” Corne + cahier â€”â€”â€” */
.wpcursor-np-curl {
	--curl: 44%;
	--curl-hover: 70%;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 63;
	width: 120px;
	height: 120px;
	pointer-events: none;
}

.wpcursor-np-curl__trigger {
	pointer-events: auto;
	position: absolute;
	top: 0;
	right: 0;
	width: 120px;
	height: 120px;
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	overflow: visible;
	clip-path: polygon(100% 0, 100% 100%, 0 0);
	box-shadow: none !important;
}

.wpcursor-np-curl__trigger:hover,
.wpcursor-np-curl__trigger:focus-visible {
	--curl: var(--curl-hover);
	background: transparent !important;
	outline: none;
}

.wpcursor-np-curl__scene {
	position: absolute;
	top: 0;
	right: 0;
	width: 120px;
	height: 120px;
	animation: wpcursor-np-curl-idle 4.2s ease-in-out infinite;
}

.wpcursor-np-curl__trigger:hover .wpcursor-np-curl__scene,
.wpcursor-np-curl__trigger:focus-visible .wpcursor-np-curl__scene {
	animation: wpcursor-np-curl-wiggle 0.55s ease-in-out infinite;
}

@keyframes wpcursor-np-curl-idle {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-3px, 3px); }
}

@keyframes wpcursor-np-curl-wiggle {
	0%, 100% { transform: translate(-4px, 4px); }
	50% { transform: translate(-7px, 7px); }
}

.wpcursor-np-curl__stack {
	position: absolute;
	top: 0;
	right: 0;
	border: 1.5px solid rgba(42, 42, 41, 0.22);
	border-radius: 0 0 0 3px;
	pointer-events: none;
}

.wpcursor-np-curl__stack--1 {
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, var(--np-cream-light) 0%, var(--np-cream-light) 100%);
	z-index: 1;
}

.wpcursor-np-curl__stack--2 {
	width: calc(100% - 7px);
	height: calc(100% - 7px);
	top: 5px;
	right: 5px;
	background: #fffdf7;
	box-shadow: -3px 3px 0 rgba(42, 42, 41, 0.12);
	z-index: 0;
}

.wpcursor-np-curl__stack--3 {
	width: calc(100% - 14px);
	height: calc(100% - 14px);
	top: 10px;
	right: 10px;
	background: linear-gradient(180deg, var(--np-honey-wash), var(--np-cream));
	box-shadow: -5px 5px 0 rgba(42, 42, 41, 0.08);
	z-index: -1;
}

.wpcursor-np-curl__under {
	position: absolute;
	inset: 0;
	z-index: 3;
	background-color: #fffdf7;
	background-image:
		linear-gradient(90deg, transparent 18px, rgba(210, 90, 90, 0.42) 18px, rgba(210, 90, 90, 0.42) 20px, transparent 20px),
		repeating-linear-gradient(transparent, transparent 10px, rgba(120, 150, 200, 0.3) 10px, rgba(120, 150, 200, 0.3) 11px);
	background-size: 100% 100%, 100% 11px;
	clip-path: polygon(100% 0, 100% var(--curl), calc(100% - var(--curl)) 0);
	transition: clip-path 0.42s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.wpcursor-np-curl__shade {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
	clip-path: polygon(100% 0, 100% 100%, 0 0);
	background: radial-gradient(ellipse 130% 90% at 100% 0%, rgba(42, 42, 41, 0.28) 0%, rgba(42, 42, 41, 0.12) calc(var(--curl) * 0.7), transparent calc(var(--curl) + 10%));
}

.wpcursor-np-curl__flap {
	position: absolute;
	inset: 0;
	z-index: 5;
	clip-path: polygon(100% 0, 100% var(--curl), calc(100% - var(--curl)) 0);
	filter: drop-shadow(-4px 6px 10px rgba(42, 42, 41, 0.28));
	transition: clip-path 0.42s cubic-bezier(0.2, 0.85, 0.25, 1), filter 0.35s ease;
}

.wpcursor-np-curl__flap-face {
	position: absolute;
	inset: 0;
	background: linear-gradient(145deg, var(--np-honey) 0%, var(--np-honey-soft) 38%, var(--np-honey) 72%, var(--np-honey-deep) 100%);
}

.wpcursor-np-curl__flap-gloss {
	position: absolute;
	inset: 0;
	clip-path: polygon(100% 0, 100% var(--curl), calc(100% - var(--curl)) 0);
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 45%),
		linear-gradient(315deg, transparent 52%, rgba(42, 42, 41, 0.1) 100%);
}

.wpcursor-np-curl__trigger:hover .wpcursor-np-curl__flap,
.wpcursor-np-curl__trigger:focus-visible .wpcursor-np-curl__flap {
	filter: drop-shadow(-7px 10px 14px rgba(42, 42, 41, 0.32));
}

body.np-cahier-open {
	overflow: hidden;
}

body.np-cahier-open .wpcursor-np-header-root,
body.np-search-open .wpcursor-np-header-root {
	z-index: 400;
}

body.np-cahier-open .wpcursor-np-curl,
body.np-cahier-open .wpcursor-np-siderail,
body.np-cahier-open .wpcursor-np-top {
	opacity: 0;
	pointer-events: none;
}

.wpcursor-np-cahier {
	background: #fffdf7;
}

.wpcursor-np-cahier {
	position: fixed;
	inset: 0;
	z-index: 88;
	clip-path: circle(0% at 100% 0%);
	transition: clip-path 0.55s cubic-bezier(0.2, 0.85, 0.25, 1);
	pointer-events: none;
}

.wpcursor-np-cahier.is-open {
	clip-path: circle(160% at 100% 0%);
	pointer-events: auto;
}

.wpcursor-np-cahier.is-closing {
	transition: clip-path 0.34s cubic-bezier(0.45, 0, 0.2, 1);
}

.wpcursor-np-cahier.is-sending {
	pointer-events: none;
}

.wpcursor-np-cahier.is-sending .wpcursor-np-cahier__sheet {
	opacity: 0;
	transition: opacity 0.12s ease;
}

.wpcursor-np-cahier__sheet {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
	padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2rem);
	display: flex;
	flex-direction: column;
	background-color: #fffdf7;
	background-image:
		linear-gradient(90deg, transparent clamp(28px, 6vw, 48px), rgba(210, 90, 90, 0.32) clamp(28px, 6vw, 48px), rgba(210, 90, 90, 0.32) calc(clamp(28px, 6vw, 48px) + 2px), transparent calc(clamp(28px, 6vw, 48px) + 2px)),
		repeating-linear-gradient(transparent, transparent 27px, rgba(120, 150, 200, 0.26) 27px, rgba(120, 150, 200, 0.26) 28px);
	background-size: 100% 100%, 100% 28px;
}

.wpcursor-np-cahier__close {
	position: absolute;
	top: clamp(0.85rem, 2vw, 1.25rem);
	right: clamp(0.85rem, 2vw, 1.25rem);
	width: 40px;
	height: 40px;
	border: 1.5px solid #2a2a29 !important;
	border-radius: 50%;
	background: #fff !important;
	box-shadow: 3px 3px 0 #2a2a29;
	display: grid;
	place-items: center;
	padding: 0 !important;
	color: #2a2a29 !important;
	z-index: 2;
}

.wpcursor-np-cahier__close svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.4;
	stroke-linecap: round;
}

.wpcursor-np-cahier__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	color: #8a8984;
	z-index: 1;
}

.wpcursor-np-cahier__title {
	margin: 0 0 1rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(1.25rem, 3vw, 1.65rem);
	font-weight: 700;
	color: #2a2a29;
	max-width: 16em;
	z-index: 1;
}

.wpcursor-np-cahier__area {
	flex: 1;
	width: 100%;
	min-height: 0;
	border: 0 !important;
	background: transparent !important;
	resize: none;
	font-family: "Caveat", cursive;
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	line-height: 28px;
	color: #2a2a29;
	padding: 0 0 0 clamp(36px, 7vw, 56px);
	margin: 0 0 1.25rem;
	outline: none !important;
	box-shadow: none !important;
	z-index: 1;
}

.wpcursor-np-cahier__area.is-empty {
	animation: wpcursor-np-shake 0.45s ease;
}

.wpcursor-np-cahier__send {
	position: relative;
	align-self: center;
	border: 0 !important;
	background: transparent !important;
	padding: 0.85rem 1.25rem 0.65rem !important;
	max-width: min(520px, 92vw);
	box-shadow: none !important;
	color: #5a5a58 !important;
	z-index: 1;
}

.wpcursor-np-cahier__send span {
	position: relative;
	z-index: 1;
	display: block;
	font-family: "Caveat", cursive;
	font-size: clamp(1.15rem, 2.8vw, 1.45rem);
	font-weight: 600;
	line-height: 1.25;
}

.wpcursor-np-cahier__ring {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	width: 100%;
	height: 72px;
	transform: translateY(-50%);
	color: #2a2a29;
	pointer-events: none;
	opacity: 0.85;
}

.wpcursor-np-cahier__ring path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.wpcursor-np-cahier__send:hover span {
	color: #2a2a29;
}

.wpcursor-np-bottle {
	position: fixed;
	left: 50%;
	bottom: clamp(1.5rem, 5vh, 3rem);
	z-index: 95;
	width: min(360px, 88vw);
	padding: 1rem 1.15rem;
	background: linear-gradient(180deg, var(--np-cream-light) 0%, var(--np-honey-wash) 100%);
	border: 1px solid rgba(42, 42, 41, 0.2);
	border-radius: 4px;
	box-shadow: 4px 6px 0 rgba(42, 42, 41, 0.25);
	transform: translateX(-50%);
	pointer-events: none;
}

.wpcursor-np-bottle__text {
	margin: 0;
	font-family: "Caveat", cursive;
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	line-height: 1.35;
	color: #2a2a29;
	white-space: pre-wrap;
	word-break: break-word;
}

.wpcursor-np-bottle.is-rolling {
	animation: wpcursor-np-bottle-away 1.05s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

@keyframes wpcursor-np-bottle-away {
	0% { transform: translateX(-50%) scaleY(1) rotate(0deg); opacity: 1; }
	18% { transform: translateX(-50%) scaleY(0.1) rotate(-2deg); opacity: 1; }
	42% { transform: translateX(-10%) translateY(-28vh) scale(0.22) rotate(6deg); opacity: 0.92; }
	100% { transform: translateX(42vw) translateY(-78vh) scale(0.08) rotate(18deg); opacity: 0; }
}

@media (max-width: 820px) {
	.wpcursor-np-siderail {
		top: 290px;
		bottom: auto;
		transform: none;
	}

	.wpcursor-np-siderail__tab {
		padding: 0.65rem 0.4rem 0.75rem;
		font-size: 0.95rem;
	}

	.wpcursor-np-siderail__tab span {
		display: none;
	}

	.wpcursor-np-siderail__panel {
		width: min(300px, calc(100vw - 2.5rem));
	}

	.wpcursor-np-curl {
		display: none;
	}

	.wpcursor-np-top {
		width: 48px;
		height: 48px;
		--np-top-chat-clearance: 5rem;
		bottom: calc(1rem + var(--np-top-chat-clearance) + env(safe-area-inset-bottom, 0px));
	}

	body.np-dock-visible .wpcursor-np-top {
		/* Dock mobile + bulle Tidio */
		bottom: calc(5.75rem + var(--np-top-chat-clearance) + env(safe-area-inset-bottom, 0px));
	}

	.wpcursor-np-top__stack {
		width: 48px;
		height: 48px;
	}
}

/* ——— Dock mobile bas (proto) ——— */
.wpcursor-np-mobile-dock {
	display: none;
}

@media (max-width: 820px) {
	.wpcursor-np-mobile-dock {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 70;
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 0.15rem;
		padding: 0.45rem 0.5rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
		background: color-mix(in srgb, var(--np-cream-light) 94%, transparent);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		border-top: 1.5px solid #2a2a29;
		box-shadow: 0 -8px 28px rgba(42, 42, 41, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(110%);
		pointer-events: none;
		transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.32s cubic-bezier(0.2, 0.85, 0.25, 1);
	}

	.wpcursor-np-mobile-dock.is-visible {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	.wpcursor-np-mobile-dock__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.2rem;
		min-height: 54px;
		padding: 0.35rem 0.2rem 0.25rem;
		border-radius: 14px;
		text-decoration: none;
		color: #5a5a58;
		font-family: "Outfit", system-ui, sans-serif;
		font-size: 0.62rem;
		font-weight: 600;
		letter-spacing: 0.02em;
		line-height: 1.1;
		text-align: center;
		transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	}

	.wpcursor-np-mobile-dock__item svg {
		width: 21px;
		height: 21px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.75;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.wpcursor-np-mobile-dock__item span {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wpcursor-np-mobile-dock__item.is-active {
		color: #2a2a29;
		background: rgba(var(--np-honey-rgb), 0.28);
		box-shadow: inset 0 0 0 1.5px rgba(42, 42, 41, 0.12);
	}

	.wpcursor-np-mobile-dock__item--cta {
		color: #2a2a29;
		background: linear-gradient(180deg, var(--np-honey-soft), var(--np-honey));
		box-shadow: 2px 2px 0 #2a2a29;
		transform: translateY(-3px);
		font-weight: 700;
	}

	.wpcursor-np-mobile-dock__item--cta.is-active {
		background: linear-gradient(180deg, var(--np-honey), var(--np-honey-deep));
		color: #2a2a29;
	}

	.wpcursor-np-mobile-dock__item:active {
		transform: translateY(1px);
	}

	.wpcursor-np-mobile-dock__item--cta:active {
		transform: translateY(-1px);
		box-shadow: 1px 1px 0 #2a2a29;
	}

	body.np-modal-open .wpcursor-np-mobile-dock,
	body.np-cahier-open .wpcursor-np-mobile-dock,
	body.np-nav-open .wpcursor-np-mobile-dock {
		visibility: hidden;
	}
}
