@import url('tokens.css');

/* ============================================================
   Wellset — feuille de style
   Direction « Le pont » (2b). Conforme aux documents 01 à 07.
   Aucune ombre portée. Filets 0.5 px. Transitions 120 ms couleur.
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ws-font-ui);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ws-text);
  background: var(--ws-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color 120ms; }
a:hover { color: var(--ws-red); }

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

/* Focus visible — 07-accessibilite : contour 2 px, décalage 2 px, jamais supprimé */
:focus-visible {
  outline: 2px solid var(--ws-text);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--ws-red); color: #fff; }

/* ---------- Utilitaires ---------- */

.mono { font-family: var(--ws-font-mono); font-feature-settings: 'zero' 1; }
.code { font-family: var(--ws-font-mono); font-size: 12px; color: var(--ws-red); letter-spacing: 0; }
.code--doc { color: var(--ws-text); }

.container { max-width: var(--ws-container); margin: 0 auto; padding-left: var(--ws-space-7); padding-right: var(--ws-space-7); }

.eyebrow {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ws-text-3);
  margin: 0;
  font-weight: 400;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--ws-space-4);
  margin-bottom: 28px;
}
.section-head .eyebrow { font-size: 12px; font-weight: 500; }
.section-head span, .section-head a { font-size: 13px; color: var(--ws-text-3); }
.section-head a { color: var(--ws-text); }

.muted { color: var(--ws-text-2); }
.tertiary { color: var(--ws-text-3); }

.rule { border: 0; border-top: var(--ws-hairline) solid var(--ws-line); margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ws-text); color: #fff; padding: 10px 16px;
  border-radius: var(--ws-radius-control); font-size: 13px;
}
.skip-link:focus { left: var(--ws-space-4); top: var(--ws-space-4); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- En-tête (05-composants) ---------- */

.header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ws-surface) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--ws-hairline) solid var(--ws-line);
}
.header__inner {
  max-width: var(--ws-container); margin: 0 auto;
  padding: var(--ws-space-4) var(--ws-space-7);
  display: flex; align-items: center; justify-content: space-between; gap: var(--ws-space-6);
}
.header__left { display: flex; align-items: center; gap: var(--ws-space-7); flex-shrink: 0; }
.header__logo { flex-shrink: 0; }
.header__nav { display: flex; gap: 26px; font-size: 14px; white-space: nowrap; }
.header__nav a { color: #3A3F45; }
.header__nav a[aria-current="page"] { color: var(--ws-text); font-weight: 500; border-bottom: 2px solid var(--ws-red); padding-bottom: 2px; }
.header__right { display: flex; align-items: center; gap: var(--ws-space-3); flex: 1 1 auto; min-width: 0; justify-content: flex-end; }

.searchbox {
  display: flex; align-items: center; gap: var(--ws-space-2);
  border: var(--ws-hairline) solid var(--ws-line);
  border-radius: var(--ws-radius-control);
  padding: 7px 12px;
  flex: 1 1 auto; min-width: 0; max-width: 230px;
  background: var(--ws-surface);
  transition: border-color 120ms;
}
.searchbox:focus-within { border-color: var(--ws-text); }
.searchbox svg { flex-shrink: 0; }
.searchbox input {
  font-family: var(--ws-font-mono); font-size: 12px;
  border: 0; background: transparent; width: 100%; min-width: 0;
  padding: 0; outline: none; text-overflow: ellipsis;
}
.searchbox input::placeholder { color: var(--ws-text-3); }

.btn-rfq {
  font-size: 13px; font-weight: 500; color: #fff; background: var(--ws-red);
  border: 0; border-radius: var(--ws-radius-control); padding: 9px 14px;
  white-space: nowrap; flex-shrink: 0; cursor: pointer;
  transition: background-color 120ms;
}
.btn-rfq:hover { background: #C82E23; color: #fff; }

.header__burger {
  display: none; background: none; border: var(--ws-hairline) solid var(--ws-line);
  border-radius: var(--ws-radius-control); padding: 8px 10px; cursor: pointer;
}

/* ---------- Boutons (05-composants) ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--ws-space-2);
  font-size: 13px; font-weight: 500;
  border-radius: var(--ws-radius-control);
  padding: 10px 16px;
  border: var(--ws-hairline) solid transparent;
  cursor: pointer;
  transition: background-color 120ms, color 120ms, border-color 120ms;
  white-space: nowrap;
}
.btn--primary { background: var(--ws-text); color: #fff; }
.btn--primary:hover { background: #000; color: #fff; }
.btn--secondary { background: transparent; color: var(--ws-text); border-color: #C9C6BF; }
.btn--secondary:hover { background: var(--ws-text); color: #fff; border-color: var(--ws-text); }
.btn--devis { background: transparent; color: var(--ws-text); border-color: #C9C6BF; width: 100%; }
.btn--devis:hover { background: var(--ws-text); color: #fff; border-color: var(--ws-text); }
.btn--red { background: var(--ws-red); color: #fff; }
.btn--red:hover { background: #C82E23; color: #fff; }
.btn--lg { font-size: 14px; padding: 13px 20px; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--ws-text-2); padding: 6px 8px; }
.btn--ghost:hover { color: var(--ws-red); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }

/* ---------- Hero ---------- */

.hero { border-bottom: var(--ws-hairline) solid var(--ws-line); }
.hero__inner {
  max-width: var(--ws-container); margin: 0 auto;
  padding: 96px var(--ws-space-7) 80px;
}
.hero__content { max-width: 820px; display: flex; flex-direction: column; gap: var(--ws-space-5); }
.hero h1 { font-size: 52px; line-height: 1.1; letter-spacing: -1.8px; text-wrap: balance; }
.hero p { max-width: 600px; font-size: 17px; line-height: 1.65; color: #5A6068; text-wrap: pretty; }
.hero__actions { display: flex; gap: var(--ws-space-3); padding-top: var(--ws-space-2); flex-wrap: wrap; }

/* ---------- Sections ---------- */

.section { max-width: var(--ws-container); margin: 0 auto; padding: 72px var(--ws-space-7); }
.section--tight { padding: 56px var(--ws-space-7); }
.band { background: var(--ws-surface-2); border-top: var(--ws-hairline) solid var(--ws-line); border-bottom: var(--ws-hairline) solid var(--ws-line); }
.band__inner { max-width: var(--ws-container); margin: 0 auto; padding: 64px var(--ws-space-7); }

/* ---------- Carte famille (05-composants) ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ws-space-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ws-space-4); }

.card-famille {
  border: var(--ws-hairline) solid var(--ws-line);
  border-radius: var(--ws-radius-card);
  padding: 26px;
  display: flex; flex-direction: column; gap: var(--ws-space-2);
  transition: border-color 120ms;
}
.card-famille:hover { border-color: var(--ws-text); color: inherit; }
.card-famille__titre { font-size: 17px; font-weight: 500; }
.card-famille__desc { font-size: 13px; line-height: 1.6; color: var(--ws-text-2); }

/* ---------- Étapes ---------- */

.etape {
  display: flex; flex-direction: column; gap: var(--ws-space-2);
  padding-top: var(--ws-space-4); border-top: 2px solid var(--ws-text);
}
.etape--accent { border-top-color: var(--ws-red); }
.etape__num { font-family: var(--ws-font-mono); font-size: 12px; color: var(--ws-text-3); }
.etape__titre { font-size: 17px; font-weight: 500; }
.etape__texte { font-size: 14px; line-height: 1.6; color: var(--ws-text-2); }

/* ---------- Carte produit (05-composants) ---------- */

.card-produit {
  border: var(--ws-hairline) solid var(--ws-line);
  border-radius: var(--ws-radius-card);
  display: flex; flex-direction: column;
  transition: border-color 120ms;
  background: var(--ws-surface);
}
.card-produit:hover { border-color: #C9C6BF; }
.card-produit__vignette {
  height: 132px; background: var(--ws-surface-3);
  border-radius: var(--ws-radius-card) var(--ws-radius-card) 0 0;
  display: flex; align-items: center; justify-content: center;
}
.card-produit__corps { padding: 20px; display: flex; flex-direction: column; gap: var(--ws-space-2); flex: 1; }
.card-produit__libelle { font-size: 15px; font-weight: 500; line-height: 1.35; }
.card-produit__specs { font-size: 13px; line-height: 1.6; color: var(--ws-text-2); }
.card-produit__pied { margin-top: auto; padding-top: var(--ws-space-4); display: flex; flex-direction: column; gap: 10px; }
.card-produit__prix { font-size: 13px; color: var(--ws-text-3); }

/* ---------- Pastilles de stock (05-composants) ---------- */

.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.stock--ok { color: var(--ws-stock-ok); }
.stock--low { color: var(--ws-stock-low); }
.stock--order { color: var(--ws-text-3); }

/* ---------- Catalogue : filtres + liste dense ---------- */

.catalogue { display: grid; grid-template-columns: 232px 1fr; gap: var(--ws-space-7); align-items: start; }

.filtres { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--ws-space-6); }
.filtres__groupe { display: flex; flex-direction: column; gap: 10px; }
.filtres__legende {
  font-family: var(--ws-font-mono); font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ws-text-3); padding: 0; margin: 0 0 2px;
}
.filtre {
  display: flex; align-items: center; gap: var(--ws-space-2);
  font-size: 13px; color: var(--ws-text-2); cursor: pointer;
  transition: color 120ms;
}
.filtre:hover { color: var(--ws-text); }
.filtre input { accent-color: var(--ws-red); width: 15px; height: 15px; margin: 0; flex-shrink: 0; }
.filtre__compte { margin-left: auto; font-family: var(--ws-font-mono); font-size: 11px; color: var(--ws-text-3); }

.catalogue__barre {
  display: flex; align-items: center; justify-content: space-between; gap: var(--ws-space-4);
  padding-bottom: var(--ws-space-4); border-bottom: var(--ws-hairline) solid var(--ws-line);
  flex-wrap: wrap;
}
.catalogue__compte { font-size: 13px; color: var(--ws-text-2); }
.catalogue__compte strong { font-family: var(--ws-font-mono); font-weight: 400; color: var(--ws-text); }

.tri { display: flex; align-items: center; gap: var(--ws-space-2); font-size: 13px; color: var(--ws-text-2); }
.tri select {
  border: var(--ws-hairline) solid var(--ws-line); border-radius: var(--ws-radius-control);
  padding: 7px 10px; font-size: 13px; background: var(--ws-surface); cursor: pointer;
}

/* Ligne catalogue : code · libellé · specs · stock · quantité · devis
   Alternance de fond interdite — séparation par filet uniquement. */
.ligne {
  display: grid;
  grid-template-columns: 120px minmax(180px, 1.5fr) minmax(160px, 1.6fr) 120px 76px 150px;
  align-items: center; gap: var(--ws-space-4);
  padding: var(--ws-space-4) 0;
  border-bottom: var(--ws-hairline) solid var(--ws-line);
}
.ligne:hover .ligne__libelle { color: var(--ws-red); }
.ligne__libelle { font-size: 14px; font-weight: 500; line-height: 1.4; transition: color 120ms; }
.ligne__specs { font-size: 13px; color: var(--ws-text-2); line-height: 1.5; }
.ligne__mobile-meta { display: none; }

.qte {
  display: flex; align-items: center;
  border: var(--ws-hairline) solid var(--ws-line); border-radius: var(--ws-radius-control);
  overflow: hidden; width: fit-content;
}
.qte button {
  width: 28px; height: 32px; border: 0; background: transparent; cursor: pointer;
  color: var(--ws-text-2); font-size: 14px; line-height: 1;
  transition: background-color 120ms, color 120ms;
}
.qte button:hover { background: var(--ws-surface-3); color: var(--ws-text); }
.qte input {
  width: 40px; height: 32px; border: 0; text-align: center;
  font-family: var(--ws-font-mono); font-size: 13px; background: transparent;
  -moz-appearance: textfield; outline: none;
}
.qte input::-webkit-outer-spin-button, .qte input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qte--lg button { width: 44px; height: 44px; font-size: 16px; }
.qte--lg input { width: 56px; height: 44px; font-size: 14px; }

.vide {
  padding: 72px var(--ws-space-5); text-align: center;
  display: flex; flex-direction: column; gap: var(--ws-space-3); align-items: center;
}
.vide__titre { font-size: 15px; font-weight: 500; }
.vide__texte { font-size: 13px; color: var(--ws-text-2); max-width: 380px; line-height: 1.6; }

/* ---------- Fiche produit (05-composants) ---------- */

.fil { font-size: 12px; color: var(--ws-text-3); padding: var(--ws-space-4) 0; display: flex; gap: var(--ws-space-2); flex-wrap: wrap; }
.fil a { color: var(--ws-text-2); }
.fil span[aria-current] { color: var(--ws-text-3); }

.fiche { display: grid; grid-template-columns: 60fr 40fr; gap: var(--ws-space-8); align-items: start; padding-bottom: var(--ws-space-9); }
.fiche__gauche { display: flex; flex-direction: column; gap: var(--ws-space-6); min-width: 0; }
.fiche__code { font-family: var(--ws-font-mono); font-size: 13px; color: var(--ws-red); }
.fiche h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.9px; margin-top: var(--ws-space-2); }
.fiche__chapo { font-size: 15px; line-height: 1.65; color: var(--ws-text-2); margin-top: var(--ws-space-3); max-width: 60ch; }

.galerie {
  height: 300px; background: var(--ws-surface-3); border-radius: var(--ws-radius-card);
  display: flex; align-items: center; justify-content: center;
  border: var(--ws-hairline) solid var(--ws-line);
}

.bloc__titre {
  font-family: var(--ws-font-mono); font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ws-text-3); margin-bottom: var(--ws-space-3);
  font-weight: 400;
}

.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: var(--ws-hairline) solid var(--ws-line); vertical-align: top; }
.specs th { font-weight: 400; color: var(--ws-text-2); width: 40%; }
.specs td { font-weight: 500; }
.specs tr:first-child th, .specs tr:first-child td { border-top: var(--ws-hairline) solid var(--ws-line); }

.dl { display: flex; flex-direction: column; }
.dl__item {
  display: flex; align-items: center; gap: var(--ws-space-3);
  padding: 12px 0; border-bottom: var(--ws-hairline) solid var(--ws-line);
  font-size: 14px;
}
.dl__item:first-child { border-top: var(--ws-hairline) solid var(--ws-line); }
.dl__nom { font-weight: 500; }
.dl__meta { margin-left: auto; font-family: var(--ws-font-mono); font-size: 11px; color: var(--ws-text-3); white-space: nowrap; }

.compat { display: flex; flex-wrap: wrap; gap: var(--ws-space-2); }
.compat a {
  font-family: var(--ws-font-mono); font-size: 12px;
  border: var(--ws-hairline) solid var(--ws-line); border-radius: var(--ws-radius-control);
  padding: 6px 10px; color: var(--ws-text-2); transition: border-color 120ms, color 120ms;
}
.compat a:hover { border-color: var(--ws-text); color: var(--ws-text); }

.panneau {
  position: sticky; top: 88px;
  border: var(--ws-hairline) solid var(--ws-line); border-radius: var(--ws-radius-card);
  padding: var(--ws-space-5);
  display: flex; flex-direction: column; gap: var(--ws-space-4);
}
.panneau__prix { display: flex; flex-direction: column; gap: 4px; }
.panneau__prix-etat { font-size: 15px; font-weight: 500; }
.panneau__prix-note { font-size: 12px; color: var(--ws-text-2); line-height: 1.55; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ__label { font-size: 12px; color: var(--ws-text-2); }
.champ input, .champ select, .champ textarea {
  border: var(--ws-hairline) solid var(--ws-line); border-radius: var(--ws-radius-control);
  padding: 10px 12px; font-size: 14px; background: var(--ws-surface); width: 100%;
  transition: border-color 120ms;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--ws-text); }
.champ textarea { resize: vertical; min-height: 92px; line-height: 1.55; }

/* ---------- Panier RFQ (05-composants) ---------- */

.rfq { display: grid; grid-template-columns: 1fr 340px; gap: var(--ws-space-7); align-items: start; padding-bottom: var(--ws-space-9); }

.rfq-ligne {
  display: grid; grid-template-columns: 120px 1fr 128px 116px 36px;
  align-items: center; gap: var(--ws-space-4);
  padding: var(--ws-space-4) 0; border-bottom: var(--ws-hairline) solid var(--ws-line);
}
.rfq-ligne:first-child { border-top: var(--ws-hairline) solid var(--ws-line); }
.rfq-ligne__titre { font-size: 14px; font-weight: 500; line-height: 1.4; }
.rfq-ligne__specs { font-size: 12px; color: var(--ws-text-2); }
.rfq-ligne__sup {
  border: 0; background: transparent; cursor: pointer; color: var(--ws-text-3);
  width: 36px; height: 36px; border-radius: var(--ws-radius-control);
  transition: color 120ms, background-color 120ms;
}
.rfq-ligne__sup:hover { color: var(--ws-red); background: var(--ws-surface-3); }

.recap {
  position: sticky; top: 88px;
  border: var(--ws-hairline) solid var(--ws-line); border-radius: var(--ws-radius-card);
  padding: var(--ws-space-5); display: flex; flex-direction: column; gap: var(--ws-space-4);
}
.recap__ligne { display: flex; justify-content: space-between; font-size: 13px; color: var(--ws-text-2); }
.recap__ligne strong { font-family: var(--ws-font-mono); font-weight: 400; color: var(--ws-text); }

.avis {
  border: var(--ws-hairline) solid var(--ws-line); border-left: 2px solid var(--ws-red);
  border-radius: var(--ws-radius-control);
  padding: var(--ws-space-4); font-size: 13px; line-height: 1.6; color: var(--ws-text-2);
  background: var(--ws-surface-2);
}
.avis--ok { border-left-color: var(--ws-stock-ok); }

/* ---------- Formulaire contact ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ws-space-4); }
.form-grid .champ--full { grid-column: 1 / -1; }

.coordonnees { display: flex; flex-direction: column; gap: var(--ws-space-5); font-size: 14px; }
.coordonnees__bloc { display: flex; flex-direction: column; gap: 4px; }
.coordonnees__label {
  font-family: var(--ws-font-mono); font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ws-text-3);
}
.coordonnees__valeur { line-height: 1.65; color: var(--ws-text-2); }

/* ---------- Réassurance ---------- */

.reassurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ws-space-4); }
.reassurance__item { display: flex; flex-direction: column; gap: 6px; }
.reassurance__titre { font-size: 15px; font-weight: 500; }
.reassurance__texte { font-size: 13px; line-height: 1.6; color: var(--ws-text-2); }

/* ---------- Pied de page ---------- */

.footer { background: var(--ws-graphite); color: #C7CBD1; }
.footer a { color: #C7CBD1; }
.footer a:hover { color: #fff; }
.footer__inner {
  max-width: var(--ws-container); margin: 0 auto;
  padding: 56px var(--ws-space-7) 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--ws-space-6);
}
.footer__marque { display: flex; flex-direction: column; gap: 14px; }
.footer__adresse { font-size: 13px; line-height: 1.7; color: #9AA0A6; }
.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer__col-titre {
  font-family: var(--ws-font-mono); font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; color: #6E7379; margin-bottom: 4px;
}
.footer__bas {
  max-width: var(--ws-container); margin: 0 auto;
  padding: 20px var(--ws-space-7) 40px;
  border-top: var(--ws-hairline) solid #3A3F45;
  display: flex; justify-content: space-between; gap: var(--ws-space-4);
  font-family: var(--ws-font-mono); font-size: 11px; color: #6E7379;
}
.footer :focus-visible { outline-color: #fff; }

/* ---------- Notification ---------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(8px);
  background: var(--ws-graphite); color: #fff;
  border-radius: var(--ws-radius-control); padding: 12px 18px;
  font-size: 13px; z-index: 60;
  opacity: 0; pointer-events: none;
  transition: opacity 120ms, transform 120ms;
  max-width: calc(100vw - 32px);
}
.toast[data-visible="true"] { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Adaptatif
   ============================================================ */

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .fiche { grid-template-columns: 1fr; gap: var(--ws-space-6); }
  .panneau, .recap, .filtres { position: static; }
  .rfq { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .container, .section, .hero__inner, .band__inner, .header__inner, .footer__inner, .footer__bas {
    padding-left: var(--ws-space-5); padding-right: var(--ws-space-5);
  }
  .hero__inner { padding-top: 64px; padding-bottom: 56px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .section { padding-top: 56px; padding-bottom: 56px; }

  .header__nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--ws-surface);
    border-bottom: var(--ws-hairline) solid var(--ws-line);
    padding: var(--ws-space-2) var(--ws-space-5) var(--ws-space-4);
  }
  .header__nav[data-open="true"] { display: flex; }
  .header__nav a { padding: 12px 0; border-bottom: var(--ws-hairline) solid var(--ws-line); font-size: 15px; }
  .header__burger { display: block; }
  .header { position: relative; }
  .searchbox { max-width: none; }

  .grid-3, .reassurance { grid-template-columns: 1fr; }
  .catalogue { grid-template-columns: 1fr; gap: var(--ws-space-5); }
  .filtres {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ws-space-4);
    padding-bottom: var(--ws-space-5); border-bottom: var(--ws-hairline) solid var(--ws-line);
  }

  /* Liste dense → carte empilée */
  .ligne {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'code stock' 'libelle libelle' 'specs specs' 'qte devis';
    row-gap: var(--ws-space-3);
  }
  .ligne__code { grid-area: code; }
  .ligne__libelle { grid-area: libelle; font-size: 15px; }
  .ligne__specs { grid-area: specs; }
  .ligne__stock { grid-area: stock; justify-self: end; }
  .ligne__qte { grid-area: qte; }
  .ligne__devis { grid-area: devis; }

  .rfq-ligne {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'code sup' 'titre titre' 'qte delai';
    row-gap: var(--ws-space-3);
  }
  .rfq-ligne__code { grid-area: code; }
  .rfq-ligne__bloc { grid-area: titre; }
  .rfq-ligne__qte { grid-area: qte; }
  .rfq-ligne__delai { grid-area: delai; }
  .rfq-ligne__sup { grid-area: sup; justify-self: end; }

  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr !important; gap: var(--ws-space-7) !important; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--ws-space-5); }
  .footer__bas { flex-direction: column; gap: var(--ws-space-2); }

  /* Cibles tactiles ≥ 44 px — 07-accessibilite */
  .qte button { width: 44px; height: 44px; }
  .qte input { height: 44px; width: 48px; }
  .btn { padding: 12px 16px; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .fiche h1 { font-size: 26px; }
}

@media print {
  .header, .footer, .btn, .toast { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
