/* Couche Dynabuy : animations, calendrier, photos, WhatsApp. */

@media (prefers-reduced-motion: no-preference) {
	.dc-await {
		opacity: 0;
		transform: translateY(18px);
	}

	.dc-in {
		animation: dc-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
	}
}

@keyframes dc-rise {
	to {
		opacity: 1;
		transform: none;
	}
}

/* Le défilement des photos et des preuves continue sous le pointeur. */
.novfr-marquee-yes:hover .novfr-marquee-track,
.novfr-marquee-track:hover {
	animation-play-state: running !important;
}

.elementor-widget-image-gallery .gallery-item img {
	cursor: zoom-in;
}

.dc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(20, 8, 18, 0.82);
}

.dc-lightbox[hidden] {
	display: none;
}

.dc-lightbox img {
	max-width: min(1100px, 100%);
	max-height: calc(100vh - 80px);
	border-radius: 14px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.dc-lightbox button {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #3b1a39;
	font-size: 22px;
	cursor: pointer;
}

.dc-on .elementor-form-fields-wrapper,
.dc-on > .elementor-button,
.dc-on .elementor-message {
	display: none !important;
}

.dc-flow {
	font-family: Sora, Roboto, sans-serif;
	color: #3b1a39;
}

.dc-split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
	gap: 16px;
	align-items: start;
}

.dc-split.is-thanks {
	grid-template-columns: 1fr;
}

.dc-map {
	position: relative;
	z-index: 1;
}

.dc-leaflet {
	height: 280px;
	border-radius: 16px;
	background: #f3e8ee;
}

.dc-leaflet .leaflet-container {
	height: 100%;
	width: 100%;
	border-radius: 16px;
	font-family: inherit;
}

.dc-marker {
	background: transparent !important;
	border: 0 !important;
}

.dc-marker span {
	display: block;
	width: 16px;
	height: 16px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #d63a35;
	box-shadow: 0 0 0 5px rgba(214, 58, 53, 0.22);
	transition: transform 0.2s ease;
}

.dc-marker.is-on span {
	transform: scale(1.28);
}

.dc-map-caption {
	margin: 10px 0 0;
	font-size: 14px;
}

.dc-map-open {
	display: inline-block;
	margin-top: 4px;
	color: #3b1a39;
	font-size: 14px;
}

.dc-flow a.dc-map-open,
.dc-flow a.dc-map-open:hover,
.dc-flow a.dc-map-open:focus,
.leaflet-popup-content a,
.leaflet-popup-content a:hover {
	color: #3b1a39;
}

.leaflet-popup-content .dc-map-pick {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 6px 8px;
	border: 0;
	border-radius: 10px;
	background: #f8f1f4;
	color: #3b1a39;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.dc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.dc-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	padding: 6px 6px 6px 12px;
	border: 1px solid #eadfe3;
	border-radius: 999px;
	background: #f8f1f4;
	font-size: 14px;
}

.dc-tag strong,
.dc-tag small {
	display: block;
}

.dc-tag small {
	color: #8a6d78;
	font-size: 12px;
}

.dc-tag-x {
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #3b1a39;
	font: inherit;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dc-tag-x:hover,
.dc-tag-x:focus {
	transform: scale(1.06);
	background: #3b1a39;
	color: #fff;
}

.dc-pane.is-forward {
	animation: dc-slide-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dc-pane.is-back {
	animation: dc-slide-back 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes dc-slide-in {
	from { opacity: 0; transform: translateX(28px); }
	to { opacity: 1; transform: none; }
}

@keyframes dc-slide-back {
	from { opacity: 0; transform: translateX(-28px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.dc-pane.is-forward,
	.dc-pane.is-back,
	.dc-next,
	.dc-back,
	.dc-agenda a,
	.dc-tag-x,
	.dc-marker span {
		animation: none;
		transition: none;
		transform: none;
	}
}

.dc-steps {
	display: flex;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.dc-steps li {
	flex: 1;
	padding: 8px 10px;
	border-radius: 999px;
	background: #f4ecec;
	color: #8a6d78;
	font-size: 13px;
	text-align: center;
}

.dc-steps li.is-on,
.dc-steps li.is-done {
	background: #3b1a39;
	color: #fff;
}

.dc-date {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 0 0 8px;
	padding: 14px 16px;
	border: 1px solid #eadfe3;
	border-radius: 16px;
	background: #fff;
	color: #3b1a39;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.dc-date.is-picked {
	border-color: #d63a35;
	background: #fff5f4;
}

.dc-date small,
.dc-date em {
	display: block;
	font-style: normal;
	color: #8a6d78;
}

.dc-date-meta {
	text-align: right;
	font-weight: 650;
}

.dc-search {
	position: relative;
}

.dc-search input {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid #eadfe3;
	border-radius: 16px;
	font: inherit;
}

.dc-results {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	max-height: 16rem;
	margin: 8px 0 0;
	padding: 6px;
	overflow: auto;
	list-style: none;
	border: 1px solid #eadfe3;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(59, 26, 57, 0.12);
}

.dc-results button {
	width: 100%;
	border: 0;
	border-radius: 12px;
	background: transparent;
	font: inherit;
	text-align: left;
	padding: 8px 10px;
	cursor: pointer;
}

.dc-results button:hover {
	background: #f8f1f4;
}

.dc-results small {
	display: block;
	color: #8a6d78;
}

.dc-recap {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f8f1f4;
}

@media (max-width: 800px) {
	.dc-split {
		grid-template-columns: 1fr;
	}
}

.dc-cal-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
}

.dc-cal-head strong {
	font-size: 18px;
	text-transform: capitalize;
}

.dc-cal {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.dc-cal span,
.dc-cal button {
	aspect-ratio: 1;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #3b1a39;
	font: inherit;
	font-size: 14px;
}

.dc-cal .dc-dow {
	aspect-ratio: auto;
	padding-bottom: 4px;
	color: #8a6d78;
	font-size: 12px;
	text-align: center;
}

.dc-cal button.is-event {
	background: #fde8e6;
	font-weight: 650;
	cursor: pointer;
}

.dc-cal button.is-picked {
	background: #d63a35;
	color: #fff;
}

.dc-cal .is-out {
	color: #c8b4bc;
}

.dc-detail {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #3b1a39;
	color: #fff;
}

.dc-detail p {
	margin: 0 0 6px;
}

.dc-detail .dc-muted {
	color: #d9c5d6;
}

.dc-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.dc-actions button,
.dc-agenda a,
.dc-cal-links a,
.dc-wa {
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
}

.dc-next,
.dc-back,
.dc-agenda a,
.dc-tag-x {
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dc-next,
.dc-agenda a {
	background: #d63a35;
	color: #fff !important;
	padding: 12px 18px;
}

.dc-next:hover,
.dc-next:focus {
	transform: scale(1.04);
	background: #c4322e;
	color: #fff !important;
}

.dc-next:disabled {
	opacity: 0.45;
	cursor: default;
	transform: none;
}

.dc-agenda a:hover,
.dc-agenda a:focus {
	transform: scale(1.04);
	background: #3b1a39;
	color: #fff !important;
}

.dc-back:hover,
.dc-back:focus {
	transform: scale(1.04);
	color: #3b1a39;
}

.dc-back {
	background: transparent;
	color: #3b1a39;
	padding: 12px 8px;
}

.dc-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.dc-fields label,
.dc-check {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
}

.dc-fields label.dc-full,
.dc-check {
	grid-column: 1 / -1;
}

.dc-muted {
	margin: 0 0 10px;
	color: #8a6d78;
}

.dc-check {
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
}

.dc-fields input:not([type="checkbox"]),
.dc-fields input[type="text"],
.dc-fields input[type="email"],
.dc-fields input[type="tel"] {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #e4d4d8;
	border-radius: 12px;
	font: inherit;
}

.dc-error {
	margin: 8px 0 0;
	color: #d63a35;
	font-size: 14px;
}

.dc-thanks h3 {
	margin: 0 0 8px;
	font-size: 28px;
}

.dc-agenda,
.dc-cal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.dc-note {
	margin-top: 14px;
	color: #8a6d78;
	font-size: 13px;
}

.dc-wa {
	position: fixed;
	z-index: 120;
	right: 16px;
	bottom: calc(86px + env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px 10px 10px;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 28px rgba(20, 80, 40, 0.28);
}

.dc-wa svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

@media (max-width: 720px) {
	.dc-fields {
		grid-template-columns: 1fr;
	}

	.dc-wa span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.dc-wa {
		padding: 10px;
	}
}
