/* AXOVENT — feuille de style
   Mise en page : bandeaux pleine largeur, contenu centré 1240 px ;
   catalogue en grille, bandes anthracite pour le pro et le pied de page. */
:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --sunk: #E9ECEF;
  --line: #D7DBE0;
  --grid: rgba(31, 120, 204, .07);
  --ink: #1E2329;
  --muted: #5A646F;
  --accent: #1A6DBF;
  --accent-hover: #135797;
  --accent-ink: #FFFFFF;
  --gold: #1F78CC;
  --gold-soft: #DCEBFA;
  --gold-ink: #FFFFFF;
  --navy: #23282E;
  --navy-2: #2E353C;
  --navy-ink: #EEF1F4;
  --navy-muted: #AEB7C0;
  --ok: #1D7A4B;
  --ok-soft: #E2F2E9;
  --danger: #B2261E;
  --info-soft: #E5EEF8;
  --shadow: 0 1px 2px rgba(20, 28, 36, .06), 0 8px 24px rgba(20, 28, 36, .09);

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --r: 6px;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.9vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.5rem + 2.9vw, 3.45rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #13171B; --surface: #1B2025; --sunk: #171B20; --line: #2E353D; --grid: rgba(91, 168, 240, .06);
    --ink: #E8ECF0; --muted: #9AA4AF; --accent: #5BA8F0; --accent-hover: #86C0F6; --accent-ink: #0A1118;
    --gold: #3E96EA; --gold-soft: #14283B; --gold-ink: #06101A;
    --navy: #0D1013; --navy-2: #171B1F; --navy-ink: #E8ECF0; --navy-muted: #929CA7;
    --ok: #5CC28C; --ok-soft: #12301F; --danger: #F08A84; --info-soft: #14283B;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #13171B; --surface: #1B2025; --sunk: #171B20; --line: #2E353D; --grid: rgba(91, 168, 240, .06);
  --ink: #E8ECF0; --muted: #9AA4AF; --accent: #5BA8F0; --accent-hover: #86C0F6; --accent-ink: #0A1118;
  --gold: #3E96EA; --gold-soft: #14283B; --gold-ink: #06101A;
  --navy: #0D1013; --navy-2: #171B1F; --navy-ink: #E8ECF0; --navy-muted: #929CA7;
  --ok: #5CC28C; --ok-soft: #12301F; --danger: #F08A84; --info-soft: #14283B;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 {
  font-family: var(--f-display); font-stretch: 112%; color: var(--ink);
  line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-size: .86em; letter-spacing: 0; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }
.skip:focus { left: 16px; }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(48px, 6vw, 88px); }
.band-tight { padding-block: clamp(36px, 4vw, 56px); }
.band-surface { background: var(--surface); border-block: 1px solid var(--line); }
.band-navy { background: var(--navy); color: var(--navy-ink); }
.band-navy h2, .band-navy h3 { color: var(--navy-ink); }
.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--gold); }
.band-navy .eyebrow { color: var(--gold); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head > div { display: grid; gap: 10px; max-width: 70ch; min-width: 0; }
.section-head p { color: var(--muted); }
.band-navy .section-head p { color: var(--navy-muted); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: var(--r); border: 1.5px solid transparent;
  font: 600 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { filter: brightness(1.06); color: var(--gold-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.band-navy .btn-ghost { color: var(--navy-ink); border-color: rgba(233, 238, 246, .3); }
.band-navy .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Bandeau utilitaire */
.topbar { background: var(--navy); color: var(--navy-muted); font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar a { color: var(--navy-ink); text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links .tel { display: inline-flex; gap: 6px; align-items: center; font-family: var(--f-mono); font-size: .86rem; }
.topbar-links .tel svg { width: 15px; height: 15px; }
.topbar strong { color: var(--navy-ink); font-weight: 600; }

/* En-tête */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brandrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 48px; height: 40px; flex: none; }
.brand-name { display: grid; line-height: 1; }
.brand-name b .x { color: #2A86DC; }
.brand-name b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.45rem; letter-spacing: .06em; }
.brand-name small { font-size: .74rem; color: var(--muted); margin-top: 5px; letter-spacing: .02em; }

.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input {
  width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--bg); color: var(--ink); padding: 0 14px 0 44px; font: inherit; font-size: 1rem;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.search > svg { position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70; list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  max-height: min(70vh, 460px); overflow: auto;
}
.search-results a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: 4px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a[aria-selected="true"] { background: var(--sunk); }
.search-results .ico { width: 34px; height: 34px; color: var(--accent); }
.search-results b { display: block; font-weight: 600; font-size: .98rem; }
.search-results small { color: var(--muted); font-size: .84rem; }
.search-results .empty { padding: 12px; color: var(--muted); }

.header-actions { display: flex; gap: 10px; align-items: center; }
.demande-btn { position: relative; }
.demande-btn .count {
  position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--gold); color: var(--gold-ink); font: 700 .78rem/22px var(--f-mono); text-align: center;
}
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r); cursor: pointer; padding: 10px; }
.burger svg { width: 24px; height: 24px; }

/* Navigation */
.mainnav { border-top: 1px solid var(--line); }
.mainnav > .wrap > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; justify-content: space-between; }
.mainnav li { position: relative; }
.mainnav .navlink {
  display: flex; align-items: center; height: 46px; padding: 0 9px; color: var(--ink); text-decoration: none;
  font-family: var(--f-display); font-stretch: 100%; font-weight: 600; font-size: .93rem; white-space: nowrap;
  border-bottom: 2.5px solid transparent;
}
.mainnav .navlink:hover, .mainnav li:focus-within > .navlink { color: var(--accent); border-bottom-color: var(--accent); }
.mainnav .navlink[aria-current="page"] { border-bottom-color: var(--gold); }
.mega {
  position: absolute; top: 100%; left: 0; z-index: 60; min-width: 270px; padding: 14px; display: none;
  background: var(--surface); border: 1px solid var(--line); border-top: 2.5px solid var(--accent); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow);
}
.mainnav li:nth-last-child(-n+3) .mega { left: auto; right: 0; }
.mainnav li:hover > .mega, .mainnav li:focus-within > .mega { display: grid; gap: 2px; }
.mega a { padding: 7px 10px; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: .96rem; }
.mega a:hover { background: var(--sunk); color: var(--accent); }
.mega .mega-all { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); border-radius: 0; color: var(--accent); font-weight: 600; }
.mega .mega-all:hover { background: none; }

.mobile-panel { display: none; }

/* Héros */
.hero {
  background-color: var(--surface);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px; border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 84px); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy .lead { font-size: 1.18rem; color: var(--muted); max-width: 58ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: .98rem; }
.ticks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.band-navy .ticks svg { color: var(--gold); }

.gauge { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.gauge-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gauge-head b { color: var(--ink); font-weight: 500; }
.gauge svg { display: block; width: 100%; height: auto; padding: 18px 12px 6px; }
.gauge .sec { cursor: pointer; }
.gauge .sec circle.o { fill: var(--sunk); stroke: var(--ink); stroke-width: 1.4; transition: fill .15s, stroke .15s; }
.gauge .sec circle.i { fill: none; stroke: var(--line); stroke-width: 1; }
.gauge .sec text { fill: var(--muted); font-family: var(--f-mono); font-size: 12px; text-anchor: middle; }
.gauge .sec:hover circle.o, .gauge .sec:focus circle.o, .gauge .sec.on circle.o { fill: var(--gold-soft); stroke: var(--gold); }
.gauge .sec:hover text, .gauge .sec.on text { fill: var(--ink); }
.gauge .sec:focus { outline: none; }
.gauge .base { stroke: var(--line); stroke-width: 1; }
.gauge-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.gauge-read div { padding: 12px 16px; display: grid; gap: 2px; }
.gauge-read div + div { border-left: 1px solid var(--line); }
.gauge-read small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gauge-read b { font-family: var(--f-mono); font-weight: 500; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.gauge-note { padding: 10px 16px 14px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }

/* Réassurance */
.assure { background: var(--surface); border-bottom: 1px solid var(--line); }
.assure ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.assure li { display: flex; gap: 14px; align-items: center; padding: 20px 18px; min-width: 0; }
.assure li + li { border-left: 1px solid var(--line); }
.assure svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.assure b { display: block; font-family: var(--f-display); font-stretch: 105%; font-weight: 700; font-size: 1rem; }
.assure span { color: var(--muted); font-size: .92rem; }

/* Familles */
.families { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.fam {
  display: grid; grid-template-rows: auto auto 1fr; gap: 10px; padding: 18px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.fam:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.fam .ico { width: 58px; height: 58px; color: var(--accent); stroke-width: 1.9; }
.fam h3 { font-size: 1.08rem; }
.fam p { color: var(--muted); font-size: .9rem; }
.fam .n { font-family: var(--f-mono); font-size: .78rem; color: var(--gold); font-weight: 500; letter-spacing: .04em; }

/* Produits */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product {
  display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; min-width: 0; transition: border-color .2s, box-shadow .2s;
}
.product:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.product.flash { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.product-visual {
  aspect-ratio: 16 / 10; max-width: 100%; display: grid; place-items: center; position: relative;
  background-color: var(--sunk);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 16px 16px; color: var(--accent); overflow: hidden;
}
.product-visual .ico { width: 42%; height: auto; max-height: 80%; stroke-width: 1.7; }
.product-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; }
.product-visual:has(img) { background: #fff; }
.product-visual .tag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--gold-ink); font: 600 .7rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 3px; }
.product-body { display: grid; grid-template-rows: auto auto auto 1fr auto auto; gap: 6px; padding: 14px 16px 16px; min-width: 0; }
.product .ref { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.product h3 { font-size: 1.04rem; font-stretch: 100%; font-weight: 700; line-height: 1.25; }
.product .spec { font-size: .92rem; color: var(--ink); }
.product .cond { font-size: .85rem; color: var(--muted); }
.product .price { font-size: .92rem; color: var(--muted); padding-top: 4px; }
.product .price b { color: var(--ink); font-family: var(--f-display); font-size: 1.1rem; }
.product-actions { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 8px; padding-top: 6px; }
.product-actions select, .product-actions input {
  width: 100%; height: 38px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg);
  color: var(--ink); font: inherit; font-size: .92rem; padding: 0 8px; min-width: 0;
}
.product-actions input { text-align: center; font-family: var(--f-mono); }
.product-actions .btn { grid-column: 1 / -1; }
.product-actions.no-opt { grid-template-columns: 64px minmax(0, 1fr); }
.product-actions.no-opt .btn { grid-column: auto; }
.opt-label, .search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.steps li { padding: 26px 24px 28px; display: grid; gap: 8px; align-content: start; counter-increment: s; position: relative; min-width: 0; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-weight: 500; color: var(--gold); font-size: .9rem; letter-spacing: .06em; }
.steps p { color: var(--muted); }

/* Bande pro */
.pro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pro-grid > div { display: grid; gap: 18px; min-width: 0; }
.pro-grid p { color: var(--navy-muted); max-width: 60ch; }
.pro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(233, 238, 246, .14); }
.pro-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(233, 238, 246, .14); }
.pro-list .mono { color: var(--gold); font-size: .82rem; }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; min-width: 0; }
.guide-card:hover { border-color: var(--accent); color: var(--ink); }
.guide-card .mono { color: var(--gold); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-card h3 { font-size: 1.06rem; font-stretch: 100%; }
.guide-card p { color: var(--muted); font-size: .94rem; }

/* Marques */
.brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands span { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 1.05rem; color: var(--muted); letter-spacing: .02em; }
.fine { font-size: .84rem; color: var(--muted); margin-top: 14px; }

/* Partenaires (accueil) */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.partner .mono { color: var(--accent); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.partner p { color: var(--muted); }
.partner ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink); font-size: .95rem; display: grid; gap: 4px; }

/* Formulaires */
.cta-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cta-grid > div:first-child { display: grid; gap: 18px; min-width: 0; }
.cta-grid > div:first-child p { color: var(--muted); }
.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 30px); min-width: 0; }
.formcard h3 { margin-bottom: 4px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .93rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 1rem; padding: 10px 12px; min-height: 46px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.field input[type="file"] { padding: 9px; font-size: .92rem; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); border-radius: 30px; padding: 6px 12px; font-weight: 500; font-size: .92rem; cursor: pointer; background: var(--bg); }
.checks input { accent-color: var(--accent); width: 16px; height: 16px; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: .9rem; color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.form-foot small { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: var(--r); font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-info { background: var(--info-soft); color: var(--ink); }
.form-status.is-error { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }
.form-done { display: grid; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--ok-soft); color: var(--ink); }
.form-done svg { width: 34px; height: 34px; color: var(--ok); }
.form-done h3 { font-size: 1.2rem; }

/* Pied de page */
.site-footer { background: var(--navy); color: var(--navy-muted); font-size: .95rem; }
.site-footer .wrap { padding-block: 56px 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 32px; }
.foot-grid > div { display: grid; gap: 10px; align-content: start; min-width: 0; }
.site-footer h4 { font-family: var(--f-mono); font-stretch: 100%; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 4px; }
.site-footer a { color: var(--navy-ink); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { color: var(--navy-ink); }
.site-footer .brand-name small { color: var(--navy-muted); }
.foot-contact b { font-family: var(--f-mono); font-weight: 500; color: var(--navy-ink); font-size: 1rem; }
.news { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.news input { min-height: 42px; border-radius: var(--r); border: 1.5px solid rgba(233, 238, 246, .22); background: var(--navy-2); color: var(--navy-ink); padding: 0 12px; font: inherit; font-size: .95rem; min-width: 0; }
.news input::placeholder { color: var(--navy-muted); }
.news .form-status { grid-column: 1 / -1; }
.news .form-status.is-info { background: var(--navy-2); color: var(--navy-ink); }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(233, 238, 246, .14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; }

/* Pages intérieures */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px 56px; align-items: start; padding-block: 28px 44px; }
.page-head.simple .wrap { grid-template-columns: minmax(0, 1fr); }
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head .intro { display: grid; gap: 16px; min-width: 0; }
.page-head .intro p { color: var(--muted); max-width: 70ch; }
.aside-cta { display: grid; gap: 12px; padding: 20px; background: var(--navy); color: var(--navy-ink); border-radius: var(--r); }
.aside-cta h3 { color: var(--navy-ink); font-size: 1.15rem; }
.aside-cta p { color: var(--navy-muted); font-size: .95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 30px; padding: 7px 14px; font: 600 .92rem/1.2 var(--f-body); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.chip .n { font-family: var(--f-mono); font-weight: 400; opacity: .7; margin-left: 4px; font-size: .82em; }
.result-line { color: var(--muted); font-size: .92rem; margin: -10px 0 18px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--sunk); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--f-mono); font-size: .9rem; }
.caption { font-size: .88rem; color: var(--muted); margin-top: 10px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.5rem/1 var(--f-mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.related { display: grid; gap: 10px; }
.related a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 600; }
.related a:hover { border-color: var(--accent); color: var(--accent); }
.related svg { width: 18px; height: 18px; flex: none; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.checklist li { display: grid; gap: 6px; align-content: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.checklist b { font-family: var(--f-display); font-stretch: 105%; }
.checklist span { color: var(--muted); font-size: .93rem; }

/* Devis */
.devis-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.devis-grid > section { min-width: 0; display: grid; gap: 16px; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.qtable td { vertical-align: middle; }
.qtable .ref { font-family: var(--f-mono); font-size: .82rem; color: var(--muted); white-space: nowrap; }
.qtable input { width: 76px; height: 38px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); text-align: center; font: 500 .95rem var(--f-mono); }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); border-radius: var(--r); cursor: pointer; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.icon-btn svg { width: 18px; height: 18px; }
.empty-list { display: grid; gap: 12px; justify-items: start; padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--r); background: var(--surface); color: var(--muted); }
.empty-list .ico { width: 54px; height: 54px; color: var(--accent); }
.list-total { font-size: .92rem; color: var(--muted); }

/* Contenus éditoriaux (guides, légal) */
.prose { display: grid; gap: 16px; max-width: 76ch; }
.prose h2 { font-size: var(--step-2); margin-top: 14px; }
.prose h3 { margin-top: 8px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose .table-wrap { margin-block: 6px; }
.formula { font-family: var(--f-mono); background: var(--sunk); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; font-size: .95rem; }
.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.toc { position: sticky; top: 150px; display: grid; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.toc b { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc a { text-decoration: none; padding: 6px 8px; border-radius: 4px; color: var(--ink); font-size: .95rem; }
.toc a:hover { background: var(--sunk); color: var(--accent); }
.guide { scroll-margin-top: 150px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.guide + .guide { padding-top: 36px; }
.guide:last-child { border-bottom: 0; }
.legal dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--ink); }
.todo { background: var(--gold-soft); color: var(--ink); padding: 1px 6px; border-radius: 3px; font-family: var(--f-mono); font-size: .86em; }

.contact-cards { display: grid; gap: 14px; }
.contact-cards > div { display: grid; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.contact-cards small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-cards b { font-family: var(--f-mono); font-weight: 500; font-size: 1.15rem; word-break: break-word; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%);
  z-index: 90; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--surface); padding: 12px 14px 12px 18px; border-radius: var(--r); box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.toast.show { transform: translate(-50%, 0); }
.toast:empty { visibility: hidden; }
.toast a { color: var(--gold); font-weight: 600; white-space: nowrap; }

/* Responsive */
@media (max-width: 1180px) {
  .mainnav { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .mobile-panel[data-open="true"] { display: block; border-top: 1px solid var(--line); max-height: calc(100vh - 140px); overflow: auto; background: var(--surface); }
  .mobile-panel ul { list-style: none; margin: 0; padding: 8px 0 16px; display: grid; }
  .mobile-panel details { border-bottom: 1px solid var(--line); }
  .mobile-panel summary, .mobile-panel .solo { display: flex; justify-content: space-between; padding: 13px 0; font-family: var(--f-display); font-weight: 650; cursor: pointer; list-style: none; color: var(--ink); text-decoration: none; }
  .mobile-panel .solo { border-bottom: 1px solid var(--line); }
  .mobile-panel summary::-webkit-details-marker { display: none; }
  .mobile-panel summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); }
  .mobile-panel details[open] summary::after { content: "–"; }
  .mobile-panel details a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; }
  .mobile-panel details a:last-child { margin-bottom: 10px; }
  .families { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: span 3; }
  .checklist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero .wrap, .pro-grid, .cta-grid, .devis-grid, .two-col, .page-head .wrap, .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .assure ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assure li:nth-child(3) { border-left: 0; }
  .assure li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .guides, .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toc { position: static; }
  .topbar .hide-md { display: none; }
}
@media (max-width: 760px) {
  .brandrow { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding-block: 10px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .brand-name small { display: none; }
  .demande-btn .label { display: none; }
  .demande-btn { padding-inline: 12px; }
  .families, .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .legal dl { grid-template-columns: minmax(0, 1fr); }
  .legal dd { margin-bottom: 8px; }
  .topbar .wrap > span { display: none; }
  .topbar-links { width: 100%; justify-content: space-between; gap: 12px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: span 2; }
}
@media (max-width: 520px) {
  .families { grid-template-columns: minmax(0, 1fr); }
  .fam { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; padding: 14px; }
  .fam .ico { grid-row: 1 / 3; width: 44px; height: 44px; }
  .fam p { display: none; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .guides, .partners { grid-template-columns: minmax(0, 1fr); }
  .assure ul { grid-template-columns: minmax(0, 1fr); }
  .assure li + li { border-left: 0; border-top: 1px solid var(--line); }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gauge-head span { display: none; }
  .gauge-read { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gauge-read div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .qtable th:nth-child(1), .qtable td:nth-child(1) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
