/* =====================================================================
   Pivandor — feuille de style principale (mobile-first, sans framework)
   ===================================================================== */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #F6F4F0;
  --surface: #FFFFFF;
  --soft: #EFECE6;
  --soft-2: #E8E4DC;
  --ink: #111216;
  --ink-2: #43464F;
  --ink-3: #62656E;
  --line: #E3DFD7;
  --line-2: #CFC9BE;

  --accent: #2742F5;
  --accent-hover: #1A30CF;
  --accent-soft: #E9ECFF;
  --accent-ink: #1A2CB8;

  --ok: #0E7246;      --ok-soft: #E2F3EA;
  --warn: #8A5300;    --warn-soft: #FFF2D9;
  --danger: #B42318;  --danger-soft: #FDECEA;
  --wa: #25D366;      --wa-ink: #0B6E4F; --wa-ink-hover: #075A40;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 5rem; --s-10: 6.5rem;

  --r-xs: 8px; --r-sm: 12px; --r: 16px; --r-lg: 24px; --r-xl: 32px; --r-full: 999px;

  --sh-1: 0 1px 2px rgba(17, 18, 22, .06), 0 1px 1px rgba(17, 18, 22, .03);
  --sh-2: 0 10px 30px -12px rgba(17, 18, 22, .18), 0 2px 6px rgba(17, 18, 22, .04);
  --sh-3: 0 30px 70px -24px rgba(17, 18, 22, .35);
  --ring: 0 0 0 3px #fff, 0 0 0 5px var(--accent);

  --container: 1240px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: .22s var(--ease);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); }
.h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.45rem); }
.h4 { font-size: 1.25rem; letter-spacing: -.01em; }
.h5 { font-size: 1.05rem; letter-spacing: -.005em; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; transition: top var(--t); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: var(--s-8) 0; }
.section--tight { padding: var(--s-6) 0; }
.section--flush { padding: 0 0 var(--s-8); }
.section--soft { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__lead { max-width: 620px; color: var(--ink-2); margin-top: var(--s-3); }
@media (min-width: 960px) { .section { padding: var(--s-10) 0; } .section--tight { padding: var(--s-7) 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .8rem/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: var(--s-3); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-full);
  border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: not-allowed; transform: none; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: #fff #fff transparent transparent; animation: spin .7s linear infinite; }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); }
.btn--primary:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); color: #fff; box-shadow: 0 10px 24px -10px rgba(39, 66, 245, .6); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--dark:hover { color: #fff; --btn-bg: #2a2c33; }
.btn--ghost { --btn-bg: transparent; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { border-color: #fff; --btn-bg: #f3f1ec; }
.btn--wa { --btn-bg: var(--wa-ink); --btn-fg: #fff; --btn-bd: var(--wa-ink); }
.btn--wa:hover { --btn-bg: var(--wa-ink-hover); --btn-bd: var(--wa-ink-hover); color: #fff; }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-full); border: 0; background: transparent; color: var(--ink); text-decoration: none; transition: background var(--t); position: relative; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn .icon { width: 22px; height: 22px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .18em; font: inherit; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform var(--t); width: 1em; height: 1em; }
.link-arrow:hover .icon { transform: translateX(3px); }

.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .92rem; font-weight: 500; text-decoration: none; transition: border-color var(--t), background var(--t), color var(--t); white-space: nowrap; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Badges & infobulles ---------- */
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-full); font: 600 .75rem/1 var(--font-text); letter-spacing: .01em; background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); position: relative; }
.badge--new { background: var(--ink); color: #fff; }
.badge--grade-a { background: var(--ok-soft); color: var(--ok); }
.badge--grade-b { background: var(--accent-soft); color: var(--accent-ink); }
.badge--grade-c { background: var(--warn-soft); color: var(--warn); }
.badge--promo { background: var(--danger); color: #fff; }
.badge--out { background: var(--soft-2); color: var(--ink-2); }
[data-tip] { cursor: help; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 8px); z-index: 20;
  width: max-content; max-width: 240px; padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font: 500 .8rem/1.45 var(--font-text); letter-spacing: 0; text-transform: none; white-space: normal;
  box-shadow: var(--sh-2); opacity: 0; transform: scale(0); transform-origin: top left; pointer-events: none; transition: opacity var(--t);
}
/* scale(0) au repos : l'infobulle masquée n'élargit pas la zone de défilement */
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: none; }
.tip { display: inline-grid; place-items: center; position: relative; color: var(--ink-3); vertical-align: middle; border-radius: 50%; }
.tip .icon { width: 16px; height: 16px; }

/* ---------- Bandeau & en-tête ---------- */
.topbar { background: var(--ink); color: #E9E7E2; font-size: .82rem; }
.topbar__list { list-style: none; display: flex; justify-content: center; gap: var(--s-6); min-height: 38px; align-items: center; padding: 0 16px; }
.topbar__list li { display: none; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__list li:first-child { display: inline-flex; }
.topbar .icon { width: 16px; height: 16px; color: #9FB0FF; }
@media (min-width: 640px) { .topbar__list li:nth-child(2) { display: inline-flex; } }
@media (min-width: 900px) { .topbar__list li { display: inline-flex; } }
@media (max-width: 639px) and (prefers-reduced-motion: no-preference) {
  .topbar__list { position: relative; }
  .topbar__list li { display: inline-flex; position: absolute; opacity: 0; animation: topbar 12s infinite; }
  .topbar__list li:nth-child(2) { animation-delay: 4s; }
  .topbar__list li:nth-child(3) { animation-delay: 8s; }
}
@keyframes topbar { 0%, 30% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-6px); } 0% { transform: translateY(6px); } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 244, 240, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 26px; height: 26px; border-radius: 9px; background: conic-gradient(from 210deg, var(--accent), #8EA0FF, #F3B8C9, var(--accent)); position: relative; flex: none; }
.logo__mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.logo__text { font: 800 1.35rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.logo__img { height: 32px; width: auto; }
.logo--light { color: #fff; }
.logo--light:hover { color: #fff; }
.logo--light .logo__mark::after { background: var(--ink); }

.nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-h)); overflow: auto; background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--s-3) 20px var(--s-5); box-shadow: var(--sh-2); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t), visibility var(--t); }
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav__list { list-style: none; display: grid; }
.nav__link { display: flex; align-items: center; min-height: 52px; padding: 0 4px; font: 600 1.15rem/1 var(--font-display); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav__link.is-active { color: var(--accent-ink); }
.nav__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-4); color: var(--wa-ink); font-weight: 600; text-decoration: none; min-height: 44px; }
.site-header__actions { display: flex; align-items: center; gap: 2px; }
.cart-btn__count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-full); background: var(--accent); color: #fff; font: 700 .72rem/20px var(--font-text); text-align: center; }
.cart-btn__count.is-bump { animation: bump .45s var(--ease); }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t), opacity var(--t); }
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; } .burger__bars::after { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 960px) {
  .nav { position: static; transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; padding: 0; display: flex; align-items: center; gap: var(--s-5); margin-right: var(--s-2); }
  .nav__list { display: flex; gap: 4px; }
  .nav__link { min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-full); font: 500 .95rem/1 var(--font-text); transition: background var(--t); }
  .nav__link:hover { background: var(--soft); color: var(--ink); }
  .nav__link.is-active { background: var(--surface); box-shadow: var(--sh-1); color: var(--ink); }
  .nav__wa { display: none; }
  .burger, .icon-btn--search { display: none; }
  .logo { margin-right: 0; }
  .site-header__inner { justify-content: space-between; }
}

/* ---------- Sélecteur de langue ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--r-full); background: var(--soft); }
.lang-switch a { display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding: 0 10px; border-radius: var(--r-full); font: 600 .8rem/1 var(--font-text); letter-spacing: .04em; color: var(--ink-2); text-decoration: none; transition: background var(--t), color var(--t); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.lang-switch--header { display: none; }
.lang-switch--nav { margin-top: var(--s-4); }
@media (min-width: 960px) {
  .lang-switch--header { display: inline-flex; margin-right: 6px; }
  .lang-switch--nav { display: none; }
}
.site-footer .lang-switch { margin-top: var(--s-4); background: #24262D; }
.site-footer .lang-switch a { min-height: 0; color: #C9CAD1; display: inline-grid; }
.site-footer .lang-switch a:hover { text-decoration: none; color: #fff; }
.site-footer .lang-switch a.is-active { background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: var(--s-6) 0 var(--s-6); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; }
.hero__title { font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; }
.hero__title em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 4px; background: #F3B8C9; z-index: -1; }
.hero__lead { margin-top: var(--s-4); font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; }
.hero__visual { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #E5D9DD; aspect-ratio: 4 / 3; box-shadow: var(--sh-3); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__float { position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: var(--r); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--sh-2); font-size: .8rem; line-height: 1.3; color: var(--ink-2); }
.hero__float strong { display: block; color: var(--ink); font-size: .88rem; }
.hero__float .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.hero__float--a { left: 14px; bottom: 14px; }
.hero__float--b { right: 14px; top: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__float--a { animation: float 6s ease-in-out infinite; }
  .hero__float--b { animation: float 6s ease-in-out 3s infinite; }
}
@media (min-width: 960px) {
  .hero { padding: var(--s-8) 0 var(--s-8); }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-8); }
  .hero__visual { aspect-ratio: 5 / 5.2; }
}

/* ---------- Recherche + suggestions ---------- */
.search { position: relative; display: flex; align-items: center; margin-top: var(--s-5); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-full); padding: 5px 5px 5px 16px; box-shadow: var(--sh-2); max-width: 560px; transition: border-color var(--t), box-shadow var(--t); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--sh-2); }
.search__icon { color: var(--ink-3); }
.search__input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; padding: 0 10px; font-size: 1rem; outline: none; }
.search__input::-webkit-search-cancel-button { cursor: pointer; }
.search__input:focus-visible { box-shadow: none; }
.search__btn { flex: none; }
@media (max-width: 479px) { .search__btn { padding: 10px 14px; font-size: .9rem; } }
.search--shop { margin-top: 0; box-shadow: none; flex: 1; max-width: none; padding-right: 8px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); padding: 8px; max-height: 70vh; overflow: auto; }
.suggest__label { padding: 8px 10px 4px; font: 600 .72rem/1 var(--font-text); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.suggest__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; cursor: pointer; }
.suggest__opt:hover, .suggest__opt.is-active { background: var(--soft); color: var(--ink); }
.suggest__opt img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--soft); }
.suggest__opt small { color: var(--ink-3); margin-left: auto; white-space: nowrap; }
.suggest__opt strong { font-weight: 600; }
.suggest__empty { padding: 12px; color: var(--ink-3); font-size: .9rem; }
.quicklinks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }

/* ---------- Catégories ---------- */
.cats { display: grid; gap: var(--s-4); }
.cat { position: relative; display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: var(--s-4); padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.cat:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.cat img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--r); transition: transform .5s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat__body { display: grid; gap: 4px; }
.cat__title { font: 700 1.3rem/1.1 var(--font-display); letter-spacing: -.02em; }
.cat__meta { color: var(--ink-3); font-size: .9rem; }
.cat__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; color: var(--accent-ink); font-size: .92rem; }
.cat__cta .icon { width: 1em; height: 1em; transition: transform var(--t); }
.cat:hover .cat__cta .icon { transform: translateX(3px); }
@media (min-width: 768px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat { grid-template-columns: 1fr; padding: 0; gap: 0; align-items: stretch; }
  .cat img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .cat--light img { object-fit: contain; background: #fff; padding: 16px; }
  .cat__body { padding: var(--s-5); }
}

/* ---------- Grille produits + cartes ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 960px) { .grid-products--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: visible; transition: box-shadow var(--t), transform var(--t), border-color var(--t); }
.card:hover { box-shadow: var(--sh-2); border-color: transparent; transform: translateY(-2px); }
.card__media { display: block; aspect-ratio: 1; background: #F3F1EC; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__ph { display: grid; place-items: center; height: 100%; color: var(--line-2); }
.card__ph .icon { width: 56px; height: 56px; stroke-width: 1.2; }
.card__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; z-index: 2; }
.card__badges .badge { pointer-events: auto; position: static; }
/* L'infobulle des cartes occupe la largeur de la carte : elle ne déborde jamais de l'écran */
.card__badges [data-tip]::after { left: 0; right: 0; top: 34px; width: auto; max-width: none; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 14px; gap: 2px; }
.card__title { font: 700 1rem/1.25 var(--font-display); letter-spacing: -.01em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: var(--r-lg); }
.card__title a:focus-visible { box-shadow: none; }
.card__title a:focus-visible::before { box-shadow: var(--ring); }
.card__meta { color: var(--ink-2); font-size: .86rem; }
.card__battery { display: flex; align-items: center; gap: 6px; color: var(--ok); font-size: .8rem; font-weight: 500; min-height: 1.4em; margin-top: 2px; }
.card__battery .icon { width: 16px; height: 16px; }
.card__foot { margin-top: auto; padding-top: 10px; display: grid; gap: 10px; }
.card__price { display: flex; align-items: baseline; gap: 8px; font: 700 1.2rem/1 var(--font-display); letter-spacing: -.02em; }
.card__old { font: 500 .85rem/1 var(--font-text); color: var(--ink-3); }
.btn--add { position: relative; z-index: 1; width: 100%; min-height: 44px; padding: 8px 12px; --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); font-size: .9rem; }
.btn--add:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); color: #fff; }
.btn--add.is-added { --btn-bg: var(--ok); --btn-bd: var(--ok); }
.btn--add[disabled] { --btn-bg: var(--soft); --btn-fg: var(--ink-3); --btn-bd: var(--soft); opacity: 1; }
.btn__long { display: none; }
@media (min-width: 420px) { .btn__long { display: inline; } .btn__short { display: none; } }
@media (min-width: 768px) and (max-width: 1099px) { .grid-products--shop .btn__long { display: inline; } }
.card--out .card__media img { filter: grayscale(.6); opacity: .7; }
@media (min-width: 768px) { .card__body { padding: 16px 16px 18px; } .card__title { font-size: 1.08rem; } }

/* skeleton */
.card--skeleton { pointer-events: none; }
.card--skeleton .card__media, .sk { background: linear-gradient(90deg, #EEEBE5 25%, #F7F5F1 50%, #EEEBE5 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.sk { display: block; height: 12px; border-radius: 6px; margin: 6px 0; }
.sk--lg { height: 18px; width: 70%; } .sk--sm { width: 45%; } .sk--btn { height: 44px; border-radius: var(--r-full); margin-top: 14px; }

/* ---------- Réassurance, étapes, grades ---------- */
.features { list-style: none; display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.feature { padding: var(--s-5); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.feature__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: var(--s-4); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature p { color: var(--ink-2); margin-top: 6px; font-size: .95rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }

.steps-how { list-style: none; display: grid; gap: var(--s-4); counter-reset: s; }
.steps-how li { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.steps-how__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1.1rem/1 var(--font-display); margin-bottom: var(--s-4); }
.steps-how p { color: var(--ink-2); margin-top: 8px; }
@media (min-width: 768px) {
  .steps-how { grid-template-columns: repeat(3, 1fr); }
  .steps-how li:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -18px; width: 20px; height: 2px; background: var(--line-2); }
}

.grades { display: grid; gap: var(--s-4); }
.grade { position: relative; padding: var(--s-5); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.grade__letter { position: absolute; right: -6px; top: -26px; font: 800 7.5rem/1 var(--font-display); letter-spacing: -.06em; opacity: .12; }
.grade--a .grade__letter { color: var(--ok); } .grade--b .grade__letter { color: var(--accent); } .grade--c .grade__letter { color: var(--warn); }
.grade p { color: var(--ink-2); margin: 8px 0 var(--s-4); max-width: 34ch; }
@media (min-width: 768px) { .grades { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color var(--t), box-shadow var(--t); }
.faq__item[open] { border-color: var(--line-2); box-shadow: var(--sh-1); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding: 14px 18px; font: 600 1.02rem/1.35 var(--font-text); cursor: pointer; border-radius: var(--r); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform var(--t); color: var(--ink-3); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 18px 18px; color: var(--ink-2); }
.faq--compact .faq__item summary { min-height: 48px; font-size: .95rem; padding: 10px 14px; }
.faq--compact .faq__a { padding: 0 14px 14px; font-size: .92rem; }

/* ---------- Bande CTA ---------- */
.cta-band { position: relative; display: grid; gap: var(--s-5); padding: var(--s-6); border-radius: var(--r-xl); background: var(--ink); color: #fff; overflow: hidden; }
.cta-band .h2 { color: #fff; max-width: 16ch; }
.cta-band p { color: #C9CAD1; margin-top: 10px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-5); }
.cta-band__img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.1fr 1fr; align-items: center; padding: var(--s-8); gap: var(--s-8); } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #C9CAD1; padding: var(--s-8) 0 var(--s-6); margin-top: var(--s-4); }
.site-footer__grid { display: grid; gap: var(--s-6) var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand p { margin: var(--s-4) 0 var(--s-5); max-width: 34ch; }
.site-footer__title { font: 600 .8rem/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: #8E909A; margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a, .site-footer .linklike { color: #E9E7E2; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover, .site-footer .linklike:hover { color: #fff; text-decoration: underline; }
.site-footer .btn--wa { color: #fff; min-height: 44px; }
.site-footer__bottom { display: grid; gap: 10px; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid #2A2C33; font-size: .85rem; color: #9A9CA5; }
.site-footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.site-footer__pay .icon { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__bottom { grid-template-columns: 1fr auto; }
}
@media (min-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr .8fr 1fr 1.1fr; }
  .site-footer__brand { grid-column: auto; }
}

/* ---------- Dialogues (tiroir, modales) ---------- */
dialog { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(17, 18, 22, .48); backdrop-filter: blur(2px); }
dialog[open] { animation: fade .2s var(--ease); }

.drawer { margin: 0 0 0 auto; height: 100%; width: min(440px, 100%); }
.drawer[open] .drawer__panel { animation: slide-in .32s var(--ease); }
.drawer__panel { display: flex; flex-direction: column; height: 100dvh; background: var(--surface); box-shadow: var(--sh-3); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; min-height: 0; overflow: auto; padding: 8px 20px; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: var(--surface); }
.ship-progress { padding: 12px 20px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.ship-progress:empty { display: none; }
.ship-progress strong { color: var(--ink); }
.ship-progress.is-free { background: var(--ok-soft); color: var(--ok); }
.ship-progress.is-free strong { color: var(--ok); }
.bar { height: 6px; border-radius: var(--r-full); background: var(--soft-2); margin-top: 8px; overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #6E82FF); transition: width .5s var(--ease); }
.is-free .bar__fill { background: var(--ok); }

.line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; background: var(--soft); }
.line__name { font-weight: 600; line-height: 1.3; font-size: .95rem; }
.line__sub { color: var(--ink-3); font-size: .82rem; margin-top: 2px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.line__price { font: 700 1rem/1 var(--font-display); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-full); }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; }
.qty button:hover:not([disabled]) { background: var(--soft); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty .icon { width: 16px; height: 16px; }
.qty output { min-width: 24px; text-align: center; font-weight: 600; font-size: .92rem; }
.line__remove { color: var(--ink-3); width: 36px; height: 36px; }
.line__remove .icon { width: 18px; height: 18px; }
.totals { display: grid; gap: 6px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .totals__grand { font: 700 1.2rem/1.2 var(--font-display); padding-top: 6px; border-top: 1px dashed var(--line-2); margin-top: 4px; }
.totals .is-free { color: var(--ok); font-weight: 600; }
.cart-empty { text-align: center; padding: var(--s-8) var(--s-4); color: var(--ink-2); }
.cart-empty .icon { width: 48px; height: 48px; margin: 0 auto var(--s-4); color: var(--line-2); stroke-width: 1.4; }

.modal { margin: auto; width: min(100%, 760px); max-height: 100dvh; }
.modal__panel { position: relative; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 100dvh; overflow: auto; box-shadow: var(--sh-3); overscroll-behavior: contain; }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(255, 255, 255, .9); box-shadow: var(--sh-1); }
@media (max-width: 639px) {
  .modal { margin: auto 0 0; width: 100%; }
  .modal[open] .modal__panel { animation: sheet .32s var(--ease); }
  .modal__panel { max-height: 94dvh; }
}
@media (min-width: 640px) { .modal__panel { border-radius: var(--r-lg); max-height: calc(100dvh - 48px); } }
.modal--legal { width: min(100%, 680px); }
.modal--legal .prose { padding: 22px; }
.modal--product { width: min(100%, 1040px); }

/* Étapes de commande */
.steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 22px 0; }
.steps__item { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-3); font-weight: 500; padding-bottom: 10px; border-bottom: 3px solid var(--soft-2); }
.steps__item span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--soft-2); font-weight: 700; font-size: .78rem; flex: none; }
.steps__item.is-current { color: var(--ink); border-color: var(--accent); }
.steps__item.is-current span { background: var(--accent); color: #fff; }
.steps__item.is-done { color: var(--ok); border-color: var(--ok); }
.steps__item.is-done span { background: var(--ok); color: #fff; }
.checkout { padding: 18px 22px 22px; }
.checkout__actions { margin-top: var(--s-5); display: grid; gap: 12px; }
.checkout__actions--row { grid-template-columns: auto 1fr; }
.checkout__note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: .84rem; color: var(--ink-3); }
.checkout__note .icon { width: 16px; height: 16px; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; grid-column: 1 / -1; }
@media (min-width: 480px) { .field { grid-column: auto; } .field--full { grid-column: 1 / -1; } }
.field label { font-weight: 600; font-size: .9rem; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea, .price-range input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: #fff; font-size: 1rem; transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus, .price-range input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FFFBFA; }
.field__error { color: var(--danger); font-size: .84rem; font-weight: 500; display: flex; gap: 6px; align-items: center; }
.field__help { color: var(--ink-3); font-size: .82rem; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 14px; border-radius: var(--r-sm); background: var(--danger-soft); color: var(--danger); font-weight: 500; font-size: .92rem; margin-bottom: 14px; }
.form-alert.is-ok { background: var(--ok-soft); color: var(--ok); }
.form-note { color: var(--ink-3); font-size: .84rem; margin-top: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s-4); font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check.has-error { color: var(--danger); }

.recap { border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px 14px; background: var(--bg); }
.recap .line { grid-template-columns: 56px 1fr; padding: 12px 0; }
.recap .line__img { width: 56px; height: 56px; }
.recap__addr { font-size: .88rem; color: var(--ink-2); padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.recap .totals { margin-top: 10px; }
.paymethods { border: 0; margin: var(--s-5) 0 0; padding: 0; }
.paymethods legend { margin-bottom: 10px; }
.paymethod { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); margin-bottom: 8px; cursor: pointer; transition: border-color var(--t), background var(--t); }
.paymethod:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.paymethod input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.paymethod strong { display: block; }
.paymethod span { font-size: .86rem; color: var(--ink-2); }

/* Confirmation */
.checkout__done { padding: 24px 22px 26px; outline: none; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); margin-bottom: var(--s-4); }
.done__icon .icon { width: 32px; height: 32px; stroke-width: 2.4; }
@media (prefers-reduced-motion: no-preference) { .done__icon { animation: pop .5s var(--ease); } }
.done__lead { color: var(--ink-2); margin-top: 8px; }
.bankbox { margin-top: var(--s-5); border-radius: var(--r); background: var(--accent-soft); padding: 18px; }
.bankbox__title { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; }
.bankbox dl { display: grid; gap: 2px; margin: 0; }
.bankbox__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(39, 66, 245, .14); }
.bankbox__row:last-child { border-bottom: 0; }
.bankbox dt { font-size: .78rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.bankbox dd { margin: 2px 0 0; font-weight: 700; font-size: 1rem; word-break: break-all; font-variant-numeric: tabular-nums; }
.bankbox .ref dd { color: var(--accent-ink); }
.copy-btn { min-height: 36px; padding: 6px 12px; font-size: .82rem; }
.copy-btn .icon { width: 16px; height: 16px; }
.done__actions { display: grid; gap: 10px; margin-top: var(--s-5); }
@media (min-width: 560px) { .done__actions { grid-template-columns: 1fr 1fr; } }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); font-size: .88rem; margin-top: 12px; }
.notice .icon { flex: none; margin-top: 2px; }

/* ---------- Fiche produit (modale) ---------- */
.pm { display: grid; }
.pm__gallery { background: #F3F1EC; position: relative; }
.pm__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; }
.pm__track::-webkit-scrollbar { display: none; }
.pm__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.pm__thumbs { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; scrollbar-width: thin; }
.pm__thumbs button { flex: none; width: 60px; height: 60px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; opacity: .7; transition: opacity var(--t), border-color var(--t); }
.pm__thumbs button.is-active { border-color: var(--ink); opacity: 1; }
.pm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm__dots { position: absolute; left: 0; right: 0; bottom: 84px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pm__info { padding: 22px 22px 0; display: flex; flex-direction: column; }
.pm__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pm__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -.025em; }
.pm__sub { color: var(--ink-2); margin-top: 6px; }
.pm__price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; font: 700 1.9rem/1 var(--font-display); letter-spacing: -.03em; }
.pm__price s { font: 500 1rem/1 var(--font-text); color: var(--ink-3); }
.pm__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 0; }
.pm__spec { padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg); }
.pm__spec dt { font-size: .74rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.pm__spec dd { margin: 2px 0 0; font-weight: 600; font-size: .94rem; }
.pm__ref { margin: 6px 0 0; font-size: .78rem; color: var(--ink-3); }
.pm__grade { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); font-size: .9rem; color: var(--ink-2); }
.pm__grade strong { color: var(--ink); }
.pm__desc { margin-top: 16px; color: var(--ink-2); font-size: .95rem; }
.pm__hl { list-style: none; display: grid; gap: 6px; margin-top: 14px; }
.pm__hl li { display: flex; gap: 10px; align-items: center; font-size: .93rem; }
.pm__hl .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }
.pm__assure { display: grid; gap: 10px; margin-top: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.pm__assure p { display: flex; gap: 10px; font-size: .88rem; color: var(--ink-2); }
.pm__assure .icon { color: var(--accent); margin-top: 2px; }
.pm__buy { position: sticky; bottom: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: auto -22px 0; padding: 12px 22px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.pm__buy .btn--wa { grid-column: 1 / -1; }
.pm__buy .btn { padding-inline: 10px; }
@media (min-width: 860px) {
  .pm { grid-template-columns: 1.05fr 1fr; min-height: 560px; }
  .pm__gallery { border-radius: var(--r-lg) 0 0 var(--r-lg); overflow: hidden; position: sticky; top: 0; align-self: start; }
  .pm__info { padding: 30px 30px 0; max-height: calc(100dvh - 48px); overflow: auto; }
  .pm__buy { margin: auto -30px 0; padding: 14px 30px 18px; }
}

/* ---------- Toasts & WhatsApp flottant ---------- */
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1000; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r); background: var(--ink); color: #fff; box-shadow: var(--sh-3); pointer-events: auto; animation: toast-in .3s var(--ease); font-size: .92rem; }
.toast .icon { color: #7CE0A8; flex: none; }
.toast--error .icon { color: #FFB4AB; }
.toast__msg { flex: 1; }
.toast .btn { min-height: 36px; padding: 6px 14px; font-size: .85rem; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }

.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(18, 140, 80, .55); text-decoration: none; transition: transform var(--t); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float__icon { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; }
@media (prefers-reduced-motion: no-preference) { .wa-float::before { animation: pulse 2.8s ease-out infinite; } }
.wa-float__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); padding: 9px 14px; border-radius: var(--r-full); background: var(--surface); color: var(--ink); font-size: .86rem; font-weight: 600; white-space: nowrap; box-shadow: var(--sh-2); opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t); }
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip, .wa-float.is-hinting .wa-float__tip { opacity: 1; transform: translateY(-50%); }
body.has-dialog .wa-float { display: none; }

/* Bannière de consentement (pixel Meta) */
.consent { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; width: min(calc(100vw - 32px), 440px); padding: var(--s-4) var(--s-5); background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--sh-3); }
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 var(--s-2); font: 600 1rem/1.3 var(--font-display); }
.consent__text { margin: 0 0 var(--s-4); font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
body.has-dialog .consent { display: none; }

/* ---------- Boutique ---------- */
.shop-hero { padding: var(--s-6) 0 var(--s-4); }
.shop-hero__lead { color: var(--ink-2); margin-top: 6px; }
.shop-bar { display: flex; gap: 10px; margin-top: var(--s-5); align-items: center; flex-wrap: wrap; }
.shop-bar__right { display: flex; gap: 10px; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; min-height: 48px; padding: 10px 40px 10px 16px; border-radius: var(--r-full); border: 1px solid var(--line-2); background: var(--surface); font-weight: 500; cursor: pointer; }
.select .icon { position: absolute; right: 14px; width: 18px; height: 18px; pointer-events: none; color: var(--ink-2); }
.btn--filter { min-height: 48px; }
.btn__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-full); background: var(--accent); color: #fff; font-size: .75rem; }
.quick { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin: var(--s-4) -20px 0; padding-inline: 20px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
@media (max-width: 639px) { .search--shop { flex-basis: 100%; } .shop-bar__right { width: 100%; } .shop-bar__right > * { flex: 1; } .select select { width: 100%; } }
.shop__layout { display: grid; gap: var(--s-5); padding-bottom: var(--s-8); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-4); }
.active-filters:empty { display: none; }
.afchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 8px 4px 14px; border-radius: var(--r-full); background: var(--ink); color: #fff; border: 0; font-size: .86rem; font-weight: 500; }
.afchip .icon { width: 16px; height: 16px; }
.afchip:hover { background: var(--accent); }
.afreset { background: none; border: 0; text-decoration: underline; min-height: 36px; padding: 0 8px; color: var(--ink-2); font-size: .88rem; }

.filters { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(380px, 92vw); background: var(--surface); display: flex; flex-direction: column; transform: translateX(-100%); visibility: hidden; transition: transform .32s var(--ease), visibility .32s; box-shadow: var(--sh-3); }
.filters.is-open { transform: none; visibility: visible; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.filters__form { flex: 1; min-height: 0; overflow: auto; padding: 4px 20px 20px; overscroll-behavior: contain; }
.filters__foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.filters-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(17, 18, 22, .45); }
.fgroup { border: 0; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup legend { display: flex; align-items: center; gap: 6px; font: 700 .95rem/1 var(--font-display); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.fgroup__scroll { max-height: 236px; overflow: auto; margin-right: -8px; padding-right: 8px; clear: both; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: .93rem; clear: both; }
.opt input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin: 0; }
.opt small { margin-left: auto; color: var(--ink-3); font-size: .78rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: var(--r-full); border: 1px solid var(--line-2); font-size: .88rem; font-weight: 500; transition: all var(--t); }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span { box-shadow: var(--ring); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; clear: both; }
.price-range label { display: grid; gap: 4px; font-size: .8rem; color: var(--ink-3); }
.price-range input { min-height: 44px; }
@media (min-width: 1024px) {
  .shop__layout { grid-template-columns: 268px 1fr; gap: var(--s-6); align-items: start; }
  .filters { position: sticky; top: calc(var(--header-h) + 16px); inset: auto; z-index: 1; width: auto; transform: none; visibility: visible; box-shadow: none; background: transparent; max-height: calc(100vh - var(--header-h) - 32px); }
  .filters__head { padding: 0 0 8px; border: 0; }
  .filters__close, .filters__foot .btn--primary, .btn--filter { display: none; }
  .filters__form { padding: 0 10px 0 0; }
  .filters__foot { grid-template-columns: 1fr; padding: 12px 0 0; border: 0; }
  .filters-backdrop { display: none; }
}
.results { min-width: 0; }
.more { display: grid; justify-items: center; gap: 8px; margin-top: var(--s-6); }
.more__info { color: var(--ink-3); font-size: .85rem; }
.empty { text-align: center; padding: var(--s-8) var(--s-4); border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.empty__art { width: 96px; height: 96px; margin: 0 auto var(--s-4); fill: none; stroke: var(--line-2); stroke-width: 3; stroke-linecap: round; }
.empty p { color: var(--ink-2); max-width: 44ch; margin: 8px auto 0; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: var(--s-5); }

/* ---------- Pages Suivi / Contact ---------- */
.page-hero { padding: var(--s-7) 0 var(--s-6); }
.page-hero__lead { color: var(--ink-2); margin-top: 10px; max-width: 58ch; font-size: 1.05rem; }
.card-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-1); }
@media (min-width: 768px) { .card-panel { padding: var(--s-6); } }
.track-form .btn { margin-top: var(--s-5); }
.track-result:empty { display: none; }
.track-result { margin-top: var(--s-5); }
.tr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tr-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: .9rem; }
.tr-status--cancelled { background: var(--danger-soft); color: var(--danger); }
.tr-status--delivered { background: var(--ok-soft); color: var(--ok); }
.timeline { list-style: none; margin: var(--s-5) 0 0; display: grid; }
.timeline li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.is-done::before { background: var(--ok); }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-2); color: var(--ink-3); position: relative; z-index: 1; }
.tl-dot .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.is-done .tl-dot { background: var(--ok); color: #fff; }
.is-current .tl-dot { background: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft); }
.is-cancelled .tl-dot { background: var(--danger); color: #fff; }
.tl-label { font-weight: 600; padding-top: 4px; }
.is-todo .tl-label { color: var(--ink-3); font-weight: 500; }
.tl-date { font-size: .84rem; color: var(--ink-3); }
.tr-grid { display: grid; gap: 12px; margin-top: var(--s-5); }
@media (min-width: 640px) { .tr-grid { grid-template-columns: repeat(3, 1fr); } }
.tr-box { padding: 14px; border-radius: var(--r-sm); background: var(--bg); }
.tr-box dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.tr-box dd { margin: 4px 0 0; font-weight: 600; word-break: break-word; }
.tr-box dd .icon, .bankbox dd .icon, .btn .icon--inline { display: inline-block; vertical-align: -.15em; width: 1em; height: 1em; }
.tr-items { margin-top: var(--s-5); border-top: 1px solid var(--line); padding-top: 10px; }
.tr-items div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .92rem; }
.help-box { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.help-box p { color: var(--ink-2); font-size: .93rem; margin-top: 4px; }
.help-box .btn { grid-column: 1 / -1; }
.help-box__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
@media (min-width: 640px) { .help-box { grid-template-columns: auto 1fr auto; } .help-box .btn { grid-column: auto; } }

.contact-grid { display: grid; gap: var(--s-5); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: var(--s-6); align-items: start; } }
.contact-main { display: grid; gap: var(--s-5); }
.wa-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: var(--s-5); border-radius: var(--r-lg); background: var(--wa-ink); color: #fff; text-decoration: none; box-shadow: var(--sh-2); transition: transform var(--t), background var(--t); }
.wa-card:hover { color: #fff; background: var(--wa-ink-hover); transform: translateY(-2px); }
.wa-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--wa); }
.wa-card__icon .icon { width: 32px; height: 32px; }
.wa-card__body { display: grid; gap: 2px; }
.wa-card__title { font: 700 1.3rem/1.15 var(--font-display); }
.wa-card__num { font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; }
.wa-card__meta { font-size: .86rem; color: #CDEBDD; }
.wa-card__arrow { width: 24px; height: 24px; }
.contact-form .h4 { margin-bottom: var(--s-4); }
.contact-form .btn { margin-top: var(--s-5); }
.contact-side { display: grid; gap: var(--s-4); }
.info-card { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.info-card .h5 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.info-card .h5 .icon { color: var(--accent); }
.info-card p + p { margin-top: 6px; }
.zones { list-style: none; display: grid; gap: 8px; margin-bottom: 10px; }
.zones li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg); font-size: .92rem; }
.zones span { color: var(--ink-2); }

.prose { color: var(--ink-2); }
.prose p + p, .prose ul, .prose ol { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose strong { color: var(--ink); }
.prose h3 { font-size: 1.08rem; margin: 26px 0 8px; color: var(--ink); }
.prose h3:first-child { margin-top: 0; }
.prose h4 { font-size: .98rem; margin: 16px 0 6px; color: var(--ink); }
.prose li + li { margin-top: 4px; }
.prose .box { padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.35); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } }
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Qui suis-je / Chi sono ---------- */
.about-hero__grid { display: grid; gap: var(--s-6); align-items: center; }
.about-hero__origin { color: var(--ink-2); margin-top: var(--s-4); max-width: 58ch; }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.about-photo { margin: 0; justify-self: center; width: min(100%, 360px); }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 985; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-2); background: var(--soft); }
.about-photo figcaption { margin-top: var(--s-3); text-align: center; font-size: .88rem; color: var(--ink-3); }
.about-end { text-align: center; }
.about-end p { color: var(--ink-2); margin-top: var(--s-3); }
.about-end__actions { justify-content: center; }
@media (min-width: 960px) {
  .about-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-8); }
  .about-photo { width: 100%; max-width: 420px; }
}

.home-about { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-4) var(--s-5); align-items: center; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); transition: box-shadow var(--t), border-color var(--t); }
.home-about:hover { box-shadow: var(--sh-2); border-color: var(--line-2); }
.home-about__img { width: 96px; height: 120px; object-fit: cover; object-position: top; border-radius: var(--r); }
.home-about__text .eyebrow { margin-bottom: var(--s-2); }
.home-about__title { font: 700 clamp(1.2rem, 1rem + .8vw, 1.6rem)/1.15 var(--font-display); letter-spacing: -.02em; margin: 0; }
.home-about__p { color: var(--ink-2); margin: var(--s-2) 0 var(--s-3); max-width: 62ch; }
.home-about__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.home-about__link:focus-visible { outline: none; }
.home-about:has(.home-about__link:focus-visible) { box-shadow: var(--ring); }
@media (max-width: 559px) {
  .home-about { grid-template-columns: 1fr; }
  .home-about__img { width: 88px; height: 110px; }
}
@media (min-width: 768px) {
  .home-about { grid-template-columns: 140px minmax(0, 1fr); padding: var(--s-5) var(--s-6); }
  .home-about__img { width: 140px; height: 176px; }
}

/* ---------- Référencement : fil d'Ariane, pages série, page produit, 404 ---------- */
.crumbs { margin-bottom: var(--s-3); font-size: .84rem; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.shop-hero__lead { max-width: 75ch; }
.shop-hero__lead--sub { font-size: .9rem; color: var(--ink-3); }

.series-nav { margin-top: var(--s-6); }
.series-nav__title { font: 600 1.05rem/1.3 var(--font-display); letter-spacing: -.01em; margin-bottom: var(--s-3); }
.series-nav__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; }
.series-nav__link strong, .series-nav__link span { white-space: nowrap; }
@media (min-width: 768px) { .series-nav__list { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); } }
.series-nav__link { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color var(--t), background var(--t); }
.series-nav__link:hover { border-color: var(--ink); }
.series-nav__link span { font-size: .82rem; color: var(--ink-3); }

.product-page { padding: var(--s-5) 0 var(--s-4); }
.pm--page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; }
.pm--page .pm__info { padding-bottom: var(--s-5); }
.pm__h2 { font: 600 1rem/1.3 var(--font-display); margin-top: var(--s-5); }
.pm__h2 + .pm__specs { margin-top: 10px; }
.pm__h2 + .pm__desc { margin-top: 8px; }
.pm__stock { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .9rem; font-weight: 500; }
.pm__stock .icon { width: 18px; height: 18px; }
.pm__stock--in { color: var(--ok); }
.pm__stock--out { color: var(--ink-3); }
.pm__buy--page { position: static; margin: 18px 0 0; padding: 0; background: none; backdrop-filter: none; border: 0; }
.pm--page .pm__assure { margin-top: var(--s-5); }
@media (min-width: 860px) {
  .pm--page { min-height: 0; }
  .pm--page .pm__gallery { position: sticky; top: 88px; border-radius: 0; }
  .pm--page .pm__info { max-height: none; overflow: visible; padding: 32px 34px 30px; }
  .pm--page .pm__buy--page { margin: 20px 0 0; padding: 0; }
}

.notfound { padding: var(--s-8) 0; }
.notfound__inner { max-width: 760px; }
.notfound__p { color: var(--ink-2); margin-top: var(--s-3); max-width: 60ch; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--s-5) 0 var(--s-6); }