/* ==========================================================================
   Polycuisines Marrakech — feuille de style principale
   Direction : anthracite « exécutif », laiton, ocre de Marrakech, rouge Polycuisines.
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
	--ink: #12171e;
	--exec-950: #11161e;
	--exec-900: #12171e;
	--exec-850: #18202c;
	--exec-800: #1a212b;
	--exec-700: #2a3441;
	--pearl: #f6f8fa;
	--sand: #faf5ee;
	--white: #fff;
	--line: #e2e8f0;
	--muted: #475569;
	--muted-2: #64748b;
	--red: #d9232e;
	--red-dark: #b81b24;
	--red-soft: #fef2f2;
	--ochre: #c84b28;
	--ochre-soft: #fff7f5;
	--brass: #b8864b;
	--brass-light: #fbf7f0;
	--wa: #16a34a;
	--wa-dark: #15803d;
	--radius: 12px;
	--radius-lg: 18px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .07);
	--shadow-lg: 0 18px 50px rgba(15, 23, 42, .18);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
	--wrap: 1280px;
	--moucharabieh: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23B8864B' stroke-width='0.9' stroke-opacity='0.07'%3E%3Cpath d='M36 0L45 27L72 36L45 45L36 72L27 45L0 36L27 27Z'/%3E%3Cpath d='M12 12L36 24L60 12L48 36L60 60L36 48L12 60L24 36Z'/%3E%3Crect x='28' y='28' width='16' height='16' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--pearl); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }

/* ----- Boutons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(217, 35, 46, .28); }
.btn--primary:hover { background: var(--red-dark); }
.btn--dark { background: var(--exec-900); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--exec-700); }
.btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--sm { padding: 9px 14px; font-size: 13.5px; border-radius: 9px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }

/* ----- Libellés ----- */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.eyebrow--ochre { color: var(--ochre); }
.eyebrow--brass { color: var(--brass); }
.mono-label { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.mono-label--brass { color: var(--brass); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 7px; }
.tag--outline { background: rgba(255, 255, 255, .06); border: 1px solid rgba(184, 134, 75, .55); color: #e2e8f0; }
.tag--dark { background: var(--exec-900); color: #fff; padding: 4px 9px; font-size: 10.5px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.link-arrow { font-weight: 700; color: var(--red); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* ----- Barre supérieure ----- */
.topbar { background: var(--exec-950); color: #cbd5e1; font-size: 12.5px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar p { margin: 0; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__loc { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.topbar__mid { color: #fbbf24; font-weight: 500; }
.topbar__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.topbar__ig svg { width: 17px; height: 17px; }
.topbar__ig:hover { color: #fff; }
.topbar__wa { display: inline-flex; align-items: center; gap: 8px; color: #34d399; font-weight: 700; }
.topbar__wa:hover { color: #6ee7b7; }

/* ----- En-tête ----- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(15, 23, 42, .05); }
.header__in { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; flex: none; }
.brand img { width: 190px; height: auto; }
.brand__sub { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .26em; color: var(--ochre); display: flex; align-items: center; gap: 8px; padding-left: 4px; white-space: nowrap; }
.brand__sub i { width: 5px; height: 5px; transform: rotate(45deg); background: var(--ochre); display: inline-block; }
.search { flex: 1; max-width: 640px; display: flex; align-items: stretch; position: relative; background: var(--pearl); border: 1px solid #cbd5e1; border-radius: 10px; overflow: visible; transition: border-color .15s, box-shadow .15s, background .15s; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217, 35, 46, .12); background: #fff; }
.search__dept { border: 0; border-right: 1px solid #cbd5e1; background: #eef2f6; padding: 0 12px; font-size: 12.5px; font-weight: 700; color: #334155; border-radius: 10px 0 0 10px; max-width: 170px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px; font-size: 14.5px; outline: 0; }
.search__btn { border: 0; background: var(--exec-900); color: #fff; width: 48px; display: grid; place-items: center; border-radius: 0 9px 9px 0; transition: background .15s; }
.search__btn:hover { background: var(--red); }
.search__btn svg { width: 18px; height: 18px; }
.search__panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden; }
.search__item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f1f5f9; }
.search__item:hover { background: var(--pearl); }
.search__item img { width: 46px; height: 46px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; flex: none; }
.search__item b { display: block; font-size: 14px; line-height: 1.3; }
.search__item small { font-family: var(--mono); color: var(--red); font-size: 11px; }
.search__none { padding: 14px; font-size: 13.5px; color: var(--muted); }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.quote-btn { gap: 10px; }
.pill { background: var(--red); color: #fff; font-family: var(--mono); font-size: 12px; min-width: 22px; padding: 2px 7px; border-radius: 6px; text-align: center; }

.mega { background: var(--exec-850); border-top: 1px solid #1e293b; overflow-x: auto; scrollbar-width: none; }
.mega::-webkit-scrollbar { display: none; }
.mega__list { display: flex; align-items: center; white-space: nowrap; }
.mega__list a { display: block; padding: 13px 15px; font-size: 13px; font-weight: 600; color: #cbd5e1; border-bottom: 2px solid transparent; transition: color .15s, background .15s; }
.mega__list a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.mega__list a.is-active { color: #fff; background: rgba(255, 255, 255, .08); border-bottom-color: var(--red); }

/* ----- Sections ----- */
.section { padding: 72px 0; }
.section--tight { padding: 40px 0 64px; }
.section--white { background: #fff; }
.section--pearl { background: var(--pearl); }
.section--sand { background: var(--sand); border-top: 1px solid #efe5d6; border-bottom: 1px solid #efe5d6; }
.section--dark { background: var(--exec-900) var(--moucharabieh); color: #e2e8f0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head--light h2 { color: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col h2 { font-size: clamp(26px, 3vw, 36px); }
.two-col p { color: var(--muted); }

/* ----- Héros ----- */
.hero { background: var(--exec-900) var(--moucharabieh); color: #fff; position: relative; overflow: hidden; border-bottom: 1px solid rgba(184, 134, 75, .3); }
.hero__line { height: 2px; background: linear-gradient(90deg, transparent, rgba(184, 134, 75, .7), transparent); }
.hero__in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero__copy h1 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.08; margin: 18px 0 20px; }
.hero__copy h1 em { font-style: normal; background: linear-gradient(90deg, #fff, #e2e8f0 40%, var(--brass)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17.5px; line-height: 1.65; color: #cbd5e1; max-width: 660px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.metrics > div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px; }
.metrics dt { font-size: 22px; font-weight: 700; color: #fff; }
.metrics > div:nth-child(2) dt { color: #fbbf24; }
.metrics dd { margin: 2px 0 0; font-size: 11.5px; color: #94a3b8; line-height: 1.35; }
.hero__visual { position: relative; padding-bottom: 46px; }
.mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1.02; }
.mosaic__tile { position: relative; background: #fff; border-radius: 16px; overflow: hidden; display: grid; place-items: center; padding: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .2); }
.mosaic__tile img { max-height: 100%; width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.mosaic__tile:hover img { transform: scale(1.05); }
.mosaic__tile--0 { grid-row: 1 / 3; }
.mosaic__cap { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(17, 22, 30, .88); color: #e2e8f0; font-size: 10.5px; padding: 6px 9px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__card { position: absolute; left: -22px; right: 22px; bottom: 0; background: rgba(17, 22, 30, .94); backdrop-filter: blur(8px); border: 1px solid rgba(184, 134, 75, .45); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; box-shadow: var(--shadow-lg); }
.hero__card strong { display: block; font-size: 14.5px; margin: 3px 0 2px; }
.hero__card span:not(.mono-label) { font-size: 12.5px; color: #94a3b8; }

.brands { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 0; }
.brands__in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brands__list { display: flex; gap: 8px; flex-wrap: wrap; }
.brands__list a { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 12px; padding: 7px 12px; background: var(--pearl); border: 1px solid var(--line); border-radius: 8px; color: #334155; transition: all .15s; }
.brands__list a:hover { background: var(--exec-900); color: #fff; border-color: var(--exec-900); }

/* ----- Rayons ----- */
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dept { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--pearl); border: 1px solid var(--line); border-radius: 14px; transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.dept:hover { border-color: var(--red); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.dept .tag { align-self: flex-start; }
.dept h3 { font-size: 19px; margin: 10px 0 2px; }
.dept p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.dept__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--muted-2); }
.dept__go svg { width: 20px; height: 20px; color: var(--muted-2); transition: color .15s, transform .15s; }
.dept:hover .dept__go svg { color: var(--red); transform: translateX(4px); }
.dept-grid--compact .dept { background: #fff; }

/* ----- Produits ----- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .18s, box-shadow .18s, transform .18s; }
.card:hover { border-color: #94a3b8; box-shadow: var(--shadow); transform: translateY(-2px); }
.studio { position: relative; background: #fff !important; display: grid; place-items: center; overflow: hidden; }
.card__img { aspect-ratio: 1 / 1; padding: 18px; border-bottom: 1px solid var(--line); }
.card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__brand { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--exec-900); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; min-height: 24px; }
.ref { display: inline-block; font-size: 11px; font-weight: 700; color: var(--red); background: var(--red-soft); padding: 2px 8px; border-radius: 6px; }
.ref--dark { color: #fff; background: var(--exec-900); text-transform: uppercase; letter-spacing: .06em; }
.ref--ok { color: #047857; background: #ecfdf5; font-family: var(--font); letter-spacing: 0; }
.card__energy { color: var(--muted-2); font-weight: 600; }
.card__title { font-size: 15px; line-height: 1.35; margin: 8px 0 4px; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--red); }
.card__dept { font-size: 12px; color: var(--muted-2); margin: 0 0 8px; }
.card__dims { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted-2); padding-top: 8px; border-top: 1px solid #f1f5f9; margin: auto 0 0; }
.card__dims .mono { color: var(--ink); font-weight: 600; }
.card__actions { display: flex; gap: 8px; margin-top: 12px; }
.card__actions .btn { flex: 1; }
.card__actions .btn--primary { box-shadow: none; }

/* ----- Climat ----- */
.climate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.climate { background: #fff; border: 1px solid #efe5d6; border-radius: 16px; padding: 28px; position: relative; }
.climate__n { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--ochre); padding: 3px 9px; border-radius: 6px; margin-bottom: 14px; }
.climate h3 { font-size: 19px; }
.climate p { color: var(--muted); font-size: 15px; }
.climate a { font-weight: 700; color: var(--ochre); font-size: 14px; }
.climate a:hover { text-decoration: underline; }

/* ----- Méthode ----- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps strong { font-size: 18px; color: #fff; }
.steps span { color: #94a3b8; font-size: 14.5px; }
.step__n { font-size: 12px; font-weight: 700; color: var(--brass) !important; letter-spacing: .1em; }

/* ----- Villes ----- */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.city { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--pearl); border: 1px solid var(--line); border-radius: 12px; transition: all .15s; height: 100%; }
.city strong { font-size: 15px; }
.city span { font-size: 12px; color: var(--muted-2); }
.city:hover { background: #fff; border-color: var(--red); transform: translateY(-1px); }
.city--home { background: var(--exec-900); border-color: var(--exec-900); color: #fff; }
.city--home span { color: #fbbf24; }
.city--home:hover { background: var(--exec-850); }

/* ----- Showroom / brief ----- */
.showroom { background: var(--exec-900) var(--moucharabieh); color: #fff; border: 1px solid rgba(184, 134, 75, .4); border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; box-shadow: var(--shadow-lg); }
.showroom h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 8px; }
.showroom p { color: #cbd5e1; }
.showroom__list { display: grid; gap: 12px; margin: 22px 0; }
.showroom__list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px; font-size: 14.5px; color: #cbd5e1; }
.showroom__list svg { width: 22px; height: 22px; flex: none; color: var(--brass); margin-top: 2px; }
.showroom__list strong { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }
.showroom__list a { color: #fff; font-weight: 700; }
.showroom__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.showroom__list--light li { background: var(--pearl); border-color: var(--line); color: var(--muted); }
.showroom__list--light strong, .showroom__list--light a { color: var(--ink); }
.brief { background: #fff; color: var(--ink); border-radius: 16px; padding: 26px; display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.brief__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border-bottom: 1px solid #f1f5f9; padding-bottom: 14px; }
.brief__head h3 { font-size: 18px; margin: 4px 0 0; }
.brief__head .mono-label { color: var(--red); }
.badge-wa { font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: #047857; background: #ecfdf5; padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
.brief__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brief label, .qfields label, .filters label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.brief select, .qfields select, .qfields input, .filters select, .filters input { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 9px; background: var(--pearl); font-weight: 600; font-size: 14px; color: var(--ink); }
.brief select:focus, .qfields select:focus, .qfields input:focus, .filters select:focus, .filters input:focus { outline: 0; border-color: var(--red); background: #fff; }

/* ----- FAQ ----- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq details[open] { border-color: var(--brass); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 0 0 18px; }

/* ----- Bandeau d'appel + pied ----- */
.cta-band { background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, var(--ochre)); color: #fff; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 38px; padding-bottom: 38px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--primary { background: #fff; color: var(--red-dark); box-shadow: none; }
.cta-band .btn--primary:hover { background: #fff7f5; }
.site-footer { background: var(--exec-950); color: #94a3b8; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr 1.1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo { width: 290px; margin-bottom: 16px; }
.footer-about { max-width: 360px; }
.site-footer h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links--2col { grid-template-columns: 1fr 1fr; }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a { color: #e2e8f0; }
.footer-social a, .footer-map { display: inline-flex; align-items: center; gap: 8px; color: var(--brass); font-weight: 700; }
.footer-social svg, .footer-map svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; padding-bottom: 26px; font-size: 12.5px; color: #64748b; }

/* ----- Boutons flottants / toasts ----- */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(22, 163, 74, .45); z-index: 45; transition: transform .18s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.toast-root { position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 90; display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--exec-900); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); border-left: 4px solid var(--red); animation: toast .3s ease; }
@keyframes toast { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ----- Tiroir de devis ----- */
.qdrawer { position: fixed; inset: 0; z-index: 80; }
.qdrawer[hidden] { display: none; }
.qdrawer__backdrop { position: absolute; inset: 0; background: rgba(17, 22, 30, .6); backdrop-filter: blur(2px); }
.qdrawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--pearl); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slide .28s ease; }
@keyframes slide { from { transform: translateX(100%); } to { transform: none; } }
.qdrawer__head { background: var(--exec-900); color: #fff; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qdrawer__head h2 { margin: 2px 0 0; font-size: 20px; }
.qdrawer__head .mono-label { color: var(--brass); }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; background: rgba(255, 255, 255, .1); border: 0; color: #fff; font-size: 22px; line-height: 1; }
.icon-btn:hover { background: rgba(255, 255, 255, .2); }
.qdrawer__body { flex: 1; overflow-y: auto; padding: 18px; display: grid; gap: 14px; align-content: start; }
.qdrawer__empty { background: #fff; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 22px; color: var(--muted); text-align: center; margin: 0; }
.qlist { display: grid; gap: 10px; }
.qitem { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; align-items: center; gap: 12px; }
.qitem img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex: none; }
.qitem__txt { flex: 1; min-width: 0; }
.qitem__txt a { font-size: 13.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qitem__txt small { font-family: var(--mono); font-size: 11px; color: var(--red); }
.qitem__side { display: grid; gap: 6px; justify-items: end; }
.qitem__rm { border: 0; background: none; font-size: 11px; font-weight: 700; color: #94a3b8; padding: 0; }
.qitem__rm:hover { color: var(--red); }
.qstep { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 8px; background: var(--pearl); }
.qstep button { border: 0; background: none; width: 28px; height: 28px; font-weight: 800; }
.qstep span { min-width: 24px; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 13px; }
.qctx { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 14px; }
.qctx[hidden] { display: none; }
.qctx__title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.qpills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qpill { text-align: left; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--pearl); font-weight: 600; font-size: 13px; }
.qpill.is-on { border-color: var(--red); background: var(--red-soft); color: var(--red); font-weight: 800; }
.qfields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qpreview { background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px; padding: 12px; }
.qpreview__head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #166534; margin-bottom: 6px; }
.qpreview__head button { border: 0; background: none; color: #15803d; font-weight: 800; font-size: 11px; text-transform: uppercase; }
.qpreview pre { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.55; white-space: pre-wrap; max-height: 150px; overflow-y: auto; color: #14532d; }
.qdrawer__foot { background: #fff; border-top: 1px solid var(--line); padding: 14px 18px; display: grid; gap: 8px; }
.qdrawer__foot[hidden] { display: none; }
.qdrawer__clear { border: 0; background: none; color: #94a3b8; font-size: 12.5px; font-weight: 700; }
.qdrawer__clear:hover { color: var(--red); }

/* ----- Bandeaux de pages ----- */
.page-top { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0; }
.page-hero { padding: 48px 0 52px; }
.page-hero--dark { background: var(--exec-900) var(--moucharabieh); color: #fff; border-bottom: 1px solid rgba(184, 134, 75, .3); }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 14px; max-width: 900px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .hero__actions { margin-top: 24px; }
.crumbs { font-size: 12.5px; color: #94a3b8; margin-bottom: 18px; }
.crumbs a:hover { color: var(--red); }
.page-hero .crumbs a:hover { color: #fff; }
.page-top .crumbs { margin: 0; color: var(--muted-2); }
.crumbs .breadcrumb_last { font-weight: 700; }

/* ----- Catalogue : filtres ----- */
.chips-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: #334155; transition: all .15s; }
.chip:hover { border-color: var(--exec-700); }
.chip.is-on { background: var(--exec-900); border-color: var(--exec-900); color: #fff; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 26px; }
.filters label { min-width: 150px; }
.filters__q { flex: 1; min-width: 220px; }
.filters__count { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--muted-2); padding-bottom: 10px; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 48px 24px; text-align: center; max-width: 640px; margin: 0 auto; }
.empty p { color: var(--muted); }
.pagination, .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-numbers { padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-weight: 700; font-size: 14px; }
.page-numbers.current { background: var(--exec-900); color: #fff; border-color: var(--exec-900); }
a.page-numbers:hover { border-color: var(--red); color: var(--red); }
.check { display: grid; gap: 10px; margin: 18px 0; }
.check li { position: relative; padding-left: 30px; color: var(--muted); }
.check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ochre-soft); color: var(--ochre); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chips a, .chips li:not(:has(a)) { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--pearl); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.chips a:hover { background: var(--exec-900); color: #fff; border-color: var(--exec-900); }
.areas-note { color: var(--muted); font-size: 14.5px; }
.note-card { background: var(--brass-light); border: 1px solid #ecdcc0; border-left: 4px solid var(--brass); border-radius: 14px; padding: 24px; }
.note-card p { color: #4b3b22; margin: 8px 0 0; }

/* ----- Fiche produit ----- */
.product__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.product__media { display: grid; gap: 12px; position: sticky; top: 150px; }
.tabs { display: flex; background: var(--pearl); border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; }
.tabs button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 7px; font-weight: 700; font-size: 13px; color: var(--muted); }
.tabs button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.studio--big { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.studio--big img { width: 100%; height: 100%; object-fit: contain; }
.studio--dims { padding: 14px; }
.studio[hidden] { display: none; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; }
.thumb:hover, .thumb.is-on { border-color: var(--red); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product__info h1 { font-size: clamp(26px, 3vw, 36px); margin: 4px 0 14px; }
.product__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.product__lead { color: var(--muted); font-size: 16px; }
.specs { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; margin: 18px 0; }
.specs__head { background: var(--pearl); padding: 10px 16px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #334155; border-bottom: 1px solid var(--line); }
.specs table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.specs th, .specs td { padding: 10px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #f1f5f9; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 38%; color: #334155; font-weight: 700; }
.specs td { font-size: 13px; }
.specs tr:nth-child(even) { background: #fafbfc; }
.quote-box { background: var(--exec-900); color: #fff; border-radius: 16px; padding: 22px; display: grid; gap: 12px; }
.quote-box__title { font-size: 17px; font-weight: 800; margin: 0; }
.quote-box__text { color: #94a3b8; font-size: 14px; margin: 0; }
.quote-box__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quote-box__row--2 { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
.quote-box .btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.quote-box .btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.quote-box .btn--dark { background: rgba(255, 255, 255, .12); }
.quote-box .btn--dark:hover { background: rgba(255, 255, 255, .22); }
.qty { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #cbd5e1; }
.qty input { width: 70px; padding: 9px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-family: var(--mono); font-weight: 700; text-align: center; }
.note-climate { margin-top: 16px; background: var(--ochre-soft); border: 1px solid #f5d5cb; border-left: 4px solid var(--ochre); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #5b2a1a; }
.note-climate strong { display: block; color: var(--ochre); margin-bottom: 3px; }
.prose h2 { font-size: 24px; margin-top: 1.4em; }
.prose p, .prose li { color: #334155; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1em; }
.prose a:not(.btn) { color: var(--red); font-weight: 600; }
.prose a:not(.btn):hover { text-decoration: underline; }
.prose a.btn { text-decoration: none; }
.product-desc .prose > *:first-child { margin-top: 0; }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-card, .contact-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.contact-card h2, .contact-form h2 { font-size: 24px; }
.wpcf7 form p { margin: 0 0 14px; }
.wpcf7 label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: var(--pearl); font-size: 15px; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: 0; border-color: var(--red); background: #fff; }
.wpcf7 input[type="submit"] { background: var(--red); color: #fff; border: 0; padding: 14px 26px; border-radius: 10px; font-weight: 800; font-size: 15px; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--red-dark); }
.wpcf7-response-output { border-radius: 10px; margin: 14px 0 0 !important; padding: 12px 14px !important; font-size: 14px; }

/* ----- Articles ----- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 18px; }
.post-card__title { font-size: 18px; margin: 6px 0 8px; }
.post-card__title a:hover { color: var(--red); }
.post-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ----- Fiche A4 (impression) ----- */
.a4-modal { display: none; }
@media print {
	@page { size: A4 portrait; margin: 10mm; }
	body.is-printing-a4 { background: #fff; }
	body.is-printing-a4 > *:not(.a4-modal) { display: none !important; }
	body.is-printing-a4 .a4-modal { display: block !important; position: static; }
	.a4 { color: #12171e; font-size: 12px; }
	.a4__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #12171e; padding-bottom: 12px; margin-bottom: 18px; }
	.a4__head img { width: 200px; }
	.a4__brand { text-align: right; font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
	.a4__brand small { display: block; font-family: var(--mono); font-size: 10px; color: #64748b; letter-spacing: .1em; }
	.a4__top { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; margin-bottom: 18px; }
	.a4__img { border: 1px solid #e2e8f0; border-radius: 10px; aspect-ratio: 1 / 1; padding: 12px; }
	.a4__img img { width: 100%; height: 100%; object-fit: contain; }
	.a4__dept { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #d9232e; margin: 0 0 6px; }
	.a4 h2 { font-size: 22px; margin: 0 0 8px; }
	.a4__table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
	.a4__table th, .a4__table td { padding: 8px 12px; border: 1px solid #e2e8f0; text-align: left; font-size: 12px; }
	.a4__table thead th { background: #12171e !important; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.a4__table tbody th { width: 38%; background: #f8fafc; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.a4__foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e2e8f0; padding-top: 10px; font-size: 10.5px; color: #64748b; }
}

/* ----- Adaptation écrans ----- */
@media (max-width: 1100px) {
	.grid-products { grid-template-columns: repeat(3, 1fr); }
	.dept-grid { grid-template-columns: repeat(2, 1fr); }
	.hero__in { grid-template-columns: 1fr; gap: 56px; }
	.hero__visual { max-width: 560px; margin: 0 auto 28px; width: 100%; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.header__tel span { display: none; }
	.topbar__mid { display: none; }
}
@media (max-width: 860px) {
	.section { padding: 52px 0; }
	.header__in { flex-wrap: wrap; gap: 12px; }
	.search { order: 3; max-width: none; flex-basis: 100%; }
	.search__dept { display: none; }
	.header__actions { margin-left: auto; }
	.two-col, .contact-grid, .product__grid, .showroom { grid-template-columns: 1fr; gap: 32px; }
	.product__media { position: static; }
	.climate-grid { grid-template-columns: 1fr; }
	.metrics { grid-template-columns: repeat(2, 1fr); }
	.showroom { padding: 26px; }
	.grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.topbar__loc { font-size: 11.5px; }
}
@media (max-width: 560px) {
	.wrap { padding: 0 16px; }
	.grid-products, .dept-grid, .steps, .city-grid, .brief__grid, .qpills, .qfields { grid-template-columns: 1fr; }
	.grid-products { grid-template-columns: repeat(2, 1fr); }
	.card__body { padding: 12px; }
	.card__actions { flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr; }
	.header__actions .quote-btn span:not(.pill) { display: none; }
	.hero__card { position: static; margin-top: 12px; }
	.hero__visual { margin-bottom: 0; }
	.brand img { width: 160px; }
	.topbar__loc { display: none; }
	.topbar__right { margin: 0 auto; }
	.filters label { min-width: 0; flex: 1 1 140px; }
	.wa-float { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ----- Correctifs de mise en page (grilles : les enfants peuvent rétrécir) ----- */
.hero__in > *, .two-col > *, .product__grid > *, .showroom > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .hero__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
	.two-col, .contact-grid, .product__grid, .showroom { grid-template-columns: minmax(0, 1fr); }
	.metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero__card { left: 0; right: 0; }
}
@media (max-width: 560px) {
	.grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dept-grid, .steps, .city-grid, .brief__grid, .qpills, .qfields { grid-template-columns: minmax(0, 1fr); }
	.mosaic__cap { font-size: 9.5px; }
}

/* ----- Photos produit : toujours contenues dans leur cadre (cartes, fiche produit, fiche A4) -----
   L'image est placée en absolu dans le cadre : sa taille ne dépend plus d'un calcul de hauteur en pourcentage. */
.studio { position: relative; }
.studio > img {
	position: absolute;
	inset: var(--pad, 0px);
	width: calc(100% - 2 * var(--pad, 0px));
	height: calc(100% - 2 * var(--pad, 0px));
	max-width: none;
	object-fit: contain;
	object-position: center;
}
.card__img { --pad: 18px; }
.studio--big { --pad: 28px; }
.a4__img { --pad: 12px; }

/* ----- Stock disponible ----- */
.card__stock { font-size: 11px; font-weight: 800; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.card__noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #cbd5e1; }
.card__noimg svg { width: 56px; height: 56px; }
.stock-intro { margin-bottom: 18px; }

/* ----- Cartes produit : alignement identique sur toute la ligne ----- */
.grid-products { align-items: stretch; }
.card { height: 100%; }
.card__body { display: flex; flex-direction: column; flex: 1; }
.card__meta { min-height: 26px; }
.card__energy { margin-left: auto; }
.card__title { min-height: calc(1.35em * 3); -webkit-line-clamp: 3; }
.card__dept { min-height: 1.4em; }
.card__dims { margin-top: auto; }
.card__actions { margin-top: auto; padding-top: 12px; }
.card__dims + .card__actions { margin-top: 12px; padding-top: 0; }

/* Texte réservé aux lecteurs d'écran (titre « Pagination » de WordPress) */
.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; }

/* ----- Stock disponible : liste de références ----- */
.stock-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(160px, 220px) minmax(150px, 200px); gap: 12px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.stock-search input { width: 100%; padding: 13px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: var(--pearl); font-size: 15px; }
.stock-search input:focus, .stock-select select:focus, .stock-card input:focus, .stock-card textarea:focus, .c-qty input:focus { outline: 0; border-color: var(--red); background: #fff; }
.stock-select { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.stock-select select { padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 9px; background: var(--pearl); font-weight: 600; font-size: 14px; width: 100%; }
.stock-types { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.stock-fams { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.stock-fams .chip { display: inline-flex; align-items: center; gap: 7px; }
.stock-fams .chip b { font-family: var(--mono); font-size: 11px; font-weight: 700; background: var(--pearl); color: var(--muted); border-radius: 999px; padding: 1px 7px; }
.stock-fams .chip.is-on b { background: rgba(255, 255, 255, .18); color: #fff; }
.stock-table .stock-group td { background: var(--exec-900); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em; padding: 10px 14px; }
.stock-table .stock-group td small { font-family: var(--mono); font-weight: 600; opacity: .7; margin-left: 8px; }
.stock-table .c-brand { width: 130px; color: var(--muted-2); font-size: 12.5px; font-weight: 700; }
.stock-count { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--muted-2); margin: 8px 2px 10px; }
.stock-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stock-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stock-table th { background: var(--pearl); text-align: left; padding: 11px 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #334155; border-bottom: 1px solid var(--line); }
.stock-table td { padding: 9px 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.stock-table tbody tr:hover td { background: #fafbfc; }
.stock-table tr.is-sel td { background: var(--ochre-soft); }
.stock-table .c-sel { width: 44px; text-align: center; }
.stock-table .c-ref { width: 175px; font-size: 12.5px; font-weight: 700; color: var(--red); word-break: break-all; }
.stock-table .c-fam { width: 150px; color: var(--muted); font-size: 13px; }
.stock-table .c-qty { width: 86px; }
.stock-table .c-act { width: 112px; text-align: right; }
.stock-table input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--red); cursor: pointer; }
.c-qty input { width: 68px; padding: 7px; border: 1px solid #cbd5e1; border-radius: 8px; text-align: center; font-family: var(--mono); font-weight: 700; background: var(--pearl); }
.stock-table .btn.is-done { background: #047857; box-shadow: none; }
.stock-empty { padding: 28px; text-align: center; color: var(--muted); margin: 0; }
.stock-more { text-align: center; padding: 14px; margin: 0; }
.stock-bulk { position: sticky; bottom: 14px; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--exec-900); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); margin: 14px 0; }
.stock-bulk[hidden] { display: none; }
.stock-bulk__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.stock-bulk .btn--ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.stock-custom { margin-top: 56px; scroll-margin-top: 150px; }
.stock-custom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stock-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.stock-card h3 { font-size: 18px; margin: 0; }
.stock-card label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.stock-card input, .stock-card textarea { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 9px; background: var(--pearl); font-size: 14px; font-family: inherit; }
.stock-card textarea { resize: vertical; font-family: var(--mono); font-size: 13px; }
.stock-card__row { display: grid; grid-template-columns: 1fr 110px; gap: 12px; }
.stock-card__hint { font-size: 13px; color: var(--muted-2); margin: 0; }
@media (max-width: 960px) {
	.stock-toolbar { grid-template-columns: 1fr 1fr; }
	.stock-search { grid-column: 1 / -1; }
	.stock-types { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.stock-custom__grid { grid-template-columns: 1fr; }
	.stock-table thead { display: none; }
	.stock-table, .stock-table tbody { display: block; }
	.stock-table tr { display: grid; grid-template-columns: 36px 1fr auto; grid-template-areas: "sel ref act" "sel des des" "sel fam qty"; gap: 4px 10px; padding: 12px; border-bottom: 1px solid var(--line); }
	.stock-table td { padding: 0; border: 0; width: auto !important; }
	.stock-table .c-sel { grid-area: sel; align-self: start; padding-top: 2px; }
	.stock-table .c-ref { grid-area: ref; }
	.stock-table .c-des { grid-area: des; font-weight: 600; }
	.stock-table .c-fam { grid-area: fam; align-self: center; }
	.stock-table .c-qty { grid-area: qty; justify-self: end; }
	.stock-table .c-act { grid-area: act; }
	.stock-table .c-brand { display: none; }
	.stock-table tr.stock-group { display: block; padding: 0; }
	.stock-table .stock-group td { display: block; padding: 10px 14px; }
}

/* ----- Contact : demande par e-mail (sans formulaire) ----- */
.contact-send { display: grid; gap: 14px; align-content: start; }
.contact-send h2 { margin: 0; }
.contact-send p { margin: 0; color: var(--muted); }
.contact-send__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-send__hint { font-size: 13px; color: var(--muted-2) !important; }

/* ----- Images d'articles ----- */
.post-cover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin: 0 0 28px; box-shadow: var(--shadow); }
.post-card__img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ----- Pages légales (modèle à compléter) ----- */
.legal-note { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 10px; padding: 12px 16px; font-size: 14px; }
mark.todo { background: #fef08a; color: #713f12; padding: 1px 5px; border-radius: 4px; font-weight: 700; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.footer-legal a:hover { opacity: 1; }
