/**
 * 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-hero-accueil {
	--wpc-hero-pad: max(1.15rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--wpc-hero-ink: var(--wpcursor-ink, #210000);
	--wpc-hero-muted: #6b5e5a;
	--wpc-hero-cream: var(--wpcursor-cream, #f9f7f5);
	--wpc-hero-orange: var(--wpcursor-orange, #f98700);
	--wpc-hero-red: var(--wpcursor-red, #ab1a19);
	--wpc-hero-gradient: var(--wpcursor-gradient, linear-gradient(90deg, #f98700 0%, #ab1a19 100%));
	--wpc-hero-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	background: var(--wpc-hero-cream);
	color: var(--wpc-hero-ink);
	font-family: var(--wpcursor-font-body, "Poppins", system-ui, sans-serif);
	padding: 2.25rem 0 3.5rem;
	width: 100%;
}

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

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

.wpcursor-hero-accueil__inner {
	align-items: center;
	display: grid;
	gap: 2.25rem 2.75rem;
	grid-template-columns: 1fr;
	margin: 0 auto;
	max-width: 80rem;
	padding: 0 var(--wpc-hero-pad);
	width: 100%;
}

@media (min-width: 1080px) {
	.wpcursor-hero-accueil__inner {
		grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
		gap: 2.5rem 3rem;
	}
}

.wpcursor-hero-accueil__copy {
	max-width: 38rem;
}

.wpcursor-hero-accueil__eyebrow {
	align-items: center;
	color: var(--wpc-hero-red);
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 700;
	gap: 0.45rem;
	letter-spacing: 0.14em;
	line-height: 1.3;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.wpcursor-hero-accueil__eyebrow::before {
	background: var(--wpc-hero-orange);
	border-radius: 50%;
	content: "";
	display: block;
	flex: 0 0 0.42rem;
	height: 0.42rem;
	width: 0.42rem;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__title {
	color: var(--wpc-hero-ink);
	font-family: var(--wpc-hero-serif);
	font-size: clamp(2.15rem, 4.6vw, 3.55rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.08;
	margin: 0 0 1.15rem;
}

.wpcursor-hero-accueil__title-line,
.wpcursor-hero-accueil__title-accent {
	display: block;
}

.wpcursor-component.wpcursor-hero-accueil .wpcursor-hero-accueil__title-accent {
	background: var(--wpc-hero-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 1.02em;
	margin-top: 0.08em;
}

.wpcursor-hero-accueil__bullets {
	display: grid;
	gap: 0.65rem;
	list-style: none;
	margin: 0 0 1.25rem;
	max-width: 36rem;
	padding: 0;
}

.wpcursor-hero-accueil__bullets li {
	align-items: flex-start;
	color: var(--wpc-hero-ink);
	display: flex;
	font-size: 0.98rem;
	font-weight: 700;
	gap: 0.7rem;
	letter-spacing: -0.01em;
	line-height: 1.4;
	margin: 0;
}

.wpcursor-hero-accueil__bullets li::before {
	align-items: center;
	background: rgb(255 179 71 / 0.28);
	border-radius: 50%;
	color: var(--wpc-hero-orange);
	content: "✓";
	display: inline-flex;
	flex: 0 0 1.35rem;
	font-size: 0.72rem;
	font-weight: 800;
	height: 1.35rem;
	justify-content: center;
	line-height: 1;
	margin-top: 0.05rem;
	width: 1.35rem;
}

.wpcursor-hero-accueil__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1.6rem;
	padding: 0;
}

.wpcursor-hero-accueil__pills li {
	background: #ffffff;
	border: 1px solid #e6e0da;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgb(33 0 0 / 0.04);
	color: var(--wpc-hero-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0;
	padding: 0.48rem 0.85rem;
}

.wpcursor-hero-accueil__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.wpcursor-hero-accueil__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;
	padding: 0.92rem 1.35rem;
	text-decoration: none;
	white-space: nowrap;
}

.wpcursor-hero-accueil__btn--primary {
	background: var(--wpc-hero-gradient);
	border: 1px solid transparent;
	color: #ffffff;
}

.wpcursor-hero-accueil__btn--primary:hover,
.wpcursor-hero-accueil__btn--primary:focus-visible {
	color: #ffffff;
	filter: brightness(1.06);
}

.wpcursor-hero-accueil__btn--ghost {
	background: #ffffff;
	border: 1px solid #d8d4d0;
	color: var(--wpc-hero-ink);
}

.wpcursor-hero-accueil__btn--ghost:hover,
.wpcursor-hero-accueil__btn--ghost:focus-visible {
	background: var(--wpc-hero-cream);
	border-color: var(--wpcursor-burgundy, #5b0504);
	color: var(--wpc-hero-ink);
}

.wpcursor-hero-accueil__btn:focus-visible {
	outline: 2px solid var(--wpc-hero-ink);
	outline-offset: 3px;
}

.wpcursor-hero-accueil__visual {
	min-width: 0;
}

.wpcursor-hero-accueil__preview {
	background: #ffffff;
	border: 1px solid #efe9e4;
	border-radius: 1.15rem;
	box-shadow:
		0 18px 50px rgb(33 0 0 / 0.1),
		0 2px 8px rgb(33 0 0 / 0.04);
	overflow: hidden;
}

.wpcursor-hero-accueil__chrome {
	align-items: center;
	background: #fbf8f6;
	border-bottom: 1px solid #efe9e4;
	display: flex;
	gap: 0.38rem;
	padding: 0.7rem 0.9rem;
}

.wpcursor-hero-accueil__chrome span {
	border-radius: 50%;
	display: block;
	height: 0.55rem;
	width: 0.55rem;
}

.wpcursor-hero-accueil__chrome span:nth-child(1) {
	background: #f98700;
}

.wpcursor-hero-accueil__chrome span:nth-child(2) {
	background: #ffb347;
}

.wpcursor-hero-accueil__chrome span:nth-child(3) {
	background: #ab1a19;
}

.wpcursor-hero-accueil__preview-body {
	display: grid;
	grid-template-columns: 8.6rem minmax(0, 1fr);
	min-height: 22.5rem;
}

.wpcursor-hero-accueil__sidebar {
	background: #210000;
	color: #f4ece8;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.85rem 0.55rem;
}

.wpcursor-hero-accueil__side-item {
	border-radius: 0.5rem;
	color: #d9cdc7;
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	padding: 0.48rem 0.55rem;
}

.wpcursor-hero-accueil__side-item.is-active {
	background: var(--wpc-hero-gradient);
	color: #ffffff;
}

.wpcursor-hero-accueil__workspace {
	background: #f6f2ee;
	display: grid;
	gap: 0.7rem;
	grid-template-columns: minmax(0, 1.15fr) minmax(10.5rem, 0.85fr);
	min-width: 0;
	padding: 0.8rem;
}

.wpcursor-hero-accueil__panel,
.wpcursor-hero-accueil__card {
	background: #ffffff;
	border: 1px solid #ece6e1;
	border-radius: 0.75rem;
	padding: 0.75rem 0.8rem;
}

.wpcursor-hero-accueil__aside {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	min-width: 0;
}

.wpcursor-hero-accueil__panel-label {
	color: var(--wpc-hero-muted);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 0.65rem;
	text-transform: uppercase;
}

.wpcursor-hero-accueil__field {
	background: #faf7f4;
	border: 1px solid #efe9e4;
	border-radius: 0.55rem;
	display: flex;
	flex-direction: column;
	gap: 0.18rem;
	margin: 0 0 0.45rem;
	padding: 0.45rem 0.55rem;
}

.wpcursor-hero-accueil__field span {
	color: #8a7c76;
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wpcursor-hero-accueil__field strong {
	color: var(--wpc-hero-ink);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.wpcursor-hero-accueil__code {
	background: transparent;
	border: 1px dashed #d8cfc8;
	border-radius: 0.55rem;
	color: #5b0504;
	display: block;
	font-size: 0.68rem;
	line-height: 1.4;
	margin: 0.55rem 0 0;
	overflow-wrap: anywhere;
	padding: 0.55rem 0.6rem;
	white-space: normal;
}

.wpcursor-hero-accueil__card ul {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpcursor-hero-accueil__card li {
	align-items: center;
	background: #faf7f4;
	border-radius: 0.5rem;
	color: var(--wpc-hero-ink);
	display: flex;
	font-size: 0.75rem;
	font-weight: 600;
	gap: 0.4rem;
	justify-content: space-between;
	margin: 0;
	padding: 0.42rem 0.5rem;
}

.wpcursor-hero-accueil__card li em {
	background: #e8f6d8;
	border-radius: 999px;
	color: #2f6b1f;
	font-size: 0.58rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 0.12rem 0.4rem;
	text-transform: uppercase;
}

@media (max-width: 1079px) {
	.wpcursor-hero-accueil__copy {
		max-width: none;
	}

	.wpcursor-hero-accueil__preview-body {
		grid-template-columns: 1fr;
	}

	.wpcursor-hero-accueil__sidebar {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.25rem;
		padding: 0.55rem;
	}

	.wpcursor-hero-accueil__side-item {
		font-size: 0.65rem;
		padding: 0.35rem 0.5rem;
	}
}

@media (max-width: 720px) {
	.wpcursor-hero-accueil__workspace {
		grid-template-columns: 1fr;
	}

	.wpcursor-hero-accueil__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-hero-accueil__btn--primary:hover,
	.wpcursor-hero-accueil__btn--primary:focus-visible {
		filter: none;
	}
}
