/* ==========================================================================
   container-demontable.fr — Design System
   Charte stricte : fond #FFFFFF · bleu #013070 · rouge CTA #F30D1C
   Titres Poppins · Corps Inter
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs marque */
  --brand-blue: #013070;
  --brand-blue-700: #022a5e;
  --brand-red: #f30d1c;
  --brand-red-600: #d40a17;

  /* Fonds */
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-dark: #011c42;

  /* Texte */
  --ink: #1a1a2e;
  --ink-muted: #5a6478;
  --ink-light: #9aa3b2;
  --on-dark: #ffffff;
  --on-dark-muted: #b9c4d6;

  /* UI */
  --line: #e4e8ef;
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Typo */
  --font-title: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rayons & ombres */
  --r-btn: 5px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(1, 28, 66, 0.08);
  --shadow-md: 0 2px 6px rgba(1, 28, 66, 0.10);
  --shadow-lg: 0 8px 20px rgba(1, 28, 66, 0.12);

  /* Layout */
  --maxw: 1440px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { margin: 0; }

[hidden] { display: none !important; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* garde-fou anti-débordement horizontal (n'affecte pas position:sticky) */
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--brand-blue-700); }

ul { list-style: none; padding: 0; }

button { font: inherit; cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Primitives modernes ---------- */
::selection { background: var(--brand-blue); color: #fff; }
html { scrollbar-color: #c2ccda transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #c2ccda; border-radius: 999px; border: 3px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-light); }
p { text-wrap: pretty; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--brand-blue);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-red);
}

.lead { font-size: 1.125rem; color: var(--ink-muted); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .eyebrow { margin-bottom: 0.85rem; }
.section__head p { margin-top: 0.85rem; }

.grid { display: grid; gap: 1.5rem; }

/* ---------- Boutons ----------
   Style net & "tactile" : angles vifs, fill plein, arête inférieure sombre
   (effet bouton physique) plutôt qu'un halo flou — rendu industriel, pas template. */
.btn {
  --btn-edge: rgba(0, 0, 0, 0.28);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-btn);
  transition: background-color 0.16s var(--ease), box-shadow 0.16s var(--ease),
    color 0.16s var(--ease), transform 0.06s var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:active { transform: translateY(1px); }

/* Plein rouge — CTA fort */
.btn--primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--btn-edge);
}
.btn--primary:hover { background: var(--brand-red-600); color: #fff; }
.btn--primary:active { box-shadow: inset 0 -1px 0 var(--btn-edge); }

/* Plein bleu — action secondaire */
.btn--secondary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--btn-edge);
}
.btn--secondary:hover { background: var(--brand-blue-700); color: #fff; }
.btn--secondary:active { box-shadow: inset 0 -1px 0 var(--btn-edge); }

/* Contour — tertiaire */
.btn--ghost {
  background: transparent;
  color: var(--brand-blue);
  box-shadow: inset 0 0 0 1.5px var(--brand-blue);
}
.btn--ghost:hover { background: var(--brand-blue); color: #fff; }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.btn--ghost-light:hover { background: #fff; color: var(--brand-blue); box-shadow: inset 0 0 0 1.5px #fff; }

/* Plein blanc — action sur fond sombre */
.btn--light {
  background: #fff;
  color: var(--brand-blue);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.btn--light:hover { background: var(--bg-soft); color: var(--brand-blue-700); }
.btn--light:active { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18); }

.btn--sm { padding: 0.6rem 1.05rem; min-height: 42px; font-size: 0.88rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; min-height: 54px; }
.btn--block { width: 100%; }

/* ==========================================================================
   Sub-header
   ========================================================================== */
.subheader {
  background: var(--bg-dark);
  color: var(--on-dark-muted);
  font-size: 0.85rem;
}
.subheader .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: 0.4rem;
}
.subheader__contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.subheader a { color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: 0.45rem; }
.subheader a:hover { color: #fff; }
.subheader svg { width: 15px; height: 15px; color: var(--brand-red); }
.subheader__usp { display: inline-flex; align-items: center; gap: 0.45rem; }
.subheader__usp svg { color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.header.is-scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: var(--shadow-md); }
.header .container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.logo__img { height: 60px; width: auto; }
.logo__mark { width: 42px; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  color: var(--brand-blue);
}
.logo__sub {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-top: 3px;
}
.logo__sub b { color: var(--brand-red); }

/* Nav desktop */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav__link:hover { color: var(--brand-blue); background: var(--bg-soft); }
.nav__link[aria-current="page"] { color: var(--brand-blue); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Bouton "Mon devis" */
.quote-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-blue);
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-btn);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow 0.15s, color 0.15s;
}
.quote-pill:hover { box-shadow: inset 0 0 0 1.5px var(--brand-blue); }
.quote-pill svg { width: 18px; height: 18px; }
.quote-pill__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--brand-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}
.burger svg { width: 26px; height: 26px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  background-color: #0a1322;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}
.hero__bg.is-active { opacity: 1; }
.hero__bg--1 {
  background-image: url("../img/banner hero.png");
  background-image: image-set(url("../img/banner hero.avif") type("image/avif"), url("../img/banner hero.png") type("image/png"));
}
.hero__bg--2 {
  background-image: url("../img/banner hero2.png");
  background-image: image-set(url("../img/banner hero2.avif") type("image/avif"), url("../img/banner hero2.png") type("image/png"));
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(95deg, rgba(5, 11, 19, 0.92) 0%, rgba(5, 11, 19, 0.78) 34%, rgba(5, 11, 19, 0.4) 62%, rgba(5, 11, 19, 0.1) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(720px, 94vh, 1020px);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.hero__content { max-width: 660px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-sm);
  margin-bottom: 1.4rem;
}
.hero__badge b { color: #fff; }
.hero__badge span { color: var(--brand-red); font-weight: 700; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 3.75rem); margin-bottom: 1.25rem; }
.hero h1 .accent { color: #fff; position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 0.42em;
  background: var(--brand-red);
  opacity: 0.9;
  z-index: -1;
  border-radius: 3px;
}
.hero__text { font-size: 1.12rem; color: var(--on-dark-muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.hero__stat .num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
}
.hero__stat .lbl { font-size: 0.85rem; color: var(--on-dark-muted); }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-block: 2rem;
}
.trust__item { display: flex; align-items: center; gap: 0.9rem; }
.trust__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(1, 48, 112, 0.07);
  color: var(--brand-blue);
}
.trust__icon svg { width: 24px; height: 24px; }
.trust__item h4 { color: var(--ink); font-size: 1rem; margin-bottom: 1px; }
.trust__item p { font-size: 0.85rem; color: var(--ink-muted); }

/* ==========================================================================
   Cards : catégories
   ========================================================================== */
.cat-grid {
  grid-template-columns: repeat(3, 1fr);
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem;
  overflow: hidden;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.cat-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s var(--ease);
}
.cat-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}
.cat-card:hover::before { transform: scaleY(1); }
.cat-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--brand-blue);
  color: #fff;
  margin-bottom: 1.1rem;
}
.cat-card__icon svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.cat-card p { color: var(--ink-muted); font-size: 0.93rem; flex-grow: 1; }
.cat-card__count {
  font-size: 0.8rem;
  color: var(--ink-light);
  font-weight: 500;
  margin-top: 0.4rem;
}
.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-blue);
  margin-top: 1.1rem;
}
.cat-card__link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.cat-card:hover .cat-card__link svg { transform: translateX(4px); }

/* ==========================================================================
   Cards : produits
   ========================================================================== */
.product-grid { grid-template-columns: repeat(4, 1fr); }
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.product-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-md); }
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #243140;
  border-bottom: 2px solid var(--brand-blue);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-card__media svg { width: 70%; height: auto; opacity: 0.95; transition: transform 0.35s var(--ease); }
.product-card:hover .product-card__media svg,
a.product-card__media:hover svg { transform: scale(1.05); }
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-blue);
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-sm);
}
.product-card__badge--new { background: #16a34a; }
.product-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-card__cat {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.35rem;
}
.product-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 0.5rem; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.product-card__specs li {
  font-size: 0.76rem;
  color: var(--ink-muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.22rem 0.55rem;
  border-radius: var(--r-sm);
}
.product-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.product-card__price {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 0.95rem;
}
.product-card__price small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--ink-light); }

/* ==========================================================================
   Process / étapes
   ========================================================================== */
.steps { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem 1.6rem 1.6rem;
}
.step__num {
  counter-increment: step;
  position: absolute;
  top: -22px;
  left: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22);
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin: 0.75rem 0 0.5rem; }
.step p { color: var(--ink-muted); font-size: 0.93rem; }

/* ==========================================================================
   Secteurs
   ========================================================================== */
.sectors { grid-template-columns: repeat(4, 1fr); }
.sector {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sector:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-sm); }
.sector__media { display: block; aspect-ratio: 4 / 3; background: #243140; border-bottom: 2px solid var(--brand-blue); overflow: hidden; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s var(--ease); }
.sector:hover .sector__media img { transform: scale(1.04); }
.sector__body { padding: 1.1rem 1.3rem 1.3rem; }
.sector__body h4 { color: var(--ink); margin-bottom: 0.35rem; }
.sector__body p { font-size: 0.88rem; color: var(--ink-muted); }
.sector__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(243, 13, 28, 0.08);
  color: var(--brand-red);
}
.sector__icon svg { width: 22px; height: 22px; }
.sector h4 { color: var(--ink); }
.sector p { font-size: 0.88rem; color: var(--ink-muted); }

/* ==========================================================================
   Bandeau CTA
   ========================================================================== */
.cta-banner {
  position: relative;
  background: var(--brand-blue);
  border-top: 3px solid var(--brand-red);
  color: #fff;
  border-radius: var(--r-md);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  overflow: hidden;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.9rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.86); max-width: 56ch; margin-inline: auto; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--on-dark-muted);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: var(--on-dark-muted); }
.footer__logo { height: 60px; width: auto; }
.footer__about { margin-top: 1rem; font-size: 0.9rem; max-width: 34ch; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: background 0.15s;
}
.footer__social a:hover { background: var(--brand-red); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col li { margin-bottom: 0.6rem; }
.footer__col a { color: var(--on-dark-muted); font-size: 0.92rem; }
.footer__col a:hover { color: #fff; }
.footer__contact-line { display: flex; gap: 0.6rem; font-size: 0.92rem; margin-bottom: 0.8rem; }
.footer__contact-line svg { width: 17px; height: 17px; color: var(--brand-red); flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__bottom nav a { color: #fff; }
.footer__bottom nav a:hover { color: var(--on-dark-muted); }

/* ==========================================================================
   Mobile menu (drawer)
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg-dark);
  color: #fff;
  padding: 1.25rem var(--gutter) 2rem;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
.mobile-menu__top .logo__name { color: #fff; }
.mobile-menu__close {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: #fff;
  border-radius: var(--r-sm);
}
.mobile-menu__close svg { width: 28px; height: 28px; }
.mobile-menu__list { margin-top: 1.5rem; display: flex; flex-direction: column; }
.mobile-menu__list a {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.2rem;
  color: #fff;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu__cta { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
body.no-scroll { overflow: hidden; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Pages internes
   ========================================================================== */
.container--narrow { max-width: 880px; }
:target { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Page hero */
.page-hero {
  position: relative;
  background: var(--brand-blue);
  color: #fff;
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 42px);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.page-hero__sub { color: var(--on-dark-muted); max-width: 64ch; font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 1rem; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--on-dark-muted); }

/* Filtres */
.filters-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; padding-block: 0.9rem; }
.chip {
  font-family: var(--font-title); font-weight: 600; font-size: 0.85rem;
  color: var(--brand-blue); padding: 0.5rem 0.95rem; border-radius: var(--r-sm);
  background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.chip:hover { background: var(--brand-blue); color: #fff; box-shadow: none; }

/* Prose */
.prose { max-width: 74ch; }
.prose h2 { margin-bottom: 0.8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }
.prose h2 + h3 { margin-top: 1.75rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }

/* Prose + image (texte à gauche, visuel à droite) */
.prose-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.prose-split .prose { max-width: none; }
.prose-split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 280px;
  background: var(--bg-soft);
}
.prose-split__media picture { display: block; height: 100%; }
.prose-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .prose-split { grid-template-columns: 1fr; gap: 2rem; }
  .prose-split__media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Contenu SEO des pages catégorie */
.category-seo h2 { font-size: 1.32rem; }
.category-seo h2:not(:first-child) { margin-top: 2rem; }
.category-seo strong { color: var(--brand-blue); }

/* Media produit variante claire (accessoires) */
.product-card__media--light { background: #e9eef4; color: var(--brand-blue); }
.acc-icon, .acc-glyph { width: 46% !important; height: auto; }
.product-card__media:has(.product-card__img) { background: #fff; }
.product-card__img { width: 100%; height: 100%; object-fit: contain; padding: 0.85rem; }

/* ==========================================================================
   FAQ — layout 2 colonnes
   ========================================================================== */
.faq-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: 1.25rem; }
.faq-search { position: relative; }
.faq-search svg { position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-light); pointer-events: none; }
.faq-search input { width: 100%; font: inherit; color: var(--ink); background: #fff; padding: 0.7rem 0.85rem 0.7rem 2.4rem; border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color 0.15s, box-shadow 0.15s; }
.faq-search input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(1, 48, 112, 0.12); }
.faq-cats { display: grid; gap: 0.15rem; }
.faq-cats a { display: block; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); border-left: 2px solid transparent; font-family: var(--font-title); font-weight: 500; font-size: 0.9rem; color: var(--ink-muted); transition: color 0.15s, background 0.15s, border-color 0.15s; }
.faq-cats a:hover { color: var(--brand-blue); background: var(--bg-soft); }
.faq-cats a.is-active { color: var(--brand-blue); font-weight: 600; background: var(--bg-soft); border-left-color: var(--brand-red); }
.faq-help { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; }
.faq-help strong { display: block; font-family: var(--font-title); color: var(--brand-blue); margin-bottom: 0.25rem; }
.faq-help p { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 0.9rem; }
.faq-content { display: grid; gap: 2.25rem; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group__title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; margin-bottom: 1rem; }
.faq-group__title svg { width: 22px; height: 22px; color: var(--brand-red); flex-shrink: 0; }
.faq-noresult { color: var(--ink-muted); background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 1.25rem; text-align: center; }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; }
  .faq-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .faq-cats a { border-left: 0; box-shadow: inset 0 0 0 1px var(--line); }
  .faq-cats a.is-active { box-shadow: inset 0 0 0 1px var(--brand-blue); }
}

/* FAQ (accordéon natif) */
.faq { display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem;
  font-family: var(--font-title); font-weight: 600; color: var(--brand-blue);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--brand-red); line-height: 1; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.3rem 1.2rem; }
.faq-item__body p { color: var(--ink-muted); margin: 0; }

/* Formulaires */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-title); font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.75rem 0.85rem; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(1, 48, 112, 0.12);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1.2rem 0; font-size: 0.9rem; color: var(--ink-muted); }
.checkbox input { margin-top: 0.2rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--brand-blue); }
.form-note { font-size: 0.82rem; color: var(--ink-light); margin-top: 0.8rem; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid {
  border-color: var(--brand-red); box-shadow: 0 0 0 3px rgba(243, 13, 28, 0.12);
}

/* Blocs de formulaire (devis) */
.form-block { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; margin-bottom: 1.3rem; }
.form-block legend { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-title); font-weight: 700; color: var(--brand-blue); font-size: 1.15rem; padding: 0 0.4rem; }
.form-block__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-blue); color: #fff; font-size: 0.85rem; }

/* Étapes devis */
.quote-steps { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 2rem; flex-wrap: wrap; }
.quote-steps__item { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 120px; font-family: var(--font-title); font-weight: 600; font-size: 0.85rem; color: var(--ink-light); }
.quote-steps__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-light); }
.quote-steps__item.is-active { color: var(--brand-blue); }
.quote-steps__item.is-active .quote-steps__dot { background: var(--brand-red); color: #fff; box-shadow: none; }
.quote-steps__item.is-done { color: var(--brand-blue); }
.quote-steps__item.is-done .quote-steps__dot { background: var(--brand-blue); color: #fff; box-shadow: none; }

/* ==========================================================================
   Devis & panier — layout 2 colonnes partagé
   ========================================================================== */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2.5rem; align-items: start; }
.quote-layout__aside { position: sticky; top: calc(var(--header-h) + 1.25rem); }

/* Récapitulatif (sidebar) */
.quote-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.quote-summary__title { font-size: 1.15rem; margin-bottom: 1rem; }
.quote-summary__list { display: grid; gap: 0.6rem; margin-bottom: 0.5rem; max-height: 340px; overflow-y: auto; }
.quote-summary__line { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; color: var(--ink-muted); }
.quote-summary__line strong { color: var(--ink); font-family: var(--font-title); font-weight: 600; white-space: nowrap; }
.quote-summary__empty { font-size: 0.9rem; color: var(--ink-light); background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 0.9rem; }
.quote-summary__row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.6rem 0; font-size: 0.92rem; color: var(--ink-muted); border-top: 1px solid var(--line); }
.quote-summary__row strong { color: var(--ink); font-family: var(--font-title); }
.quote-summary__row--total strong { color: var(--brand-blue); font-size: 1.1rem; }
.quote-summary .btn { margin-top: 1rem; }
.quote-summary__reassurance { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }

/* Wizard : étapes affichées une à une (JS actif) */
.wizard__title { font-size: 1.3rem; margin-bottom: 1.25rem; }
.wizard__step { margin-bottom: 1.5rem; }
.quote-wizard.is-enhanced .wizard__step { display: none; }
.quote-wizard.is-enhanced .wizard__step.is-active { display: block; animation: stepIn 0.25s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard__nav { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.wizard__spacer { flex: 1; }

/* Liste produits éditable (étape 1) */
.quote-products { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.quote-products__empty { color: var(--ink-muted); font-size: 0.92rem; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 1rem; }

/* Sélecteur de produits (étape 1, affiché quand le devis est vide) */
.quote-picker { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem; margin-bottom: 1.25rem; }
.quote-picker__intro { color: var(--ink-muted); font-size: 0.92rem; margin: 0 0 0.9rem; }
.quote-picker__browse { margin-bottom: 1rem; }
.quote-picker__or { color: var(--ink-light); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; margin: 0 0 0.7rem; }
.quote-picker__list { display: grid; gap: 0.35rem; max-height: 320px; overflow-y: auto; }
.quote-picker__cat { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand-blue); margin: 0.7rem 0 0.15rem; }
.quote-picker__cat:first-child { margin-top: 0; }
.quote-pick { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.5rem 0.55rem 0.5rem 0.75rem; }
.quote-pick__name { font-size: 0.9rem; color: var(--ink); min-width: 0; }
.quote-pick .btn { flex-shrink: 0; }

/* Ligne produit (panier + étape 1) */
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto auto; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.85rem 1rem; }
.cart-line__media { width: 64px; height: 64px; border-radius: var(--r-sm); background: #243140; color: #fff; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.cart-line__media svg { width: 72%; height: auto; }
.cart-line__media:has(img) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-line__info { min-width: 0; }
.cart-line__info h3 { font-size: 0.98rem; color: var(--ink); margin-bottom: 2px; line-height: 1.25; }
.cart-line__cat { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-light); }
.cart-line__price { font-family: var(--font-title); font-weight: 600; color: var(--brand-blue); font-size: 0.9rem; white-space: nowrap; }
.cart-line__remove { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-light); border-radius: var(--r-sm); transition: color 0.15s, background 0.15s; }
.cart-line__remove:hover { color: var(--brand-red); background: var(--bg-soft); }
.cart-line__remove svg { width: 18px; height: 18px; }

/* Stepper quantité */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.qty button { width: 34px; height: 36px; display: grid; place-items: center; color: var(--brand-blue); font-size: 1.15rem; font-weight: 600; transition: background 0.12s; }
.qty button:hover { background: var(--bg-soft); }
.qty__val { min-width: 34px; text-align: center; font-family: var(--font-title); font-weight: 600; font-size: 0.92rem; }

/* Panier (mon-devis) */
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); }
.cart__count { font-family: var(--font-title); font-weight: 600; color: var(--ink); }
.cart__list { display: grid; gap: 0.6rem; }
.cart__back { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.5rem; font-family: var(--font-title); font-weight: 600; font-size: 0.9rem; }
.link-danger { color: var(--ink-muted); font-size: 0.88rem; font-weight: 500; transition: color 0.15s; }
.link-danger:hover { color: var(--brand-red); }

/* État vide */
.cart-empty { text-align: center; max-width: 460px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) 0; }
.cart-empty svg { width: 56px; height: 56px; color: var(--ink-light); margin: 0 auto 1rem; }
.cart-empty h2 { margin-bottom: 0.5rem; }
.cart-empty p { color: var(--ink-muted); margin-bottom: 1.5rem; }

/* Écran de confirmation */
.quote-success { text-align: center; max-width: 540px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.quote-success__icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: rgba(22, 163, 74, 0.12); color: #16a34a; margin: 0 auto 1.25rem; }
.quote-success__icon svg { width: 38px; height: 38px; }
.quote-success h2 { margin-bottom: 0.6rem; }
.quote-success p { color: var(--ink-muted); margin-bottom: 1.5rem; }

/* ==========================================================================
   Demande de devis — version premium
   ========================================================================== */
/* Stepper relié */
.wizard-progress { display: flex; list-style: none; padding: 0; margin: 0 0 2.25rem; }
.wizard-progress__step { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; text-align: center; }
.wizard-progress__step::before { content: ""; position: absolute; top: 18px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.wizard-progress__step:first-child::before { display: none; }
.wizard-progress__step.is-active::before,
.wizard-progress__step.is-done::before { background: var(--brand-blue); }
.wizard-progress__node { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink-light); font-family: var(--font-title); font-weight: 700; font-size: 0.95rem; }
.wizard-progress__step.is-active .wizard-progress__node { background: var(--brand-red); color: #fff; box-shadow: none; }
.wizard-progress__step.is-done .wizard-progress__node { background: var(--brand-blue); color: transparent; box-shadow: none; }
.wizard-progress__step.is-done .wizard-progress__node::after { content: "✓"; position: absolute; color: #fff; font-size: 1.05rem; }
.wizard-progress__label { font-family: var(--font-title); font-weight: 600; font-size: 0.82rem; color: var(--ink-light); }
.wizard-progress__step.is-active .wizard-progress__label,
.wizard-progress__step.is-done .wizard-progress__label { color: var(--brand-blue); }

/* Titres d'étape */
.wizard__eyebrow { font-family: var(--font-title); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-red); margin-bottom: 0.4rem; }
.wizard__title { font-size: 1.4rem; margin-bottom: 0.4rem; }
.wizard__intro { color: var(--ink-muted); margin: 0 0 1.6rem; }

/* Groupes de champs */
.field-group { border: 0; padding: 0; margin: 0 0 1.6rem; }
.field-group legend { font-family: var(--font-title); font-weight: 600; font-size: 0.85rem; color: var(--ink); margin-bottom: 0.6rem; padding: 0; }

/* Cartes de choix (radio) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.6rem; }
.choice { position: relative; display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--bg-soft); color: var(--brand-blue); transition: background 0.15s, color 0.15s; }
.choice__icon svg { width: 20px; height: 20px; }
.choice__label { font-family: var(--font-title); font-weight: 600; font-size: 0.9rem; color: var(--ink); line-height: 1.2; }
.choice:hover { border-color: var(--brand-blue); }
.choice:has(input:checked) { border-color: var(--brand-blue); background: rgba(1, 48, 112, 0.035); box-shadow: inset 0 0 0 1px var(--brand-blue); }
.choice:has(input:checked) .choice__icon { background: var(--brand-blue); color: #fff; }
.choice:has(input:focus-visible) { outline: 3px solid var(--brand-blue); outline-offset: 2px; }

/* Contrôle segmenté (radio) */
.segmented { display: flex; max-width: 440px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.seg { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 0.65rem 0.9rem; font-family: var(--font-title); font-weight: 600; font-size: 0.9rem; color: var(--ink-muted); cursor: pointer; border-right: 1px solid var(--line); transition: background 0.15s, color 0.15s; }
.seg:last-child span { border-right: 0; }
.seg:has(input:checked) span { background: var(--brand-blue); color: #fff; }
.seg:has(input:focus-visible) span { outline: 3px solid var(--brand-blue); outline-offset: -3px; }

/* Panneau devis (sidebar sombre) */
.quote-panel { background: var(--bg-dark); color: #fff; border-top: 3px solid var(--brand-red); border-radius: var(--r-md); padding: 1.6rem; }
.quote-panel__title { color: #fff; font-size: 1.2rem; margin-bottom: 0.2rem; }
.quote-panel__sub { color: var(--on-dark-muted); font-size: 0.9rem; margin-bottom: 1.1rem; }
.quote-panel .quote-summary__list { max-height: 280px; overflow-y: auto; display: grid; gap: 0.55rem; margin-bottom: 0.25rem; }
.quote-panel .quote-summary__line { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); }
.quote-panel .quote-summary__line strong { color: #fff; font-family: var(--font-title); font-weight: 600; white-space: nowrap; }
.quote-panel .quote-summary__empty { color: var(--on-dark-muted); font-size: 0.88rem; background: rgba(255, 255, 255, 0.06); border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: var(--r-sm); padding: 0.85rem; }
.quote-panel__total { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 0; margin-top: 0.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--font-title); }
.quote-panel__total span { color: var(--on-dark-muted); }
.quote-panel__total strong { color: #fff; font-size: 1.15rem; }
.quote-panel__reassurance { display: grid; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.quote-panel__reassurance li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.88); }
.quote-panel__reassurance svg { width: 17px; height: 17px; color: #4ade80; flex-shrink: 0; }
.quote-panel__help { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.quote-panel__help > span { display: block; font-size: 0.82rem; color: var(--on-dark-muted); margin-bottom: 0.3rem; }
.quote-panel__help a { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; }
.quote-panel__help svg { width: 18px; height: 18px; color: var(--brand-red); }

/* Récapitulatif (étape 4) */
.recap { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; margin-bottom: 1.4rem; }
.recap__title { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-light); margin: 0 0 0.6rem; }
.recap__products { display: grid; gap: 0.4rem; margin-bottom: 1.2rem; }
.recap__products li { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.92rem; color: var(--ink); }
.recap__products span { color: var(--ink-muted); white-space: nowrap; }
.recap__muted { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 1.2rem; }
.recap__list { display: grid; gap: 0; }
.recap__list > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.recap__list > div:last-child { border-bottom: 0; }
.recap__list dt { color: var(--ink-muted); font-size: 0.88rem; }
.recap__list dd { color: var(--ink); font-family: var(--font-title); font-weight: 600; font-size: 0.9rem; text-align: right; }

/* Carte de consentement */
.consent-card { display: flex; gap: 0.7rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-soft); font-size: 0.9rem; color: var(--ink-muted); cursor: pointer; transition: border-color 0.15s, background 0.15s; margin-bottom: 0.9rem; }
.consent-card:has(input:checked) { border-color: var(--brand-blue); background: rgba(1, 48, 112, 0.035); }
.consent-card input { margin-top: 0.15rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--brand-blue); }

/* Responsive devis & panier */
@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-layout__aside { position: static; }
}
@media (max-width: 560px) {
  .wizard-progress__node { width: 32px; height: 32px; font-size: 0.85rem; }
  .wizard-progress__step::before { top: 15px; }
  .wizard-progress__label { font-size: 0.7rem; }
  .segmented { max-width: none; }
  .cart-line { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "media info remove" "media qty price"; row-gap: 0.7rem; column-gap: 0.85rem; }
  .cart-line__media { grid-area: media; align-self: start; }
  .cart-line__info { grid-area: info; }
  .cart-line .qty { grid-area: qty; }
  .cart-line__price { grid-area: price; text-align: right; align-self: center; }
  .cart-line__remove { grid-area: remove; justify-self: end; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { margin-bottom: 1.25rem; }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(1, 48, 112, 0.07); color: var(--brand-blue); }
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-title); color: var(--ink); font-size: 0.9rem; }
.contact-list a, .contact-list span { color: var(--ink-muted); }
.contact-note { margin-top: 1.75rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; }
.contact-note strong { color: var(--brand-blue); font-family: var(--font-title); }
.contact-note p { font-size: 0.9rem; color: var(--ink-muted); margin: 0.4rem 0 0.9rem; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }

/* Galerie réalisations */
.gallery { grid-template-columns: repeat(3, 1fr); }
.gallery__item { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.gallery__item--wide { grid-column: span 2; }
.gallery__ph { position: relative; display: block; aspect-ratio: 16 / 10; background: #243140; }
.gallery__ph .product-card__badge { top: 0.75rem; left: 0.75rem; }
.gallery figcaption { padding: 0.9rem 1.1rem; }
.gallery figcaption strong { display: block; font-family: var(--font-title); color: var(--ink); }
.gallery figcaption span { font-size: 0.85rem; color: var(--ink-muted); }

/* ==========================================================================
   À propos
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.about-grid__text .eyebrow { margin-bottom: 0.85rem; }
.about-grid__text h2 { margin-bottom: 1rem; }
.about-grid__text p { color: var(--ink-muted); margin-bottom: 1rem; }
.about-grid__text p strong { color: var(--ink); }
.about-grid__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.about-stats { background: var(--bg-dark); color: #fff; border-top: 3px solid var(--brand-red); border-radius: var(--r-md); padding: 0.5rem 1.75rem; }
.about-stats__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding: 1.15rem 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.about-stats__row:first-child { border-top: 0; }
.about-stats__num { font-family: var(--font-title); font-weight: 800; font-size: 1.85rem; color: #fff; line-height: 1; flex-shrink: 0; }
.about-stats__lbl { color: var(--on-dark-muted); font-size: 0.9rem; text-align: right; }

.about-engage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-engage__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.about-engage__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-engage__text .eyebrow { margin-bottom: 0.85rem; }
.about-engage__text h2 { margin-bottom: 0.9rem; }
.about-engage__text > p { color: var(--ink-muted); margin-bottom: 1.2rem; }
.about-engage__list { gap: 0.8rem; margin-top: 0; }
.about-engage__list li { font-size: 0.98rem; }
@media (max-width: 900px) { .about-engage { grid-template-columns: 1fr; } }

/* Valeurs (à propos) */
.values { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.value .trust__icon { width: 48px; height: 48px; }
.value h3 { font-size: 1.15rem; margin: 0.9rem 0 0.4rem; }
.value p { color: var(--ink-muted); font-size: 0.92rem; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-engage { grid-template-columns: 1fr; }
}

/* Cartes produit cliquables */
a.product-card__media { text-decoration: none; }
.product-card h3 a { color: var(--ink); transition: color 0.15s; }
.product-card h3 a:hover { color: var(--brand-blue); }

/* ==========================================================================
   Fiche produit
   ========================================================================== */
.page-hero--sm { padding-block: clamp(1.75rem, 4vw, 2.5rem); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.product-detail__main { aspect-ratio: 4 / 3; background: #243140; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; }
.product-detail__main svg { width: 72%; height: auto; }
.product-detail__thumbs { display: flex; gap: 0.75rem; margin-top: 0.85rem; }
.product-detail__thumb { flex: 1; aspect-ratio: 4 / 3; background: #243140; border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; opacity: 0.7; box-shadow: inset 0 0 0 1px var(--line); transition: opacity 0.15s, box-shadow 0.15s; }
.product-detail__thumb svg { width: 70%; height: auto; }
.product-detail__thumb.is-active, .product-detail__thumb:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--brand-blue); }

.product-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.product-detail__info .product-card__cat { font-size: 0.78rem; margin-bottom: 0; }
.product-detail__ref { font-family: var(--font-title); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.04em; color: var(--ink-light); background: var(--bg-soft); border: 1px solid var(--line); padding: 0.2rem 0.5rem; border-radius: var(--r-sm); white-space: nowrap; }
.product-detail__short { font-size: 1.05rem; color: var(--ink-muted); margin: 0 0 1rem; }
.product-detail__price { font-family: var(--font-title); font-weight: 800; color: var(--brand-blue); font-size: 1.6rem; margin-bottom: 1.25rem; }
.product-detail__price small { font-size: 0.85rem; font-weight: 600; color: var(--ink-light); margin-left: 0.4rem; }
.keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin-bottom: 1.5rem; }
.keyspecs li { display: flex; flex-direction: column; gap: 2px; padding: 0.6rem 0.8rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); }
.keyspecs span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-light); }
.keyspecs strong { font-family: var(--font-title); color: var(--ink); font-size: 0.92rem; }
.product-detail__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.reassurance { display: grid; gap: 0.5rem; }
.reassurance li { position: relative; padding-left: 1.5rem; font-size: 0.9rem; color: var(--ink-muted); }
.reassurance li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }

.product-blocks { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 2rem; }
.product-block h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.checklist { display: grid; gap: 0.5rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: var(--ink-muted); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
/* ==========================================================================
   Fiche produit — premium
   ========================================================================== */
.product-crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: 0.85rem; font-size: 0.85rem; }
.product-crumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--ink-light); }
.product-crumbs a { color: var(--ink-muted); }
.product-crumbs a:hover { color: var(--brand-blue); }
.product-crumbs [aria-current] { color: var(--ink); }

.product-top { padding-top: clamp(2rem, 4vw, 3rem); }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

/* Galerie */
.product-gallery__main { position: relative; aspect-ratio: 1 / 1; background: #243140; border: 1.5px solid var(--brand-blue); border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; }
.product-gallery__main svg { width: 72%; height: auto; }
.product-gallery__main .product-card__badge { top: 1rem; left: 1rem; }
.product-gallery__main--light { background: #eef2f7; color: var(--brand-blue); }
.product-gallery__main--light .acc-glyph { width: 38% !important; }
.product-gallery__thumb--light { background: #eef2f7; color: var(--brand-blue); }
.product-gallery__main:has(.product-gallery__img) { background: #fff; }
.product-gallery__img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.product-gallery__thumb:has(img) { background: #fff; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0.45rem; }
.product-gallery__thumbs { display: flex; gap: 0.75rem; margin-top: 0.85rem; }
.product-gallery__thumb { flex: 1; aspect-ratio: 1 / 1; background: #243140; border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; opacity: 0.65; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: opacity 0.15s, box-shadow 0.15s; }
.product-gallery__thumb svg { width: 70%; height: auto; }
.product-gallery__thumb.is-active, .product-gallery__thumb:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--brand-blue); }

/* Panneau d'achat (sticky) */
.product-buy { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.product-buy__meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.product-buy__cat { font-family: var(--font-title); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-light); }
.product-buy__title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.7rem; }
.product-buy__short { color: var(--ink-muted); font-size: 1.05rem; margin-bottom: 1.1rem; }
.product-buy__price { font-family: var(--font-title); font-weight: 800; color: var(--brand-blue); font-size: 1.6rem; margin-bottom: 1.3rem; }
.product-buy__price small { font-size: 0.85rem; font-weight: 600; color: var(--ink-light); margin-left: 0.4rem; }

.product-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.product-highlights li { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.product-highlights__ic { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--bg-soft); color: var(--brand-blue); }
.product-highlights__ic svg { width: 18px; height: 18px; }
.product-highlights__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.product-highlights__txt span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-light); }
.product-highlights__txt strong { font-family: var(--font-title); font-size: 0.9rem; color: var(--ink); }

.product-variants { margin-bottom: 1.3rem; }
.product-variants__label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-light); margin-bottom: 0.5rem; }
.product-variants__choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-variants__btn {
  min-width: 64px; padding: 0.6rem 1rem;
  font-family: var(--font-title); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.product-variants__btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.product-variants__btn.is-active { border-color: var(--brand-blue); background: var(--brand-blue); color: #fff; }

.product-buy__order { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.product-buy__order .btn { flex: 1; }
.product-buy__order .qty { flex-shrink: 0; }
.qty--lg button { width: 44px; height: 52px; font-size: 1.25rem; }
.qty--lg .qty__val { min-width: 42px; font-size: 1rem; }
.product-buy__hint { font-size: 0.82rem; color: var(--ink-light); margin: 0.75rem 0 1.25rem; }
.product-buy__trust { display: grid; gap: 0.55rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.product-buy__trust li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink-muted); }
.product-buy__trust svg { width: 17px; height: 17px; color: #16a34a; flex-shrink: 0; }

/* Onglets */
.product-tabs__nav { position: sticky; top: var(--header-h); z-index: 20; display: flex; flex-wrap: wrap; gap: 0.25rem; background: var(--bg-soft); border-bottom: 2px solid var(--line); padding-top: 0.85rem; margin-bottom: 1.75rem; }
.product-tabs__tab { font-family: var(--font-title); font-weight: 600; font-size: 0.98rem; color: var(--ink-muted); padding: 0.75rem 1.1rem; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s; }
.product-tabs__tab:hover { color: var(--brand-blue); }
.product-tabs__tab.is-active { color: var(--brand-blue); border-bottom-color: var(--brand-red); }
.product-tabs__panel p { color: var(--ink-muted); margin-bottom: 1rem; max-width: 78ch; }
.product-panel__sub { font-size: 1.05rem; margin: 1.6rem 0 0.8rem; }
.product-desc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.4rem, 3vw, 2rem); }
.product-desc p:last-of-type { margin-bottom: 0; }
.product-desc .product-panel__sub:first-child { margin-top: 0; }

/* Barre d'action mobile */
.product-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(1, 28, 66, 0.1); padding: 0.7rem var(--gutter); }
.product-bar__info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.product-bar__info strong { font-family: var(--font-title); font-size: 0.9rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.product-bar__info span { font-size: 0.8rem; color: var(--brand-blue); font-weight: 600; }
.product-bar .btn { flex-shrink: 0; }

@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .product-buy { position: static; }
}
@media (max-width: 760px) {
  .product-bar { display: flex; }
  body[data-page^="produit-"] .footer { padding-bottom: 84px; }
}
@media (max-width: 560px) {
  .product-highlights { grid-template-columns: 1fr; }
  .product-buy__cta .btn { min-width: 0; width: 100%; }
}

/* Caractéristiques techniques groupées */
.spec-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.spec-group { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.4rem; }
.spec-group__title { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-blue); margin-bottom: 0.6rem; padding-bottom: 0.55rem; border-bottom: 2px solid var(--line); }
.spec-list { display: grid; gap: 0; }
.spec-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--ink-muted); }
.spec-list dd { color: var(--ink); font-family: var(--font-title); font-weight: 600; text-align: right; }
@media (max-width: 700px) { .spec-groups { grid-template-columns: 1fr; gap: 1.5rem; } }
.related { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.related h2 { margin-bottom: 1.5rem; }

/* Responsive pages internes */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .quote-steps__item { min-width: auto; flex: 1 1 44%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: auto; }
  .keyspecs { grid-template-columns: 1fr; }
  .product-detail__cta .btn { width: 100%; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  /* Tablette : on bascule sur le menu burger pour éviter le surpeuplement de la nav */
  .nav { display: none; }
  .header__actions .quote-pill span:not(.quote-pill__count) { display: none; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .hero__bg { background-position: center; }
  .hero__scrim { background: linear-gradient(180deg, rgba(5, 11, 19, 0.45) 0%, rgba(5, 11, 19, 0.86) 78%); }
  .hero .container { min-height: auto; padding-block: 3.25rem; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .logo__img { height: 36px; }
  /* Header allégé : logo + panier devis + burger (le CTA reste dans le menu burger) */
  .header .container { gap: 0.75rem; }
  .header__actions { gap: 0.5rem; }
  .header__actions .btn--primary { display: none; }
  /* Sous-header : on ne garde que le téléphone (clic-pour-appeler), centré */
  .subheader__contact .subheader__mail { display: none; }
  .subheader__usp { display: none; }
  .subheader .container { justify-content: center; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { width: 100%; }
  /* Densité verticale : moins de scroll sur petit écran */
  .section { padding-block: 2.75rem; }
  .section__head { margin-bottom: 1.75rem; }
  /* Cibles tactiles ≥ 44px et confort de lecture */
  .qty:not(.qty--lg) button { width: 42px; height: 44px; }
  .footer__col a, .footer__bottom nav a { display: inline-block; padding-block: 0.25rem; }
  /* Onglets fiche produit : scroll horizontal au lieu d'un empilement sur 2 lignes */
  .product-tabs__nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .product-tabs__nav::-webkit-scrollbar { display: none; }
  .product-tabs__tab { white-space: nowrap; flex-shrink: 0; }
}

/* ==========================================================================
   Blocs image / texte alternés (feature rows)
   ========================================================================== */
.feature-rows { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.feature-row__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__text .eyebrow { margin-bottom: 0.85rem; }
.feature-row__text h2 { margin-bottom: 0.9rem; }
.feature-row__text p { color: var(--ink-muted); margin-bottom: 1rem; }
.feature-row__text p:last-child { margin-bottom: 0; }
.feature-row__text .checklist { margin-top: 1.1rem; }
.feature-row__text .btn { margin-top: 1.4rem; }
.profile-list { display: grid; gap: 0.9rem; margin-top: 1.25rem; }
.profile-list li { position: relative; padding-left: 1.85rem; color: var(--ink-muted); line-height: 1.5; }
.profile-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-blue); font-weight: 800; }
.profile-list strong { color: var(--ink); font-family: var(--font-title); font-weight: 600; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row--reverse .feature-row__media { order: 0; }
}

/* ==========================================================================
   Modernisation UI/UX
   ========================================================================== */
/* Toast de confirmation (ajout au devis) */
.toast { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: calc(clamp(1rem, 3vw, 2rem) + 58px); z-index: 80; display: flex; align-items: center; gap: 0.75rem; max-width: 360px; background: var(--bg-dark); color: #fff; border-radius: var(--r-md); padding: 0.85rem 1rem; box-shadow: 0 10px 30px rgba(1, 28, 66, 0.28); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.toast.is-visible { opacity: 1; visibility: visible; transform: none; }
.toast__icon { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(74, 222, 128, 0.16); color: #4ade80; }
.toast__icon svg { width: 16px; height: 16px; }
.toast__msg { font-size: 0.9rem; color: rgba(255, 255, 255, 0.9); line-height: 1.35; }
.toast__msg strong { color: #fff; font-family: var(--font-title); }
.toast__link { margin-left: auto; flex-shrink: 0; color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 0.85rem; text-decoration: underline; }
@media (max-width: 760px) { .toast { left: 1rem; right: 1rem; max-width: none; bottom: 88px; } }

/* Page active dans le menu */
body[data-page="index"] .nav__link[href="index.html"],
body[data-page="produits"] .nav__link[href="produits.html"],
body[data-page^="categorie-"] .nav__link[href="produits.html"],
body[data-page^="produit-"] .nav__link[href="produits.html"],
body[data-page="blog"] .nav__link[href="blog.html"],
body[data-page^="article-"] .nav__link[href="blog.html"],
body[data-page="a-propos"] .nav__link[href="a-propos.html"],
body[data-page="faq"] .nav__link[href="faq.html"],
body[data-page="contact"] .nav__link[href="contact.html"] {
  color: var(--brand-blue);
  font-weight: 600;
  background: var(--bg-soft);
}

/* Bouton retour en haut */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--brand-blue);
  color: #fff;
  border-radius: var(--r-sm);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 4px 14px rgba(1, 28, 66, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), background 0.15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-blue-700); }
.to-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .to-top { transition: opacity 0.2s; transform: none; }
}

/* ==========================================================================
   Consentement cookies (RGPD) — bannière + gestionnaire
   Rendu industriel : barre sombre pleine largeur, angles nets, pas de halo flou.
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--bg-dark);
  color: #fff;
  border-top: 3px solid var(--brand-red);
  box-shadow: 0 -8px 30px rgba(1, 28, 66, 0.28);
  transform: translateY(110%);
  transition: transform 0.32s var(--ease);
}
.cookie-banner.is-visible { transform: none; }
.cookie-banner__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-banner__body { display: flex; gap: 0.9rem; align-items: flex-start; flex: 1 1 460px; min-width: 0; }
.cookie-banner__icon { flex-shrink: 0; width: 30px; height: 30px; color: var(--brand-red); margin-top: 2px; }
.cookie-banner__icon svg { width: 100%; height: 100%; }
.cookie-banner__title {
  font-family: var(--font-title);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.cookie-banner__text { font-size: 0.9rem; color: var(--on-dark-muted); line-height: 1.5; max-width: 62ch; }
.cookie-banner__text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__text a:hover { color: var(--on-dark-muted); }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; flex-shrink: 0; }

@media (max-width: 760px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner__actions [data-cc="customize"] { grid-column: 1 / -1; }
}

/* ---------- Modale de paramétrage ---------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}
.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 28, 66, 0.55);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.cookie-modal.is-open .cookie-modal__overlay { opacity: 1; }
.cookie-modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(1, 28, 66, 0.35);
  border-top: 3px solid var(--brand-red);
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cookie-modal.is-open .cookie-modal__panel { opacity: 1; transform: none; }
.cookie-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cookie-modal__head h2 { font-size: 1.25rem; }
.cookie-modal__close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}
.cookie-modal__close:hover { background: var(--bg-soft); color: var(--brand-blue); }
.cookie-modal__close svg { width: 22px; height: 22px; }
.cookie-modal__intro { padding: 1rem 1.5rem 0; }
.cookie-modal__intro p { font-size: 0.9rem; color: var(--ink-muted); }
.cookie-modal__cats { padding: 0.5rem 1.5rem; overflow-y: auto; }

.cookie-cat { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.cookie-cat:last-child { border-bottom: 0; }
.cookie-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-cat__name { font-family: var(--font-title); font-weight: 600; color: var(--brand-blue); font-size: 1.02rem; }
.cookie-cat__desc { margin-top: 0.45rem; font-size: 0.88rem; color: var(--ink-muted); line-height: 1.5; }

/* Interrupteur (net, pas de pilule exagérée) */
.cookie-switch { display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; flex-shrink: 0; }
.cookie-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-switch__track {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: var(--r-sm);
  background: #c7cfdb;
  transition: background 0.18s var(--ease);
  flex-shrink: 0;
}
.cookie-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(1, 28, 66, 0.35);
  transition: transform 0.18s var(--ease);
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--brand-blue); }
.cookie-switch input:checked + .cookie-switch__track::after { transform: translateX(20px); }
.cookie-switch input:focus-visible + .cookie-switch__track { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.cookie-switch__label { font-size: 0.78rem; font-weight: 600; color: var(--ink-muted); font-family: var(--font-title); min-width: 78px; text-align: left; }
.cookie-switch.is-locked { cursor: default; }
.cookie-switch.is-locked input:checked + .cookie-switch__track { background: var(--ink-light); }

.cookie-modal__foot {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.cookie-modal__foot [data-cc="save"] { margin-left: auto; }

@media (max-width: 560px) {
  .cookie-modal__foot { flex-direction: column-reverse; }
  .cookie-modal__foot .btn { width: 100%; }
  .cookie-modal__foot [data-cc="save"] { margin-left: 0; }
  .cookie-cat__head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-modal__overlay, .cookie-modal__panel { transition: none; }
}

/* ==========================================================================
   Pages légales / contenu long-format (.legal)
   ========================================================================== */
.legal { max-width: 880px; }
.legal__updated {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.85rem;
  margin-bottom: 2rem;
}
.legal__block { margin-bottom: 2.4rem; }
.legal__block:last-child { margin-bottom: 0; }
.legal h2 {
  font-size: 1.4rem;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--line);
}
.legal h2 .legal__num { color: var(--brand-red); margin-right: 0.5rem; }
.legal h3 { font-size: 1.12rem; margin: 1.4rem 0 0.6rem; }
.legal p { margin-bottom: 0.9rem; color: var(--ink); }
.legal p:last-child { margin-bottom: 0; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal ul.legal-list { margin: 0 0 1rem; padding: 0; display: grid; gap: 0.55rem; }
.legal ul.legal-list li { position: relative; padding-left: 1.5rem; color: var(--ink); }
.legal ul.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--brand-red);
  border-radius: 2px;
}
.legal strong { color: var(--brand-blue); }

/* Encart de mise en avant (placeholders à compléter, contact, etc.) */
.legal-note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  margin: 1.2rem 0;
}
.legal-note--todo { border-left-color: var(--brand-red); }
.legal-note p { font-size: 0.92rem; margin-bottom: 0.5rem; }
.legal-note p:last-child { margin-bottom: 0; }

/* Définitions responsable / coordonnées */
.legal-dl { display: grid; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.legal-dl div { display: grid; grid-template-columns: 220px 1fr; gap: 0.5rem 1rem; }
.legal-dl dt { font-weight: 600; color: var(--brand-blue); font-family: var(--font-title); font-size: 0.92rem; }
.legal-dl dd { color: var(--ink-muted); }
@media (max-width: 600px) { .legal-dl div { grid-template-columns: 1fr; gap: 0.1rem; } }

/* Tableau des cookies */
.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.legal-table caption { text-align: left; font-family: var(--font-title); font-weight: 600; color: var(--brand-blue); padding: 0.9rem 1rem 0.6rem; }
.legal-table th, .legal-table td { text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table thead th { background: var(--bg-soft); color: var(--brand-blue); font-family: var(--font-title); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; padding: 0.1rem 0.4rem; font-size: 0.85em; color: var(--brand-blue); }

/* ===================== BLOG ===================== */
.blog-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
@media (max-width: 920px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(1, 28, 66, 0.45); border-color: var(--brand-blue); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }

.post-card__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.2rem 1.25rem 1.35rem; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 0.7rem; }
.post-card__tag {
  font-family: var(--font-title); font-weight: 600; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--brand-blue); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 4px; padding: 0.2rem 0.55rem;
}
.post-card__date { font-size: 0.82rem; color: var(--ink-muted); }
.post-card__body h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; text-wrap: balance; }
.post-card__body h3 a { color: var(--ink); }
.post-card__body h3 a:hover { color: var(--brand-blue); }
.post-card__body p { font-size: 0.92rem; color: var(--ink-muted); margin: 0; }
.post-card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-title); font-weight: 600; font-size: 0.88rem; color: var(--brand-blue);
}
.post-card__link svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.post-card__link:hover svg { transform: translateX(3px); }

/* ===================== ARTICLE ===================== */
.article__tag {
  display: inline-block; font-family: var(--font-title); font-weight: 600; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-blue);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px;
  padding: 0.22rem 0.6rem; margin-bottom: 0.7rem;
}
.article__meta { font-size: 0.88rem; color: var(--ink-muted); margin-top: 0.6rem; }
.article-body h2 { margin-top: 1.9rem; font-size: 1.32rem; }
.article-body h2:first-of-type { margin-top: 0; }
.article-body h3 { margin-top: 1.5rem; font-size: 1.12rem; }
.article-body ul:not(.checklist), .article-body ol { margin: 0 0 1rem 1.2rem; color: var(--ink-muted); }
.article-body ul:not(.checklist) li, .article-body ol li { margin-bottom: 0.4rem; }
.article-body a:not(.btn) { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:not(.btn):hover { color: var(--brand-red); }
.article-back {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 2rem;
  font-family: var(--font-title); font-weight: 600; font-size: 0.9rem; color: var(--brand-blue);
}
.article-back:hover { gap: 0.6rem; }

/* Table des matières */
.article-toc {
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand-red);
  border-radius: var(--r-md); padding: 1.1rem 1.3rem; margin: 0 0 2rem;
}
.article-toc__title {
  font-family: var(--font-title); font-weight: 700; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--brand-blue); margin: 0 0 0.6rem;
}
.article-toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; }
.article-toc li { color: var(--ink-muted); }
.article-toc a { color: var(--ink); text-decoration: none; }
.article-toc a:hover { color: var(--brand-blue); text-decoration: underline; }
.article-body h2[id], .article-faq h2[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* FAQ d'article */
.article-faq { margin-top: 2.5rem; }
.article-faq > h2 { margin-bottom: 1rem; }
.article-faq .faq { display: grid; gap: 0.7rem; }

/* À lire aussi */
.article-related { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.article-related__title { font-size: 1.15rem; margin-bottom: 0.9rem; }
.article-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.article-related a {
  display: inline-flex; align-items: center; gap: 0.45rem; color: var(--brand-blue);
  font-family: var(--font-title); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.article-related a::before { content: "›"; color: var(--brand-red); font-weight: 800; }
.article-related a:hover { text-decoration: underline; }

.legal-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1.2rem 0; }
