/* ==========================================================================
   Pico Center — feuille de style du site
   Direction : tech-luxe éditoriale. Encre profonde, marine & ciel du logo,
   vert « puce » en accent rare. Geist (UI) + Instrument Serif (accents).
   ========================================================================== */

:root {
  --ink: #0a0f1e;
  --ink-2: #121a33;
  --ink-3: #1b2547;
  --navy: #2050a0;
  --sky: #7fa6e0;
  --sky-soft: #e8f0fc;
  --chip: #3aaa35;
  --chip-soft: #e7f6e6;
  --amber: #c98a1b;
  --red: #d2453b;

  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #fbfbf9;
  --text: #0a0f1e;
  --muted: #5d6476;
  --faint: #8b91a1;
  --line: rgba(10, 15, 30, .08);
  --line-2: rgba(10, 15, 30, .14);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 30, .05), 0 2px 8px rgba(10, 15, 30, .04);
  --shadow: 0 2px 4px rgba(10, 15, 30, .04), 0 12px 32px -8px rgba(10, 15, 30, .12);
  --shadow-lg: 0 30px 80px -20px rgba(10, 15, 30, .35);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ----------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--ink); color: #fff; }
[hidden] { display: none !important; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.i.inline { display: inline; vertical-align: -.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.only-mobile { display: none !important; }
.js .no-js-only { display: none !important; }

/* ----------------------------------------------------------------- Typo */
.display {
  font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 450; letter-spacing: -.04em; line-height: 1.02;
  text-wrap: balance;
}
.display.sm { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.display em, .hero-title em, .product-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
.display.light, .light { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow.light { color: var(--sky); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.6; max-width: 62ch; margin-top: 18px; }
.light-muted { color: rgba(255, 255, 255, .68); }
.h-sec { font-size: 1.4rem; margin-bottom: 20px; }

/* ----------------------------------------------------------------- Boutons */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: .88rem; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 1rem; }
.btn.block { display: flex; width: 100%; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 15, 30, .5); }
.btn-ink:hover { background: var(--ink-3); box-shadow: 0 14px 30px -10px rgba(10, 15, 30, .55); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { box-shadow: 0 14px 40px -12px rgba(127, 166, 224, .7); }
.btn-glass { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .13); }
.btn-line { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-line.is-saved { background: var(--sky-soft); border-color: var(--sky); color: var(--navy); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  position: relative; transition: background .2s;
}
.icon-btn:hover { background: rgba(10, 15, 30, .06); }
.icon-btn .i { width: 22px; height: 22px; }
.round-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); transition: all .25s var(--ease);
}
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.link-arrow .i { transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow.light { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); font-size: .85rem; font-weight: 500; transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.ghost { background: transparent; color: var(--muted); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .i { width: 14px; height: 14px; }

/* ----------------------------------------------------------------- Bandeau */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .8rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 38px; }
.topbar-msg { opacity: .8; text-align: center; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar-links a:hover { color: #fff; }
.topbar .i { width: 14px; height: 14px; }
/* Sélecteur de langue */
.lang-switch { display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.topbar-links .lang-switch a { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .6); transition: background .25s, color .25s; }
.topbar-links .lang-switch a:hover { color: #fff; }
.topbar-links .lang-switch a.is-on { background: #fff; color: var(--ink); }
.lang-switch.big { display: flex; background: var(--bg); border-color: var(--line); padding: 4px; }
.lang-switch.big a { flex: 1; display: grid; place-items: center; height: 40px; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--muted); transition: background .25s, color .25s; }
.lang-switch.big a.is-on { background: var(--ink); color: #fff; }
.status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.status i, .pill-status i, .stock i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; position: relative;
}
.status.open i, .pill-status.open i { background: var(--chip); box-shadow: 0 0 0 0 rgba(58, 170, 53, .6); animation: pulse 2.4s infinite; }
.status.closed i, .pill-status.closed i { background: var(--amber); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(58, 170, 53, .55); } 70% { box-shadow: 0 0 0 8px rgba(58, 170, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 170, 53, 0); } }

/* ----------------------------------------------------------------- Header */
/* Header pleine largeur : transparent sur le hero de l'accueil, fond dépoli opaque ailleurs et au défilement */
.header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(246, 246, 243, .94); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.page-home .header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-in { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--ink); transition: background .2s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgba(10, 15, 30, .06); }
.nav-link.is-active { background: var(--ink); color: #fff; }
.nav-link .caret { width: 15px; height: 15px; transition: transform .3s; }
.nav-item.is-open .caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 9px 0 16px; min-width: 270px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--faint);
  font-size: .9rem; transition: border-color .2s, box-shadow .2s;
}
.search-trigger:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.search-trigger .i { width: 18px; height: 18px; color: var(--ink); }
.search-trigger span { flex: 1; text-align: left; }
.search-trigger kbd {
  display: inline-flex; align-items: center; gap: 3px; height: 26px; padding: 0 9px; margin-left: 8px; border-radius: 999px;
  font: 500 .72rem var(--sans); letter-spacing: .02em; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted);
}
.search-trigger.wide { width: 100%; min-width: 0; margin: 4px 0 18px; }
.sel-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--chip); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(10, 15, 30, .25);
}
.sel-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Méga-menu */
/* Panneau pleine largeur sous le header */
.mega {
  position: absolute; left: 50%; top: calc(100% + 8px); padding: 8px 0 28px;
  width: min(calc(var(--wrap) - 2 * var(--gutter) + 48px), calc(100% - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 26px; translate: -50% 0;
  box-shadow: 0 40px 80px -30px rgba(10, 15, 30, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* pont de survol entre le menu et le panneau */
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: 270px 1fr; gap: 36px; padding: 18px 24px 0; max-width: none; }
.mega-roots { border-right: 1px solid var(--line); padding-right: 18px; }
.mega-roots a {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; font-weight: 500; font-size: .95rem;
  transition: background .2s;
}
.mega-roots a .arr { margin-left: auto; width: 15px; opacity: 0; transition: opacity .2s, transform .2s; }
.mega-roots a.is-on { background: var(--bg); }
.mega-roots a.is-on .arr { opacity: 1; transform: translateX(2px); }
.mega-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sky-soft); color: var(--navy); flex: none; }
.mega-ico .i { width: 18px; height: 18px; }
.mega-all { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.mega-all a { color: var(--navy); }
.mega-panel { display: none; grid-template-columns: 1fr 260px; gap: 32px; }
.mega-panel.is-on { display: grid; animation: fadeIn .3s var(--ease); }
.mega-cols { columns: 3 180px; column-gap: 28px; }
.mega-col { break-inside: avoid; margin-bottom: 22px; }
.mega-h { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.mega-h:hover { color: var(--navy); }
.mega-col li a { display: block; padding: 3px 0; color: var(--muted); font-size: .88rem; transition: color .2s, transform .2s; }
.mega-col li a:hover { color: var(--ink); transform: translateX(2px); }
.mega-feature {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); min-height: 280px;
  display: flex; align-items: flex-end;
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature-txt {
  position: relative; margin: 12px; padding: 14px 16px; border-radius: 16px; width: calc(100% - 24px);
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); display: grid; gap: 2px;
}
.mega-feature-txt small { color: var(--muted); font-size: .78rem; }
.mega-feature-txt em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--navy); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }

/* Tiroir mobile */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10, 15, 30, .45); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--surface);
  padding: 16px 20px 24px; display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(-100%); transition: transform .4s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-head img { height: 40px; width: auto; }
.drawer-label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 14px 0 8px; }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav summary { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 500; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary .caret { margin-left: auto; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.drawer-nav summary { transition: color .25s; }
.drawer-nav details.is-open > summary { color: var(--navy); }
.drawer-nav details:not(.acc)[open] .caret, .drawer-nav details.acc.is-open .caret { transform: rotate(180deg); }
.drawer-nav .acc-body { overflow: hidden; }
.drawer-nav details ul { padding: 0 0 12px 46px; display: grid; gap: 2px; }
/* Sous-catégories qui apparaissent en cascade à l’ouverture */
.drawer-nav details.acc.is-open li { animation: accItem .45s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i, 0) * 28ms + 60ms); }
@keyframes accItem { from { opacity: 0; transform: translateY(-6px); } }
.drawer-nav details a { display: block; padding: 6px 0; color: var(--muted); }
.drawer-link { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }

/* Recherche */
.search-overlay { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.search-overlay.is-open { visibility: visible; }
.search-scrim { position: absolute; inset: 0; background: rgba(10, 15, 30, .5); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.search-overlay.is-open .search-scrim { opacity: 1; }
.search-box {
  position: relative; margin: 9vh auto 0; width: min(760px, calc(100% - 32px)); max-height: 78vh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; transform: translateY(-12px) scale(.98); transition: opacity .25s, transform .35s var(--ease);
}
.search-overlay.is-open .search-box { opacity: 1; transform: none; }
.search-form { display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 22px; border-bottom: 1px solid var(--line); }
.search-form > .i { width: 22px; height: 22px; color: var(--muted); }
.search-form input { flex: 1; height: 62px; border: 0; outline: 0; background: none; font-size: 1.15rem; }
.search-form input::-webkit-search-cancel-button { display: none; }
.esc { font-size: .75rem; padding: 5px 10px; border-radius: 8px; background: var(--bg); color: var(--muted); }
.search-results { overflow-y: auto; padding: 8px 14px 16px; }
.search-hints { padding: 4px 8px; }
.sr-group { padding: 8px 0; }
.sr-group + .sr-group { border-top: 1px solid var(--line); }
.sr-item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 14px; transition: background .15s; }
.sr-item:hover, .sr-item.is-active { background: var(--bg); }
.sr-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.sr-item .sr-txt { flex: 1; min-width: 0; }
.sr-item strong { display: block; font-weight: 500; font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item small { color: var(--muted); font-size: .8rem; }
.sr-item .sr-price { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.sr-all { display: flex; justify-content: center; margin-top: 8px; }
.sr-empty { padding: 28px 10px; text-align: center; color: var(--muted); }

/* ----------------------------------------------------------------- Hero */
/* Accueil : bandeau + header + hero forment un seul bloc sombre pleine largeur */
.hero {
  position: relative; margin: 0;
  background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
}
.page-home .header:not(.is-scrolled) .nav-link,
.page-home .header:not(.is-scrolled) .header-actions > .icon-btn,
.page-home .header:not(.is-scrolled) .only-mobile { color: #fff; }
.page-home .header:not(.is-scrolled) .nav-link:hover { background: rgba(255, 255, 255, .1); }
.page-home .header:not(.is-scrolled) .nav-link.is-active { background: #fff; color: var(--ink); }
.brand .logo-light { display: none; }
.page-home .header:not(.is-scrolled) .brand .logo-dark { display: none; }
.page-home .header:not(.is-scrolled) .brand .logo-light { display: block; }
.page-home .header:not(.is-scrolled) .search-trigger { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .6); }
.page-home .header:not(.is-scrolled) .search-trigger .i { color: #fff; }
.page-home .header:not(.is-scrolled) .search-trigger kbd { background: rgba(255, 255, 255, .08); border-color: transparent; color: rgba(255, 255, 255, .6); }
.page-home .header:not(.is-scrolled) .btn-ink { background: #fff; color: var(--ink); }

.hero-bg, .dark-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-bg .g1 { width: 620px; height: 620px; background: #2050a0; top: -200px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.hero-bg .g2 { width: 460px; height: 460px; background: #7fa6e0; bottom: -260px; left: 30%; opacity: .32; animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero-bg .g3 { width: 220px; height: 220px; background: #3aaa35; top: 40%; right: 30%; opacity: .2; animation: drift 16s ease-in-out infinite alternate; }
.grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
}
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; min-height: min(760px, 88vh); padding-top: 40px; padding-bottom: 72px; }
.pill-status {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .85);
}
.pill-status.on-light { background: var(--bg); border-color: var(--line); color: var(--ink); }
.hero-title { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 450; letter-spacing: -.045em; line-height: .98; margin: 26px 0 0; text-wrap: balance; }
.hero-title em { color: var(--sky); }
.hero-text { margin-top: 24px; max-width: 54ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(255, 255, 255, .68); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-cta.center { justify-content: center; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 52px 0 0; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats dt { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; }
.hero-stats dd { margin: 2px 0 0; font-size: .84rem; color: rgba(255, 255, 255, .55); }

.hero-visual { position: relative; height: 600px; }
.float-card {
  position: absolute; display: flex; flex-direction: column; width: 250px; border-radius: 24px; overflow: hidden;
  background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .6s var(--ease); animation: float 7s ease-in-out infinite;
}
.float-card:hover { transform: translateY(-8px) rotate(0deg) !important; }
.fc-img { display: block; aspect-ratio: 1; padding: 18px; background: #fff; }
.fc-img img { width: 100%; height: 100%; object-fit: contain; }
.fc-meta { display: grid; gap: 2px; padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.fc-meta small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.fc-meta strong { font-weight: 500; font-size: .9rem; line-height: 1.3; }
.fc-meta b { font-weight: 600; margin-top: 4px; }
.fc1 { right: 0; top: 2%; z-index: 3; width: 270px; transform: rotate(3deg); }
.fc2 { left: 2%; top: 26%; z-index: 2; width: 230px; transform: rotate(-5deg); animation-delay: -2.4s; }
.fc3 { right: 30%; bottom: 0; z-index: 1; width: 200px; transform: rotate(-1deg); animation-delay: -4.6s; }
@keyframes float { 50% { translate: 0 -14px; } }
.glass-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); animation: float 8s ease-in-out infinite;
}
.glass-card strong { display: block; font-weight: 500; font-size: .9rem; }
.glass-card small { color: rgba(255, 255, 255, .6); font-size: .8rem; }
.gc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(127, 166, 224, .2); color: var(--sky); }
.gc-ico.green { background: rgba(58, 170, 53, .2); color: #6fd16a; }
.gc1 { left: 4%; top: 6%; animation-delay: -1s; }
.gc2 { right: 0; bottom: 6%; animation-delay: -3s; }

/* Marques */
.marquee { padding: 34px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: clamp(36px, 5vw, 72px); padding-right: clamp(36px, 5vw, 72px); }
.marquee a { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -.03em; color: rgba(10, 15, 30, .22); white-space: nowrap; transition: color .3s; }
.marquee a:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- Sections */
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section.pt-0 { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .display { max-width: 18ch; }
.scroller-nav { display: flex; gap: 8px; }

/* Bento catégories */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; }
.bento-tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-tile img {
  position: absolute; z-index: -1; right: 4%; top: 16%; width: 70%; height: 56%; object-fit: contain; object-position: right center; mix-blend-mode: multiply;
  transition: transform .8s var(--ease);
}
.bento-tile:hover img { transform: scale(1.06) rotate(-1deg); }
.bento-tile.t0 { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #fff 30%, var(--sky-soft)); }
.bento-tile.t0 img { width: 84%; height: 66%; right: 4%; top: 14%; object-position: center; }
.bento-tile.t1 img { width: 62%; height: 74%; top: 13%; }
.bento-tile.t0 .bento-name { font-size: 2rem; }
.bento-tile.t1 { grid-column: span 2; }
.bento-top { display: flex; justify-content: space-between; align-items: center; }
.bento-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; }
.bento-ico .i { width: 22px; height: 22px; }
.bento-count { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.bento-name { display: inline-flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 500; letter-spacing: -.03em; max-width: 70%; line-height: 1.15; }
.bento-name .i { opacity: 0; transform: translate(-6px, 6px); transition: all .4s var(--ease); }
.bento-tile:hover .bento-name .i { opacity: 1; transform: none; }

/* ----------------------------------------------------------------- Carte produit */
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: opacity .5s, transform .8s var(--ease); }
.pcard-media img.alt { opacity: 0; }
.pcard:hover .pcard-media img { transform: scale(1.045); }
.pcard:hover .pcard-media img.alt { opacity: 1; }
.pcard:hover .pcard-media img:not(.alt):has(+ .alt) { opacity: 0; }
.pcard.is-out .pcard-media img { filter: grayscale(.8); opacity: .6; }
.pcard-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; pointer-events: none; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .01em; background: var(--ink); color: #fff; }
.badge-reconditionne { background: var(--chip-soft); color: #23801f; }
.badge-occasion { background: #fbf1df; color: #8a5d0e; }
.badge-sale { background: var(--red); color: #fff; }
.pcard-badges.big { top: 20px; left: 20px; }
.pcard-badges.big .badge { height: 30px; padding: 0 14px; font-size: .8rem; }
.pcard-save {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.85); transition: all .3s var(--ease);
}
.pcard:hover .pcard-save, .pcard-save:focus-visible, .pcard-save.is-saved { opacity: 1; transform: none; }
.pcard-save:hover { background: var(--ink); color: #fff; }
.pcard-save.is-saved { background: var(--navy); color: #fff; border-color: var(--navy); }
.pcard-save.is-saved .i { fill: currentColor; }
.pcard-save .i { width: 18px; height: 18px; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.pcard-brand { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.pcard-title { font-size: .94rem; font-weight: 450; line-height: 1.35; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.price { font-weight: 600; font-size: 1.08rem; letter-spacing: -.02em; white-space: nowrap; }
.price s { font-weight: 400; font-size: .85rem; color: var(--faint); margin-left: 4px; }
.price.xl { font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.stock-in_stock i { background: var(--chip); }
.stock-on_order i { background: var(--amber); }
.stock-out_of_stock i { background: var(--red); }

/* Défilement horizontal */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; margin: -6px -2px -20px;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }

/* ----------------------------------------------------------------- À propos */
.about-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.pillar:nth-child(2) { transform: translateY(40px); }
.pillar:nth-child(4) { transform: translateY(40px); }
.pillar h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.pillar p { color: var(--muted); font-size: .93rem; }
.pillar-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sky-soft); color: var(--navy); flex: none; }
.pillar-ico .i { width: 22px; height: 22px; }

/* ----------------------------------------------------------------- Sections sombres */
.dark-section { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.dark-bg .g1 { width: 520px; height: 520px; background: var(--navy); top: -200px; left: -100px; opacity: .5; }
.dark-bg .g2 { width: 380px; height: 380px; background: var(--sky); bottom: -220px; right: 10%; opacity: .2; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); min-height: 260px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.svc-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(127, 166, 224, .4); transform: translateY(-4px); }
.svc-card h3 { font-size: 1.2rem; margin-top: 16px; }
.svc-card p { color: rgba(255, 255, 255, .58); font-size: .92rem; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.svc-foot b { font-weight: 500; color: var(--sky); }
.svc-foot .i { transition: transform .4s var(--ease); }
.svc-card:hover .svc-foot .i { transform: translate(3px, -3px); }
.svc-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: rgba(127, 166, 224, .14); color: var(--sky); flex: none; }
.svc-ico .i { width: 24px; height: 24px; }
.svc-ico.light { background: var(--sky-soft); color: var(--navy); }
.svc-ico.big { width: 72px; height: 72px; border-radius: 22px; background: var(--ink); color: #fff; }
.svc-ico.big .i { width: 34px; height: 34px; }

/* ----------------------------------------------------------------- Visite */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.visit-info { padding: clamp(28px, 4vw, 56px); }
.visit-info .display { margin-bottom: 26px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.visit-map { position: relative; min-height: 420px; background: #e9ecf2; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.03); transition: filter .6s; }
.visit-map:hover iframe { filter: none; }
.small-map { min-height: 300px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.hours { display: grid; gap: 2px; }
.hours li { display: flex; justify-content: space-between; padding: 9px 14px; border-radius: 12px; font-size: .94rem; color: var(--muted); }
.hours li.is-today { background: var(--ink); color: #fff; font-weight: 500; }

/* ----------------------------------------------------------------- Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); margin-top: clamp(56px, 8vw, 110px); padding: clamp(40px, 6vw, 80px) 0 28px; }
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta .display em { color: var(--sky); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 40px; padding: clamp(36px, 5vw, 56px) 0; }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 36ch; }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; font-weight: 500; }
.footer h3 { color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: grid; gap: 8px; font-size: .92rem; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .i { margin-top: 3px; color: var(--sky); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .45); }
.footer-bottom a:hover { color: #fff; }
.footer-credit { margin-top: 18px; text-align: center; font-size: .76rem; letter-spacing: .02em; color: rgba(255, 255, 255, .35); }
.footer-credit a { color: rgba(255, 255, 255, .6); font-weight: 500; transition: color .2s; }
.footer-credit a:hover { color: #fff; }

/* ----------------------------------------------------------------- En-tête de page */
.page-head { padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); position: relative; }
.page-head.dark { background: var(--ink); color: #fff; padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.page-head.dark .crumbs, .page-head.dark .crumbs a { color: rgba(255, 255, 255, .55); }
.page-head.dark .display em { color: var(--sky); }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.count-sup { font-family: var(--sans); font-size: .32em; font-weight: 500; vertical-align: super; margin-left: 10px; color: var(--faint); letter-spacing: 0; }
.crumbs { margin-bottom: 22px; font-size: .84rem; color: var(--faint); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 10px; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.page-head.dark .crumbs [aria-current] { color: #fff; }

.subcats { display: flex; gap: 10px; margin-top: 30px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin-left: -2px; }
.subcats::-webkit-scrollbar { display: none; }
.subcat {
  display: inline-flex; align-items: center; gap: 12px; flex: none; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .9rem; transition: all .25s;
}
.subcat:hover { border-color: var(--ink); }
.subcat.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.subcat img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.subcat-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--muted); }
.subcat small { margin-left: 8px; color: var(--faint); font-weight: 500; }
.subcat.is-on small { color: rgba(255, 255, 255, .6); }

.inline-search { display: flex; align-items: center; gap: 10px; margin-top: 26px; max-width: 640px; padding: 6px 6px 6px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; }
.inline-search input { flex: 1; border: 0; outline: 0; background: none; height: 40px; font-size: 1rem; min-width: 0; }
.inline-search > .i { color: var(--muted); }

/* ----------------------------------------------------------------- Listing */
.listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.filters { padding-right: 6px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filters-head a { color: var(--navy); }
.dot-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; margin-left: 6px; }
.fgroup { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fgroup legend { float: left; width: 100%; font-weight: 600; font-size: .85rem; margin-bottom: 12px; }
.fgroup legend + * { clear: both; }
.check, .switch { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .92rem; cursor: pointer; user-select: none; }
.check small { margin-left: auto; color: var(--faint); font-size: .8rem; }
.check input, .switch input { position: absolute; opacity: 0; pointer-events: none; }
.check-ui { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--surface); transition: all .2s; flex: none; }
.check-ui .i { width: 13px; height: 13px; color: #fff; opacity: 0; stroke-width: 2.6; }
.check input:checked + .check-ui { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check-ui .i { opacity: 1; }
.check input:focus-visible + .check-ui, .switch input:focus-visible + .switch-ui { outline: 2px solid var(--navy); outline-offset: 2px; }
.switch-ui { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); transition: background .25s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.switch input:checked + .switch-ui { background: var(--chip); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.brand-list.is-long { max-height: 300px; overflow: hidden; }
.brand-list.is-long.is-open { max-height: none; }
.more-btn { margin-top: 8px; font-size: .85rem; font-weight: 500; color: var(--navy); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range label { flex: 1; position: relative; }
.price-range label span { position: absolute; left: 12px; top: 6px; font-size: .68rem; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.price-range input { width: 100%; height: 50px; padding: 18px 12px 4px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); outline: 0; }
.price-range input:focus { border-color: var(--ink); }
.price-range .dash { width: 10px; height: 1.5px; background: var(--line-2); }
.filters > form > .btn { margin-top: 18px; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sort { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-left: auto; font-size: .88rem; color: var(--muted); }

/* Menus déroulants sur mesure (assets/js/select.js) */
.cs { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.cs-native { position: absolute !important; inset: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.cs-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 16px 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 500; font-size: .92rem; text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.cs-btn:hover { border-color: var(--ink); }
.cs.is-open .cs-btn, .cs-btn:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(32, 80, 160, .08); outline: 0; }
.cs-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-chev { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.cs.is-open .cs-chev { transform: rotate(180deg); }
.sort .cs { min-width: 200px; }
.cs-pop {
  position: fixed; z-index: 300; display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, .98); backdrop-filter: blur(20px); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px -20px rgba(10, 15, 30, .35); font-family: var(--sans);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top; transition: opacity .2s, transform .3s var(--ease);
}
.cs-pop.is-up { transform-origin: bottom; transform: translateY(6px) scale(.98); }
.cs-pop.is-in { opacity: 1; transform: none; }
.cs-search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: text; }
.cs-search svg { width: 17px; height: 17px; color: var(--faint); flex: none; }
.cs-search input { flex: 1; border: 0; outline: 0; background: none; font-size: .95rem; min-width: 0; }
.cs-list { overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.cs-opt { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px calc(14px + var(--depth, 0) * 16px); border-radius: 14px; font-size: .93rem; cursor: pointer; transition: background .15s; }
.cs-opt span { flex: 1; min-width: 0; }
.cs-opt.is-active { background: var(--bg); }
.cs-opt.is-selected { font-weight: 600; }
.cs-check { width: 16px; height: 16px; color: var(--navy); opacity: 0; flex: none; }
.cs-opt.is-selected .cs-check { opacity: 1; }
.cs-opt.is-disabled { opacity: .4; cursor: default; }
.cs-empty { padding: 18px; text-align: center; color: var(--muted); font-size: .9rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; }
.pager-n { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; font-weight: 500; transition: background .2s; }
.pager-n:hover { background: var(--surface); }
.pager-n.is-on { background: var(--ink); color: #fff; }
.pager-gap { color: var(--faint); padding: 0 4px; }

.empty { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty h2 { font-size: 1.5rem; }
.empty p { max-width: 52ch; }
.empty-ico, .done-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--navy); margin-bottom: 6px; }
.empty-ico .i, .done-ico .i { width: 28px; height: 28px; }
.done-ico { background: var(--chip); color: #fff; border: 0; border-radius: 50%; box-shadow: 0 0 0 10px var(--chip-soft); }
.done-ico .i { stroke-width: 2.4; }
.small-empty { padding: 60px 20px; background: var(--surface); border-radius: var(--r-lg); border: 1px dashed var(--line-2); }
.small-empty a { color: var(--navy); text-decoration: underline; }
.huge-404 { font-size: clamp(6rem, 18vw, 12rem); font-weight: 500; letter-spacing: -.06em; line-height: .9; background: linear-gradient(180deg, var(--ink), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-empty .inline-search { width: 100%; }

/* Catalogue complet */
.cat-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat-block { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.cat-block-head { display: flex; align-items: center; gap: 18px; padding: 18px; border-bottom: 1px solid var(--line); transition: background .3s; }
.cat-block-head:hover { background: var(--surface-2); }
.cat-block-head:hover .round-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-block-media { width: 96px; height: 96px; border-radius: 18px; background: var(--bg); overflow: hidden; flex: none; }
.cat-block-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat-block-title { flex: 1; display: grid; gap: 4px; }
.cat-block-title .bento-ico { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 6px; }
.cat-block-title .bento-ico .i { width: 18px; height: 18px; }
.cat-block-title strong { font-size: 1.35rem; font-weight: 500; letter-spacing: -.03em; }
.cat-block-title small { color: var(--muted); }
.cat-block-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 14px 22px 18px; }
.cat-block-subs a { display: flex; justify-content: space-between; padding: 7px 0; font-size: .92rem; border-bottom: 1px solid var(--line); transition: color .2s; }
.cat-block-subs a:hover { color: var(--navy); }
.cat-block-subs span { color: var(--faint); font-size: .82rem; }

/* ----------------------------------------------------------------- Fiche produit */
.product-wrap { padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 6vw, 80px); }
.product { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s; }
.gallery-slide.is-on { opacity: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .3s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery-main.is-zoom .gallery-slide.is-on img { transform: scale(1.9); }
.gallery-prev, .gallery-next { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; opacity: 0; transition: opacity .3s; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-main:hover .gallery-prev, .gallery-main:hover .gallery-next { opacity: 1; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs button { width: 84px; height: 84px; flex: none; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); overflow: hidden; transition: border-color .2s; }
.gallery-thumbs button.is-on { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.buybox-in { display: flex; flex-direction: column; gap: 22px; }
.buybox-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.product-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.product-price s { color: var(--faint); font-size: 1.2rem; }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: var(--muted); }
.product-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.product-meta .stock { font-size: .92rem; color: var(--ink); font-weight: 500; }
.product-meta .stock i { width: 8px; height: 8px; }
.buy-actions { display: grid; gap: 10px; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn.block { flex: 1; }
.assurances { display: grid; gap: 4px; padding: 8px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.assurances li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; }
.assurances .i { width: 22px; height: 22px; color: var(--navy); }
.assurances strong { display: block; font-weight: 500; font-size: .93rem; }
.assurances small { color: var(--muted); font-size: .84rem; }
.product-details { display: grid; grid-template-columns: 1fr 1fr 320px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.product-details:not(:has(.specs)) { grid-template-columns: 2fr 320px; }
.product-details:not(:has(.desc)) { grid-template-columns: 2fr 320px; }
.spec-group { margin-bottom: 26px; }
.spec-group h3 { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.spec-group dl { margin: 0; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.spec-group dl > div { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 16px; padding: 11px 16px; font-size: .9rem; }
.spec-group dl > div + div { border-top: 1px solid var(--line); }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; font-weight: 450; }
.help-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: grid; gap: 12px; }
.help-card .pillar-ico { background: rgba(127, 166, 224, .16); color: var(--sky); }
.help-card h3 { font-size: 1.3rem; margin-top: 8px; }
.help-card p { color: rgba(255, 255, 255, .62); font-size: .92rem; margin-bottom: 6px; }
.mobile-buy { display: none; }

.prose { font-size: 1rem; line-height: 1.7; color: #262c3d; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { padding-left: 0; display: grid; gap: 6px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose u { text-decoration: none; font-weight: 600; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 8px 4px; text-align: left; }
.small-prose { font-size: .95rem; color: var(--muted); }

/* ----------------------------------------------------------------- Formulaires & dialogue */
.form-card { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 44px); }
.form-card > .display { margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: span 2; }
.field { display: grid; gap: 7px; font-size: .86rem; font-weight: 500; }
.field > span { color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--surface-2); font-size: 1rem; font-weight: 400; outline: 0; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(32, 80, 160, .08); }
.field em { font-style: normal; color: var(--red); font-size: .82rem; font-weight: 400; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot a { text-decoration: underline; }
.form-error { color: var(--red); font-size: .9rem; margin: 12px 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); font-weight: 500; font-size: .9rem; transition: all .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.dialog { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100% - 24px)); width: 100%; max-height: calc(100dvh - 24px); }
.dialog::backdrop { background: rgba(10, 15, 30, .55); backdrop-filter: blur(6px); }
.dialog[open] { animation: dlg .4s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dialog-card { position: relative; background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); display: block; }
.dialog-card .display { margin-bottom: 10px; }
.dialog-card .form-grid { margin-top: 20px; }
.dialog-card .btn-lg { margin-top: 18px; }
.dialog-x { position: absolute; top: 14px; right: 14px; }
.reserve-items { display: grid; gap: 8px; margin-top: 18px; }
.reserve-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--bg); }
.reserve-item img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; }
.reserve-item strong { flex: 1; font-weight: 500; font-size: .9rem; line-height: 1.3; }
.reserve-item b { font-weight: 600; white-space: nowrap; }
.done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 0; }

/* ----------------------------------------------------------------- Services */
.svc-list { display: grid; border-top: 1px solid var(--line-2); }
/* Liste des services : une pastille unique glisse sous la ligne survolée (aucun décalage de mise en page) */
:root { --glide: cubic-bezier(.22, 1, .36, 1); }
.svc-list { position: relative; }
.svc-glide {
  position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: 0; pointer-events: none;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(10, 15, 30, .04), 0 18px 40px -18px rgba(10, 15, 30, .22);
  opacity: 0; transform: translateY(var(--y, 0)) scale(.985);
  transition: transform .55s var(--glide), height .55s var(--glide), opacity .35s ease;
}
.svc-list.is-gliding .svc-glide { opacity: 1; transform: translateY(var(--y, 0)) scale(1); }
.svc-glide.no-anim { transition: opacity .35s ease; }
.svc-row { display: grid; grid-template-columns: 48px 56px 1fr auto 44px; align-items: center; gap: 22px; padding: 22px 20px; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.svc-row > * { position: relative; z-index: 1; }
.svc-row-main, .svc-num, .svc-row .svc-ico { transition: transform .55s var(--glide), color .35s, background .35s; }
.svc-row .round-btn .i { transition: transform .55s var(--glide); }
.svc-row:is(:hover, :focus-visible, .is-hover) .svc-row-main { transform: translateX(8px); }
.svc-row:is(:hover, :focus-visible, .is-hover) .svc-num { color: var(--navy); transform: translateX(4px); }
.svc-row:is(:hover, :focus-visible, .is-hover) .svc-ico { background: var(--ink); color: #fff; transform: rotate(-6deg) scale(1.04); }
.svc-row:is(:hover, :focus-visible, .is-hover) .round-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-row:is(:hover, :focus-visible, .is-hover) .round-btn .i { transform: rotate(45deg); }
.svc-list.is-gliding .svc-row { border-color: transparent; }
.svc-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--faint); }
.svc-row-main strong { display: block; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.svc-row-main small { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.svc-price { font-weight: 500; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--sky-soft); color: var(--navy); font-size: .9rem; }
.steps { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; padding: clamp(28px, 4vw, 56px); background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); }
.steps ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.4rem; color: var(--sky); line-height: 1; }
.steps h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.steps p { font-size: .9rem; color: var(--muted); }
.svc-head { display: flex; align-items: center; gap: 24px; }
.svc-layout { display: grid; grid-template-columns: 280px 1fr 300px; gap: clamp(24px, 3vw, 48px); align-items: start; }
/* Menu des services : la pastille sombre glisse vers le service choisi */
.svc-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.svc-nav .drawer-label { margin-top: 0; }
.svc-nav a { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: .9rem; color: var(--muted); transition: color .35s ease, background .25s; }
.svc-nav a:hover { background: var(--surface); color: var(--ink); }
.svc-nav a.is-on { background: var(--ink); color: #fff; }
.svc-nav.has-pill a.is-on, .svc-nav.has-pill a.is-on:hover { background: transparent; }
.svc-nav-pill {
  position: absolute; left: 0; right: 0; top: 0; z-index: 0; border-radius: 12px; background: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(10, 15, 30, .6); pointer-events: none;
  transform: translateY(var(--y, 0)); height: var(--h, 0);
  transition: transform .55s var(--glide), height .55s var(--glide);
}
/* Fondu enchaîné lors du changement de service : l'ancien contenu se superpose au nouveau (aucun instant vide),
   et la hauteur du conteneur glisse de l'ancienne à la nouvelle valeur */
.swap-old { pointer-events: none; animation: swapOut .28s ease forwards; }
.swap-new { animation: swapIn .55s var(--glide) both; animation-delay: .04s; }
@keyframes swapOut { to { opacity: 0; transform: translateY(-4px); } }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.svc-ico.pop .i { animation: icoPop .5s var(--glide); }
@keyframes icoPop { from { opacity: 0; transform: scale(.6) rotate(-20deg); } }

/* Transition douce entre toutes les pages (navigateurs compatibles), sans flash blanc */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .22s ease both vtOut; }
::view-transition-new(root) { animation: .32s var(--glide) both vtIn; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
.topbar { view-transition-name: site-topbar; }
.header { view-transition-name: site-header; }
.svc-nav .i { width: 18px; height: 18px; }
.svc-content { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 48px); }
.price-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.price-card-in { display: grid; gap: 12px; }
.svc-card-head { display: flex; align-items: center; gap: 20px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.svc-card-head .svc-ico.big { width: 60px; height: 60px; border-radius: 18px; }
.svc-card-head .svc-ico.big .i { width: 28px; height: 28px; }
.svc-card-head h1 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.svc-card-head p { margin-top: 6px; font-size: .98rem; }
.price-card .price.xl { margin: -4px 0 6px; }
.ticks { display: grid; gap: 8px; margin: 6px 0 12px; font-size: .92rem; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .i { color: var(--chip); stroke-width: 2.2; }

/* ----------------------------------------------------------------- Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: start; }
.contact-side { display: grid; gap: 16px; }
.info-card { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; }
.info-card .pill-status { justify-self: start; }
.info-list { display: grid; gap: 18px; }
.info-list li { display: flex; align-items: center; gap: 16px; }
.info-list small { display: block; color: var(--faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.info-list strong { font-weight: 500; font-size: 1.05rem; }

/* ----------------------------------------------------------------- Sélection */
.selection { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.selection > .empty { grid-column: 1 / -1; }
.sel-list { display: grid; gap: 12px; }
.sel-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 14px; padding-right: 22px; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); animation: fadeIn .4s var(--ease); }
.sel-item img { width: 110px; height: 110px; object-fit: contain; border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 6px; }
.sel-item h3 { font-size: 1rem; font-weight: 500; line-height: 1.35; }
.sel-item h3 a:hover { color: var(--navy); }
.sel-item .pcard-brand { display: block; }
.sel-item .stock { margin-top: 8px; }
.sel-right { display: grid; justify-items: end; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 40px; }
.qty button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--bg); }
.qty .i { width: 16px; height: 16px; }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-size: .92rem; }
.sel-remove { font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sel-remove:hover { color: var(--red); }
.sel-remove .i { width: 14px; height: 14px; }
.sel-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.sel-summary .form-card { padding: 28px; }
.sel-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sel-total strong { font-size: 1.8rem; font-weight: 500; letter-spacing: -.03em; }
.sel-summary .form-grid { margin-top: 20px; }
.sel-skeleton { height: 140px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--surface) 0%, #f0f0ed 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ----------------------------------------------------------------- Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; translate: -50% 0; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .92rem; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast a { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 500; }
.toast .i { color: #6fd16a; }

/* ----------------------------------------------------------------- Apparitions */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .pillar.reveal.is-in:nth-child(2), .js .pillar.reveal.is-in:nth-child(4) { transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------------- Responsive */
@media (max-width: 1240px) {
  .search-trigger { min-width: 0; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { width: 44px; padding: 0; justify-content: center; }
  .product-details { grid-template-columns: 1fr 1fr; }
  .product-details:not(:has(.specs)), .product-details:not(:has(.desc)) { grid-template-columns: 1fr 320px; }
  .help-card { grid-column: 1 / -1; position: static; grid-template-columns: auto 1fr auto auto; align-items: center; }
  .help-card h3 { margin: 0; }
  .help-card p { display: none; }
  .svc-layout { grid-template-columns: 240px 1fr; }
  .price-card { grid-column: 2; position: static; }
}
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .only-mobile { display: inline-grid !important; }
  button.only-mobile.btn { display: inline-flex !important; }
  .hide-md { display: none !important; }
  .brand img { height: 38px; }

  .header-in { gap: 8px; }
  .brand { margin-right: auto; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; }
  .hero-visual { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .bento-tile.t0 { grid-row: span 1; }
  .bento-tile.t0 .bento-name { font-size: 1.5rem; }
  .scroller { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .about-in { grid-template-columns: 1fr; }
  .about-copy { position: static; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters {
    position: fixed; inset: 0 auto 0 0; z-index: 95; width: min(380px, 92vw); overflow-y: auto; padding: 20px; background: var(--surface);
    transform: translateX(-100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  }
  .filters.is-open { transform: none; }
  .filters > form > .btn.only-mobile { position: sticky; bottom: 0; }
  body.filters-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 15, 30, .45); z-index: 94; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .mobile-buy {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .mobile-buy > div { display: grid; line-height: 1.2; min-width: 0; }
  .mobile-buy small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .75rem; }
  .page-product .footer { margin-bottom: 90px; }
  .steps { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { display: none; }
  .price-card { grid-column: auto; }
  .contact, .selection, .visit { grid-template-columns: 1fr; }
  .sel-summary { position: static; }
  .cat-index { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar-msg, .hide-sm { display: none !important; }
  .topbar-in { justify-content: space-between; }

  .hero-title { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero-stats { gap: 18px; }
  .hero-stats dd { font-size: .74rem; }
  .hero-in { padding-bottom: 40px; gap: 32px; }
  .hero-cta .btn { flex: 1; }
  .hero-visual { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .float-card, .fc1, .fc2 { position: relative; inset: auto; width: auto; border-radius: 18px; transform: none; animation: none; }
  .fc3, .glass-card { display: none; }
  .fc-img { padding: 12px; }
  .fc-meta { padding: 10px 12px 12px; }
  .fc-meta strong { font-size: .78rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 10px; }
  .bento-tile img, .bento-tile.t1 img { top: 26%; height: 44%; width: 66%; right: 6%; }
  .bento-tile.t0 img { top: 12%; height: 62%; width: 66%; }
  .bento-tile { padding: 16px; border-radius: 20px; }
  .bento-tile.t0, .bento-tile.t1 { grid-column: span 2; }
  .bento-name { font-size: 1.05rem; max-width: 80%; }
  .bento-ico { width: 38px; height: 38px; border-radius: 12px; }
  .scroller { grid-auto-columns: 72%; gap: 12px; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard { border-radius: 18px; }
  .pcard-body { padding: 12px 12px 14px; }
  .pcard-title { font-size: .85rem; }
  .pcard-foot { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; }
  .price { font-size: 1rem; }
  .pcard-save { opacity: 1; transform: none; width: 34px; height: 34px; top: 8px; right: 8px; }
  .pcard-badges { top: 10px; left: 10px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(2), .pillar:nth-child(4), .pillar.reveal.is-in:nth-child(2), .pillar.reveal.is-in:nth-child(4) { transform: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .visit-map { min-height: 300px; }
  .svc-row { grid-template-columns: 48px 1fr 36px; gap: 14px; }
  .svc-row .svc-num { display: none; }
  .svc-row .svc-price { grid-column: 2; justify-self: start; }
  .svc-row .round-btn { grid-row: 1; grid-column: 3; width: 36px; height: 36px; }
  .svc-ico { width: 44px; height: 44px; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  .svc-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .cat-block-subs { grid-template-columns: 1fr; }
  .cat-block-media { width: 72px; height: 72px; }
  .sel-item { grid-template-columns: 80px 1fr; padding-right: 14px; }
  .sel-item img { width: 80px; height: 80px; }
  .sel-right { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .product-details, .product-details:not(:has(.specs)), .product-details:not(:has(.desc)) { grid-template-columns: 1fr; }
  .help-card { grid-template-columns: 1fr; }
  .help-card p { display: block; }
  .gallery-main { border-radius: 24px; }
  .gallery-thumbs button { width: 64px; height: 64px; }
  .toolbar .sort span { display: none; }
  .toolbar { gap: 8px; }
  .sort .cs { min-width: 0; width: 158px; }
  .sort .cs-btn { height: 38px; padding: 0 12px 0 14px; font-size: .86rem; }
  .product-wrap .crumbs li:last-child { display: none; }
  .search-box { margin-top: 12px; max-height: calc(100dvh - 24px); }
}

/* Le champ de recherche du menu mobile garde toujours sa forme complète */
.search-trigger.wide { display: flex; width: 100%; min-width: 0; height: 46px; padding: 0 16px; justify-content: flex-start; }
.search-trigger.wide span { display: block; }
/* Bandeau mobile : statut, icône téléphone et langues, sur une seule ligne */
@media (max-width: 720px) {
  .hide-xs { display: none !important; }
  .topbar-in { gap: 12px; }
  .topbar .status { min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 1; }
  .topbar-links { gap: 14px; flex: none; }
  .topbar-links a { white-space: nowrap; }
}
