/* =====================================================================
   50 FACTORY — Refonte V1 · Design system & homepage
   Langage UI : surfaces off-white, cartes très arrondies, pills, un accent
   jaune 50Factory + noir. Animations transform/opacity uniquement.
   ===================================================================== */

:root {
  /* Couleurs */
  --bg: #F3F3F0;
  --bg-2: #E9E9E4;
  --surface: #FFFFFF;
  --surface-2: #F7F7F4;
  --ink: #0E0E0E;
  --ink-2: #3D3D3A;
  --ink-3: #75756F;
  --ink-4: #A3A39C;
  --line: rgba(14, 14, 14, .08);
  --line-2: rgba(14, 14, 14, .14);
  --yellow: #FFE600;
  --yellow-2: #F5D800;
  --yellow-soft: #FFF6A8;
  --yellow-ink: #6B5A00;
  --green: #178A4E;
  --green-soft: #E4F5EB;
  --red: #D8322E;
  --red-soft: #FCE9E8;
  --dark: #121212;
  --dark-2: #1C1C1C;
  --dark-3: #262626;
  --on-dark: #F5F5F2;
  --on-dark-2: rgba(245, 245, 242, .68);
  --on-dark-3: rgba(245, 245, 242, .52);

  /* Rayons */
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;

  /* Ombres */
  --shadow-1: 0 1px 2px rgba(14, 14, 14, .04), 0 2px 8px rgba(14, 14, 14, .04);
  --shadow-2: 0 2px 6px rgba(14, 14, 14, .05), 0 18px 40px -16px rgba(14, 14, 14, .18);
  --shadow-3: 0 8px 20px -8px rgba(14, 14, 14, .16), 0 40px 80px -30px rgba(14, 14, 14, .28);

  /* Typo */
  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t: 260ms;
  --t-slow: 420ms;

  /* Layout */
  --container: 1400px;
  --gutter: 24px;
  --header-h: 72px;
  --nav-h: 52px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05"; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); transition: top var(--t) var(--ease); }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--xs { width: 14px; height: 14px; }
.icon--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* ---------- Typo utilitaires ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 6px 12px 6px 8px; }
.eyebrow__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.eyebrow__dot .icon { width: 12px; height: 12px; }
.eyebrow--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--on-dark); }
.eyebrow--dark .eyebrow__dot { background: var(--yellow); color: var(--ink); }
.h-display { font-size: clamp(38px, 5vw, 66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.h-1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; }
.h-2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; }
.h-3 { font-size: 20px; line-height: 1.2; letter-spacing: -.015em; font-weight: 600; }
.lead { font-size: 17.5px; line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.hl { display: inline-block; background: var(--yellow); color: var(--ink); border-radius: var(--r-pill); padding: 0 .28em; margin: 0 -.04em; line-height: 1.05; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl--dark { background: var(--ink); color: var(--yellow); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; transition: transform var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-2); box-shadow: 0 10px 24px -10px rgba(120,100,0,.45); }
.btn--ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--ghost-dark, .section--white .btn--ghost-dark { background: rgba(0,0,0,.25); color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-dark:hover, .section--white .btn--ghost-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--yellow); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn__arrow { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); margin-right: -8px; transition: transform var(--t) var(--ease), background var(--t) var(--ease); }
.btn--yellow .btn__arrow, .btn--white .btn__arrow, .btn--ghost .btn__arrow { background: var(--ink); color: #fff; }
.btn__arrow .icon { width: 14px; height: 14px; }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }
.btn--yellow:hover .btn__arrow { transform: translate(2px, -2px) rotate(45deg); }
.btn-round { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface); transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.btn-round:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-round:active { transform: scale(.94); }
.btn-round--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-round--dark:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-round--sm { width: 36px; height: 36px; }
.btn-round--sm .icon { width: 16px; height: 16px; }
.btn-round:disabled { opacity: .35; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }
.link-arrow--ul { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.chip--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--on-dark); }
.chip--dark:hover { border-color: rgba(255,255,255,.5); }
.chip__picto { width: 28px; height: 18px; object-fit: contain; object-position: center; flex: none; }
.chip.is-active .chip__picto { filter: invert(1); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; white-space: nowrap; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--surface); border: 1px solid var(--line-2); }
.tag--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.tag--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag--green { background: var(--green-soft); color: var(--green); border-color: transparent; }
.tag--red { background: var(--red-soft); color: var(--red); border-color: transparent; }
.tag--glass { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: transparent; color: var(--ink); }

/* =====================================================================
   HEADER
   ===================================================================== */
.topbar { background: var(--ink); color: var(--on-dark-2); font-size: 12.5px; height: 36px; overflow: hidden; position: sticky; top: 0; z-index: 91; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 24px; }
.topbar__msgs { display: flex; gap: 28px; min-width: 0; flex: 1; height: 36px; align-items: center; position: relative; }
.topbar__msg { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 0; }
.topbar__msg > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar__msgs.is-measuring { overflow: hidden; }
.topbar__msgs.is-measuring .topbar__msg { flex: none; position: static; opacity: 1; transform: none; transition: none; }
.topbar__msgs.is-measuring .topbar__msg > span { overflow: visible; }
.topbar__msg strong { color: var(--on-dark); font-weight: 600; }
.topbar__msg .icon { width: 14px; height: 14px; color: var(--yellow); flex: none; }
/* Quand tout ne tient pas : un message à la fois, fondu + glissement, jamais de coupure */
.topbar__msgs.is-rotating .topbar__msg { position: absolute; left: 0; right: 0; top: 0; height: 36px; max-width: 100%; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.topbar__msgs.is-rotating .topbar__msg.is-current { opacity: 1; transform: none; pointer-events: auto; }
.topbar__msgs.is-rotating .topbar__msg.is-leaving { opacity: 0; transform: translateY(-6px); }
.topbar__links { display: flex; gap: 18px; flex: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-2); transition: color var(--t-fast); white-space: nowrap; }
.topbar__links a:hover { color: #fff; }
.topbar__links .icon { width: 13px; height: 13px; }
@media (max-width: 1023px) { .topbar__links { display: none; } .topbar__msgs { justify-content: center; } .topbar__msgs.is-rotating .topbar__msg { justify-content: center; } }
@media (max-width: 640px) { .hide-xs { display: none !important; } .topbar { font-size: 12px; } }

.header { position: sticky; top: 36px; z-index: 90; background: rgba(243, 243, 240, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px rgba(0,0,0,.25); background: rgba(255,255,255,.9); }
.header__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; height: 44px; }
.logo img { height: 34px; width: auto; }
@media (max-width: 640px) { .logo img { height: 28px; } }

/* Recherche */
.search { position: relative; max-width: 760px; width: 100%; justify-self: center; }
.search__form { display: flex; align-items: center; height: 50px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 4px 4px 18px; gap: 10px; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.search__form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,14,14,.06); }
.search__form .icon { color: var(--ink-3); }
.search__input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15px; height: 40px; }
.search__input::placeholder { color: var(--ink-3); }
.search__scope { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); white-space: nowrap; transition: background var(--t); }
.search__scope:hover { background: var(--bg-2); }
.search__scope .icon { width: 14px; height: 14px; }
.search__submit { height: 40px; padding: 0 18px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: background var(--t) var(--ease); }
.search__submit:hover { background: var(--yellow); color: var(--ink); }
.search__kbd { font-family: var(--mono); font-size: 11px; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; margin-right: 6px; }
@media (max-width: 1023px) { .search__submit span, .search__kbd, .search__scope span { display: none; } .search__submit { padding: 0 12px; } }

/* Panneau recherche */
.search__panel { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 20px; opacity: 0; transform: translateY(-6px) scale(.99); pointer-events: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); z-index: 30; }
.search.is-open .search__panel { opacity: 1; transform: none; pointer-events: auto; }
.search__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.search__title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search__chips[hidden], .search__results[hidden] { display: none; }
.search__chips .chip { min-height: 32px; font-size: 13px; padding: 0 12px; font-weight: 500; }
.search__results { display: flex; flex-direction: column; gap: 6px; }
.sresult { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-md); transition: background var(--t-fast); }
.sresult:hover { background: var(--surface-2); }
.sresult img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.sresult__name { font-size: 14px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sresult__meta { font-size: 12.5px; color: var(--ink-3); }
.sresult__price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.search__univers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.search__univ { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: var(--r-md); background: var(--surface-2); font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; hyphens: auto; transition: background var(--t-fast); }
.search__univ:hover { background: var(--yellow); }
.search__univ img { height: 26px; width: 56px; object-fit: contain; object-position: center; }
.search__hint { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.search__hint .icon { width: 16px; height: 16px; }
.search__empty { padding: 10px 8px; color: var(--ink-3); font-size: 14px; }
@media (max-width: 1023px) { .search__grid { grid-template-columns: 1fr; } .search__univers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Actions */
.header__actions { display: flex; align-items: center; gap: 6px; }
.hact { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: background var(--t-fast) var(--ease); position: relative; }
.hact:hover { background: var(--surface); }
.hact--icon { width: 44px; padding: 0; justify-content: center; }
.hact__label { display: flex; flex-direction: column; line-height: 1.1; }
.hact__label small { font-size: 11px; font-weight: 500; color: var(--ink-3); }
.hact--garage { border: 1px solid var(--line-2); background: var(--surface); padding-right: 14px; max-width: 220px; }
.hact--garage:hover { border-color: var(--ink); }
.hact--garage .hact__label b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.hact--garage.has-vehicle { border-color: var(--yellow-2); background: var(--yellow-soft); color: var(--ink); }
.hact--cart { background: var(--ink); color: #fff; padding: 0 16px 0 12px; }
.hact--cart:hover { background: #000; }
.hact__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; transition: transform var(--t) var(--ease); }
.hact__count.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }
.hact__badge { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid var(--bg); display: none; }
.hact__badge.is-on { display: block; }
.burger { display: none; }
@media (max-width: 1023px) {
  .header__main { grid-template-columns: auto 1fr; grid-template-areas: "logo actions" "search search"; gap: 0 12px; height: auto; }
  .header__main > :first-child { grid-area: logo; height: 64px; }
  .header__actions { grid-area: actions; justify-self: end; height: 64px; }
  .search { grid-area: search; justify-self: stretch; max-width: none; padding-bottom: 10px; }
  .search__form { height: 46px; }
  .burger { display: inline-grid; }
  .hact--garage, .hact--user, .hact--fav { display: none; }
  .hact--cart span.hact__txt { display: none; }
  .hact--cart { padding: 0 10px 0 12px; }
}

/* Navigation */
.nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); height: var(--nav-h); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background var(--t-fast) var(--ease), color var(--t-fast); position: relative; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--surface); color: var(--ink); }
.nav__link.is-current { color: var(--ink); }
.nav__link.is-current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--yellow); }
.nav__list--main { gap: 2px; }
.nav__list--main .nav__link { font-size: 15px; }
.nav__list--quick { gap: 2px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.nav__link--quick { font-size: 13.5px; font-weight: 500; color: var(--ink-3); height: 34px; padding: 0 12px; }
.nav__link--quick:hover { color: var(--ink); }
.nav__link--quick .icon { width: 14px; height: 14px; }
.nav__link .icon { width: 15px; height: 15px; transition: transform var(--t) var(--ease); }
.nav__link[aria-expanded="true"] .icon--chev { transform: rotate(180deg); }
.nav__link--cat { background: var(--ink); color: #fff; padding-left: 12px; }
.nav__link--cat:hover, .nav__link--cat[aria-expanded="true"] { background: #000; color: #fff; }
.nav__link--cat .icon { width: 17px; height: 17px; }
.nav__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,230,0,.25); }
.nav__link--new .nav__dot { background: var(--green); box-shadow: 0 0 0 3px rgba(29,158,91,.18); }

@media (max-width: 1023px) { .nav, .mega { display: none; } }
@media (max-width: 1180px) { .nav__link--quick:nth-child(3) { display: none; } }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 80; padding: 12px 0 24px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mega__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); overflow: hidden; }
.mega__bar { display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 16px 0 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mega__crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); flex: 1; min-width: 0; }
.mega__crumb b { color: var(--ink); font-weight: 600; }
.mega__crumb .icon { width: 14px; height: 14px; color: var(--ink-4); }
.mega__crumb .mega__crumbRoot { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.mega__all { font-size: 14px; }
.mega__cols { display: grid; grid-template-columns: 250px 250px minmax(0, 1fr) 280px; min-height: 460px; }
.mega__col { padding: 20px; }
.mega__col--univ { background: var(--surface-2); border-right: 1px solid var(--line); }
.mega__col--sub { border-right: 1px solid var(--line); }
.mega__col--fam { display: flex; flex-direction: column; }
.mega__famCta { align-self: flex-start; margin-top: auto; }
.mega__col--feat { background: var(--surface-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.mega__head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 4px 6px 14px; }
.mega__step { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.mega__list { display: flex; flex-direction: column; gap: 4px; }
.mega__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); font-size: 14.5px; font-weight: 600; text-align: left; width: 100%; transition: background var(--t-fast) var(--ease), color var(--t-fast); color: var(--ink); }
.mega__item:hover, .mega__item.is-active { background: var(--surface); box-shadow: var(--shadow-1); }
.mega__col--sub .mega__item:hover, .mega__col--sub .mega__item.is-active { background: var(--surface-2); box-shadow: none; }
.mega__item.is-active { background: var(--yellow) !important; }
.mega__item img { width: 34px; height: 22px; object-fit: contain; object-position: center; flex: none; }
.mega__item small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.mega__item .icon { margin-left: auto; width: 14px; height: 14px; opacity: .45; transition: transform var(--t-fast), opacity var(--t-fast); }
.mega__item.is-active .icon { opacity: 1; transform: translateX(2px); }
.mega__fam { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.mega__famItem { padding: 10px 10px; border-radius: var(--r-md); transition: background var(--t-fast); }
.mega__famItem:hover { background: var(--surface-2); }
.mega__famTitle { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.mega__famTitle .icon { width: 16px; height: 16px; color: var(--ink-3); }
.mega__famTitle .icon--arr { margin-left: auto; width: 13px; height: 13px; opacity: 0; transition: opacity var(--t-fast), transform var(--t-fast); }
.mega__famItem:hover .mega__famTitle .icon--arr { opacity: 1; transform: translateX(2px); }
.mega__famLinks { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink-3); }
.mega__famLinks a { transition: color var(--t-fast); }
.mega__famLinks a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mega__featCard { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1.15; background: var(--ink); color: #fff; display: block; }
.mega__featCard img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); opacity: .92; }
.mega__featCard:hover img { transform: scale(1.04); }
.mega__featCard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 60%); }
.mega__featTxt { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; }
.mega__featTxt b { display: block; font-size: 17px; letter-spacing: -.01em; line-height: 1.15; }
.mega__featTxt span { font-size: 13px; color: var(--on-dark-2); }
.mega__short { display: flex; flex-direction: column; gap: 2px; }
.mega__short a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; transition: background var(--t-fast); }
.mega__short a:hover { background: var(--surface); }
.mega__short .icon { width: 16px; height: 16px; color: var(--ink-3); }
.mega__short .icon--arr { margin-left: auto; width: 13px; height: 13px; }

.backdrop { position: fixed; inset: 0; background: rgba(14,14,14,.32); backdrop-filter: blur(2px); z-index: 70; opacity: 0; pointer-events: none; transition: opacity var(--t) var(--ease); }
.backdrop.is-on { opacity: 1; pointer-events: auto; }

/* =====================================================================
   DRAWER MOBILE (navigation par niveaux)
   ===================================================================== */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(420px, 92vw); z-index: 120; background: var(--surface); transform: translateX(-104%); transition: transform var(--t-slow) var(--ease-out); display: flex; flex-direction: column; box-shadow: var(--shadow-3); overflow: hidden; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__title { font-weight: 700; font-size: 16px; flex: 1; letter-spacing: -.01em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.drawer__back { display: none; }
.drawer.has-level .drawer__back { display: inline-grid; }
.drawer__body { position: relative; flex: 1; overflow: hidden; }
.drawer__level { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px; transform: translateX(100%); transition: transform var(--t-slow) var(--ease-out), opacity var(--t) var(--ease); opacity: 0; background: var(--surface); }
.drawer__level.is-current { transform: none; opacity: 1; }
.drawer__level.is-behind { transform: translateX(-28%); opacity: 0; }
.dlink { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 12px; border-radius: var(--r-md); font-size: 16px; font-weight: 600; text-align: left; transition: background var(--t-fast); }
.dlink:active { background: var(--surface-2); }
.dlink img { width: 40px; height: 24px; object-fit: contain; object-position: center; flex: none; }
.dlink .icon--chev { margin-left: auto; color: var(--ink-4); }
.dlink small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.dlink--all { background: var(--yellow); margin-bottom: 8px; }
.dlink--cat { background: var(--ink); color: #fff; margin: 4px 0; }
.dlink--cat small { color: var(--on-dark-2); }
.dlink--cat .icon--chev { color: var(--yellow); }
.dlink.is-current { color: var(--ink); }
.dlink.is-current::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-left: 6px; }
.dlink.is-current .icon--chev { display: none; }
.dlink--all .icon--chev { color: var(--ink); }
.dlink--sub { font-weight: 500; font-size: 15px; min-height: 48px; }
.drawer__group { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 18px 12px 6px; }
.drawer__foot { padding: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: none; }

/* Bottom bar mobile */
.bottombar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.bottombar__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bottombar__btn { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 52px; justify-content: center; font-size: 11px; font-weight: 600; color: var(--ink-3); border-radius: var(--r-md); position: relative; }
.bottombar__btn.is-active, .bottombar__btn:active { color: var(--ink); }
.bottombar__btn .icon { width: 22px; height: 22px; }
.bottombar__btn--cat .icon-wrap { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin-top: -4px; }
.bottombar__btn .hact__count { position: absolute; top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; font-size: 11px; }
@media (max-width: 1023px) { .bottombar { display: block; } body { padding-bottom: 72px; } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: 56px 0; }
/* Alternance blanc / gris pour délimiter les sections */
.section--white { background: var(--surface); }
.section--grey { background: var(--bg); }
.section--white .pcard, .section--white .fcard, .section--white .rcard, .section--white .stat:not(.stat--dark):not(.stat--img), .section--white .ccard--white, .section--white .promo__card--white, .section--white .brands, .section--white .ptabs { border: 1px solid var(--line); box-shadow: none; }
.section--white .pcard:hover, .section--white .fcard:hover { box-shadow: var(--shadow-2); }
.section--white .eyebrow:not(.eyebrow--dark), .section--white .tp-score, .section--white .btn--ghost:not(.btn--ghost-dark) { background: var(--surface-2); }
.section--white .brand { background: var(--bg); }
.section--white .brand--more { background: var(--ink); color: #fff; }
.section--white .brand--more:hover { background: var(--yellow); color: var(--ink); }
.section--white .fcard__img, .section--white .pcard__media { background: var(--bg); }
.section--white .chip { background: var(--surface-2); }
.section--grey .subrail .chip, .section--grey .ptabs { background: var(--surface); }
.section--tight { padding: 32px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section__head .h-2 { max-width: 640px; margin-top: 12px; }
.section__head .lead { max-width: 560px; margin-top: 10px; font-size: 16px; }
.section__ctrl { display: flex; align-items: center; gap: 10px; flex: none; }
@media (max-width: 768px) { .section { padding: 40px 0; } .section__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; } }

/* Reveal au scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); will-change: opacity, transform; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- HERO : bannière image pleine largeur ---------- */
.hero { position: relative; background: var(--dark); color: var(--on-dark); padding: 56px 0 64px; overflow: hidden; isolation: isolate; border-radius: 0 0 36px 36px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: 0; pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.8) 42%, rgba(8,8,8,.42) 75%, rgba(8,8,8,.55) 100%), linear-gradient(to top, rgba(8,8,8,.7), rgba(8,8,8,0) 45%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 40px; align-items: center; min-height: 560px; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; max-width: 640px; min-width: 0; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero__title { color: #fff; max-width: 14ch; }
.hero__lead { color: rgba(245,245,242,.82); max-width: 50ch; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; padding-top: 4px; }
.proof { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #fff; }
.proof .icon { width: 18px; height: 18px; color: var(--yellow); }
.proof__stars { display: inline-flex; gap: 2px; }
.proof__stars .icon { width: 14px; height: 14px; fill: #00B67A; stroke: none; color: #00B67A; }
.proof small { font-weight: 500; color: rgba(245,245,242,.7); }
.hero__card { background: var(--surface); color: var(--ink); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-3); }
.hero__cardHead { display: flex; flex-direction: column; gap: 2px; padding: 4px 8px 16px; }
.hero__cardHead b { font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.hero__cardHead span { font-size: 13.5px; color: var(--ink-3); }
.hero__card .finder__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero__card .finder__cta { grid-column: auto; }
.hero__card .finder__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
.hero__card .finder__foot > span { white-space: nowrap; font-size: 12.5px; }
.hero__card .finder__vues { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero__card .finder__vue { padding: 10px 12px; font-size: 13.5px; line-height: 1.25; }
.hero__card .finder__vue > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 480px) { .hero__card .finder__row { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; } .hero__card { max-width: 760px; } }
@media (max-width: 768px) { .hero { padding: 36px 0 44px; border-radius: 0 0 24px 24px; } .hero__card { padding: 12px; border-radius: var(--r-lg); } .hero__cardHead { padding: 8px 8px 12px; } .hero::before { background: linear-gradient(to bottom, rgba(8,8,8,.92) 0%, rgba(8,8,8,.8) 100%); } }

/* Finder */
.finder { background: var(--surface-2); border-radius: var(--r-lg); padding: 8px; position: relative; }
.finder__tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-2); border-radius: var(--r-pill); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.finder__tabs::-webkit-scrollbar { display: none; }
.finder__tab { height: 38px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: background var(--t) var(--ease), color var(--t), box-shadow var(--t); }
.finder__tab .icon { width: 15px; height: 15px; }
.finder__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.finder__pane { display: none; padding: 14px 8px 8px; }
.finder__pane.is-active { display: block; }
.finder__univ { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
.finder__univ::-webkit-scrollbar { display: none; }
.finder__univ .chip { flex: none; }
.finder__row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; }
.fsel { position: relative; }
.fsel select { width: 100%; height: 54px; appearance: none; -webkit-appearance: none; padding: 16px 40px 0 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color var(--t), box-shadow var(--t); }
.fsel select:hover { border-color: var(--ink-4); }
.fsel select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,14,14,.06); }
.fsel select:disabled { color: var(--ink-4); cursor: not-allowed; background: var(--surface-2); }
.fsel label { position: absolute; left: 16px; top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; }
.fsel .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; color: var(--ink-3); }
.finder__cta { height: 54px; border-radius: var(--r-md); padding: 0 20px; }
.finder__cta .btn__arrow { margin-right: -6px; }
.finder__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.finder__foot .icon { width: 15px; height: 15px; }
.finder__foot span { display: inline-flex; align-items: center; gap: 6px; }
.finder__ref { display: flex; gap: 8px; }
.finder__ref input { flex: 1; height: 54px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); padding: 0 16px; font-size: 15px; font-family: var(--mono); letter-spacing: .04em; }
.finder__ref input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,14,14,.06); }
.finder__vues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.finder__vue { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: border-color var(--t-fast), background var(--t-fast); }
.finder__vue:hover { border-color: var(--ink); background: var(--yellow-soft); }
.finder__vue .icon { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.finder__vue .icon--arr { margin-left: auto; width: 13px; height: 13px; flex: none; }
@media (max-width: 480px) { .hero__card .finder__vues { grid-template-columns: 1fr; } .hero__card .finder__foot > span { white-space: normal; } }
@media (max-width: 768px) { .finder__row { grid-template-columns: 1fr 1fr; } .finder__cta { grid-column: 1 / -1; } .finder__vues { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .finder__row { grid-template-columns: 1fr; } }

/* ---------- UNIVERS ---------- */
.univ-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 16px) / 3.18); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 12px; -webkit-overflow-scrolling: touch; }
.univ-track::-webkit-scrollbar { display: none; }
.univ-track > * { scroll-snap-align: start; }
.ucard { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); color: #fff; aspect-ratio: .92; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.ucard:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.ucard img.ucard__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.ucard:hover img.ucard__bg { transform: scale(1.05); }
.ucard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.86) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 75%); }
.ucard__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.ucard__picto { width: 40px; height: 20px; object-fit: contain; object-position: center; display: block; }
.ucard__pictoWrap { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 36px; border-radius: var(--r-pill); background: rgba(0,0,0,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); }
.ucard__title { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.ucard__count { font-size: 13px; color: var(--on-dark-2); margin-top: 4px; }
.ucard__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-right: 56px; }
.ucard__subs span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14); transition: background var(--t-fast); }
.ucard:hover .ucard__subs span { background: rgba(255,255,255,.18); }
.ucard__subs span.more { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.ucard .btn-round { position: absolute; right: 16px; bottom: 16px; }
@media (max-width: 1023px) { .univ-track { grid-auto-columns: calc((100% - 16px) / 2.15); } .ucard { aspect-ratio: .95; } }
@media (max-width: 560px) { .univ-track { grid-auto-columns: 84%; gap: 12px; } .ucard { aspect-ratio: 1.1; padding: 18px; } .ucard__title { font-size: 22px; } }

/* Sous-univers rail */
.subrail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 16px; padding: 4px 0 8px; -webkit-overflow-scrolling: touch; }
.subrail::-webkit-scrollbar { display: none; }
.subrail .chip { flex: none; min-height: 40px; font-weight: 500; }
.subrail .chip img { width: 28px; height: 18px; object-fit: contain; object-position: center; flex: none; }

/* ---------- MÉTHODES / GARAGE (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bcard { border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 320px; transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.bcard:hover { transform: translateY(-3px); }
.bcard--yellow { background: var(--yellow); grid-column: span 7; }
.bcard--dark { background: var(--dark); color: var(--on-dark); grid-column: span 5; }
.bcard--white { background: var(--surface); box-shadow: var(--shadow-1); }
.bcard__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bcard--yellow .bcard__bg { opacity: .6; mix-blend-mode: multiply; object-fit: contain; object-position: right top; width: 62%; left: auto; right: -4%; mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, #000 45%); -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, #000 45%); }
.bcard > :not(.bcard__bg) { position: relative; z-index: 1; }
.bcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bcard__title { font-size: 28px; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin-top: 18px; max-width: 16ch; }
.bcard__txt { font-size: 15px; margin-top: 10px; max-width: 46ch; color: var(--ink-2); }
.bcard--dark .bcard__txt { color: var(--on-dark-2); }
.bcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.bcard__foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bcard--yellow .chip { background: rgba(255,255,255,.55); border-color: transparent; }
.bcard--yellow .chip:hover { background: #fff; }
/* Mock UI "Mon garage" */
.garage-mock { margin-top: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.garage-mock__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(255,255,255,.06); font-size: 14px; }
.garage-mock__row img { width: 34px; height: 22px; object-fit: contain; object-position: center; flex: none; filter: invert(1); }
.garage-mock__row b { display: block; font-weight: 600; }
.garage-mock__row small { color: var(--on-dark-2); font-size: 12px; }
.garage-mock__row .tag { margin-left: auto; }
.garage-mock__add { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-md); border: 1px dashed rgba(255,255,255,.3); font-size: 13.5px; color: var(--on-dark-2); text-align: left; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.garage-mock__add:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .bcard--yellow, .bcard--dark { grid-column: span 12; } .bcard { min-height: 0; padding: 22px; } .bcard__title { font-size: 24px; } }

/* ---------- FAMILLES DE PIÈCES ---------- */
.fam-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fcard { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid transparent; box-shadow: var(--shadow-1); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t); }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.fcard__img { width: 84px; height: 84px; border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; flex: none; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform var(--t-slow) var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.06); }
.fcard__body { min-width: 0; flex: 1; display: block; }
.fcard__title { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.fcard__sub { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard .icon--arr { width: 16px; height: 16px; color: var(--ink-4); flex: none; margin-right: 6px; transition: transform var(--t), color var(--t); }
.fcard:hover .icon--arr { transform: translate(2px, -2px); color: var(--ink); }
@media (max-width: 1023px) { .fam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .fcard { padding: 10px; gap: 10px; flex-direction: column; align-items: stretch; position: relative; } .fcard__img { width: 100%; height: auto; aspect-ratio: 1.45; } .fcard__title { font-size: 15px; padding-right: 26px; } .fcard__sub { white-space: normal; } .fcard .icon--arr { position: absolute; right: 14px; bottom: 14px; margin: 0; } }

/* ---------- PRODUITS ---------- */
.ptabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { white-space: nowrap; flex: none; }
.ptabs button { height: 38px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: background var(--t) var(--ease), color var(--t); }
.ptabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ptabs .nav__dot { width: 7px; height: 7px; box-shadow: none; }
.carousel { position: relative; }
.carousel__track { 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 0 12px; -webkit-overflow-scrolling: touch; scroll-padding: 0; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 768px) { .carousel__track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; } }
@media (max-width: 420px) { .carousel__track { grid-auto-columns: 78%; } }

.pcard { background: var(--surface); border-radius: var(--r-lg); padding: 0 0 14px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; position: relative; box-shadow: var(--shadow-1); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); height: 100%; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pcard__media { display: block; position: relative; aspect-ratio: 1; border-radius: 0; overflow: hidden; background: var(--surface-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__badges { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.pcard__fav { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; z-index: 2; color: var(--ink); transition: transform var(--t) var(--ease), background var(--t), color var(--t); }
.pcard__fav:hover { transform: scale(1.08); background: #fff; }
.pcard__fav .icon { width: 16px; height: 16px; }
.pcard__fav.is-on { color: var(--red); }
.pcard__fav.is-on .icon { fill: currentColor; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 0 14px; flex: 1; }
.pcard__brand { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; }
.pcard__rating { display: inline-flex; align-items: center; gap: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pcard__rating .icon { width: 11px; height: 11px; fill: var(--ink); stroke: none; }
.pcard__title { font-size: 14.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__compat { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price__now { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.price__old { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }
.price__now.is-promo { color: var(--red); }
.btn-add { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background var(--t) var(--ease), transform var(--t) var(--ease); flex: none; }
.btn-add:hover { background: var(--yellow); color: var(--ink); }
.btn-add:active { transform: scale(.92); }
.btn-add.is-done { background: var(--green); color: #fff; }
.btn-add .icon { width: 18px; height: 18px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(23,138,78,.15); }
.stock small { font-weight: 500; color: var(--ink-3); }

/* ---------- MARQUES ---------- */
.brands { background: var(--surface); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-1); }
.brands__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.brands__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.brand { aspect-ratio: 1.7; border-radius: var(--r-md); background: var(--surface-2); display: grid; place-items: center; padding: 14px 18px; transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.brand:hover { background: var(--yellow-soft); transform: translateY(-2px); }
.brand img { max-height: 34px; width: auto; max-width: 100%; mix-blend-mode: multiply; }
.brand--more { background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; text-align: center; line-height: 1.2; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.brand--more:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.brand--more b { font-size: 22px; letter-spacing: -.02em; }
@media (max-width: 1100px) { .brands__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 768px) { .brands { padding: 24px 18px; border-radius: var(--r-lg); } .brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .brand { padding: 10px 12px; } .brand img { max-height: 26px; } .brands__head { flex-direction: column; align-items: flex-start; } }
@media (max-width: 480px) { .brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- PROMO ---------- */
.promo { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.promo__big { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 380px; background: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; isolation: isolate; }
.promo__big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; transition: transform 1.2s var(--ease); }
.promo__big:hover img { transform: scale(1.04); }
.promo__big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,0,0,.82) 20%, rgba(0,0,0,.25) 65%, rgba(0,0,0,.05)); }
.promo__pct { font-size: clamp(64px, 8vw, 110px); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: var(--yellow); }
.promo__pct small { font-size: .32em; font-weight: 600; letter-spacing: -.02em; color: #fff; margin-left: 8px; }
.promo__title { font-size: 26px; letter-spacing: -.02em; font-weight: 600; line-height: 1.12; margin-top: 12px; max-width: 18ch; }
.promo__txt { color: var(--on-dark-2); margin-top: 8px; max-width: 46ch; font-size: 15px; }
.promo__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.promo__side--single { grid-template-rows: 1fr; }
.promo__side--single .promo__card { min-height: 0; }
.promo__card { border-radius: var(--r-xl); padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 182px; }
.promo__card--yellow { background: var(--yellow); }
.promo__card--white { background: var(--surface); box-shadow: var(--shadow-1); }
.promo__card--img { background: var(--dark); color: #fff; isolation: isolate; }
.promo__cardBg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; transition: transform 1.2s var(--ease); }
.promo__card--img:hover .promo__cardBg { transform: scale(1.04); }
.promo__card--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%); }
.promo__card--img p { color: var(--on-dark-2); }
.promo__card--img .btn-round--dark { background: #fff; color: var(--ink); border-color: #fff; }
.promo__card--img .btn-round--dark:hover { background: var(--yellow); }
.promo__card h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; line-height: 1.12; margin-top: 12px; max-width: 16ch; }
.promo__card p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.promo__card .btn-round { position: absolute; right: 18px; bottom: 18px; }
.promo__card .promo__mini { position: absolute; right: -10px; top: -10px; width: 150px; height: 150px; object-fit: cover; border-radius: 50%; opacity: .95; mix-blend-mode: multiply; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } .promo__big { min-height: 320px; padding: 24px; } .promo__side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .promo__side { grid-template-columns: 1fr; } }

/* ---------- EXPERTISE ---------- */
.expert { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.expert__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 420px; background: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; isolation: isolate; }
.expert__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; z-index: -2; }
.expert__photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.15) 100%); }
.expert__photo h3 { font-size: 30px; letter-spacing: -.025em; font-weight: 600; line-height: 1.08; max-width: 20ch; }
.expert__photo p { color: var(--on-dark-2); margin-top: 8px; max-width: 50ch; font-size: 15px; }
.expert__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--surface); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-1); min-height: 150px; transition: transform var(--t) var(--ease); }
.stat:hover { transform: translateY(-3px); }
.stat__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.stat__icon .icon { width: 18px; height: 18px; }
.stat__num { font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-top: 18px; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-3); }
.stat__label { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.stat--dark { background: var(--dark); color: var(--on-dark); }
.stat--dark .stat__label { color: var(--on-dark-2); }
.stat--img { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.stat--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stat--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.1)); }
.stat--img .stat__label { color: var(--on-dark-2); }
@media (max-width: 1023px) { .expert { grid-template-columns: 1fr; } .expert__photo { min-height: 320px; } }
@media (max-width: 480px) { .expert__stats { grid-template-columns: 1fr 1fr; gap: 10px; } .stat { padding: 16px; min-height: 130px; } .stat__num { font-size: 26px; } }

/* ---------- AVIS ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.rcard { background: var(--surface); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 14px; }
.rcard__stars { display: flex; gap: 3px; }
.rcard__stars .icon { width: 16px; height: 16px; fill: #00B67A; stroke: none; }
.rcard__txt { font-size: 15.5px; line-height: 1.5; letter-spacing: -.005em; }
.rcard__meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.rcard__meta b { color: var(--ink); font-weight: 600; }
.rcard__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--ink); }
.tp-score { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border-radius: var(--r-pill); padding: 8px 18px 8px 10px; box-shadow: var(--shadow-1); }
.tp-score__txt { display: flex; flex-direction: column; line-height: 1.15; }
.tp-score__txt small { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.tp-score__box { display: inline-flex; gap: 2px; }
.tp-score__box span { width: 22px; height: 22px; background: #00B67A; display: grid; place-items: center; border-radius: 4px; }
.tp-score__box .icon { width: 13px; height: 13px; fill: #fff; stroke: none; }
.tp-score b { font-size: 16px; white-space: nowrap; letter-spacing: -.01em; }
@media (max-width: 1023px) { .reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 10px; -webkit-overflow-scrolling: touch; } .reviews::-webkit-scrollbar { display: none; } .reviews > * { scroll-snap-align: start; } }
@media (max-width: 480px) { .reviews { grid-auto-columns: 88%; } }
@media (min-width: 1024px) { .reviews.drag-scroll { cursor: auto; } }

/* ---------- COMMUNAUTÉ / PRO ---------- */
.community { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { border-radius: var(--r-xl); padding: 26px; min-height: 260px; display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; transition: transform var(--t-slow) var(--ease); }
.ccard:hover { transform: translateY(-3px); }
.ccard--dark { background: var(--dark); color: var(--on-dark); }
.ccard--white { background: var(--surface); box-shadow: var(--shadow-1); }
.ccard--img { color: #fff; background: var(--dark); }
.ccard--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.ccard--img:hover img { transform: scale(1.05); }
.ccard--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.55) 55%, rgba(0,0,0,.2)); }
.ccard h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; line-height: 1.12; margin-top: 16px; max-width: 18ch; }
.ccard p { font-size: 14.5px; margin-top: 8px; max-width: 40ch; color: var(--ink-2); }
.ccard--dark p, .ccard--img p { color: var(--on-dark-2); }
.ccard__foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
@media (max-width: 900px) { .community { grid-template-columns: 1fr; } .ccard { min-height: 0; } }

/* ---------- TOAST ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 12px 18px 12px 14px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-3); opacity: 0; pointer-events: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); z-index: 200; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { width: 18px; height: 18px; color: var(--yellow); }
@media (max-width: 1023px) { .toast { bottom: 88px; } }

/* =====================================================================
   BANNIÈRE RECHERCHE DE PIÈCES (pleine largeur, avant le footer)
   ===================================================================== */
.fband { position: relative; background: var(--yellow); color: var(--ink); padding: 72px 0 80px; margin-top: 24px; overflow: hidden; isolation: isolate; }
.fband__bg { position: absolute; right: -2%; top: -8%; width: 46%; max-width: 760px; height: auto; opacity: .38; mix-blend-mode: multiply; z-index: 0; pointer-events: none; mask-image: linear-gradient(to left, #000 40%, rgba(0,0,0,0)); -webkit-mask-image: linear-gradient(to left, #000 40%, rgba(0,0,0,0)); }
.fband .container { position: relative; z-index: 1; }
.fband__head { max-width: 760px; margin-bottom: 36px; }
.fband__head .h-1 { margin-top: 16px; text-wrap: balance; }
.fband__head .lead { margin-top: 14px; color: var(--ink-2); }
.fband .eyebrow { background: rgba(255,255,255,.6); border-color: transparent; }
.fband__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.fcol { background: var(--surface); color: var(--ink); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 48px -28px rgba(80,60,0,.35); }
.fcol__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; }
.fcol__icon .icon { width: 20px; height: 20px; }
.fcol__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; }
.fcol__txt { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.fcol__form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.fcol__cta { width: 100%; height: 52px; border-radius: var(--r-md); margin-top: 4px; }
.fcol__cta .btn__arrow { margin-right: -6px; }
.fcol__input { height: 54px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); padding: 0 16px; font-size: 15px; font-family: var(--mono); letter-spacing: .04em; width: 100%; }
.fcol__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,14,14,.06); }
.fcol__note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-top: auto; padding-top: 4px; }
.fcol__note .icon { width: 15px; height: 15px; color: var(--green); }
.fcol__list { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.fcol__list li { display: flex; align-items: center; gap: 8px; }
.fcol__list .icon { width: 15px; height: 15px; color: var(--green); flex: none; }
.fcol__vues { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.fcol__vues a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: 14px; font-weight: 600; transition: background var(--t-fast), transform var(--t-fast); }
.fcol__vues a:hover { background: var(--yellow-soft); }
.fcol__vues a .icon { width: 14px; height: 14px; color: var(--ink-3); transition: transform var(--t-fast); }
.fcol__vues a:hover .icon { transform: translate(2px, -2px); color: var(--ink); }
.fcol .btn--ghost.fcol__cta { margin-top: auto; }
@media (max-width: 1023px) { .fband { padding: 56px 0 60px; } .fband__grid { grid-template-columns: 1fr; } .fband__bg { width: 70%; opacity: .25; } }
@media (max-width: 640px) { .fband { padding: 44px 0 48px; margin-top: 8px; } .fcol { padding: 20px; border-radius: var(--r-lg); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; align-items: start; }
.faq__head { position: sticky; top: calc(36px + var(--header-h) + var(--nav-h) + 24px); }
.faq__head .h-2 { margin-top: 14px; max-width: 16ch; }
.faq__head .lead { margin-top: 12px; max-width: 42ch; font-size: 16px; }
.faq__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4px; font-size: 17px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; cursor: pointer; list-style: none; transition: color var(--t-fast); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--ink-2); }
.faq__plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform var(--t) var(--ease), background var(--t), color var(--t), border-color var(--t); }
.faq__plus .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__a { padding: 0 60px 22px 4px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 62ch; }
.faq__item[open] .faq__a { animation: faqIn .32s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) { .faq { grid-template-columns: 1fr; gap: 24px; } .faq__head { position: static; } .faq__q { font-size: 16px; padding: 16px 0; } .faq__a { padding: 0 40px 18px 0; } }

/* ---------- Réassurance (au-dessus du footer) ---------- */
.reas { background: var(--surface); border-top: 1px solid var(--line); }
.reas--bottom { background: var(--bg); }
.reas--top { background: var(--surface); border-top: 0; margin-top: -36px; padding-top: 36px; position: relative; z-index: 0; border-bottom: 1px solid var(--line); }
.hero { z-index: 1; }

@media (max-width: 640px) { .reas--top { margin-top: -24px; padding-top: 24px; } }
.reas__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.reas__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 0; padding: 6px 12px; }
.reas__item + .reas__item { border-left: 1px solid var(--line); }
.reas__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex: none; }
.reas__icon .icon { width: 21px; height: 21px; }
.reas__item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.reas__item small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 1023px) { .reas__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; padding-top: 22px; padding-bottom: 22px; } .reas__item + .reas__item { border-left: 0; } .reas__item:nth-child(even) { border-left: 1px solid var(--line); } }
@media (max-width: 480px) { .reas__item { gap: 8px; padding: 4px 8px; } .reas__icon { width: 40px; height: 40px; } .reas__icon .icon { width: 18px; height: 18px; } .reas__item b { font-size: 14px; } .reas__item small { font-size: 12px; } }

/* =====================================================================
   FOOTER (pleine largeur)
   ===================================================================== */
.footer { background: var(--dark); color: var(--on-dark); }
.footer__inner { padding-top: 56px; padding-bottom: 28px; }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .logo img { height: 34px; }
.footer__tagline { font-size: 22px; letter-spacing: -.02em; font-weight: 600; line-height: 1.2; margin-top: 22px; max-width: 22ch; }
.footer__tagline .hl { background: var(--yellow); color: var(--ink); }
.footer__addr { margin-top: 18px; font-size: 14px; color: var(--on-dark-2); line-height: 1.6; }
.footer__addr a { color: var(--on-dark); }
.footer__social { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 10px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 600; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.footer__social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer__social .icon { width: 15px; height: 15px; }
.footer__news { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 24px; }
.footer__news h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.footer__news p { color: var(--on-dark-2); font-size: 14px; margin-top: 6px; }
.footer__form { display: flex; gap: 8px; margin-top: 16px; }
.footer__form input { flex: 1; height: 50px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.25); color: #fff; padding: 0 18px; font-size: 15px; min-width: 0; }
.footer__form input::placeholder { color: var(--on-dark-3); }
.footer__form input:focus { outline: none; border-color: var(--yellow); }
.footer__form .btn { flex: none; }
.footer__consent { font-size: 12px; color: var(--on-dark-3); margin-top: 10px; }
.footer__consent a { text-decoration: underline; text-underline-offset: 3px; }
.footer__reas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.footer__reasItem { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.footer__reasItem .icon { width: 18px; height: 18px; color: var(--yellow); flex: none; }
.footer__reasItem small { display: block; font-weight: 500; color: var(--on-dark-3); font-size: 12px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.35fr; gap: 28px; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__col h4 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14.5px; color: var(--on-dark-2); transition: color var(--t-fast); display: inline-flex; align-items: center; gap: 6px; }
.footer__col a:hover { color: #fff; }
.footer__col a .tag { height: 20px; font-size: 10.5px; padding: 0 7px; white-space: nowrap; }
.footer__col--contact .footer__contactBtn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(255,255,255,.06); font-size: 14px; color: #fff; margin-bottom: 8px; transition: background var(--t-fast); }
.footer__col--contact .footer__contactBtn:hover { background: rgba(255,255,255,.12); }
.footer__col--contact .footer__contactBtn .icon { width: 16px; height: 16px; color: var(--yellow); }
.footer__col--contact small { display: block; font-size: 12px; color: var(--on-dark-3); }
.footer__mid { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.footer__pay { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__payLabel { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--on-dark-2); white-space: nowrap; }
.footer__payLabel .icon { width: 16px; height: 16px; color: var(--yellow); }
.footer__payList { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.paybadge { width: 48px; height: 26px; padding: 0 6px; border-radius: 5px; background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: none; overflow: hidden; }
.paybadge img { height: auto; width: auto; max-height: 13px; max-width: 36px; display: block; }
.paybadge img[alt="Mastercard"] { max-height: 16px; }
.paybadge--klarna { background: #FFB3C7; padding: 0 6px; }
.paybadge--klarna img { max-height: 21px; height: 21px; max-width: 40px; width: auto; border-radius: 0; }
.paybadge--txt { width: auto; min-width: 58px; padding: 0 10px; color: var(--ink); font-size: 10.5px; font-weight: 600; white-space: nowrap; letter-spacing: -.01em; }
.paybadge--txt b { font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.paybadge--txt .icon { width: 13px; height: 13px; }
.footer__lang { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer__lang a { font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.14); color: var(--on-dark-2); transition: background var(--t-fast), color var(--t-fast); }
.footer__lang a:hover, .footer__lang a.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 22px 0 18px; }
.footer__legal a { font-size: 12.5px; color: var(--on-dark-3); transition: color var(--t-fast); }
.footer__legal a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--on-dark-3); padding-top: 8px; }
.footer__bottom a.made { color: var(--on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--yellow); }
.footer__bottom a.made:hover { color: var(--yellow); }
@media (max-width: 1023px) { .footer__inner { padding-top: 40px; padding-bottom: 24px; } .footer__top { grid-template-columns: 1fr; gap: 28px; } .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } .footer__reas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer__inner { padding-top: 32px; padding-bottom: 20px; } .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .footer__form { flex-direction: column; } .footer__form .btn { width: 100%; } .footer__reas { grid-template-columns: 1fr; } .footer__tagline { font-size: 20px; } .footer__mid { flex-direction: column; align-items: flex-start; } }

/* Impression / utilitaires */
@media (max-width: 768px) { .hide-mobile { display: none !important; } }
@media (min-width: 1024px) { .only-mobile { display: none !important; } }

/* ---------- Drag-to-scroll (souris) ---------- */
.drag-scroll { cursor: grab; }
.drag-scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.drag-scroll.is-dragging * { pointer-events: none; }
.drag-scroll.is-settling { scroll-snap-type: none; }
.drag-scroll:active { cursor: grabbing; }
@media (hover: none) { .drag-scroll { cursor: auto; } }
