/**
 * Ubris Builder WP
 *
 * @author     Complianz System
 * @copyright  2025-2026 Complianz System
 * @license    GPL-2.0-or-later
 * @link       https://ubris-wordpress.fr/
 * @link       https://github.com/pierrecodeur/cursorwordpress
 */

.wpcursor-component.wpcursor-cta-final {
	--wpc-cta-pad: max(1.15rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--wpc-cta-ink: var(--wpcursor-ink, #210000);
	--wpc-cta-cream: var(--wpcursor-cream, #f9f7f5);
	--wpc-cta-orange: var(--wpcursor-orange, #f98700);
	--wpc-cta-red: var(--wpcursor-red, #ab1a19);
	--wpc-cta-burgundy: var(--wpcursor-burgundy, #5b0504);
	background: var(--wpc-cta-cream);
	color: #ffffff;
	font-family: var(--wpcursor-font-body, "Poppins", system-ui, sans-serif);
	padding: 1.5rem 0 3.5rem;
	width: 100%;
}

@media (min-width: 1100px) {
	.wpcursor-component.wpcursor-cta-final {
		--wpc-cta-pad: clamp(1.5rem, 4vw, 3.5rem);
		padding: 1.75rem 0 4.5rem;
	}
}

.entry-content > .wpcursor-component.wpcursor-cta-final {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-cta-final__inner {
	margin: 0 auto;
	max-width: 80rem;
	padding: 0 var(--wpc-cta-pad);
	width: 100%;
}

.wpcursor-cta-final__banner {
	align-items: center;
	background:
		radial-gradient(22rem 16rem at 92% 50%, rgb(255 179 71 / 0.35), transparent 62%),
		linear-gradient(90deg, var(--wpc-cta-burgundy) 0%, var(--wpc-cta-red) 42%, var(--wpc-cta-orange) 100%);
	border-radius: 1.5rem;
	box-shadow: 0 18px 42px rgb(91 5 4 / 0.22);
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	overflow: hidden;
	padding: 1.75rem 1.4rem;
}

@media (min-width: 900px) {
	.wpcursor-cta-final__banner {
		grid-template-columns: minmax(0, 1.35fr) auto;
		gap: 2rem;
		padding: 2.15rem 2rem;
	}
}

.wpcursor-cta-final__copy {
	max-width: 40rem;
}

.wpcursor-component.wpcursor-cta-final .wpcursor-cta-final__title {
	color: #ffffff;
	font-family: var(--wpcursor-font-title, "Poppins", system-ui, sans-serif);
	font-size: clamp(1.45rem, 2.8vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
	margin: 0 0 0.7rem;
}

.wpcursor-cta-final__title-line,
.wpcursor-cta-final__title-accent {
	display: block;
}

.entry-content .wpcursor-component.wpcursor-cta-final .wpcursor-cta-final__title,
.entry-content .wpcursor-component.wpcursor-cta-final .wpcursor-cta-final__title-line,
.entry-content .wpcursor-component.wpcursor-cta-final .wpcursor-cta-final__title-accent,
.wpcursor-component.wpcursor-cta-final .wpcursor-cta-final__title-line,
.wpcursor-component.wpcursor-cta-final .wpcursor-cta-final__title-accent {
	color: #ffffff;
}

.wpcursor-cta-final__lead {
	color: rgb(255 255 255 / 0.88);
	font-size: 0.98rem;
	line-height: 1.6;
	margin: 0;
}

.wpcursor-cta-final__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.wpcursor-cta-final__btn {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.9375rem;
	font-weight: 700;
	justify-content: center;
	letter-spacing: -0.01em;
	line-height: 1.2;
	padding: 0.9rem 1.25rem;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.wpcursor-cta-final__btn--primary {
	background: #ffffff;
	border: 1px solid #ffffff;
	color: var(--wpc-cta-ink);
}

.wpcursor-cta-final__btn--primary:hover,
.wpcursor-cta-final__btn--primary:focus-visible {
	background: var(--wpc-cta-cream);
	color: var(--wpc-cta-ink);
}

.wpcursor-cta-final__btn--ghost {
	background: rgb(33 0 0 / 0.22);
	border: 1px solid rgb(255 255 255 / 0.35);
	color: #ffffff;
}

.wpcursor-cta-final__btn--ghost:hover,
.wpcursor-cta-final__btn--ghost:focus-visible {
	background: rgb(33 0 0 / 0.38);
	border-color: #ffffff;
	color: #ffffff;
}

.wpcursor-cta-final__btn:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

@media (max-width: 640px) {
	.wpcursor-cta-final__btn {
		width: 100%;
	}
}
