/* J&R Technology Maroc — feuille de style
   Sobre et chaleureux : beaucoup de blanc, les produits posés sur un fond gris doux,
   une seule police (Instrument Sans), le bleu J&R pour les actions. Le jaune Ex ne sert qu'aux zones ATEX. */

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --paper-2: #F5F5F3;       /* bandes douces */
  --stage: #F2F2EF;         /* fond des photos produit */
  --stage-on-soft: #FFFFFF; /* photo posée sur une bande douce */
  --hover: #EDEDEA;
  --ink: #111214;
  --text: #3B3D42;
  --muted: #74767B;
  --line: #E6E6E2;
  --line-strong: #CFCFCA;
  --navy: #053784;
  --navy-dark: #032A66;
  --navy-tint: #E8EDF6;
  --action-bg: #053784;
  --action-fg: #FFFFFF;
  --action-hover: #032A66;
  --deep: #111214;
  --ex: #F3C300;
  --danger: #B42318;
  --success: #146C43;
  --overlay: rgb(17 18 20 / 45%);

  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: var(--sans);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --header-h: 68px;
  --gutter: clamp(16px, 3vw, 40px);
  --section: clamp(56px, 5vw + 24px, 112px);
  --ease: cubic-bezier(.16, .84, .24, 1);
}

/* — Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
body.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; }
img { display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.4rem); line-height: 1.08; letter-spacing: -.028em; }
h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
mark { background: var(--ex); color: #000; border-radius: 3px; }
abbr[title] { text-decoration: none; cursor: help; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 8px 14px; border-radius: var(--r-sm); background: var(--paper); color: var(--ink); }
.skip-link:focus { left: 16px; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 13px; height: 13px; }
.lead { color: var(--muted); font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); line-height: 1.5; }
.page-meta { color: var(--muted); font-size: 14px; }
.mono { font-variant-numeric: tabular-nums; }

.ex-sign { display: inline-block; flex: none; width: 1.4em; height: 1.22em; vertical-align: -.2em; overflow: visible; }

/* — Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1.2;
  text-align: center; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--action-bg); color: var(--action-fg); }
.btn-primary:hover { background: var(--action-hover); color: var(--action-fg); }
.btn-quiet { background: var(--paper-2); color: var(--ink); }
.btn-quiet:hover { background: var(--hover); color: var(--ink); }
.btn-outline { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--action-bg); color: var(--action-fg); }
.btn-light:hover { background: var(--action-hover); color: var(--action-fg); }
.btn-ghost-light { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost-light:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 999px; background: none; color: var(--ink);
}
.icon-btn:hover { background: var(--hover); }

/* — En-tête */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { width: auto; height: 30px; }
.brand-text { display: none; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand.logo-failed .brand-logo, .brand.logo-failed picture { display: none; }
.brand.logo-failed .brand-text { display: inline; }
.brand-country { padding-left: 12px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1; }
.nav { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.nav-item { display: flex; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border: 0; border-radius: 999px;
  background: none; color: var(--text); font-size: 15px; font-weight: 500;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active, .nav-link[aria-expanded="true"] { background: var(--paper-2); color: var(--ink); }
.nav-link .icon { color: var(--muted); transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.search-trigger { display: inline-flex; gap: 8px; width: auto; padding: 0 14px; background: var(--paper-2); color: var(--muted); font-size: 14px; white-space: nowrap; }
.search-trigger:hover { background: var(--hover); color: var(--ink); }
.quote-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--action-bg); color: var(--action-fg); font: 600 11px/18px var(--sans); text-align: center;
}
.header-cta { margin-left: 8px; }
.menu-btn { display: none; }

/* — Méga-menus */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 32px 0 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mega-inner { display: grid; grid-template-columns: 1fr 260px; gap: 40px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
.mega-family { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r); color: var(--text); }
.mega-family:hover { background: var(--paper-2); color: var(--text); }
.mega-family img { width: 52px; height: 52px; padding: 4px; border-radius: var(--r-sm); background: var(--stage); object-fit: contain; flex: none; }
.mega-family strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.mega-family small { display: block; color: var(--muted); font-size: 13px; }
.mega-side { padding-left: 32px; border-left: 1px solid var(--line); }
.mega-side h3 { margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.mega-side a { display: block; padding: 5px 0; color: var(--text); font-size: 14.5px; }
.mega-side a:hover { color: var(--ink); }
.mega-side .mega-all { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--navy); font-weight: 500; }
.mega-solutions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.mega-solutions h3 { margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 500; }
.mega-solutions a { display: block; padding: 4px 0; color: var(--text); font-size: 14.5px; }
.mega-solutions a:hover { color: var(--ink); }
.mega-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 500; font-size: 14.5px; }

/* — Menu mobile */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--overlay); }
.mobile-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92%); overflow-y: auto; background: var(--paper); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 24px; }
.mobile-menu-title { color: var(--ink); font-weight: 600; }
.mobile-nav { padding: 0 8px 24px; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 16px; color: var(--ink); font-size: 17px; font-weight: 500; list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav details > div { padding: 0 16px 12px; }
.mobile-nav details > div a { display: block; padding: 7px 0; color: var(--text); font-size: 15px; }
.mobile-nav > a:not(.btn) { display: block; padding: 16px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 500; }
.mobile-nav .btn { width: calc(100% - 32px); margin: 24px 16px 0; }

/* — Chargement */
.page-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 140px 0; color: var(--muted); }
.loader { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* — Sections */
.section { padding: var(--section) 0; }
.section + .section:not(.section-soft):not(.section-mist) { padding-top: 0; }
.section-tight { padding: 48px 0; }
.section-soft, .section-mist { background: var(--paper-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section-lead { max-width: 62ch; margin: calc(clamp(24px, 3vw, 40px) * -1 + 12px) 0 32px; color: var(--muted); }
.section-link { font-weight: 500; font-size: 15px; white-space: nowrap; }
.block-title { margin-bottom: 16px; font-size: 1.3rem; }
.group-title { margin: 56px 0 20px; font-size: 1.35rem; }
#catalog-results > .group-title:first-child, .solution-family:first-child .group-title { margin-top: 0; }
.solution-family + .solution-family { margin-top: 48px; }

/* — Accueil : ouverture */
.hero { padding: clamp(48px, 6vw, 96px) 0 0; }
.hero-copy { max-width: 960px; margin-inline: auto; text-align: center; }
.hero-copy h1 { max-width: 24ch; margin-inline: auto; }
.hero-copy .lead { max-width: 46rem; margin: 22px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }

.lineup {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: clamp(8px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 72px); padding: clamp(28px, 5vw, 72px) clamp(16px, 5vw, 72px) clamp(20px, 3vw, 40px);
  border-radius: var(--r-lg); background: var(--stage);
}
.lineup-item { display: flex; flex-direction: column; align-items: center; color: var(--ink); text-align: center; }
.lineup-item:hover { color: var(--ink); }
.lineup-photo { position: relative; display: block; width: 100%; height: clamp(120px, 22vw, 300px); }
.lineup-item.is-main .lineup-photo { height: clamp(160px, 29vw, 400px); }
.lineup-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.lineup-caption { display: block; margin-top: 18px; }
.lineup-caption strong { display: block; font-size: 15px; font-weight: 600; }
.lineup-caption span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }

/* — Familles */
.family-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 20px; }
.family-card { display: flex; flex-direction: column; color: var(--text); }
.family-card:hover { color: var(--text); }
.family-media { --pad: 14%; position: relative; display: block; flex: none; aspect-ratio: 1; border-radius: var(--r); background: var(--stage); }
.family-media img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.family-body { padding-top: 14px; }
.family-body h3 { font-size: 15.5px; }
.family-body p { margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.family-count { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.cert-line { margin-top: 24px; color: var(--muted); font-size: 14px; }

/* — Où sera-t-il installé ? */
.zones { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.zone-list { display: flex; flex-wrap: wrap; gap: 8px; }
.zone { position: relative; }
.zone input { position: absolute; opacity: 0; pointer-events: none; }
.zone label {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--text); font-size: 15px; font-weight: 500; cursor: pointer; user-select: none; transition: background-color .15s, color .15s, border-color .15s;
}
.zone label:hover { border-color: var(--ink); color: var(--ink); }
.zone input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.zone input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 3px; }

.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pick-photo { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--r-lg); background: var(--stage-on-soft); }
.pick-photo img { position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; object-fit: contain; }
.pick-ex { position: absolute; top: 18px; left: 18px; font-size: 1.5rem; }
.pick-model { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; }
.pick-model a { color: var(--ink); }
.pick-name { margin-top: 6px; color: var(--muted); font-size: 17px; }
.pick-note { max-width: 46ch; margin-top: 20px; color: var(--text); }
.pick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.pick-facts dt { color: var(--muted); font-size: 13px; }
.pick-facts dd { margin: 2px 0 0; color: var(--ink); font-size: 15px; font-weight: 500; }
.pick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.pick-actions .add-btn { height: 46px; padding: 0 20px; font-size: 15px; }
.pick-alts { margin-top: 18px; color: var(--muted); font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .pick.is-swapping .pick-photo img { animation: pick-in .45s var(--ease) both; }
  .pick.is-swapping .pick-info { animation: pick-fade .45s var(--ease) both; }
}
@keyframes pick-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes pick-fade { from { opacity: 0; } }

/* — Professionnels */
.pro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); background: var(--paper-2); }
.pro-copy h2 { max-width: 16ch; }
.pro-copy p { max-width: 46ch; margin: 18px 0 28px; color: var(--muted); }
.pro-list { margin: 0; padding: 0; list-style: none; }
.pro-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 20px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.pro-list li:first-child { border-top: 0; padding-top: 4px; }
.pro-list strong { color: var(--ink); font-weight: 600; }
.pro-list span { color: var(--muted); }

/* — Repères chiffrés (À propos) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
.facts dt { color: var(--ink); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.facts-plain { margin: 0; }

/* — Secteurs */
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.sector-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.sector-grid-4 .sector-body p { display: none; }
.sector-card { display: block; color: var(--text); }
.sector-card:hover { color: var(--text); }
.sector-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); }
.sector-media img { width: 100%; height: 100%; object-fit: cover; }
.sector-body { padding-top: 16px; }
.sector-body small { color: var(--muted); font-size: 13px; }
.sector-body h3 { font-size: 17px; }
.sector-body p { display: -webkit-box; overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* — Cartes produit */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 20px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-media { --pad: 12%; position: relative; display: block; flex: none; aspect-ratio: 1; border-radius: var(--r); background: var(--stage); }
.product-media img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.section-soft .product-media, .section-mist .product-media { background: var(--stage-on-soft); }
.product-body { flex: 1; padding-top: 16px; }
.product-family { color: var(--muted); font-size: 13px; }
.product-model { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.product-model a { color: var(--ink); }
.product-model a:hover { color: var(--navy); }
.product-name { margin-top: 2px; color: var(--text); font-size: 14.5px; line-height: 1.45; }
.product-specs { margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.3; }
.tag-ex { display: inline-block; padding: 2px 7px; border-radius: 999px; background: var(--ex); color: #000; font-size: 11.5px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; }
.add-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 500; font-size: 14px;
}
.add-btn:hover { border-color: var(--ink); }
.add-btn .icon { width: 15px; height: 15px; }
.add-btn.is-added { border-color: transparent; background: var(--navy-tint); color: var(--navy); }
.compare-toggle { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; cursor: pointer; }
.compare-toggle input, .check input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }

/* — Présentation et services */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.prose h2 { margin-bottom: 16px; }
.prose p { max-width: 62ch; margin-bottom: 16px; }
.prose .btn { margin-top: 8px; }
.service-list { margin: 0; padding: 0; list-style: none; }
.service-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.service-list strong { display: block; color: var(--ink); }
.service-list span { color: var(--muted); font-size: 15px; }

/* — Actualités */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.news-card { display: flex; flex-direction: column; }
.news-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg); background: var(--stage); }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding-top: 16px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 6px; color: var(--muted); font-size: 13.5px; }
.news-meta span { color: var(--ink); font-weight: 500; }
.news-body h3 { margin-bottom: 6px; font-size: 17px; line-height: 1.3; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--navy); }
.news-body p { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 14.5px; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* — En-têtes de page */
.page-hero { padding: 32px 0 clamp(40px, 4vw, 64px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: clamp(24px, 3vw, 40px); color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.page-hero .lead { max-width: 60ch; margin-top: 16px; }
.page-hero .chips-select { margin-top: 28px; }
.family-banner { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: center; }
.family-banner .page-meta { margin-top: 14px; }
.family-banner-media { aspect-ratio: 1; padding: 28px; border-radius: var(--r-lg); background: var(--stage); }
.family-banner-media img { width: 100%; height: 100%; object-fit: contain; }

/* — Catalogue */
.catalog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 6px; }
.filters-head { display: none; }
.filter-group { margin-bottom: 24px; }
.filter-group h3 { margin-bottom: 10px; color: var(--ink); font-size: 14px; }
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.filter-list button { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--text); font-size: 14.5px; text-align: left; }
.filter-list button:hover { background: var(--paper-2); }
.filter-list button span { color: var(--muted); font-size: 13px; }
.filter-list button.is-active { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.filter-list button.is-active span { color: var(--ink); }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; }
.chips-select button:hover { border-color: var(--ink); }
.chips-select button.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; cursor: pointer; }
.filters-apply { display: none; }
.filters-reset { display: inline-block; font-size: 14px; }
.filters-open { display: none; }
.catalog-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.catalog-search { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.catalog-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.catalog-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--ink); font-size: 15px; }
.select { height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14.5px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters:not(:empty) { margin-bottom: 10px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink); font-size: 13.5px; }
.active-filters button .icon { width: 13px; height: 13px; }
.catalog-count { margin: 4px 0 24px; color: var(--muted); font-size: 14px; }
.empty-state { padding: 56px 24px; border-radius: var(--r-lg); background: var(--paper-2); text-align: center; }
.empty-state p { max-width: 52ch; margin: 8px auto 20px; color: var(--muted); }
.empty-state .hero-actions { margin-top: 0; }

/* — Fiche produit */
.product-top { padding-top: 32px; padding-bottom: 64px; }
.product-top .breadcrumb { margin-bottom: 28px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main { display: grid; place-items: center; aspect-ratio: 1; padding: 10%; border-radius: var(--r-lg); background: var(--stage); }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 76px; height: 76px; padding: 8px; border: 0; border-radius: var(--r-sm); background: var(--stage); }
.gallery-thumbs button.is-active { box-shadow: inset 0 0 0 1.5px var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info { padding-top: 8px; }
.product-info .product-family { font-size: 14px; }
.product-info h1 { margin: 8px 0 6px; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.product-subtitle { margin-bottom: 18px; color: var(--ink); font-size: 19px; font-weight: 500; line-height: 1.35; }
.product-summary { max-width: 60ch; margin-bottom: 22px; color: var(--muted); }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.product-tags .tag-ex { padding: 4px 10px; font-size: 13px; }
.highlights { margin: 0 0 28px; padding-left: 18px; }
.highlights li { margin: 6px 0; font-size: 15px; }
.highlights li::marker, .dots li::marker { color: var(--muted); }
.buy-box { padding: 20px; border-radius: var(--r-lg); background: var(--paper-2); }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-row .btn { flex: 1; min-width: 220px; }
.qty { display: inline-flex; align-items: center; height: 46px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.qty button { display: grid; place-items: center; width: 40px; height: 100%; border: 0; border-radius: 999px; background: none; color: var(--ink); }
.qty button:hover { background: var(--hover); }
.qty .icon { width: 16px; height: 16px; }
.qty input { width: 44px; height: 100%; border: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 500; text-align: center; outline: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.buy-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 14.5px; }
.buy-links a, .buy-links button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--navy); font-weight: 500; }
.buy-note { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.product-sections { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 13px 0; border-bottom: 1px solid var(--line-strong); font-size: 15px; text-align: left; vertical-align: top; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line-strong); }
.spec-table th { width: 40%; padding-right: 20px; color: var(--muted); font-weight: 400; }
.spec-table td { color: var(--ink); }
.product-aside { display: flex; flex-direction: column; gap: 16px; }
.panel { padding: 24px; border-radius: var(--r-lg); background: var(--paper); }
.section-soft .panel, .section-mist .panel { background: var(--paper); }
.panel h3 { margin-bottom: 10px; font-size: 16px; }
.panel p { margin-bottom: 16px; color: var(--muted); font-size: 14.5px; }
.dots { margin: 0; padding-left: 18px; }
.dots li { margin: 6px 0; font-size: 15px; }
.link-list { margin: 0; padding: 0; list-style: none; }
.link-list li + li { border-top: 1px solid var(--line); }
.link-list a { display: block; padding: 10px 0; font-size: 15px; font-weight: 500; }
.mobile-buy { display: none; }

/* — Solutions */
.solution-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.solution-head .page-meta { margin-bottom: 10px; }
.solution-head .hero-actions { justify-content: flex-start; margin-top: 28px; }
.solution-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); }
.solution-media img { width: 100%; height: 100%; object-fit: cover; }
.solution-context { max-width: 70ch; margin-bottom: 32px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }

/* — Articles */
.article { max-width: 720px; margin-inline: auto; }
.article .news-meta { margin-bottom: 14px; }
.article h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.article > .lead { margin-top: 16px; }
.article-cover { aspect-ratio: 16 / 9; margin: 32px 0 36px; overflow: hidden; border-radius: var(--r-lg); background: var(--stage); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body p { margin-bottom: 18px; font-size: 17px; line-height: 1.7; }
.article-body h2 { margin: 40px 0 14px; font-size: 1.5rem; }
.article-body ul { margin: 0 0 18px; padding-left: 20px; }
.article-body li { margin: 6px 0; font-size: 17px; }
.article-body .note { padding: 18px 20px; border-radius: var(--r); background: var(--paper-2); font-size: 15.5px; }

/* — Support */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.support-card { padding: 28px; border-radius: var(--r-lg); background: var(--paper-2); }
.support-card h3 { font-size: 17px; }
.support-card p { margin: 8px 0 14px; color: var(--muted); font-size: 15px; }
.support-card a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--ink); font-size: 17px; font-weight: 500; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { max-width: 68ch; margin-bottom: 20px; color: var(--muted); }

/* — À propos */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.about-grid .prose p { font-size: 17px; }
.about-card { padding: 28px; border-radius: var(--r-lg); background: var(--paper-2); }
.about-card h3 { margin-bottom: 12px; }
.about-card .dots { margin-bottom: 20px; }
.cert-table th { width: 140px; color: var(--ink); font-weight: 600; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.value-card h3 { font-size: 17px; }
.value-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* — Formulaires et contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.form-card { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--paper-2); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { color: var(--ink); font-weight: 500; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-size: 15px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 1px var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.form-items { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 14px; border-radius: var(--r); background: var(--paper); font-size: 14px; }
.form-items strong { width: 100%; color: var(--ink); }
.form-items span { font-weight: 500; }
.form-status { min-height: 1.4em; font-size: 14px; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }
.contact-card { padding: 28px; border-radius: var(--r-lg); background: var(--paper-2); }
.contact-card dl { margin: 12px 0 0; }
.contact-card dt { margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.contact-card dd { margin: 2px 0 0; color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.success-box { padding: 12px 0; }
.success-box h2, .success-box h3 { margin-bottom: 8px; }
.success-box p { margin-bottom: 16px; color: var(--muted); }

/* — Comparateur */
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line-strong); font-size: 14.5px; text-align: left; vertical-align: top; }
.compare-table td { color: var(--ink); }
.compare-table tbody th { width: 200px; background: var(--paper); color: var(--muted); font-weight: 400; }
.compare-table thead td { background: var(--paper); border-bottom: 0; }
.compare-table tbody th, .compare-table thead td:first-child { position: sticky; left: 0; z-index: 1; }
.compare-head { display: flex; flex-direction: column; gap: 8px; }
.compare-head img { width: 120px; height: 120px; padding: 10px; border-radius: var(--r); background: var(--stage); object-fit: contain; }
.compare-head strong { font-size: 16px; font-weight: 600; }
.compare-head strong a { color: var(--ink); }
.compare-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.compare-empty { color: var(--line-strong); }
.compare-bar {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 32px); padding: 8px 8px 8px 16px; transform: translateX(-50%); border-radius: 999px; background: var(--deep); color: var(--paper);
}
.compare-bar .btn-light, .compare-bar .btn-primary { min-height: 38px; background: var(--paper); color: var(--deep); }
.compare-bar-items { display: flex; gap: 6px; min-width: 0; overflow-x: auto; }
.compare-chip { display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 14%, transparent); font-size: 13px; font-weight: 500; white-space: nowrap; }
.compare-chip button { display: grid; place-items: center; padding: 2px; border: 0; background: none; color: inherit; opacity: .7; }
.compare-chip .icon { width: 14px; height: 14px; }
.compare-bar .btn { flex: none; }

/* — Recherche */
.search-dialog { position: fixed; inset: 0; z-index: 100; padding: 10vh 16px 16px; background: var(--overlay); }
.search-panel { width: min(680px, 100%); margin-inline: auto; overflow: hidden; border-radius: var(--r-lg); background: var(--paper); }
.search-field { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-field input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: none; color: var(--ink); font-size: 17px; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; }
.search-group { padding: 12px 12px 4px; color: var(--muted); font-size: 13px; font-weight: 500; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: var(--r); color: var(--text); }
.search-item:hover, .search-item.is-active { background: var(--paper-2); color: var(--text); }
.search-item img, .search-item .search-icon { flex: none; width: 44px; height: 44px; padding: 4px; border-radius: var(--r-sm); background: var(--stage); object-fit: contain; }
.search-item strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.search-item small { display: block; color: var(--muted); font-size: 13px; }
.search-item.search-all { color: var(--navy); font-weight: 500; font-size: 14.5px; }
.empty-hint { padding: 16px; color: var(--muted); font-size: 14.5px; }

/* — Demande de devis */
.drawer { position: fixed; inset: 0; z-index: 95; background: var(--overlay); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(480px, 100%); background: var(--paper); animation: drawer-in .3s var(--ease); }
@keyframes drawer-in { from { transform: translateX(32px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 24px; }
.drawer-head h2 { font-size: 20px; letter-spacing: -.015em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 24px 28px; }
.drawer-items { display: grid; margin-bottom: 24px; }
.drawer-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer-item img { width: 56px; height: 56px; padding: 4px; border-radius: var(--r-sm); background: var(--stage); object-fit: contain; }
.drawer-item-info strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.drawer-item-info span { display: block; overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.drawer-item .qty { height: 36px; }
.drawer-item .qty button { width: 30px; }
.drawer-item .qty input { width: 34px; font-size: 14px; }
.drawer-empty { padding: 20px; border-radius: var(--r); background: var(--paper-2); color: var(--muted); font-size: 14.5px; }
.drawer-form { gap: 14px; }
.drawer-form h3 { font-size: 16px; }

/* — Notifications, WhatsApp */
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 14px); z-index: 110; display: flex; align-items: center; gap: 16px;
  max-width: calc(100% - 32px); padding: 10px 18px; transform: translate(-50%, -8px); opacity: 0; pointer-events: none; border-radius: 999px;
  background: var(--deep); color: var(--paper); font-size: 14px; transition: opacity .2s, transform .25s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / 18%); }
.whatsapp-fab:hover { color: #fff; }
.whatsapp-fab .wa-logo { width: 30px; height: 30px; fill: currentColor; }

/* — Pied de page */
.footer { background: var(--paper-2); color: var(--muted); font-size: 14.5px; }
.footer a { color: var(--text); }
.footer a:hover { color: var(--ink); }
.footer a.btn-light, .footer a.btn-light:hover { color: var(--action-fg); }
.footer a.btn-ghost-light, .footer a.btn-ghost-light:hover { color: var(--ink); }
.footer-cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 88px) clamp(40px, 4vw, 56px); border-bottom: 1px solid var(--line-strong); }
.footer-cta h2 { max-width: 20ch; font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.4rem); }
.footer-cta p { max-width: 54ch; margin-top: 12px; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 48px; }
.footer-grid h2 { margin-bottom: 14px; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin: 8px 0; }
.footer-grid li .icon-xs { margin-left: 4px; vertical-align: -1px; }
.footer-brand p { max-width: 34ch; margin: 16px 0; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line-strong); color: var(--muted); font-size: 13.5px; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0; padding: 0; list-style: none; }

/* — 404 */
.not-found { padding: 96px 0 112px; }
.not-found .page-meta { margin-bottom: 10px; }
.not-found .lead { margin-top: 14px; }
.not-found .hero-actions { justify-content: flex-start; margin-top: 28px; }

/* — Images indisponibles */
img.img-failed { object-fit: contain; padding: 22%; background: var(--stage); }

/* Les photos fournies ont un fond blanc : on les fond dans le gris doux */
.lineup-photo img, .pick-photo img, .family-media img, .product-media img, .gallery-main img, .gallery-thumbs img, .family-banner-media img,
.mega-family img, .search-item img, .drawer-item img, .compare-head img { mix-blend-mode: multiply; }

/* — Points de rupture */
@media (max-width: 1280px) {
  .search-trigger-label { display: none; }
  .search-trigger { width: 40px; padding: 0; justify-content: center; background: none; color: var(--ink); }
  .header-inner { gap: 20px; }
  .nav-link { padding: 0 10px; }
}
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .family-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .sector-grid, .sector-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick, .pro { grid-template-columns: minmax(0, 1fr); }
  .pick-photo { max-width: 560px; }
  .intro-grid, .about-grid, .contact-layout, .solution-head { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 96; width: min(340px, 88%); max-height: none; padding: 0 20px 24px; background: var(--paper); transform: translateX(-105%); transition: transform .3s var(--ease); }
  .filters.is-open { transform: none; }
  .filters-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: 0 -20px 16px; padding: 12px 12px 12px 20px; background: var(--paper); }
  .filters-head h2 { font-size: 20px; }
  .filters-apply { display: flex; margin-bottom: 12px; }
  .filters-open { display: inline-flex; }
  .filters-backdrop { position: fixed; inset: 0; z-index: 95; background: var(--overlay); }
  .product-layout, .product-sections { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .gallery { position: static; }
  .gallery-main { max-height: 560px; }
  .family-banner { grid-template-columns: minmax(0, 1fr); }
  .family-banner-media { display: none; }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .header-cta { display: none; }
  .brand-logo { height: 26px; }
  .hero-copy { text-align: left; }
  .hero-copy h1, .hero-copy .lead { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .lineup { gap: 6px; padding: 28px 12px 18px; }
  .lineup-caption span { display: none; }
  .lineup-caption { margin-top: 12px; }
  .lineup-caption strong { font-size: 13px; }
  /* La gamme défile horizontalement sur téléphone */
  .family-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 148px; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .family-grid::-webkit-scrollbar { display: none; }
  .family-card { scroll-snap-align: start; }
  .family-body p { display: none; }
  .family-body h3 { font-size: 14.5px; }
  .zone label { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .pick-facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .pick-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .pick-facts dd { margin: 0; text-align: right; }
  .pro-list li { grid-template-columns: minmax(0, 1fr); }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .product-model { font-size: 15.5px; }
  .product-name { font-size: 14px; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .compare-toggle { justify-content: center; padding: 2px 0; }
  .sector-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sector-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .sector-grid-4 .sector-media { border-radius: var(--r); }
  .sector-grid-4 .sector-body h3 { font-size: 15px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .value-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .form-row, .split { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .catalog-toolbar { flex-wrap: wrap; }
  .catalog-search { flex-basis: 100%; order: -1; }
  .mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-buy .btn { flex: 1; }
  .page:has(.mobile-buy) { padding-bottom: 66px; }
  body:has(.mobile-buy) .compare-bar { bottom: 76px; }
  .compare-table { min-width: 0; width: max-content; }
  .compare-table th, .compare-table td { padding: 10px 12px 10px 0; font-size: 13.5px; }
  .compare-table tbody th { width: 96px; min-width: 96px; max-width: 96px; }
  .compare-table thead td:first-child { width: 96px; }
  .compare-table td { min-width: 150px; max-width: 170px; }
  .compare-head img { width: 96px; height: 96px; }
}
@media (max-width: 440px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 0; }
  .icon-btn { width: 38px; height: 38px; }
  .search-trigger { width: 38px; }
  .brand { gap: 8px; }
  .brand-country { padding-left: 8px; font-size: 12px; }
  .hero-actions .btn { flex: 1; padding: 0 16px; }
  .pick-actions .btn, .pick-actions .add-btn { flex: 1; }
  .gallery-thumbs button { width: 62px; height: 62px; }
  .buy-row .qty { width: 100%; justify-content: space-between; }
  .buy-row .btn { min-width: 0; width: 100%; }
  .facts { gap: 20px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
