/**
 * Charte graphique : cartes de logos et nuancier.
 */
.vr-kit-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 24px;
	margin-top: 40px;
}
.vr-kit-grid > * {
	margin: 0 !important;
}
.vr-kit-card {
	display: flex;
	flex-direction: column;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink, #151916) 12%, transparent);
	border-radius: 4px;
	overflow: hidden;
	background: var(--wp--preset--color--white, #fff);
}
.vr-kit-card > *:not(.vr-kit-preview) {
	margin-inline: 24px !important;
}
.vr-kit-card h3 {
	margin-top: 22px !important;
	margin-bottom: 8px !important;
	font-size: 1.15rem;
}
.vr-kit-card p {
	margin-top: 0 !important;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--wp--preset--color--muted, #626b62);
}
.vr-kit-card .vr-download {
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin-top: auto !important;
	padding: 8px 0 24px;
}
.vr-kit-card .vr-download .wp-block-button,
.vr-kit-card .vr-download .wp-block-button__link {
	width: 100%;
	text-align: center;
}
.vr-kit-card .vr-download .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink, #151916);
	border: 1px solid currentcolor;
}
.vr-kit-card .vr-download-list {
	display: grid;
	gap: 6px;
}
.vr-download-list p {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	color: var(--wp--preset--color--ink, #151916);
}
.vr-download-list strong {
	flex: 1;
	font-size: 0.85rem;
}
.vr-download-list a {
	padding: 5px 12px;
	border: 1px solid currentcolor;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: inherit;
}
.vr-download-list a:hover,
.vr-download-list a:focus-visible {
	background: var(--wp--preset--color--ink, #151916);
	color: var(--wp--preset--color--white, #fff);
}
.vr-kit-preview {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	margin: 0 !important;
	padding: 18px;
	background-image:
		linear-gradient(45deg, rgb(0 0 0 / 4%) 25%, transparent 25%, transparent 75%, rgb(0 0 0 / 4%) 75%),
		linear-gradient(45deg, rgb(0 0 0 / 4%) 25%, transparent 25%, transparent 75%, rgb(0 0 0 / 4%) 75%);
	background-size: 20px 20px;
	background-position: 0 0, 10px 10px;
}
.vr-kit-preview.is-dark {
	background-color: #0b0f14 !important;
	background-image: none;
}
.vr-kit-preview figure {
	margin: 0 !important;
	width: 100%;
}
.vr-kit-preview img {
	display: block;
	width: 100%;
	max-height: 150px;
	object-fit: contain;
}
.vr-kit-tag {
	display: inline-block;
	align-self: flex-start;
	margin-top: 20px !important;
	margin-bottom: 0 !important;
	padding: 3px 9px;
	border-radius: 2px;
	font-size: 0.7rem !important;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink, #151916) !important;
	background: color-mix(in srgb, var(--wp--preset--color--ink, #151916) 7%, transparent);
}

/* Nuancier */
.vr-swatches {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
	gap: 20px;
	margin-top: 40px;
}
.vr-swatches > * {
	margin: 0 !important;
}
.vr-swatch {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink, #151916) 12%, transparent);
	border-radius: 4px;
	overflow: hidden;
	background: var(--wp--preset--color--white, #fff);
	padding-bottom: 16px;
}
.vr-swatch > * {
	margin-inline: 18px !important;
}
.vr-swatch-color {
	height: 130px;
	margin: 0 0 16px !important;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--ink, #151916) 8%, transparent);
}
.vr-swatch h3 {
	margin-top: 0 !important;
	margin-bottom: 4px !important;
	font-size: 1rem;
}
.vr-swatch p {
	margin-top: 0 !important;
	margin-bottom: 6px !important;
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--wp--preset--color--muted, #626b62);
}
.vr-swatch .vr-swatch-label {
	margin-top: 14px !important;
	margin-bottom: 6px !important;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.4;
}
.vr-swatches-note {
	margin-top: 24px !important;
	font-size: 0.85rem;
	color: var(--wp--preset--color--muted, #626b62);
}
.vr-copy {
	position: relative;
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 3px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.85rem !important;
	color: var(--wp--preset--color--ink, #151916) !important;
	background: color-mix(in srgb, var(--wp--preset--color--ink, #151916) 5%, transparent);
	cursor: copy;
	transition: background 0.2s;
}
.vr-copy::after {
	content: "Copier";
	font-family: var(--vr-font-body, inherit);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted, #626b62);
}
.vr-copy:hover,
.vr-copy:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--ink, #151916) 10%, transparent);
	outline: none;
}
.vr-copy.is-copied {
	background: color-mix(in srgb, #1fcaeb 22%, transparent);
}
.vr-copy.is-copied::after {
	content: "Copié ✓";
	color: var(--wp--preset--color--ink, #151916);
}

/* Typographies */
.vr-fonts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 20px;
	margin-top: 40px;
}
.vr-fonts > * {
	margin: 0 !important;
}
.vr-font {
	padding: 0 0 20px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink, #151916) 12%, transparent);
	border-radius: 4px;
	overflow: hidden;
	background: var(--wp--preset--color--white, #fff);
}
.vr-font > * {
	margin-inline: 22px !important;
}
.vr-font .vr-font-sample {
	display: flex;
	align-items: center;
	min-height: 170px;
	margin: 0 0 18px !important;
	padding: 28px 22px;
	color: var(--wp--preset--color--ink, #151916);
	background: color-mix(in srgb, var(--wp--preset--color--mist, #1fcaeb) 10%, var(--wp--preset--color--white, #fff));
	border-bottom: 3px solid var(--wp--preset--color--mist, #1fcaeb);
}
.vr-font.is-titles .vr-font-sample {
	font-family: var(--wp--preset--font-family--chivo, "Chivo", sans-serif);
	font-size: clamp(2rem, 3.4vw, 2.8rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}
.vr-font.is-texts .vr-font-sample {
	font-family: var(--wp--preset--font-family--body, "DM Sans", sans-serif);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	line-height: 1.35;
	text-wrap: balance;
}
.vr-font .vr-swatch-label {
	margin: 0 22px 6px !important;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.vr-font .vr-copy {
	font-size: 1.05rem;
}
.vr-font p:last-child {
	margin-top: 10px !important;
	margin-bottom: 0 !important;
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--wp--preset--color--muted, #626b62);
}
