/**
 * Mosaïque catégories — disposition du petit site Primtee + coins arrondis.
 * [ywraq_home_categories]
 */

.ywraq-home-seo-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body:has(.ywraq-home-cats),
body:has(.ywraq-home-stats) {
	overflow-x: clip;
}

.elementor-element:has(.ywraq-home-cats),
.elementor-element:has(.ywraq-home-stats),
.elementor-widget-container:has(.ywraq-home-cats),
.elementor-widget-container:has(.ywraq-home-stats),
.e-con:has(.ywraq-home-cats),
.e-con:has(.ywraq-home-stats) {
	overflow: visible !important;
}

.ywraq-home-cats {
	--ywraq-hc-max: 1280px;
	--ywraq-hc-radius: 6px;
	--ywraq-hc-snap: cubic-bezier(.16, 1, .3, 1);
	position: relative;
	isolation: isolate;
	font-family: var(--ywraq-da-body, "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif);
	color: var(--ywraq-da-ink, #0a0f1c);
	-webkit-font-smoothing: antialiased;
	padding: clamp(2.2rem, 5vw, 3.75rem) 0;
	background: transparent;
}

.ywraq-home-cats::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: var(--ywraq-da-ice, #f3f5f8);
}

.ywraq-home-cats__wrap {
	max-width: var(--ywraq-hc-max);
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 1.75rem);
}

.ywraq-home-cats__head {
	display: block;
	margin: 0 0 1.35rem;
}

.ywraq-home-cats__kicker {
	margin: 0 0 .55rem;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #8a93a3;
}

.ywraq-home-cats__title {
	margin: 0;
	font-family: var(--ywraq-da-display, "Brico", Georgia, serif);
	font-size: clamp(1.75rem, 3.2vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.1;
	color: var(--ywraq-da-ink, #0a0f1c);
}

.ywraq-home-cats__foot {
	display: flex;
	justify-content: flex-end;
	margin: 1.25rem 0 0;
}

.ywraq-home-cats__see {
	flex: 0 0 auto;
	font-size: .92rem;
	font-weight: 700;
	color: var(--ywraq-da-blue, #0b5cab);
	text-decoration: none !important;
	white-space: nowrap;
}

.ywraq-home-cats__see:hover {
	color: var(--ywraq-da-ink, #0a0f1c);
}

/* —— Mosaic 12 cols (identique mini-site) —— */
.ywraq-home-cats .cats {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: minmax(160px, auto);
	gap: .5rem;
}

.ywraq-home-cats .cat {
	position: relative;
	display: block;
	min-height: 230px;
	grid-column: span 3;
	border-radius: var(--ywraq-hc-radius);
	overflow: hidden;
	color: #fff;
	isolation: isolate;
	text-decoration: none !important;
	transition: transform .5s var(--ywraq-hc-snap), box-shadow .5s ease;
}

.ywraq-home-cats .cat--lg {
	grid-column: span 6;
	grid-row: span 2;
	min-height: 480px;
}

.ywraq-home-cats .cat--wide {
	grid-column: span 6;
	min-height: 250px;
}

.ywraq-home-cats .cat img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .85s var(--ywraq-hc-snap), filter .5s;
}

.ywraq-home-cats .cat::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 35%, rgba(0, 11, 56, .55) 62%, rgba(0, 11, 56, .94) 100%);
	pointer-events: none;
}

.ywraq-home-cats .cat::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(120deg, rgba(0, 102, 180, .25), transparent 50%);
	opacity: 0;
	transition: opacity .45s;
	pointer-events: none;
}

.ywraq-home-cats .cat__copy {
	position: absolute;
	left: 1.15rem;
	right: 1.15rem;
	bottom: 1.15rem;
	z-index: 2;
}

.ywraq-home-cats__lead,
.ywraq-home-feat__lead,
.ywraq-home-mk__lead {
	margin: .75rem 0 0;
	max-width: 40rem;
	font-size: 1.05rem;
	line-height: 1.55;
	font-weight: 500;
	color: #3d4656;
}

.ywraq-home-cats__lead a,
.ywraq-home-mk__lead a {
	color: var(--ywraq-da-blue, #0b5cab);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: .16em;
}

.ywraq-home-cats .cat__copy h3 {
	display: block;
	margin: 0 0 .25rem;
	font-family: var(--ywraq-da-display, "Brico", Georgia, serif);
	font-size: 1.32rem;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 1px 8px rgba(0, 11, 56, .35);
}

.ywraq-home-cats .cat--lg .cat__copy h3 {
	font-size: clamp(1.7rem, 2.6vw, 2.15rem);
}

.ywraq-home-cats .cat__copy p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
	opacity: .92;
	font-weight: 600;
	color: #fff;
	text-shadow: 0 1px 6px rgba(0, 11, 56, .3);
}

@media (hover: hover) and (pointer: fine) {
	.ywraq-home-cats .cat:hover {
		transform: translateY(-5px);
		box-shadow: 0 22px 50px rgba(0, 11, 56, .28);
	}

	.ywraq-home-cats .cat:hover img {
		transform: scale(1.08);
		filter: saturate(1.1);
	}

	.ywraq-home-cats .cat:hover::after {
		opacity: 1;
	}

	.ywraq-home-feat__card:hover .ywraq-home-feat__media img {
		transform: scale(1.04);
	}
}

@media (max-width: 1100px) {
	.ywraq-home-cats .cats {
		grid-template-columns: repeat(6, 1fr);
	}
	.ywraq-home-cats .cat {
		grid-column: span 3;
	}
	.ywraq-home-cats .cat--lg {
		grid-column: span 6;
		grid-row: span 1;
		min-height: 300px;
	}
	.ywraq-home-cats .cat--wide {
		grid-column: span 6;
	}
	.ywraq-home-cats .cat__copy h3 {
		font-size: 1.15rem;
	}
	.ywraq-home-cats .cat--lg .cat__copy h3 {
		font-size: 1.55rem;
	}
}

@media (max-width: 640px) {
	.ywraq-home-cats__head {
		flex-direction: column;
		align-items: flex-start;
	}
	.ywraq-home-cats .cats {
		grid-template-columns: 1fr;
	}
	.ywraq-home-cats .cat,
	.ywraq-home-cats .cat--lg,
	.ywraq-home-cats .cat--wide {
		grid-column: auto;
		min-height: 220px;
	}
	.ywraq-home-cats .cat__copy {
		left: .9rem;
		right: .9rem;
		bottom: .9rem;
	}
	.ywraq-home-cats .cat__copy h3 {
		font-size: 1.12rem;
	}
	.ywraq-home-cats .cat--lg .cat__copy h3 {
		font-size: 1.32rem;
	}
	.ywraq-home-cats .cat__copy p {
		font-size: .92rem;
	}
}

/* ======================================================================== */
/* Sélection pièces phares — [ywraq_home_featured]                          */
/* ======================================================================== */

.ywraq-home-feat {
	--ywraq-hf-max: 1280px;
	--ywraq-hf-radius: 6px;
	--ywraq-hf-snap: cubic-bezier(.16, 1, .3, 1);
	font-family: var(--ywraq-da-body, "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif);
	color: var(--ywraq-da-ink, #0a0f1c);
	-webkit-font-smoothing: antialiased;
	padding: clamp(2.2rem, 5vw, 3.75rem) 0;
	background: #fff;
}

.ywraq-home-feat__wrap {
	max-width: var(--ywraq-hf-max);
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 1.75rem);
}

.ywraq-home-feat__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.5rem;
}

.ywraq-home-feat__kicker {
	margin: 0 0 .55rem;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #8a93a3;
}

.ywraq-home-feat__title {
	margin: 0;
	font-family: var(--ywraq-da-display, "Brico", Georgia, serif);
	font-size: clamp(1.75rem, 3.2vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.1;
	color: var(--ywraq-da-ink, #0a0f1c);
}

.ywraq-home-feat__see {
	flex: 0 0 auto;
	font-size: .92rem;
	font-weight: 700;
	color: var(--ywraq-da-blue, #0b5cab);
	text-decoration: none !important;
	white-space: nowrap;
}

.ywraq-home-feat__see:hover {
	color: var(--ywraq-da-ink, #0a0f1c);
}

.ywraq-home-feat__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.35rem 1.15rem;
}

.ywraq-home-feat__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ywraq-home-feat__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: var(--ywraq-hf-radius);
	overflow: hidden;
	background: #fff;
	text-decoration: none !important;
}

.ywraq-home-feat__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	padding: 0;
	transition: transform .8s var(--ywraq-hf-snap);
}

.ywraq-home-feat__body {
	padding: .85rem 0 0;
	display: grid;
	gap: .28rem;
}

.ywraq-home-feat__name {
	margin: 0;
	font-family: var(--ywraq-da-display, "Brico", Georgia, serif);
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.25;
}

.ywraq-home-feat__name a {
	color: inherit;
	text-decoration: none !important;
}

.ywraq-home-feat__name a:hover {
	color: var(--ywraq-da-blue, #0b5cab);
}

.ywraq-home-feat__price {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: .3rem;
	flex-wrap: wrap;
	font-size: .92rem;
}

.ywraq-home-feat__price-label {
	font-size: .78rem;
	font-weight: 600;
	color: #8a93a3;
}

.ywraq-home-feat__price-value {
	font-weight: 800;
	color: var(--ywraq-da-ink, #0a0f1c);
}

.ywraq-home-feat__price-ht {
	font-size: .72rem;
	font-weight: 700;
	color: #8a93a3;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.ywraq-home-feat__colors {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
	min-width: 0;
}

.ywraq-home-feat__swatches {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

.ywraq-home-feat__swatch {
	display: block;
	width: 14px;
	height: 14px;
	min-width: 14px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sw, #ccc);
	box-shadow: 0 0 0 1px rgba(13, 13, 15, 0.12), 0 0 0 2px #fff;
	box-sizing: content-box;
}

.ywraq-home-feat__swatch-more {
	font-size: 11px;
	font-weight: 700;
	color: #8a93a3;
	margin-left: 2px;
	line-height: 1;
}

.ywraq-home-feat__colors-dot {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: conic-gradient(from 0deg, #ff8fa3 0deg, #ffd166 90deg, #06d6a0 180deg, #118ab2 270deg, #ff8fa3 360deg);
	box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ywraq-home-feat__colors-text {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.01em;
	color: #8a93a3;
	white-space: nowrap;
}

.ywraq-home-feat__colors-num {
	color: var(--ywraq-da-ink, #0a0f1c);
	font-weight: 700;
	margin-right: 2px;
}

.ywraq-home-feat__foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.25rem;
}

.ywraq-home-feat__more {
	font-size: .92rem;
	font-weight: 700;
	color: var(--ywraq-da-blue, #0b5cab);
	text-decoration: none !important;
	white-space: nowrap;
	transition: color .2s;
}

.ywraq-home-feat__more:hover {
	color: var(--ywraq-da-ink, #0a0f1c);
}

@media (max-width: 1100px) {
	.ywraq-home-feat__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.15rem .85rem;
	}
}

@media (max-width: 640px) {
	.ywraq-home-feat__head {
		flex-direction: column;
		align-items: flex-start;
	}
	.ywraq-home-feat__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem .65rem;
	}
	.ywraq-home-feat__name {
		font-size: .92rem;
	}
}

/* ======================================================================== */
/* Techniques de marquage — [ywraq_home_marking]                            */
/* ======================================================================== */

.ywraq-home-mk {
	--ywraq-mk-max: 1280px;
	--ywraq-mk-radius: 6px;
	font-family: var(--ywraq-da-body, "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif);
	color: var(--ywraq-da-ink, #0a0f1c);
	-webkit-font-smoothing: antialiased;
	padding: clamp(2.2rem, 5vw, 3.75rem) 0;
	background: #fff;
}

.ywraq-home-mk__wrap {
	max-width: var(--ywraq-mk-max);
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 1.75rem);
}

.ywraq-home-mk__kicker {
	margin: 0 0 .55rem;
	font-family: var(--ywraq-da-body, "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #8a93a3;
}

.ywraq-home-mk__title {
	margin: 0 0 1.35rem;
	font-family: var(--ywraq-da-display, "Brico", Georgia, serif);
	font-size: clamp(1.75rem, 3.2vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.1;
	color: var(--ywraq-da-ink, #0a0f1c);
}

.ywraq-home-mk__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .5rem;
}

.ywraq-home-mk__card {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: var(--ywraq-mk-radius);
	overflow: hidden;
	text-decoration: none !important;
	isolation: isolate;
}

.ywraq-home-mk__card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ywraq-home-mk__card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(6, 10, 22, .18) 0%, rgba(6, 10, 22, .28) 60%, rgba(6, 10, 22, .48) 100%);
	pointer-events: none;
}

.ywraq-home-mk__label {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: .9rem;
	z-index: 2;
	margin: 0;
	color: #eef1f4;
	font-family: var(--ywraq-da-body, "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 1.22rem;
	font-weight: 500;
	letter-spacing: -.01em;
	line-height: 1.2;
	text-align: left;
}

@media (max-width: 1023px) {
	.ywraq-home-mk__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.ywraq-home-feat__name {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.ywraq-home-mk__label {
		left: .75rem;
		right: .75rem;
		bottom: .7rem;
		font-size: 1.08rem;
	}
}

/* ======================================================================== */
/* Bandeau chiffres — [ywraq_home_stats]                                    */
/* ======================================================================== */

.ywraq-home-stats {
	position: relative;
	isolation: isolate;
	font-family: var(--ywraq-da-body, "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif);
	color: var(--ywraq-da-ink, #0a0f1c);
	background: transparent;
	-webkit-font-smoothing: antialiased;
	padding: clamp(1.6rem, 3.5vw, 2.4rem) 0;
}

.ywraq-home-stats::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: var(--ywraq-da-ice, #f3f5f8);
}

.ywraq-home-stats__wrap {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 1.75rem);
}

.ywraq-home-stats__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.5rem);
}

.ywraq-home-stats__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .35rem;
	min-width: 0;
}

.ywraq-home-stats__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: .35rem;
	border-radius: 50%;
	background: #fff;
	color: var(--ywraq-da-ink, #0a0f1c);
	box-shadow: inset 0 0 0 1px rgba(10, 15, 28, .08);
}

.ywraq-home-stats__icon svg {
	display: block;
}

.ywraq-home-stats__value {
	margin: 0;
	font-family: var(--ywraq-da-display, "Brico", "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: clamp(1.7rem, 2.4vw, 2.15rem);
	font-weight: 600;
	letter-spacing: -.03em;
	line-height: 1;
}

.ywraq-home-stats__label {
	margin: 0;
	max-width: 16rem;
	font-size: .95rem;
	font-weight: 500;
	line-height: 1.35;
	color: rgba(10, 15, 28, .72);
}

@media (max-width: 720px) {
	.ywraq-home-stats__list {
		grid-template-columns: 1fr;
		gap: 1.35rem;
	}
	.ywraq-home-stats__item {
		align-items: flex-start;
	}
}

