/* ==========================================================================
   Site vitrine — feuille de style unique. Tous les choix visuels dérivent des variables
   injectées depuis theme.json (:root dans partials/head.ejs) : changer palette / polices
   ne demande aucune modification ici.
   ========================================================================== */

:root {
  --r: var(--radius);
  --r-sm: calc(var(--radius) * 0.6);
  --r-lg: calc(var(--radius) * 1.7);
  --r-xl: calc(var(--radius) * 2.6);
  --line: var(--border);
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--text) 6%, transparent), 0 2px 10px color-mix(in srgb, var(--text) 5%, transparent);
  --shadow-md: 0 4px 10px color-mix(in srgb, var(--text) 6%, transparent), 0 18px 40px color-mix(in srgb, var(--text) 10%, transparent);
  --gutter: clamp(16px, 4vw, 48px);
  --sec-y: clamp(56px, 8vw, 112px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
  --danger: #b3261e;
  --fs-body: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent-soft); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sec--dark :focus-visible, .hero--bleed :focus-visible, .announce :focus-visible { outline-color: var(--on-dark); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.no-scroll { overflow: hidden; }

.icon { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); }

/* ---------- Typographie utilitaire ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; flex: none; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-title { font-size: clamp(1.9rem, 1.25rem + 2.7vw, 3.1rem); }
.sec-text { color: var(--muted); max-width: 56ch; margin-top: 14px; font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.55em; font-weight: 600; padding-bottom: 3px; border-bottom: 1.5px solid currentColor; transition: gap 0.25s var(--ease), color 0.2s; }
.link-arrow:hover { gap: 0.9em; color: var(--accent); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 48px; padding: 0 1.6em;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 0.9375rem; line-height: 1.1; letter-spacing: 0.005em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s; text-align: center; white-space: nowrap;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn--dark { background: var(--text); color: var(--bg); }
.btn--dark:hover { background: color-mix(in srgb, var(--text) 82%, var(--accent)); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: color-mix(in srgb, var(--text) 80%, transparent); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--light { background: var(--on-dark); color: var(--dark); }
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgb(0 0 0 / 0.25); }
.btn--sm { min-height: 40px; padding: 0 1.2em; font-size: 0.875rem; }
.btn--lg { min-height: 56px; padding: 0 2em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--grow { width: 100%; }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(4px); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 0; color: var(--text); transition: background 0.2s;
}
.icon-btn:hover { background: var(--tint); }

/* ---------- Annonce + en-tête ---------- */
.announce { background: var(--dark); color: var(--on-dark); font-size: 0.8125rem; letter-spacing: 0.02em; text-align: center; padding: 9px 0; }
.announce p { text-wrap: balance; }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px color-mix(in srgb, var(--text) 6%, transparent); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 12px; }
.header-left { display: flex; align-items: center; justify-self: start; gap: 8px; margin-left: -10px; min-width: 0; }
.header-right { display: flex; align-items: center; justify-self: end; gap: 2px; margin-right: -10px; }
.menu-btn { display: none; }
.nav-desktop { display: flex; gap: clamp(18px, 2.2vw, 36px); padding-left: 10px; }
.nav-desktop a { position: relative; font-size: 0.9375rem; font-weight: 500; padding: 8px 0; white-space: nowrap; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current] ::after, .nav-desktop a[aria-current]::after { transform: scaleX(1); }
.brand { display: inline-flex; align-items: center; justify-self: center; }
.brand img { height: 32px; width: auto; }
.brand-text { font-family: var(--font-heading); font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.05rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--text); white-space: nowrap; }
.brand-text::after { content: ""; display: inline-block; width: 0.26em; height: 0.26em; margin-left: 0.07em; border-radius: 50%; background: var(--accent); }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--accent); color: var(--on-accent); font-size: 0.6875rem; font-weight: 700; line-height: 19px; text-align: center; display: none;
}
.cart-count.has-items { display: block; }

.search-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px color-mix(in srgb, var(--text) 10%, transparent); padding: 14px 0 18px;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.2s, transform 0.25s var(--ease);
}
.search-panel.is-open { opacity: 1; transform: none; }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--text); padding: 6px 0; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.125rem; padding: 10px 0; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form-icon { color: var(--muted); }
.search-results { max-height: min(60vh, 520px); overflow: auto; }
.sr-list { list-style: none; margin-top: 8px; }
.sr-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 8px; border-radius: var(--r-sm); }
.sr-item:hover, .sr-item:focus-visible { background: var(--tint); }
.sr-item img, .sr-noimg { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px; }
.sr-main { display: grid; gap: 2px; min-width: 0; }
.sr-title { font-weight: 600; font-size: 0.9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-meta { font-size: 0.8125rem; color: var(--muted); }
.sr-price { font-weight: 700; font-size: 0.9375rem; }
.sr-all { display: block; margin-top: 6px; padding: 12px 8px; font-weight: 600; color: var(--accent); }
.sr-all:hover { text-decoration: underline; }
.sr-empty { padding: 18px 8px; color: var(--muted); }

.mobile-menu {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 110; width: min(88vw, 380px); background: var(--bg);
  display: flex; flex-direction: column; transform: translateX(-100%); visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s 0.35s; overflow-y: auto;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.mobile-menu-nav { padding: 12px 24px; }
.mobile-menu-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: -0.01em; }
.mobile-menu-sub { padding: 16px 24px 32px; display: grid; gap: 4px; margin-top: auto; }
.mobile-menu-sub a { padding: 10px 0; color: var(--muted); font-size: 0.9375rem; }
.scrim { position: fixed; inset: 0; z-index: 100; background: color-mix(in srgb, var(--text) 50%, transparent); opacity: 0; transition: opacity 0.3s; }
.scrim.is-on { opacity: 1; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec-y); }
.sec--slim { padding-block: clamp(36px, 5vw, 64px); }
.sec--bg { background: var(--bg); }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.sec--bg + .sec--bg:not(.sec--ruled):not(.sec--listing) { padding-top: 0; }
.sec--ruled { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .sec-text { margin-inline: auto; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.07s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.21s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.28s; }
  .hero-visual, .hero-bleed-visual { animation: rise 0.9s 0.1s var(--ease) both; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 1.35rem + 4.9vw, 5.25rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero-sub { margin: 22px 0 34px; max-width: 46ch; color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 38px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-size: 0.875rem; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points .icon { color: var(--accent); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; right: -16px; bottom: -16px; width: 72%; height: 72%; border: 1.5px solid var(--accent); border-radius: var(--r-xl); opacity: 0.55; }
.hero-frame, .hero-arch { position: relative; display: grid; place-items: center; background: var(--accent-soft); overflow: hidden; }
.hero-frame { aspect-ratio: 1 / 1.04; border-radius: var(--r-xl); }
.hero-frame img, .hero-arch img, .hero-bleed-visual img { width: 86%; height: auto; mix-blend-mode: multiply; transition: transform 0.8s var(--ease); }
.hero-visual:hover img { transform: scale(1.03); }
.hero--arch .hero-visual::before { display: none; }
.hero-arch { aspect-ratio: 4 / 4.9; border-radius: 999px 999px var(--r-lg) var(--r-lg); max-width: 520px; margin-left: auto; }
.hero-ring { position: absolute; top: -22px; left: 8%; width: 38%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0.5; z-index: 0; }
.hero-chip {
  position: absolute; left: -14px; bottom: 28px; z-index: 2; display: grid; gap: 2px; max-width: min(240px, 70%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
}
.hero--arch .hero-chip { left: 0; }
.hero-chip:hover { transform: translateY(-3px); }
.hero-chip-label { font-size: 0.8125rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.hero-chip-price { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 500; }

.hero--bleed { padding: 0; background: var(--dark) !important; color: var(--on-dark); }
.hero--bleed .hero-bleed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(520px, 52vw, 720px); }
.hero--bleed .hero-bleed-copy { --edge: max(var(--gutter), calc((100vw - 1280px) / 2)); width: auto; margin: 0; align-self: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 96px) var(--edge); }
.hero--bleed .eyebrow, .hero--bleed .hero-sub, .hero--bleed .hero-points { color: color-mix(in srgb, var(--on-dark) 78%, transparent); }
.hero--bleed .hero-points .icon { color: var(--on-dark); }
.hero--bleed .btn--primary { background: var(--on-dark); color: var(--dark); }
.hero--bleed .btn--primary:hover { background: var(--on-dark); box-shadow: 0 8px 24px rgb(0 0 0 / 0.3); }
.hero--bleed .btn--ghost { border-color: color-mix(in srgb, var(--on-dark) 60%, transparent); color: var(--on-dark); }
.hero--bleed .btn--ghost:hover { background: var(--on-dark); color: var(--dark); }
.hero-bleed-visual { position: relative; display: grid; place-items: center; background: var(--accent-soft); overflow: hidden; }
.hero-bleed-visual > img { width: min(74%, 620px); }
.hero--bleed .hero-chip { left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); }

/* ---------- Catégories ---------- */
.cat-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 3.4vw, 52px) clamp(16px, 2.6vw, 40px); }
.cat-list li { width: clamp(150px, 17.5vw, 224px); }
.cat-item { display: grid; gap: 6px; justify-items: center; text-align: center; }
.cat-media { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; overflow: hidden; position: relative; transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease); margin-bottom: 12px; }
.cat-media img { width: 78%; mix-blend-mode: multiply; transition: transform 0.6s var(--ease); }
.cat-list--arch .cat-media { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); }
.cat-item:hover .cat-media { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.cat-item:hover .cat-media img { transform: scale(1.07); }
.cat-name { font-family: var(--font-heading); font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); letter-spacing: -0.01em; }
.cat-count { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Grille & cartes produit ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); transition: opacity 0.2s; }
.grid-products.is-loading { opacity: 0.45; pointer-events: none; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.pcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: opacity 0.35s, transform 0.5s var(--ease); }
.pcard-img--alt { opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard-img--alt { opacity: 1; }
  .pcard:hover .pcard-media:has(.pcard-img--alt) .pcard-img:first-child { opacity: 0; }
  .pcard:hover .pcard-media:not(:has(.pcard-img--alt)) .pcard-img { transform: scale(1.04); }
}
.pcard-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 18px; border-top: 1px solid var(--line); }
.pcard-brand { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pcard-title { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; min-height: 2.7em; }
.pcard-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-rating { display: flex; align-items: center; gap: 8px; }
.pcard-count { font-size: 0.8125rem; color: var(--muted); }
.pcard-price { margin-top: auto; padding-top: 4px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; }

.stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; flex: none; }
.stars-bg, .stars-fg { display: inline-flex; gap: 1px; }
.stars-bg { color: color-mix(in srgb, var(--text) 16%, transparent); }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--accent); }
.stars .icon { width: 15px; height: 15px; flex: none; }

/* ---------- Chiffres / parcours ---------- */
.numbers { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px 0; }
.numbers li { display: grid; gap: 4px; justify-items: center; text-align: center; padding-inline: 16px; }
.numbers li + li { border-left: 1px solid color-mix(in srgb, var(--text) 16%, transparent); }
.n-value { white-space: nowrap; font-family: var(--font-heading); font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.n-label { font-size: 0.9rem; color: var(--muted); max-width: 22ch; text-wrap: balance; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); counter-reset: s; }
.step { padding-top: 24px; border-top: 1.5px solid color-mix(in srgb, var(--text) 85%, transparent); position: relative; }
.step-num { display: block; font-family: var(--font-heading); font-size: clamp(3rem, 2.4rem + 2.6vw, 4.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); letter-spacing: -0.02em; margin-bottom: 18px; }
.step-title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); margin-bottom: 10px; }
.step-text { color: var(--muted); max-width: 36ch; }

/* ---------- Avis ---------- */
.source-label { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: -12px auto 36px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.source-label .icon { color: var(--accent); }
.source-label--left { margin: 18px 0 8px; }
.review-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--muted); }
.review-title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.review-body { color: color-mix(in srgb, var(--text) 82%, var(--muted)); font-size: 0.9375rem; line-height: 1.65; }
.review-author { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 0.875rem; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; color: var(--accent); font-weight: 600; }
.review-product { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); transition: color 0.2s; }
.review-product:hover { color: var(--accent); }
.review-product img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; flex: none; }
.review-product span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- À propos / FAQ / newsletter ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.about-grid--solo { grid-template-columns: minmax(0, 760px); }
.about-p { color: var(--muted); font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem); line-height: 1.75; margin: 18px 0 0; max-width: 56ch; }
.about-copy .link-arrow { margin-top: 30px; }
.about-visual { position: relative; aspect-ratio: 1 / 0.95; }
.about-arch { position: absolute; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); display: grid; place-items: center; overflow: hidden; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.about-arch img { width: 80%; mix-blend-mode: multiply; }
.about-arch--1 { left: 0; top: 0; width: 56%; aspect-ratio: 4 / 5.2; }
.about-arch--2 { right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 4.6; }
.about-sign { font-size: 0.875rem; color: var(--muted); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro .link-arrow { margin-top: 26px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { font-family: var(--font-body); font-size: inherit; letter-spacing: 0; line-height: 1.4; }
.acc-btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 56px; padding: 18px 0; background: none; border: 0; text-align: left; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.acc-btn:hover { color: var(--accent); }
.acc-icon { transition: transform 0.3s var(--ease); color: var(--accent); }
.acc-item.is-open .acc-icon { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.35s var(--ease), visibility 0s 0.35s; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
html:not(.js) .acc-panel { grid-template-rows: 1fr; visibility: visible; }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 40px 22px 0; color: var(--muted); max-width: 64ch; }

.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.sec--dark .sec-text { color: color-mix(in srgb, var(--on-dark) 76%, transparent); }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; }
.news-form input { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); }
.news-form input::placeholder { color: var(--muted); }
.news-form--dark input { background: transparent; border-color: color-mix(in srgb, var(--on-dark) 45%, transparent); color: var(--on-dark); }
.news-form--dark input::placeholder { color: color-mix(in srgb, var(--on-dark) 60%, transparent); }
.news-form--dark input:focus { border-color: var(--on-dark); outline: 0; }
.news-form--light input:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 3px var(--accent-soft); }
.news-status { flex-basis: 100%; min-height: 1.4em; font-size: 0.875rem; }
.news-form--dark .news-status { color: color-mix(in srgb, var(--on-dark) 85%, transparent); }
.news-status.is-error { color: var(--danger); }
.news-form--dark .news-status.is-error { color: #ffb4a9; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr); gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); }
.footer-logo { font-size: 2rem; display: inline-block; }
.footer-baseline { margin-top: 14px; color: var(--muted); max-width: 34ch; }
.socials { list-style: none; display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.socials a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.footer-news { margin-top: 30px; max-width: 400px; }
.footer-news-title { font-family: var(--font-heading); font-size: 1.25rem; }
.footer-news-text { color: var(--muted); font-size: 0.9rem; margin: 4px 0 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 24px; }
.footer-col-title { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a { display: inline-block; padding: 5px 0; color: var(--muted); font-size: 0.9375rem; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--text); transform: translateX(3px); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { padding: 6px 0; display: inline-block; }
.footer-legal a:hover { color: var(--text); text-decoration: underline; }
.payments { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.payments li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; background: var(--bg); color: var(--text); }

/* ---------- En-têtes de page ---------- */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(36px, 5vw, 72px); }
.page-title { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem); letter-spacing: -0.025em; }
.page-lead { margin-top: 14px; color: var(--muted); max-width: 62ch; font-size: clamp(1rem, 0.96rem + 0.3vw, 1.1875rem); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 0.8125rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch; }
.crumb-wrap { padding-top: 22px; }
.crumb-wrap .breadcrumb { margin-bottom: 0; }

/* ---------- Catégorie ---------- */
.sec--listing { padding-block: clamp(28px, 4vw, 56px) var(--sec-y); }
.listing { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.listing--solo { grid-template-columns: minmax(0, 1fr); }
.filters-panel { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.filters-head, .filters-foot { display: none; }
.filter-group { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 6px 0 12px; min-width: 0; }
.filter-title { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0; background: none; border: 0; font-weight: 700; font-size: 0.9375rem; text-align: left; }
.filter-chev { transition: transform 0.25s var(--ease); color: var(--muted); }
.filter-title[aria-expanded="false"] .filter-chev { transform: rotate(-90deg); }
.filter-list { list-style: none; display: grid; gap: 0; padding-bottom: 4px; }
.filter-list[hidden], .filter-list li[hidden] { display: none; }
.check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 38px; cursor: pointer; font-size: 0.9375rem; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.check-box { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border: 1.5px solid color-mix(in srgb, var(--text) 40%, transparent); border-radius: 6px; background: var(--surface); color: transparent; transition: background 0.15s, border-color 0.15s; }
.check:hover .check-box { border-color: var(--accent); }
.check input:checked + .check-box { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.check input:focus-visible + .check-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-label { flex: 1; min-width: 0; }
.check-count { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.check.is-zero { opacity: 0.42; }
.filter-more { margin-top: 4px; padding: 6px 0; background: none; border: 0; font-size: 0.875rem; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.result-count { color: var(--muted); font-size: 0.9375rem; }
.filter-open { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 0.6875rem; font-weight: 700; }
.badge[hidden] { display: none; }
.sort { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 0.875rem; color: var(--muted); }
.select-wrap { position: relative; display: inline-block; }
.select-wrap select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 40px 0 18px; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 600; font-size: 0.875rem; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.chips { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 14px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 99px; background: var(--accent-soft); font-size: 0.8125rem; font-weight: 600; transition: border-color 0.2s; }
.chip:hover { border-color: var(--accent); }
.chip-clear { min-height: 36px; padding: 0 8px; background: none; border: 0; font-size: 0.8125rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.chip-clear:hover { color: var(--text); }
.empty-state { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; text-align: center; padding: clamp(40px, 8vw, 88px) 20px; border: 1px dashed color-mix(in srgb, var(--text) 25%, transparent); border-radius: var(--r-lg); }
.empty-title { font-family: var(--font-heading); font-size: 1.5rem; }
.empty-text { color: var(--muted); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 52px; }
.page-link { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: 50%; font-weight: 600; font-size: 0.9375rem; background: var(--surface); transition: border-color 0.2s, background 0.2s; }
a.page-link:hover { border-color: var(--text); }
.page-link.is-current { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: 99px; font-weight: 600; font-size: 0.9375rem; transition: background 0.2s, color 0.2s; }
.pill:hover { background: var(--text); color: var(--bg); }

/* ---------- Recherche / 404 ---------- */
.search-page-form { display: flex; align-items: center; gap: 12px; max-width: 640px; margin-top: 24px; padding: 6px 6px 6px 20px; border: 1.5px solid var(--text); border-radius: 999px; background: var(--surface); }
.search-page-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.0625rem; padding: 10px 0; }
.search-page-form input::-webkit-search-cancel-button { display: none; }
.empty-state--wide { border-style: solid; border-color: var(--line); }
.notfound { text-align: center; }
.notfound .container { display: grid; justify-items: center; }
.notfound .search-page-form { width: 100%; }
.notfound .pill-list { justify-content: center; }
.notfound-code { font-family: var(--font-heading); font-size: clamp(6rem, 4rem + 12vw, 12rem); line-height: 0.9; color: var(--accent-soft); -webkit-text-stroke: 2px var(--accent); letter-spacing: -0.04em; margin-bottom: 12px; }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 84px); align-items: start; padding-block: 20px clamp(48px, 6vw, 96px); }
.pdp-gallery { display: grid; gap: 14px; position: sticky; top: 96px; }
.pdp-gallery.has-thumbs { grid-template-columns: 88px minmax(0, 1fr); }
.gallery-thumbs { list-style: none; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; contain: size; scrollbar-width: none; padding: 2px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb { display: block; width: 100%; aspect-ratio: 1; padding: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border-color 0.2s, box-shadow 0.2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: color-mix(in srgb, var(--text) 40%, transparent); }
.thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery-main { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; outline-offset: -3px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 4%; background: none; border: 0; cursor: zoom-in; }
.gallery-open img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); opacity: 0; transition: opacity 0.2s, background 0.2s; }
.gallery-main:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 1; }
@media (hover: none) { .gallery-nav { opacity: 0.9; } }
.gallery-nav:hover { background: var(--tint); }
.gallery-prev { left: 12px; } .gallery-next { right: 12px; }
.gallery-count { position: absolute; left: 14px; bottom: 14px; padding: 4px 11px; border-radius: 99px; background: color-mix(in srgb, var(--text) 78%, transparent); color: var(--bg); font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.gallery-zoom { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery-zoom:hover { background: var(--tint); }

.pdp-brand { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pdp-title { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.12; }
.pdp-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.pdp-rating strong { color: var(--text); }
.pdp-rating:hover span { text-decoration: underline; }
.pdp-rating .stars .icon { width: 17px; height: 17px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; font-family: var(--font-heading); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; }
.pdp-tax { font-family: var(--font-body); font-size: 0.8125rem; color: var(--muted); letter-spacing: 0; }
.pdp-stock { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 0.9375rem; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }
.buy-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin-top: 26px; }
.buy-box .btn--block { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; height: 56px; border: 1.5px solid color-mix(in srgb, var(--text) 35%, transparent); border-radius: 999px; padding: 0 4px; background: var(--surface); }
.qty input { width: 36px; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 1.0625rem; padding: 0; outline: 0; }
.qty-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; }
.qty-btn:hover:not(:disabled) { background: var(--tint); }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-hint { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
.assure { list-style: none; margin-top: 26px; padding: 2px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.assure li { display: flex; align-items: center; gap: 16px; padding: 15px 0; font-size: 0.9375rem; }
.assure li + li { border-top: 1px solid var(--line); }
.assure .icon { color: var(--accent); }
.assure--page { margin: 0 0 40px; }
.highlights { list-style: none; display: grid; gap: 10px; margin-top: 30px; }
.highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; }
.highlights .icon { color: var(--accent); margin-top: 3px; }
.pdp-desc { margin-top: 24px; color: var(--muted); line-height: 1.75; max-width: 60ch; }

.pdp-details { border-top: 1px solid var(--line); }
.sec.pdp-details { padding-top: clamp(40px, 5vw, 72px); }
.details-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.details-grid--solo { grid-template-columns: minmax(0, 760px); }
.block-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 22px; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 600; }
.reviews-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.reviews-summary { position: sticky; top: 110px; }
.rs-score { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.rs-num { font-family: var(--font-heading); font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); line-height: 1; letter-spacing: -0.03em; }
.rs-out { color: var(--muted); font-size: 1.25rem; }
.rs-count { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }
.rs-note { font-size: 0.8125rem; color: var(--muted); }
.reviews-summary .stars .icon { width: 20px; height: 20px; }
.reviews-list { display: grid; }
.review { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 0; }
.review[hidden] { display: none; }
.review-meta { font-size: 0.8125rem; color: var(--muted); }
.reviews-list .review-body { max-width: 68ch; }
.reviews-list .btn { justify-self: start; margin-top: 24px; }
.reviews-list .btn[hidden] { display: none; }

.lightbox { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; background: color-mix(in srgb, #000 93%, transparent); color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: #000; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0 24px; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.lb-close { color: #fff; }
.lb-close:hover { background: rgb(255 255 255 / 0.14); }
.lb-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 12px 64px; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: var(--r-sm); }
.lb-stage .gallery-nav { opacity: 1; background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.25); color: #fff; box-shadow: none; }
.lb-stage .gallery-nav:hover { background: rgb(255 255 255 / 0.25); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-thumbs { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 8px 16px 18px; overflow-x: auto; }
.lb-thumbs button { display: block; width: 56px; height: 56px; padding: 4px; background: #fff; border: 2px solid transparent; border-radius: 8px; opacity: 0.6; }
.lb-thumbs button.is-active { border-color: var(--accent); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Pages & contenus ---------- */
.prose { color: color-mix(in srgb, var(--text) 88%, var(--muted)); line-height: 1.8; }
.prose p { margin: 0 0 1.1em; max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin: 2em 0 0.6em; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.lead-p { font-size: 1.1875rem; line-height: 1.6; color: var(--text); }
.legal-updated { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.legal-list { list-style: none; padding: 0; }
.form-model { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; max-width: 68ch; }
.page-note { margin-top: 36px; color: var(--muted); }
.page-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.info-block { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-block:first-child { padding-top: 0; }
.info-block .icon { color: var(--accent); margin-top: 3px; }
.info-block h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.info-block p { color: var(--muted); }
.info-block a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.75rem; margin-bottom: 22px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 6px; font-size: 0.875rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg); resize: vertical; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-hint { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }
.form-status { margin-top: 10px; min-height: 1.4em; font-size: 0.875rem; color: var(--accent); }
.form-status.is-error { color: var(--danger); }

/* ---------- Panier ---------- */
.cart-overlay { position: fixed; inset: 0; z-index: 130; background: color-mix(in srgb, var(--text) 50%, transparent); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.cart-overlay.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.cart-drawer { position: fixed; right: 0; top: 0; bottom: 0; z-index: 140; width: min(100vw, 440px); display: flex; flex-direction: column; background: var(--bg); box-shadow: -20px 0 60px rgb(0 0 0 / 0.18); transform: translateX(100%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s 0.4s; }
.cart-drawer.open { transform: none; visibility: visible; transition-delay: 0s; }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 28px; border-bottom: 1px solid var(--line); }
.cart-drawer-head h2 { font-size: 1.6rem; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.cart-line { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 20px 28px 20px 0; border-bottom: 1px solid var(--line); }
.cart-line-img img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px; }
.cart-line-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.cart-line-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.cart-line-price { font-weight: 700; }
.qty-mini { display: inline-flex; align-items: center; border: 1.5px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: 99px; height: 38px; }
.qty-mini button { display: grid; place-items: center; width: 36px; height: 36px; background: none; border: 0; border-radius: 50%; }
.qty-mini button:hover:not(:disabled) { background: var(--tint); }
.qty-mini button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-mini span { min-width: 22px; text-align: center; font-weight: 700; font-size: 0.9375rem; }
.cart-line-remove { position: absolute; top: 12px; right: -8px; display: grid; place-items: center; width: 36px; height: 36px; background: none; border: 0; border-radius: 50%; color: var(--muted); }
.cart-line-remove:hover { background: var(--tint); color: var(--text); }
.cart-empty { display: grid; justify-items: center; gap: 16px; padding: 72px 12px; text-align: center; color: var(--muted); }
.cart-drawer-foot { padding: 20px 28px 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cart-drawer-foot[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.0625rem; }
.cart-total strong { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 500; }
.cart-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.cart-error { color: var(--danger); font-size: 0.875rem; text-align: center; }
.cart-error[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing { grid-template-columns: 232px minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-grid; }
  .nav-desktop { display: none; }
  .header-left { padding-left: 0; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filter-open { display: inline-flex; }
  .filters-panel {
    position: fixed; z-index: 120; left: 0; top: 0; bottom: 0; width: min(92vw, 420px); max-height: none; padding: 0; background: var(--bg);
    display: flex; flex-direction: column; transform: translateX(-100%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s 0.35s;
  }
  .filters-panel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .filters-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 24px; border-bottom: 1px solid var(--line); }
  .filters-head h2 { font-size: 1.5rem; }
  .filters { flex: 1; overflow-y: auto; padding: 4px 24px 16px; }
  .filters-foot { display: grid; gap: 8px; padding: 14px 24px 20px; border-top: 1px solid var(--line); }
  .pdp { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .pdp-gallery { position: static; }
  .details-grid, .reviews-wrap { grid-template-columns: minmax(0, 1fr); }
  .reviews-summary, .faq-intro { position: static; }
  .about-grid, .faq-grid, .news-grid, .contact-grid, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .about-visual { max-width: 520px; width: 100%; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; }
  .hero-arch { margin-inline: auto; max-width: 440px; }
  .hero--bleed .hero-bleed { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero--bleed .hero-bleed-copy { padding: 48px var(--gutter) 40px; }
  .hero--bleed .hero-bleed-visual { aspect-ratio: 1 / 0.9; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .step-text { max-width: 52ch; }
  .review-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px;
  }
  .review-row::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 min(84%, 380px); scroll-snap-align: center; }
}
@media (max-width: 700px) {
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard-body { padding: 12px 12px 14px; }
  .pcard-title { font-size: 0.875rem; }
  .pcard-price { font-size: 1.0625rem; }
  .cat-list li { width: calc(50% - 10px); }
  .cat-list li:last-child:nth-child(odd) { width: calc(50% - 10px); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers li + li { border-left: 0; }
  .numbers li:nth-child(even) { border-left: 1px solid color-mix(in srgb, var(--text) 16%, transparent); }
  .pdp-gallery.has-thumbs { grid-template-columns: minmax(0, 1fr); }
  .gallery-thumbs { order: 2; flex-direction: row; overflow-x: auto; overflow-y: hidden; contain: none; height: auto; }
  .thumb { width: 68px; flex: none; }
  .gallery-nav { width: 40px; height: 40px; }
  .gallery-count { left: 10px; bottom: 10px; }
  .hero-chip { left: 10px; bottom: 10px; padding: 10px 14px; }
  .hero-visual::before { right: -8px; bottom: -8px; }
  .spec-row { grid-template-columns: minmax(96px, 42%) minmax(0, 1fr); gap: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lb-stage { padding: 8px 12px; }
  .lb-stage .gallery-nav { top: auto; bottom: 8px; transform: none; }
  .acc-inner p { padding-right: 8px; }
  .sort > span:first-child { display: none; }
  .toolbar .result-count { order: 3; flex-basis: 100%; }
  .toolbar .sort { margin-left: auto; }
  .search-form .btn { display: none; }
  .search-page-form .btn { padding: 0 1.1em; }
}
@media (pointer: coarse) {
  .check { min-height: 44px; }
  .qty-mini { height: 44px; }
  .qty-mini button, .cart-line-remove { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
