/* =====================================================================
   Turbo MS Canada — styles du site
   Couleurs : noir #0B0B0C · jaune #FFD400 · rouge #E30613 (texte rouge #C4050F)
   ===================================================================== */

:root {
	--ink: #0B0B0C;
	--ink-2: #16171A;
	--line-dark: #2A2B30;
	--line-dark-2: #3A3B40;
	--on-dark: #F2F1EC;
	--on-dark-muted: #C9CAD0;
	--paper: #F5F4F0;
	--paper-2: #EEEDE8;
	--white: #FFFFFF;
	--line: #E3E1DB;
	--line-2: #D5D3CC;
	--text: #17181B;
	--muted: #575963;
	--yellow: #FFD400;
	--red: #E30613;
	--red-text: #C4050F;
	--green: #0A7A34;
	--display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
	--radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--red-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sec-paper :focus-visible, .page-head :focus-visible, .catalog :focus-visible, .detail :focus-visible, .form-page :focus-visible, .sec :focus-visible { outline-color: #1d4ed8; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: #000; padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { flex: 0 0 auto; }
.ic-yellow { color: var(--yellow); }
.mono, .part { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.js .js-hide { display: none; }
#main:focus { outline: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 2px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.2; text-align: center; }
.btn-lg { min-height: 54px; font-size: 16px; padding: 0 26px; }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: #000; }
.btn-yellow:hover { background: #ffe24d; color: #000; }
.btn-outline { background: var(--white); color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--white); }
.btn-outline.is-added { background: var(--green); border-color: var(--green); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: #000; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #222; color: #fff; }
.btn-outline-black { border-color: #000; color: #000; }
.btn-outline-black:hover { background: #000; color: #fff; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-strong { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.tag { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; line-height: 1.4; }
.tag-yellow { background: var(--yellow); color: #000; }
.tag-dark { background: var(--ink); color: var(--yellow); }
.tag-360 { position: absolute; right: 10px; bottom: 10px; background: rgba(11, 11, 12, .85); color: #fff; }
.chip { align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); padding: 2px 8px; border-radius: 4px; margin-top: 4px; }

/* ---------- Barre du haut ---------- */
.util { background: #000; color: var(--on-dark-muted); font-size: 13px; border-bottom: 1px solid #222327; }
.util-in { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.util-info { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.util-info span { display: inline-flex; gap: 8px; align-items: center; }
.util-right { display: flex; gap: 18px; align-items: center; }
.util-phone { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; text-decoration: none; }
.util-phone:hover { color: var(--yellow); }
.lang-switch { display: flex; border: 1px solid var(--line-dark-2); border-radius: 4px; overflow: hidden; }
.lang-switch a, .lang-switch span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 30px; padding: 0 10px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--on-dark-muted); }
.lang-switch a:hover { color: #fff; background: var(--ink-2); }
.lang-switch .is-current { background: var(--yellow); color: #000; }

/* ---------- En-tête ---------- */
.site-header { background: var(--ink); color: var(--on-dark); }
.head-in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 58px; width: auto; }
.head-search { flex: 1 1 340px; display: flex; min-width: 0; }
.head-search input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; border: 2px solid var(--yellow); border-right: 0; border-radius: 6px 0 0 6px; background: #fff; color: var(--text); font-size: 15px; }
.head-search button { height: 48px; padding: 0 18px; border: 0; border-radius: 0 6px 6px 0; background: var(--yellow); color: #000; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.head-search-light input { border-color: var(--text); }
.head-search-light button { background: var(--text); color: #fff; }
.head-actions { display: flex; gap: 8px; align-items: center; }
.head-account, .head-quote { display: inline-flex; gap: 10px; align-items: center; min-height: 48px; padding: 6px 12px; border-radius: 6px; text-decoration: none; color: var(--on-dark); }
.head-account:hover, .head-quote:hover { color: var(--yellow); }
.two-lines { display: flex; flex-direction: column; line-height: 1.2; font-size: 14px; font-weight: 600; }
.two-lines small { font-size: 12px; font-weight: 400; color: #A3A5AD; }
.head-quote { border: 1px solid var(--line-dark-2); font-size: 14px; font-weight: 600; }
.head-quote.is-current { border-color: var(--yellow); }
.badge { background: var(--red); color: #fff; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.main-nav { background: var(--ink-2); border-top: 1px solid #222327; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; border: 0; background: none; color: var(--on-dark); font-weight: 700; font-size: 15px; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 0 6px; }
.nav-menu > li { position: relative; display: flex; align-items: center; }
.nav-menu > li > a { display: block; padding: 15px 10px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--on-dark); border-bottom: 3px solid transparent; }
.nav-menu > li > a:hover { color: var(--yellow); }
.nav-menu > li > a[aria-current] { color: var(--yellow); border-bottom-color: var(--yellow); }
.sub-toggle { min-width: 28px; min-height: 44px; margin-left: -8px; padding: 0 6px; border: 0; background: none; color: var(--on-dark); font-size: 14px; }
.sub-toggle:hover { color: var(--yellow); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; z-index: 40; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); display: none; }
.sub-cols { columns: 2; column-gap: 8px; min-width: 420px; }
.sub li { break-inside: avoid; }
.sub a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.sub a:hover, .sub a[aria-current] { background: var(--paper); color: var(--text); }
.has-sub:hover > .sub, .has-sub.is-open > .sub { display: block; }
.has-sub.is-open > .sub-toggle span { display: inline-block; transform: rotate(180deg); }
.nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 6px; background: var(--yellow); color: #000; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: #ffe24d; color: #000; }

/* ---------- Page Services ---------- */
.svc-jump { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 2px solid var(--line-2); border-radius: 20px; background: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.svc-jump a:hover { border-color: var(--text); color: var(--text); }
.svc-list { padding-top: 40px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 48px; }
.svc { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; scroll-margin-top: 20px; }
.svc-flip { flex-direction: row-reverse; }
.svc-photo { flex: 1 1 420px; min-width: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-2); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.svc-cards .panel { scroll-margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.svc-cards .panel-title { margin: 6px 0 0; }

/* ---------- Prix des clients connectés ---------- */
.price { display: flex; flex-direction: column; gap: 2px; }
.price-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.price-val { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; color: var(--text); }
.price-detail .price-val { font-size: 40px; }
.price-list, .price-core { font-size: 13px; color: var(--muted); }
.head-account.is-current { color: var(--yellow); }

/* ---------- Achat en ligne (clients) ---------- */
.buy-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.buy-form label { flex: 0 0 100%; font-size: 14px; font-weight: 600; }
.buy-form input { width: 90px; min-height: 52px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 16px; }
.buy-form .btn { flex: 1 1 200px; gap: 8px; }
/* Versions d'un turbo (reconditionné, neuf) : une ligne chacune, avec stock, prix du client et bouton */
.versions { display: flex; flex-direction: column; gap: 12px; }
.version { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.version-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.version-name { font-family: var(--display); font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.version .price-detail .price-val { font-size: 32px; }
.version .buy-form input { min-height: 48px; }
.head-cart .badge { margin-left: 2px; }
.wc-page { padding-top: 28px; padding-bottom: 64px; }
.tms-ship-note { background: var(--paper); border-left: 4px solid var(--yellow); border-radius: 4px; padding: 12px 14px; margin: 0 0 16px; font-size: 15px; }
.wc-page .woocommerce a.button, .wc-page .woocommerce button.button, .wc-page .woocommerce input.button, .wc-page .woocommerce #respond input#submit,
.wc-page .woocommerce a.button.alt, .wc-page .woocommerce button.button.alt, .wc-page .woocommerce #place_order { background: var(--yellow); color: #000; border: 0; border-radius: 6px; font-weight: 700; padding: 14px 20px; line-height: 1.2; }
.wc-page .woocommerce a.button:hover, .wc-page .woocommerce button.button:hover, .wc-page .woocommerce #place_order:hover { background: #ffe24d; color: #000; }
.wc-page .woocommerce form .form-row input.input-text, .wc-page .woocommerce form .form-row textarea, .wc-page .woocommerce form .form-row select { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 16px; }
.wc-page .woocommerce-message, .wc-page .woocommerce-info { border-top-color: var(--yellow); background: var(--paper); }
.wc-page .woocommerce-message::before, .wc-page .woocommerce-info::before { color: var(--text); }
.wc-page .woocommerce table.shop_table { border-radius: var(--radius); }
.wc-page .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wc-page .woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.wc-page .woocommerce-MyAccount-navigation .is-active a { background: var(--paper); }

/* ---------- Espace client et ouverture de compte ---------- */
.account-box { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.account-box p { margin: 0; }
.form-grid .field-wide { grid-column: 1 / -1; }
.ac-steps { list-style: none; counter-reset: s; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ac-steps li { counter-increment: s; position: relative; padding-left: 52px; display: flex; flex-direction: column; gap: 2px; color: #D7D8DD; }
.ac-steps li::before { content: "0" counter(s); position: absolute; left: 0; top: -2px; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--yellow); }
.ac-steps strong { color: #fff; font-size: 17px; }
.ac-have a, .panel-dark p a:not(.btn) { color: var(--yellow); }
.panel-dark .checks { color: #D7D8DD; }

/* ---------- Page Industries ---------- */
.ind-grid { padding-top: 40px; padding-bottom: 60px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ind { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 20px; }
.ind .panel-title { margin: 6px 0 0; font-size: 24px; }
.ind p { margin: 0; }
.ind-facts { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.ind-facts dt { font-weight: 700; }
.ind-facts dd { margin: 0 0 8px; color: var(--muted); }
.ind-cat-label { font-size: 14px; font-weight: 700; }
.ind-engines { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ind-engines a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--paper); text-decoration: none; font-size: 13px; font-weight: 600; color: var(--text); }
.ind-engines a:hover { border-color: var(--text); }
.ind-cta { margin-top: auto !important; padding-top: 6px; }

/* ---------- Titres de section ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); margin: 0 0 10px; }
.eyebrow-yellow { color: var(--yellow); }
.sec { padding: 80px 0; background: var(--white); }
.sec-paper { background: var(--paper); }
.sec-dark { background: var(--ink); color: var(--on-dark); }
.sec-title { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1; text-transform: uppercase; }
.sec-dark .sec-title { color: #fff; }
.sec-lead { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0; }
.sec-dark .sec-lead { color: #A3A5AD; }
.sec-head { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.sec-head-stack { flex-direction: column; align-items: flex-start; gap: 0; }
.sec-head-stack .sec-title { margin-bottom: 12px; }

/* ---------- Accueil : héros ---------- */
.hero { background: var(--ink); color: var(--on-dark); }
.hero-in { display: flex; flex-wrap: wrap; gap: 44px; padding-top: 52px; padding-bottom: 68px; }
.hero-text { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.hero-text .eyebrow { font-family: var(--display); font-size: 16px; letter-spacing: .14em; margin: 0; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 80px); line-height: .95; text-transform: uppercase; color: #fff; }
.hero-title span { color: var(--yellow); }
.hero-sub { font-size: 18px; color: var(--on-dark-muted); max-width: 580px; margin: 0; }
.finder { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.finder-title { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: #fff; }
.finder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.finder .field { margin: 0; }
.finder label { color: #A3A5AD; }
.finder select, .finder input { background: var(--ink); color: var(--on-dark); border-color: var(--line-dark-2); }
.finder-help { font-size: 14px; color: #A3A5AD; margin: 0; }
.finder-help a { color: #fff; font-weight: 600; }
.hero-photo { flex: 1 1 440px; min-width: 0; margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--ink-2); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; background: rgba(11, 11, 12, .9); border: 1px solid var(--line-dark); border-radius: 8px; padding: 14px 16px; color: #fff; font-size: 15px; }
.hero-photo figcaption small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
/* Accueil : photo de l'inventaire en fond de toute la bannière, texte par-dessus (dégradé sombre à gauche) */
.hero-full { position: relative; overflow: hidden; isolation: isolate; }
.hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: -2; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .95) 0%, rgba(11, 11, 12, .88) 36%, rgba(11, 11, 12, .45) 64%, rgba(11, 11, 12, .10) 100%); }
.hero-full .hero-in { min-height: 660px; align-items: stretch; padding-top: 64px; padding-bottom: 56px; }
.hero-full .hero-text { flex: 0 1 640px; }
.hero-full .hero-sub { color: #D7D8DD; }
.hero-full .finder { background: rgba(23, 24, 27, .9); }
.hero-cap { align-self: flex-end; margin: 0 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; max-width: 380px; background: rgba(11, 11, 12, .84); border: 1px solid var(--line-dark); border-radius: 8px; padding: 12px 14px; color: #fff; font-size: 14px; }
.hero-cap small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
@media (max-width: 900px) {
	/* Téléphone et tablette : la photo en bande pleine largeur tout en haut, le texte en dessous sur fond noir. */
	.hero-full::before { display: none; }
	.hero-full .hero-bg { position: static; display: block; height: 250px; }
	.hero-full .hero-in { min-height: 0; padding-top: 28px; }
	.hero-cap { display: none; }
}

/* ---------- Accueil : confiance et marques ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; padding-top: 30px; padding-bottom: 22px; }
.trust-item { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--muted); }
.trust-item strong { display: block; font-family: var(--display); font-size: 26px; line-height: 1; color: var(--text); }
.trust-ic { width: 48px; height: 48px; border-radius: 8px; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--text); }
.brands { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 28px; }
.brands-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.brands-list { display: flex; flex-wrap: wrap; gap: 8px 34px; font-family: var(--display); font-weight: 700; font-size: 25px; text-transform: uppercase; color: #6B6D75; }

/* ---------- Accueil : applications ---------- */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-auto-rows: 250px; gap: 16px; }
.app { position: relative; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; text-decoration: none; background: var(--ink-2); }
.app img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.app:hover img { transform: scale(1.04); }
.app::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .9) 100%); }
.app:hover { color: #fff; }
.app-big { grid-row: span 2; }
.app-txt { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #E4E4E8; }
.app-txt .tag { align-self: flex-start; }
.app-txt strong { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; color: #fff; }
.app-big .app-txt strong { font-size: 36px; }
.app-cta { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: #fff; margin-top: 4px; }
.app-list { background: var(--white); border: 1px solid var(--line); color: var(--text); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.app-list::after { display: none; }
.app-list strong { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; }
.app-list a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.app-list a:last-child { border-bottom: 0; }

/* ---------- Cartes produit ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; color: #8A8C93; font-size: 13px; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.part { font-size: 14px; font-weight: 600; }
.card-title { font-family: var(--body); font-size: 17px; font-weight: 700; line-height: 1.3; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-body .muted { font-size: 14px; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.stock { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; margin: 0; }
.stock .dot { width: 8px; height: 8px; border-radius: 50%; background: #9A9CA3; }
.stock.in { color: var(--green); }
.stock.in .dot { background: var(--green); }
.stock.out { color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted); }

/* ---------- Accueil : achat, core, atelier, entrepôts, appel ---------- */
.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 20px; }
.buy { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.buy-pro { border: 2px solid var(--yellow); }
.buy-head { display: flex; gap: 14px; align-items: center; }
.buy-head small { font-size: 13px; color: #A3A5AD; }
.buy-pro .buy-head small { color: var(--yellow); }
.buy-head h3 { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; text-transform: uppercase; color: #fff; }
.buy-ic { width: 48px; height: 48px; border-radius: 8px; background: var(--line-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.buy-pro .buy-ic { background: var(--yellow); color: #000; }
.buy .btn { margin-top: auto; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--yellow); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec-dark .checks { color: #D7D8DD; }
.checks-red li { font-weight: 600; }
.checks-red li::before { background: var(--red-text); }
.core { display: flex; flex-wrap: wrap; gap: 36px 60px; align-items: center; }
.core-intro { flex: 1 1 340px; }
.core-intro .sec-title { margin-bottom: 14px; }
.steps { flex: 2 1 540px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.steps strong { color: var(--text); font-size: 17px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--red-text); }
.shop { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.shop-photo { flex: 1 1 440px; min-width: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--ink-2); }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; }
.shop-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.shop-text .checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
.stats { display: flex; flex-wrap: wrap; gap: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.stats span { font-size: 14px; color: var(--muted); }
.wh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.wh { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.wh small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wh strong { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--text); }
.wh-hq { background: var(--ink); border-color: var(--ink); color: var(--on-dark-muted); }
.wh-hq small { color: var(--yellow); }
.wh-hq strong { color: #fff; }
/* Accueil : « Vous ne trouvez pas votre turbo ? » (sous les plus demandés) */
.sec-more { padding-top: 0; }
.find-more { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 36px; align-items: center; padding: 36px 40px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); }
.find-more-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: #000; align-self: start; }
.find-more .sec-title { color: #fff; font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 12px; }
.find-more-lead { margin: 0; font-size: 17px; color: var(--on-dark-muted); max-width: 640px; }
.find-more-hint { margin: 10px 0 0; font-size: 14px; color: #A3A5AD; }
.find-more-btns { display: flex; flex-direction: column; gap: 10px; }
.find-more :focus-visible { outline-color: var(--yellow); }
@media (max-width: 900px) {
	.find-more { grid-template-columns: 1fr; padding: 28px 22px; }
	.find-more-btns { flex-direction: row; flex-wrap: wrap; }
}
.cta { background: var(--yellow); color: #000; padding: 60px 0; }
.cta-in { display: flex; flex-wrap: wrap; gap: 28px 60px; align-items: center; justify-content: space-between; }
.cta-in > div:first-child { flex: 1 1 500px; }
.cta-in p { font-size: 18px; margin: 10px 0 0; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; padding: 60px 0 30px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.foot-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .strong { color: #fff; font-weight: 600; }
.foot-title { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid #222327; font-size: 13px; color: #A3A5AD; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Message « ajouté » ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; display: flex; gap: 16px; align-items: center; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); font-weight: 600; max-width: calc(100% - 32px); }
.toast a { color: var(--yellow); white-space: nowrap; }

/* ---------- En-tête de page intérieure ---------- */
.page-head { background: var(--paper); padding: 26px 0 26px; border-bottom: 1px solid var(--line); }
.page-head-slim { padding: 16px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.page-head-slim .crumbs { margin: 0; }
.crumbs a { color: var(--text); }
.page-title { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5vw, 58px); line-height: 1; text-transform: uppercase; }
.page-lead { color: var(--muted); font-size: 17px; max-width: 760px; margin: 12px 0 0; }
.notice-band { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; padding: 12px 16px; background: #FFF6CC; border: 1px solid #E8C93A; border-radius: 8px; font-size: 15px; }

/* ---------- Catalogue ---------- */
.catalog { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 24px; padding-bottom: 64px; }
.engine-nav { flex: 1 1 230px; max-width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.engine-nav-title { font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; padding: 4px 8px 10px; }
.engine-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.engine-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 15px; }
.engine-nav a span { font-size: 13px; color: var(--muted); }
.engine-nav a:hover { background: var(--paper); color: var(--text); }
.engine-nav a[aria-current] { background: var(--ink); color: var(--yellow); }
.engine-nav a[aria-current] span { color: #fff; }
.catalog-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.count { margin: 0; color: var(--muted); }
.sort-form { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.sort-form select { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--text); font-size: 15px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 2px solid var(--line-2); border-radius: 20px; background: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.chip-link[aria-current] { background: var(--text); border-color: var(--text); color: #fff; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); }
.popular { display: flex; flex-direction: column; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.popular-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-end; justify-content: space-between; }
.popular-head > div { min-width: 0; }
.popular-title { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.popular-head .muted { margin: 4px 0 0; }
@media (max-width: 700px) {
	.grid-cards.popular-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.popular-row > .card { scroll-snap-align: start; }
}
.pager { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; margin-top: 8px; }
.pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pager a, .pager span[aria-current] { display: inline-flex; gap: 6px; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 2px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; }
.pager a:hover { border-color: var(--text); }
.pager span[aria-current] { background: var(--text); border-color: var(--text); color: var(--yellow); }
.pager-gap { display: inline-flex; align-items: flex-end; min-height: 44px; padding: 0 2px; color: var(--muted); }
.catalog .card { background: #fff; }
body.page-template-page-templatescatalogue-php main { background: var(--paper); }

/* ---------- Fiche produit ---------- */
.detail { padding-top: 26px; padding-bottom: 60px; }
.detail-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-bottom: 28px; }
.detail-media { flex: 1 1 460px; min-width: 0; }
.detail-info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.detail-info .eyebrow { margin: 0; }
.detail-title { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); line-height: 1; text-transform: uppercase; }
.detail-part { font-family: var(--mono); font-size: 22px; font-weight: 600; margin: 0; }
.detail-app { font-size: 17px; color: var(--muted); margin: 0; }
.stock-lg { font-size: 16px; }

/* ---------- Vêtements / Merch ---------- */
.merch { padding: 36px 0 70px; }
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.merch-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 120px; }
.merch-card:target { outline: 3px solid var(--yellow); }
.merch-media { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 10px; }
.merch-media img { width: 100%; height: 100%; object-fit: contain; }
.merch-thumbs { display: flex; gap: 8px; padding: 0 16px 4px; }
.merch-thumb { width: 56px; height: 56px; padding: 2px; border: 2px solid var(--line); border-radius: 6px; background: #fff; }
.merch-thumb[aria-pressed="true"] { border-color: var(--text); }
.merch-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.merch-body { padding: 14px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.merch-name { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; margin: 0; }
.merch-desc { color: var(--muted); font-size: 15px; margin: 0; }
.merch-price { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 4px 0 0; margin-top: auto; padding-top: 6px; }
.merch-buy { display: grid; grid-template-columns: 1fr; gap: 0; }
.merch-buy .field { margin-bottom: 10px; }
.merch-qty input { max-width: 110px; }
.merch-note { color: var(--muted); font-size: 14px; margin: 28px 0 0; max-width: 760px; }

/* Galerie « L'atelier en images » (accueil) et photos de la page À propos */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gal-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.gal-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gal-item:hover img { transform: scale(1.03); }
.gal-item figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); background: rgba(11, 11, 12, .86); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; padding: 6px 10px; border-radius: 6px; }
.gal-wide { grid-column: span 2; grid-row: span 2; }
.gal-tall { grid-row: span 2; }
.gal-half { grid-column: span 2; }
.gal-foot { margin: 28px 0 0; }
.about-banner { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; background: var(--ink-2); }
.about-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-team { margin: 44px 0 72px; }
/* À propos : chaque section du texte avec sa photo à côté (côté alterné) */
.prose.prose-about { max-width: none; padding-bottom: 20px; }
.prose-about > p, .prose-about > ul { max-width: 820px; }
.ab-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 44px; align-items: center; margin: 44px 0; }
.ab-sec-flip { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
.ab-sec-flip .ab-photo { order: -1; }
.ab-text > h2:first-child { margin-top: 0; }
.ab-text > :last-child { margin-bottom: 0; }
.ab-photo { margin: 0; }
.ab-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--ink-2); }
.ab-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.about-team .sec-title { margin-bottom: 18px; }
.about-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-strip .gal-item { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
	.gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
	.about-banner { aspect-ratio: 16 / 9; }
	.ab-sec, .ab-sec-flip { grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 34px 0; }
	.ab-sec-flip .ab-photo { order: 0; }
}
@media (max-width: 560px) {
	.gal { grid-auto-rows: 150px; gap: 10px; }
	.gal-wide { grid-row: span 1; }
	.about-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
	.about-strip .gal-item:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
	.gal-item figcaption { font-size: 13px; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
}
.buy-box { margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.detail-bottom { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.detail-bottom .panel { flex: 1 1 400px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.panel-title { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; margin-bottom: 12px; }
.panel-sub { font-size: 16px; margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.specs { margin: 0; display: grid; grid-template-columns: minmax(130px, auto) minmax(0, 1fr); gap: 10px 20px; font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; overflow-wrap: anywhere; }
.xrefs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xrefs li { font-size: 14px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); padding: 6px 10px; border-radius: 6px; }
.xvars { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.xvars summary { cursor: pointer; font-weight: 700; font-size: 15px; padding: 10px 0; }
.xvars .muted { margin: 4px 0 8px; }
.xvars-list { margin: 0; font-size: 13px; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; }
.related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.related a { font-weight: 600; }
.related li { display: flex; flex-direction: column; }
.back { margin-top: 20px; }

/* ---------- Visionneuse 360° ---------- */
.viewer-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.viewer-stage > img:not(.strip):not(.sr-only) { width: 100%; height: 100%; object-fit: cover; }
.viewer-stage.ph { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; color: #8A8C93; }
.viewer.is-ready .viewer-stage { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.viewer.is-dragging .viewer-stage { cursor: grabbing; }
.strip { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; pointer-events: none; will-change: transform; }
.viewer-hint { position: absolute; top: 12px; left: 12px; display: inline-flex; gap: 6px; align-items: center; background: rgba(11, 11, 12, .85); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 6px; pointer-events: none; }
.viewer-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 6px; background: rgba(11, 11, 12, .85); color: #fff; font-weight: 600; font-size: 14px; }
.viewer-zoom:hover { background: #000; }
.viewer-controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.viewer-controls button { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.viewer-controls input[type=range] { flex: 1 1 auto; min-width: 0; accent-color: var(--text); height: 44px; }
.viewer-count { flex: 0 0 auto; min-width: 64px; text-align: right; font-size: 14px; color: var(--muted); }
.viewer-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; margin-top: 8px; }
.viewer-thumbs button { flex: 0 0 auto; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 3px solid transparent; border-radius: 6px; overflow: hidden; position: relative; background: var(--paper-2); }
.viewer-thumbs button[aria-current] { border-color: var(--text); }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 11, 12, .95); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 16px 24px; animation: tms-in .25s ease both; }
.lb[hidden] { display: none; }
.lb-stage { position: relative; width: min(100%, calc((100vh - 210px) * 4 / 3)); aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--paper-2); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lb-logo { position: absolute; left: 50%; top: 50%; width: 24%; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; animation: tms-fade 1s ease .15s both; }
.lb-close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border: 1px solid var(--line-dark-2); border-radius: 8px; background: var(--ink-2); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lb .viewer-controls { width: min(100%, calc((100vh - 210px) * 4 / 3)); margin: 0; }
.lb .viewer-controls button { background: var(--ink-2); border-color: var(--line-dark-2); color: #fff; width: 48px; height: 48px; }
.lb .viewer-controls input[type=range] { accent-color: var(--yellow); }
.lb .viewer-count { color: var(--on-dark-muted); }
.lb-caption { color: var(--on-dark-muted); font-size: 14px; text-align: center; }
@keyframes tms-fade { from { opacity: 0; } to { opacity: .22; } }
@keyframes tms-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Formulaires ---------- */
.form-page { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 28px; padding-bottom: 64px; }
.form-page > .panel { flex: 1 1 420px; }
.form-page > .quote-list { flex: 1 1 360px; }
.form-page > #formulaire { flex: 2 1 520px; }
body.page-template-page-templatessoumission-php main, body.page-template-page-templatescontact-php main, body.error404 main { background: var(--paper); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; font-size: 14px; }
.field label { font-weight: 600; }
.req { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--text); font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: 0 0 auto; accent-color: var(--text); }
.consent label { font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 8px; padding: 16px 18px; margin-bottom: 18px; }
.alert h2 { font-family: var(--display); font-size: 26px; text-transform: uppercase; margin-bottom: 6px; }
.alert-ok { background: #E6F4EA; border: 1px solid #9BD3AE; flex: 1 1 100%; }
.alert-error { background: #FDECEC; border: 1px solid #F0A3A3; }
.qitems { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.qitem { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.qitem img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; flex: 0 0 auto; background: var(--paper-2); }
.qitem-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.qitem-txt a { font-weight: 700; }
.qitem input { width: 70px; min-height: 44px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 6px; }
.qitem-remove { min-height: 44px; padding: 0 10px; border: 0; background: none; text-decoration: underline; color: var(--muted); }
.qitem-ver { min-height: 44px; max-width: 190px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; font-size: 14px; }
.panel-dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.panel-dark .panel-title { color: #fff; }
.coords { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.coords dt { display: flex; gap: 8px; align-items: center; color: var(--yellow); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 12px; }
.coords dd { margin: 0; }
.coords a { color: #fff; }

/* ---------- Pages de texte ---------- */
.prose { max-width: 820px; padding: 34px 0 70px; font-size: 17px; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; margin: 34px 0 12px; scroll-margin-top: 16px; }
.prose h2:target { background: #FFF6CC; box-shadow: 0 0 0 8px #FFF6CC; border-radius: 4px; }
.prose h3 { font-size: 19px; margin: 22px 0 8px; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose .lead { font-size: 20px; color: var(--muted); }

/* ---------- Menu replié (tablettes et téléphones) : sous 1 080 px, les 7 onglets et le bouton ne tiennent plus ---------- */
@media (max-width: 1080px) {
	.nav-in { flex-wrap: wrap; }
	.nav-toggle { display: inline-flex; }
	.nav-cta { min-height: 40px; }
	.nav-menu { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding-bottom: 10px; }
	.nav-menu.is-open { display: flex; }
	.nav-menu > li { flex-wrap: wrap; border-top: 1px solid #222327; }
	.nav-menu > li > a { flex: 1 1 auto; padding: 14px 0; border-bottom: 0; }
	.nav-menu > li > a[aria-current] { border-bottom: 0; }
	.sub-toggle { min-width: 48px; min-height: 48px; margin: 0; font-size: 18px; }
	.has-sub:hover > .sub { display: none; }
	.sub, .sub-cols { position: static; flex-basis: 100%; min-width: 0; columns: 1; border-radius: 8px; box-shadow: none; margin-bottom: 10px; }
	.has-sub.is-open > .sub { display: block; }
}

.nowrap { white-space: nowrap; }

/* Bouton « Menu » de l'en-tête et barre d'actions du bas : téléphones seulement. */
.nav-toggle-head, .mobile-bar { display: none; }

/* ---------- Téléphones ---------- */
@media (max-width: 760px) {
	.wrap { padding: 0 16px; }
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

	/* En-tête compact : téléphone et langue sur une ligne, logo + icônes + menu, puis la recherche. */
	.util-info { display: none; }
	.util-in { padding-top: 5px; padding-bottom: 5px; }
	.util-right { flex: 1 1 100%; justify-content: space-between; }
	.head-in { gap: 10px 8px; padding-top: 10px; padding-bottom: 12px; }
	.logo img { height: 44px; }
	.head-actions { margin-left: auto; gap: 4px; }
	.head-account, .head-quote { min-height: 44px; min-width: 44px; padding: 6px 10px; justify-content: center; position: relative; }
	.head-quote .badge { position: absolute; top: -4px; right: -4px; }
	.head-label, .head-account .two-lines, .head-search button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.nav-toggle-head { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; border: 1px solid var(--line-dark-2); border-radius: 6px; background: none; color: var(--on-dark); }
	.head-search { order: 3; flex-basis: 100%; }
	.head-search input { height: 46px; font-size: 16px; }
	.head-search button { height: 46px; }
	.main-nav { border-top: 0; }
	.nav-in > .nav-toggle, .nav-cta { display: none; }
	.nav-menu.is-open { padding-top: 4px; }

	/* Barre d'actions fixe en bas de l'écran : appeler, soumission, catalogue ou panier. */
	.mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid #222327; padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; }
	.mobile-bar a:first-child { background: var(--yellow); color: #000; }
	.mobile-bar .badge { position: absolute; top: 6px; left: calc(50% + 8px); }
	.menu-open .mobile-bar { display: none; }
	.toast { bottom: calc(76px + env(safe-area-inset-bottom)); }

	/* Rangées de filtres et de raccourcis : une seule ligne qui défile sur le côté. */
	.engine-nav { padding: 0; border: 0; background: none; }
	.engine-nav-title { font-size: 13px; margin: 0 0 8px; padding: 0; }
	.engine-nav ul, .chips, .svc-jump { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; gap: 8px; }
	.engine-nav ul::-webkit-scrollbar, .chips::-webkit-scrollbar, .svc-jump::-webkit-scrollbar { display: none; }
	.engine-nav li, .chips li, .svc-jump li { flex: 0 0 auto; scroll-snap-align: start; }
	.engine-nav a { min-height: 40px; border: 1px solid var(--line); background: #fff; white-space: nowrap; }
	.chip-link, .svc-jump a { white-space: nowrap; }
	.catalog { gap: 16px; padding-top: 16px; }
	.notice-band { font-size: 14px; padding: 10px 12px; align-items: flex-start; }

	/* Cartes produit compactes : photo à gauche, renseignements à droite. */
	.grid-cards { grid-template-columns: 1fr; gap: 12px; }
	.grid-cards .card { display: grid; grid-template-columns: 112px 1fr; align-items: start; }
	.grid-cards .card-media { aspect-ratio: 1 / 1; margin: 12px 0 12px 12px; border-radius: 8px; overflow: hidden; }
	.grid-cards .card-body { padding: 12px 12px 12px 14px; gap: 2px; }
	.grid-cards .card-title { font-size: 16px; }
	.grid-cards .card-foot { padding-top: 8px; gap: 6px; }
	.grid-cards .card-foot .btn { min-height: 44px; padding: 8px 12px; font-size: 14px; }
	.grid-cards .badges { top: 6px; left: 6px; }
	.grid-cards .tag { font-size: 11px; padding: 2px 6px; }
	.grid-cards .tag-360 { right: 6px; bottom: 6px; }
	.grid-cards .ph { font-size: 11px; text-align: center; padding: 4px; }

	/* Accueil */
	.sec { padding: 56px 0; }
	.hero-photo { min-height: 300px; }
	.trust-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding-top: 22px; }
	.trust-item { flex-direction: column; align-items: flex-start; gap: 8px; }
	.trust-item strong { font-size: 22px; }
	.trust-ic { width: 40px; height: 40px; }
	.brands { padding-top: 26px; border-top: 1px solid var(--line); }
	.brands-list { gap: 6px 22px; font-size: 21px; }
	.apps { grid-auto-rows: auto; }
	.app { min-height: 230px; }
	.app-big { grid-row: span 1; min-height: 340px; }

	/* Fiche produit */
	.stock { align-items: flex-start; }
	.stock .dot { flex: 0 0 8px; margin-top: .45em; }
	.specs { grid-template-columns: 1fr; gap: 2px; }
	.specs dd { margin-bottom: 8px; }
	.viewer-thumbs { display: none; }

	/* Pied de page en deux colonnes */
	.site-footer { padding-top: 44px; }
	.foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
	.foot-brand { grid-column: 1 / -1; }
	.site-footer ul { gap: 2px; }
	.site-footer ul a { display: inline-block; padding: 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.lb-logo { opacity: .22; }
}
