/*
Theme Name: Impact Colors
Theme URI: https://impactcolors.bf
Author: Impact Colors SARL
Description: Thème sur-mesure d'Impact Colors, atelier de conception, impression et branding à Ouagadougou. Le site est un nuancier d'atelier : sept lames IC-01 à IC-07, une par métier. Fonctionne avec le plugin impact-core et WooCommerce.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: Propriétaire
Text Domain: impact-colors
*/

/* ==========================================================================
   Polices (auto-hébergées)
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Martian Mono";
	src: url("assets/fonts/martian-mono-latin.woff2") format("woff2");
	font-weight: 100 800;
	font-stretch: 75% 112.5%;
	font-display: swap;
}

/* ==========================================================================
   Jetons
   ========================================================================== */

@property --lift {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}

@property --tilt {
	syntax: "<angle>";
	inherits: true;
	initial-value: 0deg;
}

:root {
	--navy: #0B1636;
	--navy-deep: #070E24;
	--navy-raise: #15234D;
	--paper: #FBFBF8;
	--white: #FFFFFF;
	--blue: #0049DC;
	--orange: #FC9303;
	--orange-press: #E48300;

	--ink: var(--navy);
	--ink-soft: #3F4A66;
	--rule: rgba(11, 22, 54, 0.16);
	--rule-strong: rgba(11, 22, 54, 0.32);
	--on-navy: var(--paper);
	--on-navy-soft: #B9C2DC;
	--on-navy-rule: rgba(251, 251, 248, 0.16);

	--f-sans: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--gutter: clamp(16px, 4vw, 48px);
	--wrap: 1320px;
	--head-h: 72px;

	/* Le coin d'une lame : arrondi d'un côté, franc de l'autre. */
	--r: 22px;
	--r-small: 4px;
	--r-btn: 3px 22px 22px 3px;

	--s1: 4px;
	--s2: 8px;
	--s3: 12px;
	--s4: 16px;
	--s5: 24px;
	--s6: 32px;
	--s7: 48px;
	--s8: 64px;
	--s9: 96px;
	--s10: 128px;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--shadow-lame: 0 22px 40px -18px rgba(3, 7, 20, 0.7), 0 3px 6px -2px rgba(3, 7, 20, 0.35);
	--shadow-soft: 0 14px 30px -18px rgba(11, 22, 54, 0.45), 0 2px 4px -1px rgba(11, 22, 54, 0.12);

	--lame: var(--blue);
	--lame-ink: var(--white);
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--head-h) + 16px);
	scrollbar-color: var(--navy) var(--paper);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: 1.0625rem;
	font-stretch: 100%;
	line-height: 1.55;
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	caret-color: var(--orange);
	overflow-x: clip;
}

::selection {
	background: var(--orange);
	color: var(--navy);
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.22em;
}

a:hover {
	text-decoration-color: var(--orange);
}

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
	border-radius: 2px;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 800;
	line-height: 1.05;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

.mono {
	font-family: var(--f-mono);
	font-size: 0.82em;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	z-index: 100;
	padding: var(--s3) var(--s4);
	background: var(--orange);
	color: var(--navy);
	font-weight: 700;
	border-radius: var(--r-btn);
}

.skip:focus {
	top: var(--s3);
}

.wrap {
	width: min(var(--wrap), 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* ==========================================================================
   Titres et boutons
   ========================================================================== */

.h-section {
	font-size: clamp(2rem, 4.2vw, 3.6rem);
	font-stretch: 125%;
	font-weight: 800;
	line-height: 0.96;
	letter-spacing: -0.035em;
}

.h-section--sm {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	letter-spacing: -0.03em;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: var(--s4) var(--s6);
	margin-bottom: var(--s6);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1.5px solid currentColor;
	padding-bottom: 2px;
}

.link-arrow:hover {
	border-color: var(--orange);
}

.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 48px;
	padding: 0 1.3em;
	border: 1.5px solid transparent;
	border-radius: var(--r-btn);
	font-family: var(--f-sans);
	font-size: 1rem;
	font-stretch: 112%;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--lg {
	min-height: 56px;
	padding-inline: 1.5em;
	font-size: 1.0625rem;
}

.btn--primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	background: var(--orange);
	color: var(--navy);
}

.btn--primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--orange-press);
	color: var(--navy);
}

.btn--light {
	background: var(--paper);
	color: var(--navy);
}

.btn--light:hover {
	background: var(--white);
}

.btn--ghost-light {
	border-color: rgba(251, 251, 248, 0.45);
	color: var(--paper);
}

.btn--ghost-light:hover {
	border-color: var(--paper);
}

.btn--ghost {
	border-color: var(--rule-strong);
	background: transparent;
}

.btn--ghost:hover {
	border-color: var(--navy);
}

.btn--ink {
	background: var(--lame-ink);
	color: var(--lame);
}

.btn--ink:hover {
	background: color-mix(in oklab, var(--lame-ink) 86%, var(--lame));
}

.btn--line {
	border-color: currentColor;
	background: transparent;
}

.btn--line:hover {
	background: color-mix(in oklab, currentColor 10%, transparent);
}

.btn .icon {
	width: 1.15em;
	height: 1.15em;
}

/* ==========================================================================
   En-tête
   ========================================================================== */

.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
	color: var(--on-navy);
	border-bottom: 1px solid var(--on-navy-rule);
}

.admin-bar .site-head {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.site-head__bar {
	display: flex;
	align-items: center;
	gap: var(--s6);
	height: var(--head-h);
	padding-inline: var(--gutter);
	max-width: 1600px;
	margin-inline: auto;
}

.site-head__brand {
	flex: none;
}

.site-head__brand .logo {
	width: auto;
	height: 42px;
}

.nav {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav__list {
	display: flex;
	gap: clamp(16px, 2vw, 30px);
	list-style: none;
}

.nav__list a {
	color: var(--on-navy-soft);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	padding-block: 8px;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}

.nav__list a:hover,
.nav__list .current-menu-item > a {
	color: var(--on-navy);
	border-bottom-color: var(--orange);
}

.nav__cta {
	display: none;
}

.site-head__tools {
	display: flex;
	align-items: center;
	gap: var(--s2);
	flex: none;
}

.tool {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 44px;
	min-width: 44px;
	justify-content: center;
	padding: 0 0.6em;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--on-navy);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.tool:hover {
	background: var(--navy-raise);
}

.cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: var(--orange);
	color: var(--navy);
	font-family: var(--f-mono);
	font-size: 0.7rem;
	font-weight: 600;
}

.cart-count[data-count="0"] {
	display: none;
}

.tool--menu {
	display: none;
}

.tool__close {
	display: none;
}

@media (max-width: 1099px) {
	.tool__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.tool--menu {
		display: inline-flex;
	}

	.site-head__bar {
		gap: var(--s3);
	}

	.site-head__brand {
		margin-right: auto;
	}

	.site-head__brand .logo {
		height: 36px;
	}

	.nav {
		position: fixed;
		inset: var(--head-h) 0 0 0;
		z-index: 49;
		display: none;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: var(--s6);
		padding: var(--s6) var(--gutter) var(--s8);
		background: var(--navy);
		overflow-y: auto;
	}

	.admin-bar .nav {
		top: calc(var(--head-h) + var(--wp-admin--admin-bar--height, 46px));
	}

	.nav-open .nav {
		display: flex;
	}

	.nav-open {
		overflow: hidden;
	}

	.nav-open .tool__open {
		display: none;
	}

	.nav-open .tool__close {
		display: inline;
	}

	.nav__list {
		flex-direction: column;
		gap: 0;
	}

	.nav__list a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid var(--on-navy-rule);
		color: var(--on-navy);
		font-size: clamp(1.6rem, 7vw, 2.2rem);
		font-stretch: 125%;
		font-weight: 800;
		letter-spacing: -0.03em;
	}

	.nav__list .current-menu-item > a {
		color: var(--orange);
		border-bottom-color: var(--on-navy-rule);
	}

	.nav__cta {
		display: inline-flex;
		align-self: flex-start;
	}
}

/* ==========================================================================
   Accueil : premier écran et éventail
   ========================================================================== */

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: clamp(640px, calc(100svh - var(--head-h)), 960px);
	background: var(--navy);
	color: var(--on-navy);
	overflow: hidden;
}

.hero__text {
	position: relative;
	z-index: 2;
	width: min(40rem, 46vw);
	margin-left: max(var(--gutter), (100vw - 1600px) / 2 + var(--gutter));
	padding-block: var(--s9) calc(var(--s9) + 40px);
}

.hero__title {
	font-size: clamp(3rem, 6.2vw, 6rem);
	font-stretch: 125%;
	font-weight: 850;
	line-height: 0.9;
	letter-spacing: -0.04em;
}

.hero__lead {
	max-width: 34rem;
	margin-top: var(--s6);
	color: var(--on-navy-soft);
	font-size: clamp(1.06rem, 1.25vw, 1.2rem);
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	margin-top: var(--s7);
}

.fan {
	--bw: clamp(150px, 12.2vw, 224px);
	--bh: min(80vh, 50vw, 780px);
	--drop: 40px;
	--hole-off: 30px;
	position: absolute;
	inset: 0 0 0 38%;
	z-index: 1;
	pointer-events: none;
}

.fan__deck {
	position: absolute;
	left: 66%;
	bottom: calc(-1 * var(--drop));
	width: 0;
	height: 0;
	list-style: none;
}

.lame {
	--a: calc(-31deg + var(--i) * 9.5deg);
	position: absolute;
	left: calc(var(--bw) / -2);
	bottom: calc(-1 * var(--hole-off));
	width: var(--bw);
	height: var(--bh);
	transform-origin: 50% calc(100% - var(--hole-off));
	transform: rotate(calc(var(--a) * (1 - var(--fold, 0)) + var(--tilt))) translateY(var(--lift));
	transition: --lift 0.45s var(--ease-out);
	pointer-events: auto;
	animation: fan-open 1.25s var(--ease-out) backwards;
	animation-delay: calc(0.15s + var(--i) * 0.07s);
}

@keyframes fan-open {
	from {
		transform: rotate(40deg) translateY(0);
	}
}

.lame:hover,
.lame:focus-within {
	--lift: -64px;
	z-index: 10;
}

.lame__link {
	position: relative;
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	height: 100%;
	padding: 10px 9px 92px 0;
	border-radius: var(--r) var(--r) 6px 6px;
	background: var(--lame);
	color: var(--lame-ink);
	text-decoration: none;
	box-shadow: var(--shadow-lame);
}

.lame__link:focus-visible {
	outline-offset: 4px;
	border-radius: var(--r) var(--r) 6px 6px;
}

.lame__photo {
	grid-column: 2;
	grid-row: 1;
	min-height: 0;
	overflow: hidden;
	border-radius: 3px;
	background: color-mix(in oklab, var(--lame) 70%, black);
}

.lame__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 0.4s;
}

.fan__deck:hover .lame:not(:hover) .lame__photo img {
	filter: saturate(0.55) brightness(0.72);
}

/* Code et nom imprimés le long du bord gauche, la partie que la lame suivante ne couvre pas. */
.lame__label {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	white-space: nowrap;
	overflow: hidden;
}

.lame__code {
	font-family: var(--f-mono);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.lame__name {
	font-size: clamp(0.95rem, 1vw, 1.1rem);
	font-stretch: 112%;
	font-weight: 780;
	line-height: 1.05;
	letter-spacing: -0.015em;
}

.lame__hole {
	position: absolute;
	left: 50%;
	bottom: var(--hole-off);
	width: 20px;
	height: 20px;
	margin: 0 0 -10px -10px;
	border-radius: 50%;
	background: var(--navy);
	box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
}

.fan__rivet {
	position: absolute;
	left: 66%;
	bottom: calc(-1 * var(--drop));
	width: 104px;
	height: 104px;
	margin: 0 0 -52px -52px;
	border-radius: 50%;
	background: var(--navy-raise);
	border: 2px solid rgba(251, 251, 248, 0.5);
	box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.35);
	z-index: 20;
}

.fan__rivet::after {
	content: "";
	position: absolute;
	inset: 26px;
	border-radius: 50%;
	border: 2px solid rgba(251, 251, 248, 0.28);
}

@media (prefers-reduced-motion: reduce) {
	.lame {
		animation: none;
		transition: none;
	}
}

@media (max-width: 859px) {
	.hero {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}

	.hero__text {
		width: auto;
		margin: 0;
		padding: var(--s7) var(--gutter) var(--s5);
	}

	.hero__title {
		font-size: clamp(2.6rem, 12vw, 4rem);
	}

	.hero__lead {
		margin-top: var(--s5);
	}

	.hero__actions {
		margin-top: var(--s6);
	}

	.hero__actions .btn {
		flex: 1 1 auto;
	}

	.hero__actions .btn--primary {
		flex-basis: 100%;
	}

	.fan {
		--bw: min(58vw, 230px);
		--bh: calc(var(--bw) * 1.62);
		--hole-off: 22px;
		position: relative;
		inset: auto;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		pointer-events: auto;
	}

	.fan::-webkit-scrollbar {
		display: none;
	}

	.fan__deck {
		position: static;
		display: flex;
		gap: 14px;
		width: max-content;
		height: auto;
		padding: var(--s6) calc(var(--gutter) + 12px) var(--s8);
	}

	.lame {
		position: relative;
		left: auto;
		bottom: auto;
		flex: none;
		scroll-snap-align: center;
		transform-origin: 50% 100%;
		transform: rotate(calc((var(--i) - 3) * 2.2deg)) translateY(calc(max(var(--i) - 3, 3 - var(--i)) * 7px + var(--lift)));
		animation: none;
	}

	.lame:hover,
	.lame:focus-within {
		--lift: -10px;
	}

	.lame__link {
		padding-bottom: 56px;
	}

	.lame__label {
		justify-content: flex-start;
	}

	.fan__deck:hover .lame:not(:hover) .lame__photo img {
		filter: none;
	}

	.fan__rivet {
		display: none;
	}
}

/* ==========================================================================
   Métiers : les lames posées à plat
   ========================================================================== */

.metiers {
	padding-top: var(--s9);
}

.metiers__head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: var(--s5) var(--s8);
	align-items: end;
	margin-bottom: var(--s7);
}

.metiers__intro {
	max-width: 36rem;
	color: var(--ink-soft);
	font-size: 1.12rem;
}

.strips {
	display: grid;
	padding-right: var(--gutter);
}

.strip {
	position: relative;
	background: var(--lame);
	color: var(--lame-ink);
	border-radius: 0 var(--r) var(--r) 0;
	margin-top: -18px;
	box-shadow: 0 -10px 22px -16px rgba(3, 7, 20, 0.55);
}

.strip:first-child {
	margin-top: 0;
}

.strip__sum {
	display: block;
	list-style: none;
	cursor: pointer;
	padding: 34px 0 calc(22px + 18px);
}

.strip__sum::-webkit-details-marker {
	display: none;
}

.strip__sum-inner {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--s4);
}

.strip__code {
	font-family: var(--f-mono);
	font-size: 0.82rem;
	font-weight: 500;
}

.strip__name {
	font-size: clamp(1.45rem, 3.3vw, 2.9rem);
	font-stretch: 125%;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.035em;
}

.strip__toggle {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	transition: transform 0.45s var(--ease-out);
}

.strip[open] .strip__toggle {
	transform: rotate(45deg);
}

.strip__sum:hover .strip__toggle {
	background: color-mix(in oklab, var(--lame-ink) 14%, transparent);
}

.strip__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: var(--s6) var(--s8);
	padding-bottom: calc(var(--s8) + 18px);
	padding-left: calc(6.5rem + var(--s4));
}

.strip__lead {
	font-size: 1.15rem;
	line-height: 1.5;
	max-width: 38rem;
}

.strip__services {
	display: grid;
	gap: 0;
	margin-top: var(--s5);
	list-style: none;
	border-top: 1px solid color-mix(in oklab, var(--lame-ink) 30%, transparent);
}

.strip__services li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px var(--s4);
	padding: 10px 0;
	border-bottom: 1px solid color-mix(in oklab, var(--lame-ink) 30%, transparent);
	font-size: 0.98rem;
}

/* Format ou dimension d'un service : une référence imprimée, jamais du texte courant. */
.measure {
	font-family: var(--f-mono);
	font-size: 0.7rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	line-height: 1.4;
	white-space: nowrap;
}

.strip__services .measure {
	margin-left: auto;
}

.strip__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	margin-top: var(--s6);
}

.strip__proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	align-self: start;
}

.strip__shot {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	border-radius: 14px 14px 3px 3px;
	background: color-mix(in oklab, var(--lame) 70%, black);
	box-shadow: 0 14px 26px -16px rgba(3, 7, 20, 0.6);
}

.strip__shot:only-child {
	grid-column: span 2;
}

.strip__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.strip__shot:nth-child(2) {
	transform: translateY(var(--s6));
}

@media (max-width: 899px) {
	.metiers__head {
		grid-template-columns: 1fr;
	}

	.strip__sum-inner {
		grid-template-columns: 3.4rem minmax(0, 1fr) auto;
		align-items: baseline;
		gap: var(--s3);
	}

	.strip__code {
		font-size: 0.7rem;
	}

	.strip__toggle {
		align-self: center;
		width: 44px;
		height: 44px;
	}

	.strip__body {
		grid-template-columns: 1fr;
		padding-left: 0;
	}

	.strip__shot:nth-child(2) {
		transform: none;
	}
}

/* ==========================================================================
   Réalisations : la mosaïque
   ========================================================================== */

.proof {
	padding-block: var(--s10) var(--s9);
}

/* Chaque réalisation est une lame sortie du nuancier et posée à plat :
   champ plein de la teinte du métier, photo encastrée, pied imprimé en mono,
   trou de rivet au pied. Toutes les lames ont le même format, comme dans le jeu. */
.mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--s6) var(--s5);
	list-style: none;
}

.tile {
	min-width: 0;
}

.tile__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 9px 9px 0;
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
	background: var(--lame);
	color: var(--lame-ink);
	text-decoration: none;
	box-shadow: var(--shadow-soft);
	transform-origin: 50% calc(100% - 22px);
	transition: transform 0.35s var(--ease-out);
}

/* La lame bascule autour de son propre rivet. */
.tile__link:hover,
.tile__link:focus-visible {
	transform: rotate(-2deg);
}

.tile__link:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 4px;
}

.tile__photo {
	display: block;
	overflow: hidden;
	border-radius: calc(var(--r) - 9px) calc(var(--r) - 9px) 3px 3px;
	background: color-mix(in oklab, var(--lame) 70%, var(--navy));
}

.tile__img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.tile__foot {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 14px 5px 46px;
}

.tile__title {
	font-weight: 720;
	font-stretch: 106%;
	line-height: 1.2;
}

.tile__client {
	font-size: 0.86rem;
	line-height: 1.3;
	opacity: 0.85;
}

.tile__data {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px var(--s3);
	margin-top: auto;
	padding-top: var(--s3);
	border-top: 1px dashed color-mix(in oklab, var(--lame-ink) 40%, transparent);
	font-family: var(--f-mono);
	font-size: 0.66rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	line-height: 1.4;
}

.tile__metier {
	text-align: right;
}

/* Trou poinçonné au pied : on voit le papier au travers. */
.tile__hole {
	position: absolute;
	left: 50%;
	bottom: 22px;
	width: 16px;
	height: 16px;
	margin: 0 0 -8px -8px;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 999px) {
	.mosaic {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 699px) {
	.mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--s5) var(--s3);
	}

	.tile__link {
		padding: 7px 7px 0;
		border-radius: 18px 18px var(--r-small) var(--r-small);
	}

	.tile__photo {
		border-radius: 11px 11px 3px 3px;
	}

	.tile__foot {
		padding: 12px 3px 40px;
	}

	.tile__title {
		font-size: 0.92rem;
	}

	.tile__client {
		font-size: 0.8rem;
	}

	.tile__data {
		flex-direction: column;
		font-size: 0.6rem;
	}

	.tile__metier {
		text-align: left;
	}

	.tile__hole {
		bottom: 18px;
	}
}

/* ==========================================================================
   Simulateur : le bon d'atelier
   ========================================================================== */

.estimate {
	padding-block: var(--s9);
	background: var(--white);
	border-block: 1px solid var(--rule);
}

.estimate__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
	gap: var(--s7) var(--s8);
	align-items: start;
}

.estimate__intro {
	position: sticky;
	top: calc(var(--head-h) + var(--s6));
	display: grid;
	gap: var(--s5);
	justify-items: start;
}

.estimate__intro p {
	color: var(--ink-soft);
	max-width: 30rem;
}

@media (max-width: 999px) {
	.estimate__grid {
		grid-template-columns: 1fr;
	}

	.estimate__intro {
		position: static;
	}
}

.sim {
	display: grid;
	gap: var(--s5);
}

@media (min-width: 1000px) {
	.sim {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
		align-items: start;
	}
}

.sim__form {
	display: grid;
	gap: var(--s5);
	min-width: 0;
}

.sim__legend,
.sim__label {
	display: block;
	margin-bottom: var(--s2);
	padding: 0;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.sim__supports {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
}

.sim__support {
	position: relative;
	display: grid;
	grid-template-columns: 4.6rem minmax(0, 1fr);
	align-items: stretch;
	min-height: 48px;
	border: 1.5px solid var(--rule);
	border-radius: var(--r-small) 16px 16px var(--r-small);
	background: var(--paper);
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.2s;
}

.sim__support:hover {
	border-color: var(--rule-strong);
}

.sim__support input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sim__support-code {
	display: grid;
	place-items: center;
	color: var(--ink-soft);
	font-family: var(--f-mono);
	font-size: 0.7rem;
	font-weight: 500;
}

.sim__support-name {
	align-self: center;
	padding: 8px 14px;
	font-weight: 600;
	line-height: 1.25;
}

.sim__support:has(input:checked) {
	border-color: var(--lame);
	background: var(--lame);
	color: var(--lame-ink);
	box-shadow: var(--shadow-soft);
}

.sim__support:has(input:checked) .sim__support-code {
	color: var(--lame-ink);
}

.sim__support:has(input:checked) .sim__support-name {
	font-weight: 780;
}

.sim__support:has(input:focus-visible) {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
}

.sim__fields {
	display: grid;
	gap: var(--s5);
}

.sim__dims {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s3);
}

.sim__field {
	display: block;
}

.sim__input {
	display: flex;
	align-items: stretch;
	border: 1.5px solid var(--rule-strong);
	border-radius: 6px;
	background: var(--white);
	overflow: hidden;
}

.sim__input:focus-within {
	border-color: var(--navy);
	outline: 3px solid var(--orange);
	outline-offset: 1px;
}

.sim__input input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	font-family: var(--f-mono);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	outline: none;
}

.sim__suffix {
	display: grid;
	place-items: center;
	padding: 0 14px;
	background: var(--paper);
	border-left: 1px solid var(--rule);
	font-family: var(--f-mono);
	font-size: 0.75rem;
	color: var(--ink-soft);
	white-space: nowrap;
}

.sim__choice {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.sim__seg {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sim__seg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sim__seg label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--rule-strong);
	border-radius: var(--r-small) 14px 14px var(--r-small);
	background: var(--white);
	font-size: 0.94rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}

.sim__seg label:hover {
	border-color: var(--navy);
}

.sim__seg input:checked + label {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--paper);
}

.sim__seg input:focus-visible + label {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
}

.sim__ticket {
	position: sticky;
	top: calc(var(--head-h) + var(--s5));
	display: grid;
	gap: var(--s4);
	padding: 0 0 var(--s5);
	border: 1.5px solid var(--navy);
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
	background: var(--paper);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.sim__ticket > *:not(.sim__ticket-head):not(.sim__lines) {
	margin-inline: var(--s5);
}

.sim__ticket-head {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--s4);
	padding: var(--s5);
	background: var(--lame);
	color: var(--lame-ink);
	transition: background-color 0.35s, color 0.35s;
}

.sim__ticket-code {
	flex: none;
	white-space: nowrap;
	font-family: var(--f-mono);
	font-size: 0.72rem;
}

.sim__ticket-title {
	font-size: 1.35rem;
	font-stretch: 118%;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.sim__lines {
	width: calc(100% - 2 * var(--s5));
	margin-inline: var(--s5);
	border-collapse: collapse;
	font-family: var(--f-mono);
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
}

.sim__lines th,
.sim__lines td {
	padding: 10px 0;
	border-bottom: 1px dashed var(--rule-strong);
	vertical-align: top;
	text-align: left;
}

.sim__lines th {
	width: 28%;
	padding-right: 8px;
	font-weight: 600;
}

.sim__detail {
	color: var(--ink-soft);
	padding-right: 8px !important;
}

.sim__amount {
	text-align: right !important;
	white-space: nowrap;
	font-weight: 600;
}

.sim__lines tr.is-changed td,
.sim__lines tr.is-changed th {
	animation: line-flash 1.1s var(--ease-out);
}

@keyframes line-flash {
	from {
		background: color-mix(in oklab, var(--lame) 32%, transparent);
	}
}

.sim__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--s4);
	padding-top: var(--s2);
	font-weight: 700;
}

.sim__total output {
	font-family: var(--f-mono);
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.sim__unit,
.sim__note,
.sim__demo {
	font-size: 0.86rem;
	color: var(--ink-soft);
}

.sim__unit {
	margin-top: calc(-1 * var(--s3));
	text-align: right;
	font-family: var(--f-mono);
	font-size: 0.7rem;
}

.sim__note {
	font-weight: 600;
	color: var(--ink);
}

.sim__demo {
	padding-top: var(--s3);
	border-top: 1px solid var(--rule);
}

.sim__cta {
	justify-self: stretch;
}

@media (prefers-reduced-motion: reduce) {
	.sim__lines tr.is-changed td,
	.sim__lines tr.is-changed th {
		animation: none;
	}
}

/* ==========================================================================
   Boutique (accueil et métiers)
   ========================================================================== */

.shelf {
	padding-block: var(--s10) var(--s9);
}

.shelf--flat {
	padding-block: var(--s8);
}

.shelf__note {
	margin: calc(-1 * var(--s4)) 0 var(--s6);
	color: var(--ink-soft);
	max-width: 40rem;
}

.shelf__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 20px;
	list-style: none;
}

.product-lame {
	--lame: var(--navy);
	--lame-ink: var(--paper);
}

.product-lame__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 8px 8px 0;
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
	background: var(--lame);
	color: var(--lame-ink);
	text-decoration: none;
	box-shadow: var(--shadow-soft);
	transition: transform 0.4s var(--ease-out);
}

.product-lame__link:hover {
	transform: translateY(-4px);
}

.product-lame__photo {
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: calc(var(--r) - 7px) calc(var(--r) - 7px) 3px 3px;
	background: var(--white);
}

.product-lame__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-lame__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px var(--s3);
	padding: 14px 6px 18px;
}

.product-lame__code {
	order: 2;
}

.product-lame__foot .price-mono,
.product-lame__foot .demo-mark {
	order: 3;
	flex-basis: 100%;
}

.product-lame__code {
	font-family: var(--f-mono);
	font-size: 0.68rem;
}

.product-lame__name {
	font-weight: 720;
	font-stretch: 106%;
	line-height: 1.2;
}

.price-mono,
.woocommerce .price,
.woocommerce-Price-amount,
.wc-block-components-product-price {
	font-family: var(--f-mono);
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.product-lame .price-mono {
	margin-top: 2px;
	font-size: 0.9rem;
}

.demo-mark {
	display: block;
	font-family: var(--f-mono);
	font-size: 0.62rem;
	opacity: 0.8;
}

.woocommerce ul.products li.product .demo-mark {
	padding: 4px 6px 12px;
	color: var(--ink-soft);
	opacity: 1;
}

.product-lame .price-mono del {
	opacity: 0.7;
}

.product-lame .price-mono ins {
	text-decoration: none;
}

/* ==========================================================================
   Parrainage
   ========================================================================== */

.referral {
	padding-block: var(--s9);
	background: var(--orange);
	color: var(--navy);
}

.referral__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--s7) var(--s9);
	align-items: start;
}

.referral__lead {
	max-width: 34rem;
	margin: var(--s5) 0 var(--s6);
	font-size: 1.12rem;
}

.referral .btn--ink {
	--lame: var(--orange);
	--lame-ink: var(--navy);
}

.referral__steps {
	list-style: none;
	border-top: 1.5px solid var(--navy);
}

.referral__steps li {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: var(--s4);
	align-items: baseline;
	padding: var(--s5) 0;
	border-bottom: 1.5px solid var(--navy);
}

.referral__n {
	font-size: 3.4rem;
	font-stretch: 125%;
	font-weight: 850;
	line-height: 0.8;
	letter-spacing: -0.05em;
}

.referral__step {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
}

.referral__step .mono {
	white-space: nowrap;
}

.referral__demo {
	grid-column: 1 / -1;
	font-family: var(--f-mono);
	font-size: 0.72rem;
}

@media (max-width: 899px) {
	.referral__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Actualités et partenaires
   ========================================================================== */

.journal {
	padding-block: var(--s9);
}

.journal__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: var(--s8);
	align-items: start;
}

@media (max-width: 899px) {
	.journal__grid {
		grid-template-columns: 1fr;
	}
}

.news-list {
	list-style: none;
	border-top: 1.5px solid var(--navy);
}

.news-row {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	gap: 4px var(--s5);
	padding: var(--s5) 0;
	border-bottom: 1px solid var(--rule);
}

.news-row > :not(.news-row__date):not(.news-row__thumb) {
	grid-column: 2;
}

.news-row__date {
	grid-column: 1;
	grid-row: 1 / span 3;
	padding-top: 4px;
	font-family: var(--f-mono);
	font-size: 0.72rem;
	color: var(--ink-soft);
}

.news-row__title {
	font-size: 1.18rem;
	font-weight: 750;
	font-stretch: 106%;
	line-height: 1.25;
	text-decoration: none;
}

.news-row__title:hover {
	text-decoration: underline;
	text-decoration-color: var(--orange);
}

.news-row .demo-mark {
	grid-column: 2;
	color: var(--ink-soft);
	opacity: 1;
}

.post .demo-mark {
	margin-top: var(--s2);
	color: var(--ink-soft);
	opacity: 1;
}

.news-row__excerpt {
	color: var(--ink-soft);
	max-width: 62ch;
}

.news-list--wide .news-row {
	grid-template-columns: 7rem minmax(0, 1fr) 200px;
}

.news-row__thumb {
	grid-column: 3;
	grid-row: 1 / span 3;
	overflow: hidden;
	border-radius: 12px 12px 3px 3px;
}

@media (max-width: 699px) {
	.news-row,
	.news-list--wide .news-row {
		grid-template-columns: 1fr;
	}

	.news-row > :not(.news-row__date):not(.news-row__thumb),
	.news-row__date {
		grid-column: 1;
		grid-row: auto;
	}

	.news-row__thumb {
		grid-column: 1;
		grid-row: auto;
	}
}

/* Partenaires : une seule rangée de lames posées côte à côte, rivet en pied. */
.partners {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	border-top: 1.5px solid var(--navy);
	border-left: 1px solid var(--rule);
}

.partner__inner {
	position: relative;
	display: grid;
	align-content: space-between;
	gap: var(--s5);
	height: 100%;
	min-height: 168px;
	padding: var(--s4) var(--s4) 44px;
	border-right: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	text-decoration: none;
}

.partner__inner::after {
	content: "";
	position: absolute;
	left: var(--s4);
	bottom: 16px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1.5px solid var(--rule-strong);
}

a.partner__inner:hover {
	background: var(--white);
}

@media (min-width: 700px) {
	.listing .partners {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.partner__name {
	font-size: 1.1rem;
	font-stretch: 118%;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.partner__logo {
	max-height: 56px;
	width: auto;
	object-fit: contain;
}

.partner__note {
	font-family: var(--f-mono);
	font-size: 0.66rem;
	color: var(--ink-soft);
}

/* ==========================================================================
   Clôture et pied de page
   ========================================================================== */

.close {
	padding-block: var(--s9);
	background: var(--navy);
	color: var(--on-navy);
}

.close__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: var(--s6) var(--s8);
	align-items: end;
}

.close__title {
	font-size: clamp(2.4rem, 5.4vw, 5rem);
	font-stretch: 125%;
	font-weight: 850;
	line-height: 0.92;
	letter-spacing: -0.04em;
}

.close__body {
	display: grid;
	gap: var(--s6);
	justify-items: start;
}

.close__body p {
	color: var(--on-navy-soft);
	font-size: 1.1rem;
}

@media (max-width: 899px) {
	.close__grid {
		grid-template-columns: 1fr;
	}
}

.site-foot {
	background: var(--navy-deep);
	color: var(--on-navy-soft);
	font-size: 0.95rem;
}

.site-foot__swatches {
	display: flex;
	height: 10px;
}

.site-foot__swatches span {
	flex: 1;
}

.site-foot__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
	gap: var(--s7) var(--s6);
	padding-block: var(--s8) var(--s7);
}

.site-foot__brand .logo {
	width: 190px;
	height: auto;
}

.site-foot__sign {
	max-width: 22rem;
	margin-top: var(--s5);
	color: var(--on-navy);
	font-weight: 600;
	font-stretch: 106%;
	line-height: 1.35;
}

.site-foot__h {
	margin-bottom: var(--s4);
	color: var(--on-navy);
	font-size: 0.95rem;
	font-weight: 750;
}

.site-foot__col ul {
	display: grid;
	gap: 10px;
	list-style: none;
}

.site-foot__col a {
	text-decoration: none;
}

.site-foot__col a:hover {
	color: var(--on-navy);
	text-decoration: underline;
	text-decoration-color: var(--orange);
}

.site-foot__metiers .mono {
	display: inline-block;
	width: 3.6rem;
	color: var(--on-navy);
}

.site-foot__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.site-foot__contact .icon {
	margin-top: 1px;
	color: var(--orange);
}

.site-foot__todo a {
	color: var(--orange);
}

.site-foot__col > .btn {
	margin-top: var(--s5);
}

.site-foot__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s4);
	padding-block: var(--s5) var(--s6);
	border-top: 1px solid var(--on-navy-rule);
	font-size: 0.85rem;
}

.site-foot__legal-menu {
	display: flex;
	gap: var(--s5);
	list-style: none;
}

@media (max-width: 999px) {
	.site-foot__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 599px) {
	.site-foot__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

.page-head {
	position: relative;
	padding-block: var(--s8) calc(var(--s7) + 10px);
	background: var(--navy);
	color: var(--on-navy);
}

.page-head__inner {
	display: grid;
	gap: var(--s4);
}

.page-head__title {
	max-width: 18ch;
	font-size: clamp(2.4rem, 5.6vw, 4.8rem);
	font-stretch: 125%;
	font-weight: 850;
	line-height: 0.92;
	letter-spacing: -0.04em;
}

.page-head__lead {
	max-width: 40rem;
	color: var(--on-navy-soft);
	font-size: 1.12rem;
}

.page-head__rivet {
	position: absolute;
	inset: auto 0 0 0;
	height: 10px;
	background: linear-gradient(90deg, #7A3FD0 0 14.28%, #FC9303 0 28.57%, #0049DC 0 42.85%, #12B5CB 0 57.14%, #14A06B 0 71.42%, #D9232B 0 85.71%, #F5C200 0);
}

.page-body {
	padding-block: var(--s8) var(--s9);
}

.listing {
	padding-block: var(--s7) var(--s9);
}

.empty {
	padding: var(--s8) 0;
	color: var(--ink-soft);
	font-size: 1.1rem;
}

.prose {
	max-width: 70ch;
}

.prose > * + * {
	margin-top: 1em;
}

.prose h2 {
	margin-top: 1.8em;
	font-size: 1.8rem;
	font-stretch: 118%;
	letter-spacing: -0.025em;
}

.prose h3 {
	margin-top: 1.5em;
	font-size: 1.3rem;
}

.prose ul,
.prose ol {
	padding-left: 1.2em;
}

.prose li + li {
	margin-top: 0.35em;
}

/* Pages qui portent un formulaire ou WooCommerce : pleine largeur. */
.page-body:has(.sim),
.page-body:has(.devis),
.page-body:has(.woocommerce),
.page-body:has(.wp-block-woocommerce-cart),
.page-body:has(.wp-block-woocommerce-checkout) {
	max-width: none;
}

.page-body > .sim {
	margin-top: 0;
}

/* Filtre des réalisations */
.filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: var(--s7);
}

.filter__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--rule-strong);
	border-radius: var(--r-small) 16px 16px var(--r-small);
	font-weight: 650;
	font-size: 0.94rem;
	text-decoration: none;
	background: var(--white);
}

.filter__item:hover {
	border-color: var(--navy);
}

.filter__item.is-current {
	background: var(--lame, var(--navy));
	border-color: var(--lame, var(--navy));
	color: var(--lame-ink, var(--paper));
}

.filter__item:not([style]).is-current {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--paper);
}

/* Page métier */
.metier-hero {
	position: relative;
	padding-block: var(--s8) 0;
	background: var(--lame);
	color: var(--lame-ink);
	overflow: hidden;
}

.metier-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: var(--s7) var(--s8);
	align-items: end;
}

.metier-hero__text {
	padding-bottom: var(--s8);
}

.metier-hero__code {
	font-family: var(--f-mono);
	font-size: 0.85rem;
}

.metier-hero__title {
	margin-top: 0;
	font-size: clamp(2.6rem, 6.4vw, 6rem);
	font-stretch: 125%;
	font-weight: 850;
	line-height: 0.9;
	letter-spacing: -0.045em;
}

.metier-hero__lead {
	max-width: 38rem;
	margin-top: var(--s6);
	font-size: 1.15rem;
	line-height: 1.5;
}

.metier-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	margin-top: var(--s6);
}

.metier-hero__photo {
	position: relative;
	margin: 0;
	padding: 10px 10px 74px;
	border-radius: var(--r) var(--r) 0 0;
	background: color-mix(in oklab, var(--lame) 82%, var(--navy));
	box-shadow: var(--shadow-lame);
	transform: rotate(calc(4deg + var(--swing, 0deg)));
	transform-origin: 50% 100%;
	margin-bottom: -24px;
}

.metier-hero__photo img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: calc(var(--r) - 8px) calc(var(--r) - 8px) 3px 3px;
}

.metier-hero__photo .lame__hole {
	bottom: 46px;
	background: var(--lame);
}

.metier-hero__photo figcaption {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 38px;
	display: flex;
	justify-content: space-between;
	font-family: var(--f-mono);
	font-size: 0.72rem;
	color: var(--lame-ink);
}

@media (max-width: 799px) {
	.metier-hero__grid {
		grid-template-columns: 1fr;
	}

	.metier-hero__text {
		padding-bottom: 0;
	}

	.metier-hero__photo {
		width: min(78%, 340px);
		justify-self: center;
	}
}

.metier-services,
.metier-works {
	padding-block: var(--s8) 0;
}

.services-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 0 var(--s6);
	margin-top: var(--s6);
	list-style: none;
	border-top: 1.5px solid var(--navy);
}

.services-list li {
	display: grid;
	grid-template-columns: 4.6rem minmax(0, 1fr);
	gap: var(--s3);
	padding: var(--s4) 0;
	border-bottom: 1px solid var(--rule);
	font-weight: 600;
	line-height: 1.35;
}

.services-list .measure {
	display: block;
	margin-top: 6px;
	color: var(--ink-soft);
}

.services-list__n {
	padding-top: 3px;
	font-family: var(--f-mono);
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--ink-soft);
}

.metier-works .mosaic {
	margin-top: var(--s6);
}

.estimate--flat {
	margin-top: var(--s8);
}

.metier-nav {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
	padding-block: var(--s8);
}

.metier-nav__item {
	display: grid;
	align-content: space-between;
	gap: var(--s4);
	min-height: 112px;
	padding: 14px;
	border-radius: 16px 16px var(--r-small) var(--r-small);
	background: var(--lame);
	color: var(--lame-ink);
	text-decoration: none;
	font-weight: 750;
	font-stretch: 106%;
	line-height: 1.15;
	transition: transform 0.35s var(--ease-out);
	transform-origin: 50% 100%;
}

.metier-nav__item:hover {
	transform: rotate(-2deg);
}

.metier-nav__item.is-current {
	outline: 3px solid var(--navy);
	outline-offset: 3px;
}

@media (max-width: 899px) {
	.metier-nav {
		grid-template-columns: repeat(7, 160px);
		overflow-x: auto;
		width: auto;
		padding-inline: var(--gutter);
		scroll-snap-type: x proximity;
	}

	.metier-nav__item {
		scroll-snap-align: start;
	}
}

/* Réalisation seule */
.work {
	padding-block: var(--s8) var(--s9);
}

.work__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: var(--s7) var(--s8);
	align-items: start;
}

.work__photo {
	margin: 0;
	padding: 10px 10px 48px;
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
	background: var(--lame);
	box-shadow: var(--shadow-soft);
}

.work__photo img {
	width: 100%;
	border-radius: calc(var(--r) - 8px) calc(var(--r) - 8px) 3px 3px;
}

.work__info {
	position: sticky;
	top: calc(var(--head-h) + var(--s6));
	display: grid;
	gap: var(--s4);
	justify-items: start;
}

.work__code {
	padding: 6px 12px;
	border-radius: var(--r-small) 14px 14px var(--r-small);
	background: var(--lame);
	color: var(--lame-ink);
	font-family: var(--f-mono);
	font-size: 0.72rem;
	text-decoration: none;
}

.work__title {
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-stretch: 125%;
	font-weight: 850;
	line-height: 0.95;
	letter-spacing: -0.035em;
}

.work__client {
	color: var(--ink-soft);
	font-weight: 600;
}

.work__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	margin-top: var(--s4);
}

@media (max-width: 899px) {
	.work__grid {
		grid-template-columns: 1fr;
	}

	.work__info {
		position: static;
	}
}

/* Article */
.post {
	padding-block: var(--s8) var(--s9);
}

.post__head {
	display: grid;
	gap: var(--s4);
	max-width: 60rem;
}

.post__date {
	font-family: var(--f-mono);
	font-size: 0.75rem;
	color: var(--ink-soft);
}

.post__title {
	font-size: clamp(2.2rem, 5vw, 4.2rem);
	font-stretch: 125%;
	font-weight: 850;
	line-height: 0.95;
	letter-spacing: -0.04em;
}

.post__cover {
	margin-top: var(--s7);
}

.post__cover img {
	width: 100%;
	max-height: 70vh;
	object-fit: cover;
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
}

.post__body {
	margin-top: var(--s7);
	font-size: 1.12rem;
}

.post__nav {
	display: flex;
	justify-content: space-between;
	gap: var(--s5);
	margin-top: var(--s8);
	padding-top: var(--s5);
	border-top: 1px solid var(--rule);
	font-weight: 650;
}

.pagination {
	margin-top: var(--s7);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-family: var(--f-mono);
	font-size: 0.8rem;
}

.nav-links .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--rule-strong);
	border-radius: var(--r-small) 14px 14px var(--r-small);
	text-decoration: none;
}

.nav-links .current {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--paper);
}

/* ==========================================================================
   Formulaires
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	width: 100%;
	min-height: 48px;
	padding: 0.65em 0.9em;
	border: 1.5px solid var(--rule-strong);
	border-radius: 6px;
	background: var(--white);
	color: var(--ink);
	line-height: 1.4;
}

textarea {
	min-height: 140px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: 3px solid var(--orange);
	outline-offset: 1px;
	border-color: var(--navy);
}

::placeholder {
	color: #69728A;
	opacity: 1;
}

label {
	font-weight: 650;
}

.field {
	display: grid;
	gap: 6px;
}

.field__opt {
	font-family: var(--f-mono);
	font-size: 0.66rem;
	font-weight: 400;
	color: var(--ink-soft);
}

.devis {
	display: grid;
	gap: var(--s5);
	max-width: 56rem;
}

.devis__hp {
	position: absolute;
	left: -9999px;
}

.devis__metiers {
	margin: 0;
	padding: 0;
	border: 0;
}

.devis__metiers legend {
	margin-bottom: var(--s3);
	font-weight: 750;
	font-size: 1.1rem;
}

.devis__lames {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
	gap: 8px;
}

.devis__lame {
	position: relative;
	display: grid;
	align-content: space-between;
	gap: var(--s3);
	min-height: 96px;
	padding: 12px 14px;
	border-radius: 14px 14px var(--r-small) var(--r-small);
	background: var(--lame);
	color: var(--lame-ink);
	cursor: pointer;
	transition: transform 0.35s var(--ease-out);
	transform-origin: 50% 100%;
}

.devis__lame:hover {
	transform: rotate(-2deg);
}

.devis__lame input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.devis__lame-code {
	font-family: var(--f-mono);
	font-size: 0.68rem;
}

.devis__lame-name {
	font-weight: 750;
	line-height: 1.15;
}

.devis__lame:has(input:checked) {
	outline: 3px solid var(--navy);
	outline-offset: 3px;
	transform: translateY(-6px);
}

.devis__lame:has(input:focus-visible) {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
}

.devis__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: var(--s5);
}

.devis .btn {
	justify-self: start;
}

.devis__errors {
	padding: var(--s4) var(--s5);
	border: 1.5px solid #B3261E;
	border-radius: 8px;
	background: #FDECEA;
	color: #6E120C;
}

.devis__errors ul {
	margin-top: 6px;
	padding-left: 1.2em;
}

.devis-done {
	max-width: 44rem;
	padding: var(--s6);
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
	background: var(--navy);
	color: var(--on-navy);
}

.devis-done__title {
	margin-bottom: var(--s3);
	font-size: 2rem;
	font-stretch: 125%;
	font-weight: 850;
	letter-spacing: -0.03em;
}

/* ==========================================================================
   WooCommerce
   ========================================================================== */

.shop {
	padding-block: var(--s7) var(--s9);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: var(--s6);
}

.woocommerce .woocommerce-result-count {
	font-family: var(--f-mono);
	font-size: 0.75rem;
	color: var(--ink-soft);
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: 24px;
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	float: none;
	width: auto;
	margin: 0;
	display: flex;
	flex-direction: column;
	padding: 8px 8px 16px;
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
	background: var(--white);
	border: 1.5px solid var(--rule);
}

.woocommerce ul.products li.product a img {
	margin: 0 0 var(--s4);
	border-radius: calc(var(--r) - 7px) calc(var(--r) - 7px) 3px 3px;
	aspect-ratio: 1;
	object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 6px;
	font-size: 1.05rem;
	font-weight: 720;
	font-stretch: 106%;
	line-height: 1.2;
}

.woocommerce ul.products li.product .price {
	padding: 0 6px;
	color: var(--ink);
	font-size: 0.9rem;
}

.woocommerce ul.products li.product .button {
	margin: auto 6px 0;
	align-self: flex-start;
}

.product-code {
	display: block;
	margin: 4px 6px 6px;
	color: var(--ink-soft);
	font-family: var(--f-mono);
	font-size: 0.66rem;
}

.woocommerce div.product .product_title {
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-stretch: 125%;
	font-weight: 850;
	line-height: 0.95;
	letter-spacing: -0.035em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ink);
	font-size: 1.4rem;
}

.woocommerce div.product div.images img {
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
}

.woocommerce .quantity .qty {
	width: 5.5em;
	font-family: var(--f-mono);
}

.pay-note {
	margin: var(--s4) 0;
	padding: var(--s3) var(--s4);
	border-radius: 8px;
	background: color-mix(in oklab, var(--orange) 16%, var(--white));
	font-size: 0.95rem;
	font-weight: 600;
}

.woocommerce span.onsale {
	min-height: 0;
	min-width: 0;
	padding: 6px 10px;
	border-radius: var(--r-small) 12px 12px var(--r-small);
	background: var(--orange);
	color: var(--navy);
	font-family: var(--f-mono);
	font-size: 0.7rem;
	line-height: 1;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--navy);
	background: var(--white);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--navy);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: var(--white);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	border-top: 1.5px solid var(--navy);
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--rule);
	font-weight: 650;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	color: var(--blue);
}

/* Parrainage & points (Mon compte) */
.points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: var(--s4);
}

.points__card,
.points__code {
	display: grid;
	gap: var(--s3);
	align-content: start;
	padding: var(--s5);
	border-radius: var(--r) var(--r) var(--r-small) var(--r-small);
}

.points__card {
	background: var(--navy);
	color: var(--on-navy);
}

.points__code {
	background: var(--white);
	border: 1.5px solid var(--rule);
}

.points__label {
	font-size: 0.85rem;
	font-weight: 700;
}

.points__balance {
	font-family: var(--f-mono);
	font-size: 1rem;
}

.points__balance span {
	font-size: 3rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.points__value {
	color: var(--on-navy-soft);
	font-size: 0.92rem;
}

.points__code-value {
	font-family: var(--f-mono);
	font-size: 1.6rem;
	font-weight: 600;
}

.points__link {
	display: flex;
	gap: 6px;
}

.points__link input {
	font-family: var(--f-mono);
	font-size: 0.75rem;
}

.points__rules {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
	gap: 0;
	margin: var(--s6) 0 var(--s3);
	border-top: 1.5px solid var(--navy);
}

.points__rules div {
	padding: var(--s4) var(--s3) var(--s4) 0;
	border-bottom: 1px solid var(--rule);
}

.points__rules dt {
	font-family: var(--f-mono);
	font-size: 1.2rem;
	font-weight: 600;
}

.points__rules dd {
	margin: 4px 0 0;
	color: var(--ink-soft);
	font-size: 0.9rem;
}

.points__demo {
	font-family: var(--f-mono);
	font-size: 0.68rem;
	color: var(--ink-soft);
}

.points__h {
	margin: var(--s7) 0 var(--s4);
	font-size: 1.3rem;
}

.points__log {
	width: 100%;
	border-collapse: collapse;
}

.points__log th,
.points__log td {
	padding: 10px 8px 10px 0;
	border-bottom: 1px solid var(--rule);
	text-align: left;
}

.points__log td:last-child,
.points__log th:last-child {
	text-align: right;
	font-family: var(--f-mono);
	font-variant-numeric: tabular-nums;
}

.points__log .is-pos {
	color: #0B6B45;
}

.points__log .is-neg {
	color: #A8201A;
}

.points__empty {
	color: var(--ink-soft);
}

/* ==========================================================================
   Mouvement au défilement (assets/js/motion.js)
   Toujours la même grammaire : rotation autour d'un pivot, glissement le long de l'axe.
   La classe .js-motion n'est posée que si le mouvement n'est pas réduit.
   ========================================================================== */

/* Les lames se posent en pivotant sur leur rivet quand elles entrent à l'écran. */
.js-motion .deal {
	transform-origin: 50% calc(100% - 22px);
	transition: transform 0.9s var(--ease-out) var(--deal-delay, 0s);
}

.js-motion .deal:not(.is-dealt) {
	transform: rotate(7deg) translateY(40px);
}

/* Les photos glissent dans leur cadre, plus lentement que la page. */
.js-motion .tile__img,
.js-motion .strip__shot img,
.js-motion .product-lame__photo img {
	transform: translateY(var(--py, 0px)) scale(1.16);
	will-change: transform;
}

/* Une tuile survolée suit le pointeur autour de son rivet (±3deg). */
.js-motion .tile__link:hover {
	transform: rotate(var(--tip, -2deg));
}

/* Héros : le texte reste en arrière pendant que l'éventail se replie vers le rivet. */
.js-motion .hero__text {
	transform: translateY(var(--drift, 0px));
}

/* Pages intérieures : le titre glisse sous la bande sept couleurs. */
.js-motion .page-head {
	overflow: hidden;
}

.js-motion .page-head__inner {
	transform: translateY(var(--drift, 0px));
}

/* Bande de lecture : la bande sept couleurs se découvre sous l'en-tête au fil de la page. */
.read-band {
	position: absolute;
	inset: auto 0 -1px 0;
	height: 3px;
	background: linear-gradient(90deg, #7A3FD0 0 14.28%, #FC9303 0 28.57%, #0049DC 0 42.85%, #12B5CB 0 57.14%, #14A06B 0 71.42%, #D9232B 0 85.71%, #F5C200 0);
	clip-path: inset(0 calc((1 - var(--read, 0)) * 100%) 0 0);
	pointer-events: none;
}

/* Mouvement réduit : plus de bascule ni de soulèvement nulle part. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
	}

	.tile__link:hover,
	.tile__link:focus-visible,
	.product-lame__link:hover,
	.metier-nav__item:hover,
	.devis__lame:hover,
	.devis__lame:has(input:checked) {
		transform: none;
	}
}
