/* Clara – Page « Nos tarifs » : cartes premium, 2 par ligne, animées */
@property --cdrt-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.cdrt-pricing {
	--t-gold: #ceb17c;
	--t-gold-2: #e7d3a8;
	--t-gold-dark: #9c7a42;
	--t-ink: #1d1a16;
	--t-muted: #6f675c;
	--t-line: rgba(206, 177, 124, .38);
	--t-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--t-sans: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	position: relative;
	padding-top: 70px !important;
	padding-bottom: 100px !important;
	background:
		radial-gradient(60% 50% at 15% 10%, rgba(231, 211, 168, .28), transparent 70%),
		radial-gradient(50% 45% at 90% 85%, rgba(206, 177, 124, .2), transparent 70%),
		#fbf8f2 !important;
	overflow: hidden;
}
.cdrt-pricing > .e-con-inner {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px 30px !important;
	max-width: 1060px !important;
	margin: 0 auto;
	align-items: stretch;
}

/* ——— Carte ——— */
.cdrt-pricing .cdrt-card {
	--mx: 50%; --my: 0%;
	position: relative;
	width: auto !important;
	max-width: none !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0 !important;
	padding: 52px 44px 40px !important;
	margin: 0 !important;
	background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
	border: 1px solid var(--t-line) !important;
	border-radius: 28px !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 30px 60px -38px rgba(80, 55, 15, .45), 0 8px 18px -12px rgba(80, 55, 15, .18) !important;
	overflow: visible !important;
	isolation: isolate;
	transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s cubic-bezier(.2, .8, .2, 1), border-color .4s;
	font-family: var(--t-sans);
	text-align: center;
}
/* Halo lumineux qui suit la souris */
.cdrt-pricing .cdrt-card::before {
	content: "";
	position: absolute; inset: 0;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(231, 211, 168, .35), transparent 45%);
	opacity: 0;
	transition: opacity .4s;
	z-index: -1;
	pointer-events: none;
}
/* Liseré doré en haut */
.cdrt-pricing .cdrt-card::after {
	content: "";
	position: absolute; left: 44px; right: 44px; top: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--t-gold), transparent);
	opacity: .7;
	pointer-events: none;
}
.cdrt-pricing .cdrt-card:hover {
	transform: translateY(-8px);
	border-color: rgba(206, 177, 124, .75) !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 46px 80px -40px rgba(80, 55, 15, .55), 0 0 0 6px rgba(206, 177, 124, .08) !important;
}
.cdrt-pricing .cdrt-card:hover::before { opacity: 1; }

/* Carte mise en avant : bordure dorée animée */
.cdrt-pricing .cdrt-card--featured {
	border-color: transparent !important;
	background:
		linear-gradient(180deg, #fff, #fffdf8) padding-box,
		conic-gradient(from var(--cdrt-angle), #ceb17c, #f3e6c8, #a8874f, #f3e6c8, #ceb17c) border-box !important;
	border: 1.5px solid transparent !important;
	animation: cdrt-spin 7s linear infinite;
}
@keyframes cdrt-spin { to { --cdrt-angle: 360deg; } }

/* ——— Badge (pastille en haut) ——— */
.cdrt-pricing .cdrt-badge {
	position: absolute !important;
	top: 0; left: 50%;
	transform: translate(-50%, -50%);
	width: auto !important;
	max-width: calc(100% - 40px);
	margin: 0 !important;
	z-index: 3;
}
.cdrt-pricing .cdrt-badge .elementor-heading-title {
	display: inline-block;
	padding: 8px 18px !important;
	border-radius: 999px;
	background: #fff !important;
	border: 1px solid var(--t-line);
	box-shadow: 0 10px 24px -14px rgba(80, 55, 15, .55);
	font-family: var(--t-sans) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .02em;
	line-height: 1.3 !important;
	color: var(--t-ink) !important;
	white-space: nowrap;
}
.cdrt-pricing .cdrt-card--featured .cdrt-badge .elementor-heading-title {
	background: linear-gradient(135deg, #d9bf8c, #b8975c) !important;
	border-color: transparent;
	color: #fff !important;
}

/* ——— En-tête : icône + titre + description ——— */
.cdrt-pricing .cdrt-head { width: 100% !important; margin: 0 0 6px !important; }
.cdrt-pricing .cdrt-head .elementor-icon-box-icon { margin-bottom: 20px !important; }
.cdrt-pricing .cdrt-head .elementor-icon {
	display: inline-grid !important;
	place-items: center;
	width: 78px !important; height: 78px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: radial-gradient(circle at 30% 25%, #fff 0%, #f7eedd 45%, #ead7b0 100%) !important;
	box-shadow: 0 0 0 8px rgba(206, 177, 124, .1), 0 14px 26px -14px rgba(120, 85, 25, .6) !important;
	color: var(--t-gold-dark) !important;
	fill: var(--t-gold-dark) !important;
	font-size: 32px !important;
	animation: cdrt-float 5s ease-in-out infinite;
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.cdrt-pricing .cdrt-head .elementor-icon svg { width: 34px !important; height: 34px !important; fill: var(--t-gold-dark) !important; }
.cdrt-pricing .cdrt-head .elementor-icon i { color: var(--t-gold-dark) !important; font-size: 32px !important; }
.cdrt-pricing .cdrt-head .elementor-icon img { width: 40px !important; height: 40px !important; object-fit: contain; }
.cdrt-pricing .cdrt-card:hover .cdrt-head .elementor-icon { transform: scale(1.07) rotate(-4deg); }
@keyframes cdrt-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.cdrt-pricing .cdrt-head .elementor-icon-box-title,
.cdrt-pricing .cdrt-head .elementor-icon-box-title a {
	margin: 0 0 12px !important;
	font-family: var(--t-serif) !important;
	font-size: 30px !important;
	font-weight: 600 !important;
	line-height: 1.15 !important;
	color: var(--t-ink) !important;
}
.cdrt-pricing .cdrt-head .elementor-icon-box-description {
	max-width: 400px;
	margin: 0 auto !important;
	font-family: var(--t-sans) !important;
	font-size: 15.5px !important;
	line-height: 1.65 !important;
	color: var(--t-muted) !important;
}
.cdrt-pricing .cdrt-head .elementor-icon-box-description br { display: none; }

/* ——— Prix ——— */
.cdrt-pricing .cdrt-price,
.cdrt-pricing .cdrt-prices {
	width: 100% !important;
	margin: 26px 0 0 !important;
	padding: 22px 0 !important;
	border-top: 1px dashed var(--t-line) !important;
	border-bottom: 1px dashed var(--t-line) !important;
	gap: 4px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}
.cdrt-pricing .cdrt-price .elementor-widget-heading { margin: 0 !important; width: auto !important; }
.cdrt-pricing .cdrt-price h2.elementor-heading-title {
	font-family: var(--t-serif) !important;
	font-size: 64px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: -.01em;
	background: linear-gradient(180deg, #c9a868 0%, #9c7a42 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent !important;
	font-variant-numeric: lining-nums tabular-nums;
}
.cdrt-pricing .cdrt-price p.elementor-heading-title {
	display: inline-block;
	margin-top: 10px !important;
	padding: 5px 14px !important;
	border-radius: 999px;
	background: #f6eedf;
	font-family: var(--t-sans) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase;
	line-height: 1.3 !important;
	color: var(--t-gold-dark) !important;
}
/* Deux tarifs côte à côte (Contact défunt) */
.cdrt-pricing .cdrt-prices { flex-direction: row !important; align-items: stretch !important; gap: 0 !important; }
.cdrt-pricing .cdrt-prices .cdrt-price { flex: 1 1 0; margin: 0 !important; padding: 4px 8px !important; border: 0 !important; }
.cdrt-pricing .cdrt-prices .cdrt-price + .cdrt-price { border-left: 1px dashed var(--t-line) !important; }
.cdrt-pricing .cdrt-prices .cdrt-price h2.elementor-heading-title { font-size: 52px !important; }

/* ——— Liste ——— */
.cdrt-pricing .cdrt-list { width: 100% !important; margin: 24px 0 0 !important; flex: 1 1 auto; }
.cdrt-pricing .cdrt-list .elementor-icon-list-items { display: inline-grid !important; gap: 12px; text-align: left; margin: 0 auto !important; }
.cdrt-pricing .cdrt-list .elementor-icon-list-item { padding: 0 !important; margin: 0 !important; justify-content: flex-start !important; align-items: flex-start !important; }
.cdrt-pricing .cdrt-list .elementor-icon-list-item::after { display: none !important; }
.cdrt-pricing .cdrt-list .elementor-icon-list-icon {
	display: inline-grid !important; place-items: center;
	flex: 0 0 22px; width: 22px !important; height: 22px !important;
	margin: 1px 12px 0 0 !important;
	border-radius: 50%;
	background: #f4ead6;
}
.cdrt-pricing .cdrt-list .elementor-icon-list-icon svg,
.cdrt-pricing .cdrt-list .elementor-icon-list-icon svg,
.cdrt-pricing .cdrt-list .elementor-icon-list-icon i { display: none !important; }
.cdrt-pricing .cdrt-list .elementor-icon-list-icon::before {
	content: ""; width: 12px; height: 12px; background: var(--t-gold-dark);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cdrt-pricing .cdrt-list .elementor-icon-list-icon i { width: 11px !important; height: 11px !important; font-size: 11px !important; fill: var(--t-gold-dark) !important; color: var(--t-gold-dark) !important; }
.cdrt-pricing .cdrt-list .elementor-icon-list-text {
	padding: 0 !important;
	font-family: var(--t-sans) !important;
	font-size: 15.5px !important;
	line-height: 1.5 !important;
	color: #3a352e !important;
	text-align: left;
}

/* ——— Bouton ——— */
.cdrt-pricing .cdrt-cta { width: 100% !important; margin: 30px 0 0 !important; }
.cdrt-pricing .cdrt-cta .elementor-button-wrapper { width: 100%; }
.cdrt-pricing .cdrt-cta .elementor-button {
	position: relative;
	display: flex !important;
	justify-content: center;
	width: 100% !important;
	padding: 18px 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #d9bf8c 0%, #c4a368 55%, #b08d52 100%) !important;
	box-shadow: 0 16px 30px -16px rgba(140, 105, 40, .75), inset 0 1px 0 rgba(255, 255, 255, .45) !important;
	color: var(--t-ink) !important;
	font-family: var(--t-sans) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: .01em;
	overflow: hidden;
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s !important;
}
.cdrt-pricing .cdrt-cta .elementor-button::after {
	content: "";
	position: absolute; top: 0; bottom: 0; left: -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-20deg);
	transition: left .7s cubic-bezier(.2, .8, .2, 1);
}
.cdrt-pricing .cdrt-cta .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -16px rgba(140, 105, 40, .85), inset 0 1px 0 rgba(255, 255, 255, .45) !important; color: var(--t-ink) !important; }
.cdrt-pricing .cdrt-cta .elementor-button:hover::after { left: 120%; }
.cdrt-pricing .cdrt-cta .elementor-button-icon { transition: transform .3s; }
.cdrt-pricing .cdrt-cta .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
.cdrt-pricing .cdrt-card--featured .cdrt-cta .elementor-button { background: linear-gradient(135deg, #2a251f, #1d1a16) !important; color: #f5e9cf !important; }
.cdrt-pricing .cdrt-card--featured .cdrt-cta .elementor-button:hover { color: #fff !important; }
.cdrt-pricing .cdrt-card--featured .cdrt-cta .elementor-button svg { fill: #f5e9cf !important; }

/* ——— Apparition au défilement ——— */
.cdrt-pricing.cdrt-js .cdrt-card { opacity: 0; transform: translateY(40px) scale(.98); }
.cdrt-pricing.cdrt-js .cdrt-card.is-in {
	opacity: 1; transform: none;
	transition: opacity .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 120ms), transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 120ms), box-shadow .5s, border-color .4s;
}
.cdrt-pricing.cdrt-js .cdrt-card.is-in:hover { transform: translateY(-8px); transition-delay: 0s; }
.cdrt-pricing .elementor-invisible { visibility: visible !important; }

/* Particules dorées discrètes en fond */
.cdrt-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.cdrt-sparkles span {
	position: absolute; width: 4px; height: 4px; border-radius: 50%;
	background: radial-gradient(circle, #f3e1b8 0%, rgba(206, 177, 124, 0) 70%);
	box-shadow: 0 0 10px 2px rgba(231, 211, 168, .55);
	opacity: 0;
	animation: cdrt-twinkle 6s ease-in-out infinite;
}
@keyframes cdrt-twinkle { 0%, 100% { opacity: 0; transform: translateY(0) scale(.6); } 50% { opacity: .9; transform: translateY(-18px) scale(1); } }
.cdrt-pricing > .e-con-inner { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
	.cdrt-pricing *, .cdrt-pricing *::before, .cdrt-pricing *::after { animation: none !important; transition: none !important; }
	.cdrt-pricing.cdrt-js .cdrt-card { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
	.cdrt-pricing .cdrt-card { padding: 48px 30px 34px !important; }
	.cdrt-pricing .cdrt-price h2.elementor-heading-title { font-size: 54px !important; }
	.cdrt-pricing .cdrt-prices .cdrt-price h2.elementor-heading-title { font-size: 44px !important; }
}
@media (max-width: 767px) {
	.cdrt-pricing { padding-top: 60px !important; padding-bottom: 70px !important; }
	.cdrt-pricing > .e-con-inner { grid-template-columns: 1fr; gap: 40px !important; }
	.cdrt-pricing .cdrt-card { padding: 46px 22px 28px !important; border-radius: 22px !important; }
	.cdrt-pricing .cdrt-card::after { left: 24px; right: 24px; }
	.cdrt-pricing .cdrt-head .elementor-icon-box-title { font-size: 26px !important; }
	.cdrt-pricing .cdrt-badge .elementor-heading-title { white-space: normal; text-align: center; }
}

/* Nombre impair de cartes : la dernière est centrée sous les deux autres */
@media (min-width: 768px) {
	.cdrt-pricing .cdrt-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 15px) !important;
	}
}

/* ——— Icônes animées sur mesure ——— */
.cdrt-pricing .cdrt-head .elementor-icon.cdrt-has-ico { width: 100px !important; height: 100px !important; animation: none; }
.cdrt-ico { width: 58px; height: 58px; overflow: visible; fill: none; stroke: var(--t-gold-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cdrt-pricing .cdrt-head .elementor-icon svg.cdrt-ico { width: 58px !important; height: 58px !important; fill: none !important; }
.cdrt-ico .cdrt-f { fill: var(--t-gold); stroke: none; }
.cdrt-ico * { transform-box: fill-box; }

/* Dessin des traits à l'apparition */
.cdrt-ico .cdrt-d { stroke-dasharray: 1; stroke-dashoffset: 0; }
.cdrt-pricing.cdrt-js .cdrt-card:not(.is-in) .cdrt-ico .cdrt-d { stroke-dashoffset: 1; }
.cdrt-pricing.cdrt-js .cdrt-card.is-in .cdrt-ico .cdrt-d { animation: cdrt-draw 1.6s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 250ms); }
@keyframes cdrt-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Médaillon : halo qui respire */
.cdrt-pricing .cdrt-head .elementor-icon.cdrt-has-ico::after {
	content: ""; position: absolute; inset: -6px; border-radius: 50%;
	border: 1px solid rgba(206, 177, 124, .45);
	animation: cdrt-breathe 3.6s ease-in-out infinite;
	pointer-events: none;
}
.cdrt-pricing .cdrt-head .elementor-icon.cdrt-has-ico { position: relative; }
@keyframes cdrt-breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 0; } }
.cdrt-pricing .cdrt-card:hover .cdrt-head .elementor-icon.cdrt-has-ico { transform: scale(1.06); }

/* Sablier : le sable s'écoule */
.cdrt-ico--hourglass .cdrt-sand-top { transform-origin: 50% 100%; animation: cdrt-sand-top 4s ease-in-out infinite; }
.cdrt-ico--hourglass .cdrt-sand-bot { transform-origin: 50% 100%; animation: cdrt-sand-bot 4s ease-in-out infinite; }
.cdrt-ico--hourglass .cdrt-stream { stroke: var(--t-gold); stroke-width: 1.4; stroke-dasharray: 1.5 2.5; animation: cdrt-stream .6s linear infinite, cdrt-stream-op 4s ease-in-out infinite; }
@keyframes cdrt-sand-top { 0% { transform: scaleY(1); } 85%, 100% { transform: scaleY(.08); } }
@keyframes cdrt-sand-bot { 0% { transform: scaleY(.15); } 85%, 100% { transform: scaleY(1); } }
@keyframes cdrt-stream { to { stroke-dashoffset: -4; } }
@keyframes cdrt-stream-op { 0%, 80% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* Boule de cristal : voile tournant + étincelles */
.cdrt-ico--crystal .cdrt-swirl { transform-origin: 50% 50%; animation: cdrt-rot 9s linear infinite; }
.cdrt-ico--crystal .cdrt-swirl path { stroke: var(--t-gold); stroke-width: 1.3; opacity: .75; }
@keyframes cdrt-rot { to { transform: rotate(360deg); } }
.cdrt-ico .cdrt-tw { transform-origin: 50% 50%; animation: cdrt-twk 2.4s ease-in-out infinite; }
.cdrt-ico .cdrt-tw2 { animation-delay: .8s; }
.cdrt-ico .cdrt-tw3 { animation-delay: 1.6s; }
@keyframes cdrt-twk { 0%, 100% { opacity: .15; transform: scale(.5) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }

/* Bougie : flamme vacillante + halo */
.cdrt-ico--candle .cdrt-flame { fill: rgba(206, 177, 124, .28); stroke: var(--t-gold-dark); stroke-width: 1.5; transform-origin: 50% 100%; animation: cdrt-flicker 2.2s ease-in-out infinite; }
.cdrt-ico--candle .cdrt-flame-core { fill: var(--t-gold); stroke: none; transform-origin: 50% 100%; animation: cdrt-flicker 1.6s ease-in-out infinite reverse; }
.cdrt-ico--candle .cdrt-glow { fill: rgba(231, 211, 168, .55); stroke: none; transform-origin: 50% 50%; animation: cdrt-glow 2.2s ease-in-out infinite; }
@keyframes cdrt-flicker {
	0%, 100% { transform: scale(1, 1) skewX(0deg); }
	25% { transform: scale(.94, 1.06) skewX(-3deg); }
	50% { transform: scale(1.03, .96) skewX(2deg); }
	75% { transform: scale(.97, 1.04) skewX(-1.5deg); }
}
@keyframes cdrt-glow { 0%, 100% { opacity: .35; transform: scale(.9); } 50% { opacity: .75; transform: scale(1.12); } }

/* Lotus : ondes d'énergie */
.cdrt-ico--lotus .cdrt-ring { fill: none; stroke: var(--t-gold); stroke-width: 1; transform-origin: 50% 50%; animation: cdrt-ring 3.2s ease-out infinite; }
.cdrt-ico--lotus .cdrt-ring2 { animation-delay: 1.6s; }
@keyframes cdrt-ring { 0% { transform: scale(.55); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }

/* Œil : rayons scintillants, regard qui bouge, clignement */
.cdrt-ico--eye .cdrt-rays { animation: cdrt-rays 3s ease-in-out infinite; }
@keyframes cdrt-rays { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.cdrt-ico--eye .cdrt-lid { transform-origin: 50% 50%; animation: cdrt-blink 5.5s ease-in-out infinite; }
@keyframes cdrt-blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.08); } }
.cdrt-ico--eye .cdrt-iris { animation: cdrt-look 5.5s ease-in-out infinite; }
@keyframes cdrt-look { 0%, 20% { transform: translateX(0); } 35%, 50% { transform: translateX(-2.2px); } 65%, 80% { transform: translateX(2.2px); } 100% { transform: translateX(0); } }
.cdrt-ico--eye .cdrt-shine { fill: #fff; stroke: none; }

/* Lune : balancement doux, étoiles qui scintillent */
.cdrt-ico--moon .cdrt-moon path { fill: rgba(206, 177, 124, .18); }
.cdrt-ico--moon .cdrt-moon { transform-origin: 50% 50%; animation: cdrt-rock 6s ease-in-out infinite; }
@keyframes cdrt-rock { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.cdrt-ico--moon .cdrt-dot { transform-origin: 50% 50%; animation: cdrt-twk 3s ease-in-out infinite; }
.cdrt-ico--moon .cdrt-dot2 { animation-delay: 1.2s; }
