/*
Theme Name: DN Matériaux
Theme URI: https://dnmateriaux.fr
Author: DN Matériaux
Description: Thème sur-mesure pour DN Matériaux — magasin de carrelage, faïence, salle de bain et matériaux à Grandchamp-des-Fontaines, au nord de Nantes. Vitrine catalogue + demande de devis.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dn-materiaux
*/

/* ==========================================================================
   1. Jetons de design
   ========================================================================== */
:root {
	--ink: #111214;
	--ink-2: #1a1b1e;
	--ink-3: #25272b;
	--stone: #f5f2ed;
	--stone-2: #ece7df;
	--sand: #dcd3c5;
	--paper: #fbfaf8;
	--line: rgba(17, 18, 20, .12);
	--line-d: rgba(255, 255, 255, .14);
	--text: #1d1e20;
	--muted: #66676b;
	--muted-d: rgba(255, 255, 255, .68);
	--blue: #1b9be0;
	--blue-2: #0d82c4;
	--blue-soft: #7cc8f2;
	--promo: #c2452d;

	--f-display: "Fraunces", "Times New Roman", serif;
	--f-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 48px);
	--sec: clamp(72px, 10vw, 140px);
	--r: 4px;
	--r-lg: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
	--shadow: 0 30px 60px -30px rgba(17, 18, 20, .35);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-2); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
	font-family: var(--f-display);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	font-variation-settings: "opsz" 144;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.2; }
h4 { font-size: 1.15rem; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; color: var(--blue); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--blue-soft); }
p { margin: 0 0 1.1em; }

.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-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 999; width: auto; height: auto; clip: auto;
	padding: 12px 18px; background: #fff; color: var(--ink); border-radius: var(--r);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--sec) 0; position: relative; }
.section--tight { padding: calc(var(--sec) * .6) 0; }
.bg-stone { background: var(--stone); }
.bg-ink { background: var(--ink); color: #fff; }
.on-dark { color: #fff; }
.on-dark p, .on-dark .lead { color: var(--muted-d); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .7em;
	font-family: var(--f-sans); font-size: .74rem; font-weight: 600;
	letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
	margin-bottom: 1.4em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .eyebrow { color: var(--muted-d); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 60ch; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 17ch; }
.sec-head .lead { margin: 0; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center h2 { max-width: 22ch; }

/* ==========================================================================
   3. Boutons & liens
   ========================================================================== */
.btn {
	--b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: .7em;
	min-height: 52px; padding: 0 28px; border-radius: 999px;
	background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
	font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn--blue { --b-bg: var(--blue); --b-bd: var(--blue); }
.btn--blue:hover { --b-bg: var(--blue-2); --b-bd: var(--blue-2); }
.btn--ghost { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost:hover { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--line { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn--line:hover { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn--white { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--white:hover { --b-bg: var(--blue); --b-fg: #fff; --b-bd: var(--blue); }
.btn--lg { min-height: 60px; padding: 0 34px; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   4. En-tête
   ========================================================================== */
.topbar {
	background: var(--ink); color: var(--muted-d); font-size: .78rem; letter-spacing: .04em;
	position: relative; z-index: 60;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--blue-soft); }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 6px; opacity: .7; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(17, 18, 20, .96); color: #fff;
	transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.is-front .site-header {
	position: fixed; left: 0; right: 0; top: var(--topbar-h, 38px);
	background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent);
}
.is-front .site-header.is-solid { top: 0; background: rgba(17, 18, 20, .96); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; flex: none; color: #fff; }
.brand svg { height: 54px; width: auto; }
.brand:hover { color: #fff; }
.brand__txt { display: none; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a {
	display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
	font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .88);
	transition: color .25s, background .25s;
}
.nav > ul > li > a:hover, .nav > ul > li.current-menu-item > a, .nav > ul > li.current-menu-ancestor > a { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px); opacity: .7;
}
.nav .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 50%; min-width: 280px; list-style: none; margin: 0; padding: 12px;
	background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .3s var(--ease);
}
.nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .sub-menu a { display: block; padding: 11px 14px; border-radius: 8px; font-size: .95rem; color: var(--ink); }
.nav .sub-menu a:hover { background: var(--stone); color: var(--blue-2); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #fff; }
.header-phone svg { width: 18px; height: 18px; color: var(--blue-soft); }
.header-phone:hover { color: var(--blue-soft); }
.site-header .btn { min-height: 46px; padding: 0 22px; }

.burger {
	display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d);
	background: transparent; color: #fff; align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
	display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .3s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
	position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff;
	padding: calc(var(--header-h) + 30px) var(--gutter) 120px; overflow-y: auto;
	opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line-d); }
.mobile-menu > ul > li > a { display: block; padding: 18px 0; font-family: var(--f-display); font-size: 1.9rem; line-height: 1.1; }
.mobile-menu .sub-menu { padding: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.mobile-menu .sub-menu a { color: var(--muted-d); font-size: .98rem; }
.mobile-menu__foot { margin-top: 36px; display: grid; gap: 12px; color: var(--muted-d); font-size: .95rem; }
.mobile-menu__foot a { color: #fff; }

/* ==========================================================================
   5. Hero d'accueil
   ========================================================================== */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; align-items: flex-end;
	overflow: hidden; background: #0d0e10;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: kenburns 22s ease-out both; }
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(8, 9, 11, .86) 0%, rgba(8, 9, 11, .62) 42%, rgba(8, 9, 11, .2) 80%),
		linear-gradient(0deg, rgba(8, 9, 11, .85) 0%, rgba(8, 9, 11, 0) 50%),
		rgba(8, 9, 11, .18);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero__kicker {
	display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 26px;
	padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, .06);
	font-family: var(--f-sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4;
}
.hero__kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(27, 155, 224, .25); }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.6rem); max-width: 16ch; margin-bottom: .3em; font-weight: 300; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero h1 .h1-seo { display: block; font-family: var(--f-sans); font-size: .95rem; letter-spacing: .02em; font-weight: 500; margin-top: 16px; color: rgba(255, 255, 255, .78); text-shadow: none; }
.hero__sub { font-size: clamp(1.02rem, 1.3vw, 1.16rem); max-width: 56ch; color: rgba(255, 255, 255, .86); margin-bottom: 28px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(28px, 5vh, 56px); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips__label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-right: 8px; }
.chip {
	display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 999px; font-size: .86rem;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px);
	transition: background .25s, border-color .25s;
}
.chip:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__proof { display: flex; gap: 28px; }
@media (max-width: 1499px) { .hero__proof { display: none; } }
.hero__proof div { font-size: .82rem; color: rgba(255, 255, 255, .7); line-height: 1.3; }
.hero__proof strong { display: block; font-family: var(--f-display); font-size: 2rem; font-weight: 300; color: #fff; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 50%; z-index: 2; writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: cue 2.4s ease-in-out infinite; }

@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero [data-rise] { animation: rise 1s var(--ease) both; }
.hero [data-rise="2"] { animation-delay: .15s; }
.hero [data-rise="3"] { animation-delay: .3s; }
.hero [data-rise="4"] { animation-delay: .45s; }
.hero [data-rise="5"] { animation-delay: .6s; }

/* ==========================================================================
   6. Bandeau défilant
   ========================================================================== */
.marquee { background: var(--blue); color: #fff; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; padding: 16px 0; }
.marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding: 0 22px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.marquee__track span::after { content: "✦"; font-size: .7rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   7. Univers (bento)
   ========================================================================== */
.univers { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 14px; }
.u-card {
	position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; background: var(--ink-3);
	grid-column: span 4; grid-row: span 2; display: flex; align-items: flex-end; isolation: isolate;
}
.u-card:nth-child(1) { grid-column: span 7; grid-row: span 3; }
.u-card:nth-child(2) { grid-column: span 5; grid-row: span 3; }
.u-card:nth-child(n+6) { grid-column: span 6; }
.u-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.u-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 13, .82), rgba(10, 11, 13, .05) 60%); transition: background .5s; }
.u-card:hover { color: #fff; }
.u-card:hover img { transform: scale(1.06); }
.u-card:hover::before { background: linear-gradient(0deg, rgba(10, 11, 13, .9), rgba(10, 11, 13, .2) 70%); }
.u-card__body { padding: clamp(20px, 2.4vw, 32px); width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.u-card__num { position: absolute; top: 22px; left: 26px; font-size: .72rem; letter-spacing: .2em; color: rgba(255, 255, 255, .7); }
.u-card h3 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); font-weight: 300; margin: 0 0 6px; }
.u-card p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .95rem; max-width: 38ch; }
.u-card__price { flex: none; text-align: right; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.u-card__price strong { display: block; font-family: var(--f-display); font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 400; }
.u-card__go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; flex: none; transition: background .3s, border-color .3s; }
.u-card__go svg { width: 18px; height: 18px; }
.u-card:hover .u-card__go { background: var(--blue); border-color: var(--blue); }

/* ==========================================================================
   8. Cartes produits & rail
   ========================================================================== */
.rail-wrap { position: relative; }
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button {
	width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink);
	display: grid; place-items: center; transition: all .3s;
}
.rail-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-nav button svg { width: 18px; height: 18px; }
.rail-nav button[data-dir="-1"] svg { transform: rotate(180deg); }

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; }
.p-card { position: relative; display: flex; flex-direction: column; }
.p-card__media {
	position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--stone-2); margin-bottom: 16px;
}
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.05); }
.p-card__badge {
	position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--ink);
	font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.p-card__badge--promo { background: var(--promo); color: #fff; }
.p-card__badge--new { background: var(--ink); color: #fff; }
.p-card__quick {
	position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; justify-content: center;
	padding: 13px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .74rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: all .35s var(--ease);
}
.p-card:hover .p-card__quick { opacity: 1; transform: none; }
.p-card__cat { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.p-card__title { font-family: var(--f-sans); font-size: 1.04rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin: 0 0 6px; }
.p-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card__meta { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.p-card__price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; font-size: .85rem; color: var(--muted); }
.p-card__price strong { font-family: var(--f-display); font-size: 1.45rem; font-weight: 400; color: var(--ink); }
.on-dark .p-card__title, .on-dark .p-card__price strong { color: #fff; }
.on-dark .p-card__cat, .on-dark .p-card__meta, .on-dark .p-card__price { color: var(--muted-d); }
.on-dark .p-card__media { background: var(--ink-3); }

/* Filtres (pages univers & catalogue) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; align-items: center; }
.filters__label { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.f-chip {
	padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
	font-size: .86rem; transition: all .25s;
}
.f-chip:hover { border-color: var(--ink); color: var(--ink); }
.f-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-count { font-size: .85rem; color: var(--muted); margin-left: auto; }
.is-filtered-out { display: none !important; }

/* ==========================================================================
   9. Sections éditoriales
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.split__media .img-2 {
	position: absolute; width: 46%; aspect-ratio: 1; right: -6%; bottom: -8%; border: 8px solid var(--paper); border-radius: var(--r-lg);
}
.bg-stone .split__media .img-2 { border-color: var(--stone); }
.bg-ink .split__media .img-2 { border-color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 30px; margin: 32px 0 38px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.on-dark .facts { border-color: var(--line-d); }
.facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.on-dark .facts dt { color: var(--muted-d); }
.facts dd { margin: 0; font-size: 1rem; }
.facts dd a:hover { color: var(--blue); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: clamp(28px, 3vw, 42px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; counter-increment: step; transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before { content: "0" counter(step); display: block; font-family: var(--f-display); font-size: 3.4rem; font-weight: 300; color: var(--blue); line-height: 1; margin-bottom: 26px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* Estimateur de budget */
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; background: var(--ink-2); color: #fff; }
.estimator__form { padding: clamp(30px, 4vw, 56px); }
.estimator__result { padding: clamp(30px, 4vw, 56px); background: linear-gradient(140deg, var(--blue-2), #0a5f91); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.estimator label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); margin: 0 0 10px; }
.estimator select, .estimator input[type="number"] {
	width: 100%; min-height: 56px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-d); background: var(--ink-3); color: #fff; font: inherit; font-size: 1.05rem;
}
.estimator .field { margin-bottom: 22px; }
.estimator input[type="range"] { width: 100%; accent-color: var(--blue); }
.estimator__total { font-family: var(--f-display); font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 300; line-height: 1; margin: 10px 0 8px; }
.estimator__detail { color: rgba(255, 255, 255, .8); font-size: .95rem; margin: 0; }
.estimator__note { font-size: .78rem; color: rgba(255, 255, 255, .65); margin: 0; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { min-width: 86px; text-align: right; font-family: var(--f-display); font-size: 1.5rem; }

/* Bandeau pros */
.pro-band { position: relative; overflow: hidden; border-radius: 22px; color: #fff; isolation: isolate; padding: clamp(40px, 6vw, 90px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.pro-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pro-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 13, .9), rgba(10, 11, 13, .55)); }
.pro-band h2 { margin-bottom: .3em; }
.pro-band ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.pro-band li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .85); }
.pro-band li svg { width: 20px; height: 20px; color: var(--blue-soft); flex: none; margin-top: 3px; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 34px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.review .stars { display: flex; gap: 3px; color: #e6a93a; }
.review .stars svg { width: 17px; height: 17px; }
.review blockquote { margin: 0; font-family: var(--f-display); font-size: 1.32rem; font-weight: 300; line-height: 1.4; }
.review cite { margin-top: auto; font-style: normal; font-weight: 600; font-size: .92rem; }
.review cite span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

/* Bloc SEO local */
.seo-cols { columns: 2; column-gap: clamp(30px, 5vw, 70px); color: var(--muted); }
.seo-cols p { break-inside: avoid; }
.seo-cols a { color: var(--ink); border-bottom: 1px solid var(--line); }
.seo-cols a:hover { color: var(--blue-2); border-color: var(--blue); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.towns span { padding: 7px 14px; border-radius: 999px; background: var(--stone); font-size: .84rem; color: var(--text); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 26px 0; font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
	font-family: var(--f-sans); font-size: 1.3rem; transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq .faq__a { padding: 0 0 26px; color: var(--muted); max-width: 75ch; }
.on-dark .faq, .on-dark .faq details { border-color: var(--line-d); }
.on-dark .faq summary::after { border-color: var(--line-d); }

/* CTA final */
.cta-final { position: relative; overflow: hidden; text-align: center; isolation: isolate; color: #fff; padding: clamp(90px, 13vw, 180px) 0; }
.cta-final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 11, 13, .66); }
.cta-final h2 { max-width: 18ch; margin: 0 auto .4em; font-size: clamp(2.4rem, 5.5vw, 4.8rem); font-weight: 300; }
.cta-final p { max-width: 56ch; margin: 0 auto 36px; color: rgba(255, 255, 255, .8); }
.cta-final .ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   10. Pages intérieures
   ========================================================================== */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; padding: clamp(120px, 16vw, 200px) 0 clamp(50px, 7vw, 90px); }
.page-hero img.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 20s ease-out both; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 13, .85) 0%, rgba(10, 11, 13, .45) 60%, rgba(10, 11, 13, .25)), linear-gradient(0deg, rgba(10, 11, 13, .6), transparent 50%); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); font-weight: 300; max-width: 18ch; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255, 255, 255, .82); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: .88rem; color: rgba(255, 255, 255, .78); }
.page-hero__meta strong { color: #fff; font-family: var(--f-display); font-size: 1.35rem; font-weight: 400; margin-right: 6px; }
.page-hero--plain { padding-top: clamp(80px, 10vw, 130px); }

.breadcrumbs { font-size: .78rem; letter-spacing: .06em; margin-bottom: 24px; color: rgba(255, 255, 255, .65); }
.breadcrumbs a { color: rgba(255, 255, 255, .85); }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs span[aria-hidden] { margin: 0 8px; opacity: .5; }
.breadcrumbs--dark { color: var(--muted); }
.breadcrumbs--dark a { color: var(--ink); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 90px); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.aside-card h3 { font-size: 1.6rem; font-weight: 300; }
.aside-card p { color: var(--muted-d); font-size: .95rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card hr { border: 0; border-top: 1px solid var(--line-d); margin: 24px 0; }
.aside-card dl { margin: 0; display: grid; gap: 14px; font-size: .92rem; }
.aside-card dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); }
.aside-card dd { margin: 2px 0 0; }

/* Typographie de contenu long */
.prose { font-size: 1.06rem; line-height: 1.8; color: #34363a; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 2em 0 .6em; color: var(--ink); }
.prose h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 1.8em 0 .5em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--blue-2); border-bottom: 1px solid rgba(13, 130, 196, .35); }
.prose a:hover { border-color: var(--blue-2); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--blue); font-family: var(--f-display); font-size: 1.3rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--stone); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.prose .callout { padding: 26px 30px; border-radius: var(--r-lg); background: var(--stone); border: 1px solid var(--line); }
.prose .callout p:last-child { margin: 0; }
.prose .wp-block-image img { border-radius: var(--r-lg); }

.toc { padding: 24px 28px; border-radius: var(--r-lg); background: var(--stone); margin-bottom: 40px; }
.toc strong { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--ink); border: 0; }
.toc a:hover { color: var(--blue-2); }

/* Fiche produit */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.product__gallery { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
.product__main { border-radius: 22px; overflow: hidden; background: var(--stone-2); aspect-ratio: 1; }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: 10px; }
.product__thumbs button { width: 84px; height: 84px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--stone-2); }
.product__thumbs button.is-active { border-color: var(--ink); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 300; margin-bottom: .2em; }
.product__sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.product__price { display: flex; align-items: baseline; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.product__price strong { font-family: var(--f-display); font-size: 2.8rem; font-weight: 300; line-height: 1; }
.product__price span { color: var(--muted); }
.product__price small { width: 100%; color: var(--muted); font-size: .82rem; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 0 30px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.specs div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs dt { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.specs dd { margin: 0; font-weight: 500; }
.calc { padding: 26px; border-radius: var(--r-lg); background: var(--stone); margin-bottom: 26px; }
.calc__row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.calc label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.calc input { width: 140px; min-height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 1.05rem; background: #fff; }
.calc__out { font-size: .95rem; color: var(--muted); margin: 14px 0 0; }
.calc__out strong { color: var(--ink); font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; }
.product__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.reassure { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; font-size: .95rem; }
.reassure li { display: flex; gap: 12px; align-items: center; }
.reassure svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* Formulaire de devis */
.quote-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.quote-card { padding: clamp(28px, 4vw, 50px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
	width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
	font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27, 155, 224, .15); background: #fff; }
.req { color: var(--promo); }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 22px; }
.form-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form-note { font-size: .88rem; color: var(--muted); margin: 16px 0 0; }
.form-note a { color: var(--blue-2); font-weight: 600; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 18px 20px; border-radius: 12px; margin-bottom: 22px; font-size: .95rem; }
.alert--success { background: #e9f6ee; color: #1c5b35; border: 1px solid #bfe3cc; }
.alert--error { background: #fbecea; color: #8a2a1c; border: 1px solid #f0c5bd; }
.contact-list { display: grid; gap: 22px; margin: 34px 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; flex: none; color: var(--blue-2); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-size: 1.05rem; }
.map { border-radius: 22px; overflow: hidden; min-height: 380px; background: var(--stone-2); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 24px; }
.post-card a { display: block; }
.post-card__media { aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--stone-2); margin-bottom: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card h2, .post-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .96rem; }
.post-meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pagination { margin-top: 50px; display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); padding: 0 12px; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }

/* ==========================================================================
   11. Pied de page
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--muted-d); padding-top: clamp(70px, 9vw, 120px); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-d); }
.footer-brand svg { height: 74px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { font-family: var(--f-sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 0 0 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: var(--muted-d); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue-soft); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; color: #fff; transition: all .3s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.socials svg { width: 17px; height: 17px; }
.footer-seo { padding: 34px 0; border-bottom: 1px solid var(--line-d); font-size: .85rem; line-height: 1.7; }
.footer-seo a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 34px; font-size: .82rem; }
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-giant { font-family: var(--f-display); font-weight: 300; font-size: clamp(3.2rem, 13vw, 12.5rem); line-height: .85; letter-spacing: -.04em; color: rgba(255, 255, 255, .06); white-space: nowrap; overflow: hidden; padding-top: 10px; user-select: none; }

/* Barre d'actions mobile */
.mbar { display: none; }

/* ==========================================================================
   12. Animations au scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.nav, .header-phone span { display: none; }
	.burger { display: inline-flex; }
	.site-header .wrap { justify-content: space-between; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.layout-aside { grid-template-columns: 1fr; }
	.aside-card { position: static; }
	.rail { grid-auto-columns: minmax(250px, 34%); }
}
@media (max-width: 900px) {
	:root { --header-h: 66px; }
	body { font-size: 16px; padding-bottom: 72px; }
	.topbar { display: none; }
	.is-front .site-header { top: 0; }
	.brand svg { height: 44px; }
	.site-header .btn { display: none; }
	.hero h1 { max-width: none; }
	.hero__proof, .scroll-cue { display: none; }
	.univers { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
	.u-card, .u-card:nth-child(n) { grid-column: span 1; grid-row: span 2; }
	.u-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
	.u-card__price, .u-card__go, .u-card p { display: none; }
	.u-card h3 { font-size: 1.3rem; }
	.u-card__num { top: 14px; left: 16px; }
	.split, .estimator, .pro-band, .quote-layout, .product { grid-template-columns: 1fr; }
	.split--rev .split__media { order: 0; }
	.split__media .img-2 { display: none; }
	.split__media img { aspect-ratio: 4 / 3; }
	.steps, .reviews { grid-template-columns: 1fr; }
	.seo-cols { columns: 1; }
	.rail { grid-auto-columns: 72%; }
	.p-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
	.p-card__title { font-size: .95rem; }
	.p-card__quick { display: none; }
	.product__gallery { position: static; }
	.quote-form .form-row { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.sec-head { margin-bottom: 30px; }
	.mbar {
		display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		background: rgba(17, 18, 20, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line-d);
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
	}
	.mbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px; color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: 10px; }
	.mbar a svg { width: 21px; height: 21px; }
	.mbar a.is-main { background: var(--blue); }
}
@media (max-width: 560px) {
	.hero__ctas .btn { width: 100%; }
	.hero__bottom .chips__label { width: 100%; margin-bottom: 4px; }
	.facts { grid-template-columns: 1fr; }
	.product__ctas { grid-template-columns: 1fr; }
	.specs { grid-template-columns: 1fr; }
	.specs div:nth-child(odd) { border-right: 0; }
	.filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
	.filters::-webkit-scrollbar { display: none; }
	.f-chip { white-space: nowrap; }
	.p-count { display: none; }
}

/* Panneau d'import (aperçu admin uniquement) */
.dnm-import { position: fixed; right: 18px; bottom: 18px; z-index: 9999; width: min(420px, calc(100vw - 36px)); padding: 22px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); font-size: .92rem; }
.dnm-import h4 { font-family: var(--f-sans); font-weight: 700; margin: 0 0 8px; }
.dnm-import p { color: var(--muted); margin: 0 0 12px; }
.dnm-import progress { width: 100%; height: 10px; }
.dnm-import pre { max-height: 160px; overflow: auto; background: var(--stone); padding: 10px; border-radius: 8px; font-size: .78rem; white-space: pre-wrap; }
.dnm-import label { display: block; font-weight: 600; margin: 10px 0 6px; }

/* ==========================================================================
   14. Compléments gabarits
   ========================================================================== */
.p-card[hidden] { display: none; }
.more-wrap { text-align: center; margin: 44px 0 0; }
.more-wrap[hidden] { display: none; }
.price-note { margin: 26px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.univers--mini { grid-auto-rows: 280px; }
.univers--mini .u-card, .univers--mini .u-card:nth-child(n) { grid-column: span 4; grid-row: span 1; }
.univers--mini .u-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); margin: 0; }
.product__info .eyebrow a:hover { color: var(--blue-2); }
.layout-aside > .prose { min-width: 0; }
.bg-stone .aside-card { box-shadow: var(--shadow); }
.page-hero--plain::before { background: var(--ink); }
.search-form input { min-height: 52px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font: inherit; flex: 1; }
@media (max-width: 900px) {
	.univers--mini { grid-auto-rows: 200px; }
	.univers--mini .u-card, .univers--mini .u-card:nth-child(n) { grid-column: span 2; }
	.univers--mini .u-card__go { display: grid; }
	.page-hero { padding-top: clamp(60px, 14vw, 120px); }
	.hero__inner { padding-top: calc(var(--header-h) + 40px); }
}
