:root {
  --brand: #1160c6;
  --brand-hover: #0d4fa6;
  --navy: #0d2340;
  --text: #2f3a47;
  --muted: #65707d;
  --line: #dde2e8;
  --line-strong: #c5ccd5;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --danger: #b42318;
  --success: #106b4b;
  --radius: 4px;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--navy); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 500; font-size: .95rem; text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.link-button { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; font-size: .9rem; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand img { border-radius: 3px; }
.brand-text { display: flex; flex-direction: column; font-weight: 600; font-size: 1.1rem; letter-spacing: .08em; line-height: 1; }
.brand-text small { margin-top: 4px; font-size: .6rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { color: var(--text); text-decoration: none; font-size: .95rem; white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--navy); border-bottom-color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { border: 0; background: none; padding: 6px 4px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.lang-toggle:hover { color: var(--navy); }
.quote-button {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--brand); border-radius: var(--radius);
  background: var(--brand); color: #fff; padding: 8px 14px; font-size: .9rem; font-weight: 500;
}
.quote-button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.quote-count { background: #fff; color: var(--brand); border-radius: 3px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: .75rem; padding: 0 5px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--navy); }

@media (max-width: 1060px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0 16px 8px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
}
.quote-button { white-space: nowrap; }
.q-short { display: none; }
@media (max-width: 480px) {
  .brand-text { font-size: 1rem; }
  .brand-text small { letter-spacing: .2em; }
  .header-inner { gap: 12px; }
  .quote-button { padding: 8px 10px; font-size: .85rem; }
  .q-long { display: none; }
  .q-short { display: inline; }
}

/* Accueil */
.hero { padding: 64px 0; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* Visuel : composition de produits */
.hero-image { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hero-image img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero { padding: 36px 0 44px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 24px 20px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value { font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.fact-label { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .facts-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fact { padding: 18px 12px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
@media (max-width: 760px) { .section { padding: 52px 0; } }

/* Gammes */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; transition: border-color .15s; }
.category-card:hover { border-color: var(--navy); }
.cc-img { aspect-ratio: 4 / 3; padding: 16px; border-bottom: 1px solid var(--line); }
.cc-img img { width: 100%; height: 100%; object-fit: contain; }
.cc-body { padding: 16px 18px 18px; }
.cc-body h3 { margin-bottom: .25em; }
.cc-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.cc-count { display: block; margin-top: 10px; font-size: .85rem; color: var(--brand); }
@media (max-width: 1000px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .category-grid { grid-template-columns: minmax(0, 1fr); } }

/* Catalogue */
.catalogue-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #fff; }
.chip { border: 0; border-left: 1px solid var(--line-strong); background: #fff; color: var(--text); padding: 9px 16px; font-size: .9rem; }
.chip:first-child { border-left: 0; }
.chip:hover { background: var(--bg-alt); }
.chip[aria-selected="true"] { background: var(--navy); color: #fff; }
.chip .n { opacity: .6; margin-left: 6px; }
.search { flex: 1 1 240px; max-width: 320px; }
.search input { width: 100%; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: .95rem; color: var(--navy); }
.search input:focus { outline: none; border-color: var(--brand); }
@media (max-width: 760px) {
  .search { max-width: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.product-card:hover { border-color: var(--navy); }
.pc-media { aspect-ratio: 4 / 3; padding: 12px; border-bottom: 1px solid var(--line); }
.pc-media img { width: 100%; height: 100%; object-fit: contain; }
.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.pc-body h3 { font-size: 1rem; margin-bottom: .2em; }
.pc-tagline { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-open { white-space: nowrap; border: 0; background: none; padding: 0; color: var(--brand); font-size: .9rem; font-weight: 500; }
.pc-open::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.pc-open:focus-visible { outline: none; }
.product-card:has(.pc-open:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.swatch-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }
.swatch-more { font-size: .78rem; color: var(--muted); margin-left: 2px; }
.multi { background: conic-gradient(#d62828, #f77f00, #ffd60a, #1f8a3b, #38b6e8, #1f4fd1, #7b2cbf, #ef5da8, #d62828); }
.no-photo { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); background: var(--bg-alt); font-size: .85rem; padding: 16px; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }

/* Atouts */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.why-item { border-top: 2px solid var(--navy); padding-top: 18px; }
.why-item p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Marque blanche */
.wl-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.wl-copy > p { color: var(--muted); }
.wl-list { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line-strong); }
.wl-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line-strong); position: relative; color: var(--navy); }
.wl-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.wl-media { margin: 0; background: #fff; border: 1px solid var(--line); aspect-ratio: 4 / 3; padding: 24px; }
.wl-media img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 860px) { .wl-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; } .wl-media { order: -1; } }

/* Commander */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line-strong); padding-top: 16px; }
.steps li::before { content: "0" counter(step); display: block; font-size: .85rem; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Contact */
.contact-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-copy > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line-strong); }
.contact-list li { border-bottom: 1px solid var(--line-strong); }
.contact-list a, .contact-list .ci { display: flex; flex-direction: column; padding: 12px 0; text-decoration: none; color: var(--navy); }
.contact-list a:hover { color: var(--brand); }
.contact-list small { color: var(--muted); font-size: .82rem; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--navy); padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .82rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: var(--danger); font-size: .92rem; }
.form-success { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid var(--success); background: #eef6f2; color: var(--success); }
.quote-summary { border: 1px solid var(--line); background: var(--bg-alt); padding: 12px 14px; margin-bottom: 20px; }
.quote-summary-head { display: flex; justify-content: space-between; align-items: center; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.quote-summary ul { margin: 0; padding-left: 18px; font-size: .88rem; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; } .contact-form { padding: 18px; } }

/* Pied de page */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 32px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 500; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-copy { margin: 0; width: 100%; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }

/* Fiche produit */
.product-dialog {
  width: calc(100% - 32px); max-width: 1020px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(13, 35, 64, .25); color: var(--text); overflow: auto;
}
.product-dialog::backdrop { background: rgba(13, 35, 64, .6); }
.dialog-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy);
}
.dialog-close:hover { border-color: var(--navy); }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pd-gallery { padding: 28px; border-right: 1px solid var(--line); }
.pd-main { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pd-thumbs button { width: 64px; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 3px; }
.pd-thumbs button[aria-current="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { padding: 28px 28px 24px; }
.pd-category { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.pd-info h2 { font-size: 1.5rem; padding-right: 40px; }
.pd-features { margin: 0 0 20px; padding-left: 18px; font-size: .95rem; }
.pd-features li { margin-bottom: 2px; }
.pd-label { font-size: .9rem; margin-bottom: 10px; }
.pd-variant-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.variant-swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); padding: 0; }
.variant-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--navy); }
.variant-pill { border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius); padding: 6px 12px; font-size: .86rem; color: var(--text); display: inline-flex; gap: 8px; align-items: center; }
.variant-pill[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); color: var(--navy); }
.pd-specs { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: .88rem; }
.pd-specs th, .pd-specs td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-specs th { color: var(--muted); font-weight: 400; width: 42%; padding-right: 12px; }
.pd-specs td { color: var(--navy); font-variant-numeric: tabular-nums; }
.pd-order { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.pd-order .btn { flex: 1; min-width: 200px; height: 44px; }
.qty { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--navy); }
.qty-control { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; height: 44px; background: #fff; }
.qty-control button { width: 38px; border: 0; background: #fff; font-size: 1.1rem; color: var(--navy); }
.qty-control button:hover { background: var(--bg-alt); }
.qty-control input { width: 52px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: inherit; color: var(--navy); -moz-appearance: textfield; }
.qty-control input::-webkit-inner-spin-button, .qty-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pd-note { margin: 16px 0 0; font-size: .88rem; color: var(--muted); }
.pd-related { margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 820px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr); }
  .pd-gallery { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 16px 16px; }
  .pd-info { padding: 20px 16px 24px; }
  .pd-thumbs button { width: 54px; }
}

/* Panneau devis */
.drawer-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(13, 35, 64, .45); z-index: 60; }
.quote-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(420px, 100%); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s ease; visibility: hidden;
  border-left: 1px solid var(--line);
}
.quote-drawer.open { transform: none; visibility: visible; }
.qd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.qd-head h2 { font-size: 1.15rem; margin: 0; }
.qd-head .dialog-close { position: static; }
.qd-list { list-style: none; margin: 0; padding: 0 20px; overflow-y: auto; flex: 1; }
.qd-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qd-item img, .qd-item .qd-ph { width: 60px; height: 45px; object-fit: contain; border: 1px solid var(--line); }
.qd-item .qd-ph { display: block; background: var(--bg-alt); }
.qd-item strong { display: block; font-size: .9rem; font-weight: 500; color: var(--navy); line-height: 1.3; }
.qd-item small { color: var(--muted); font-size: .8rem; }
.qd-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qd-actions .qty-control { height: 32px; }
.qd-actions .qty-control button { width: 28px; font-size: 1rem; }
.qd-actions .qty-control input { width: 38px; font-size: .9rem; }
.qd-remove { border: 0; background: none; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; }
.qd-remove:hover { color: var(--danger); }
.qd-empty { padding: 28px 20px; color: var(--muted); flex: 1; }
.qd-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* Notification */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; background: var(--navy); color: #fff;
  padding: 10px 18px; border-radius: var(--radius); font-size: .9rem; opacity: 0; pointer-events: none;
  transition: opacity .2s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; }

body.no-scroll { overflow: hidden; }

/* Téléphone : mise en page plus compacte */
@media (max-width: 560px) {
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 20px; }
  .hero { padding: 28px 0 32px; }
  .hero-cta { margin-top: 20px; }

  .category-grid { gap: 10px; }
  .category-card { flex-direction: row; align-items: center; }
  .cc-img { width: 104px; flex-shrink: 0; aspect-ratio: 1; padding: 8px; border-bottom: 0; border-right: 1px solid var(--line); }
  .cc-body { padding: 10px 14px; }
  .cc-body h3 { font-size: .98rem; }
  .cc-body p { font-size: .85rem; line-height: 1.45; }
  .cc-count { margin-top: 4px; font-size: .8rem; }

  .catalogue-tools { gap: 10px; margin-bottom: 16px; }
  .product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .pc-media { padding: 6px; }
  .pc-body { padding: 10px 10px 12px; }
  .pc-cat, .pc-tagline { display: none; }
  .pc-body h3 { font-size: .88rem; line-height: 1.3; margin-bottom: 10px; }
  .pc-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pc-open { font-size: .85rem; }

  .why-grid { gap: 20px; }
  .why-item { padding-top: 12px; }
  .wl-inner { gap: 20px; }
  .wl-media { padding: 12px; }
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 16px; }
  .steps p { font-size: .88rem; }
  .contact-inner { gap: 24px; }
}

/* Navigateurs plus anciens (iOS < 15) : sans aspect-ratio ni <dialog> */
.product-dialog:not([open]) { display: none; }
.product-dialog.no-native { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 70; margin: 0; }
.drawer-backdrop.for-dialog { z-index: 65; }
@supports not (aspect-ratio: 1 / 1) {
  .cc-img { height: 200px; }
  .pc-media { height: 190px; }
  .wl-media { height: 340px; }
  .pd-main { height: 320px; }
  .pd-thumbs button { height: 48px; }
  @media (max-width: 560px) {
    .cc-img { height: 104px; }
    .pc-media { height: 120px; }
    .wl-media { height: 240px; }
    .pd-main { height: 230px; }
  }
}

/* Safari iOS : les éléments de grille ne doivent jamais dépasser leur colonne */
.product-card, .category-card, .pc-media, .cc-img, .cc-body, .pc-body, .why-item, .steps li, .field { min-width: 0; }
