/* 26.10.26 - Webbax | service-machine.ch - Styles du site vélos Service Émotion */
/* 09.11.26 - Webbax | service-bike.ch - Palette alignée sur le vert du logo Service E-Bike (#00a651, texte blanc sur les boutons verts) */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f3f2ee;
  --surface: #ffffff;
  --card: #e9e8e2;
  --ink: #12161b;
  --ink-2: #2a3038;
  --muted: #5f656d;
  --line: #d9d7cf;
  --green: #00a651;
  --green-dark: #008c44;
  --lime: #3dcd78;
  --green-ink: #00692c;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.01em; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent; font-weight: 650; font-size: 15px; line-height: 1.1; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s; white-space: nowrap; background: none; }
.btn:hover { transform: translateY(-2px); }
.btn--call { background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 10px 30px -12px rgba(0, 166, 81, .9); }
.btn--call:hover { background: var(--green-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--wa { background: #1fa855; color: #fff; }
.btn--sm { min-height: 42px; padding: .55em 1.1em; font-size: 14px; }
.btn--lg { min-height: 56px; padding: .9em 1.6em; font-size: 16px; }
.btn--block { width: 100%; }
.btn .ico { width: 1.25em; height: 1.25em; }

.kicker { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 18px; font: 600 12px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 166, 81, .22); }

/* Barre admin */
.adminbar { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 8px var(--gutter); background: #000; color: #cfd3d8; font-size: 13px; }
.adminbar a { color: #fff; font-weight: 600; }
.adminbar span { margin-left: auto; color: var(--lime); }

/* En-tête */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(243, 242, 238, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.topbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(0, 0, 0, .25); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 92px; transition: height .35s var(--ease); }
.brand img { height: 34px; width: auto; transition: height .35s var(--ease); }
.topbar.is-scrolled .topbar__in { height: 72px; }
.topbar.is-scrolled .brand img { height: 28px; }
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease); }
.nav a:hover { background: #fff; border-color: var(--green); color: var(--green-ink); transform: translateY(-1px); }

/* Héro */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__title { font-size: clamp(46px, 6.5vw, 100px); font-weight: 900; font-style: italic; font-stretch: 100%; text-transform: uppercase; letter-spacing: -.035em; line-height: .86; margin-bottom: 28px; }
.hero__title .line { display: block; animation: rise .9s var(--ease) both; }
.hero__title .line + .line { animation-delay: .08s; }
.hero__title .line--accent { color: transparent; -webkit-text-stroke: 2px var(--ink); background: linear-gradient(100deg, var(--green), var(--lime)) no-repeat 0 82% / 100% 22%; -webkit-background-clip: border-box; padding-right: .08em; }
.hero__lead { max-width: 34em; margin: 0 0 30px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); animation: rise .9s .16s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; animation: rise .9s .24s var(--ease) both; }
.hero__stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--line); animation: rise .9s .32s var(--ease) both; }
.hero__stats dt { font: italic 900 clamp(30px, 3.4vw, 44px)/1 var(--display); font-stretch: 115%; }
.hero__stats dd { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.showcase { position: relative; background: var(--bg); aspect-ratio: 1 / 1; max-width: 640px; width: 100%; justify-self: end; animation: rise 1s .2s var(--ease) both; }
.showcase__blob { position: absolute; inset: 7%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: linear-gradient(140deg, #e3e2db, #d3d1c8); animation: morph 14s ease-in-out infinite; }
.showcase__blob::after { content: ""; position: absolute; right: 2%; top: 10%; width: 34%; height: 34%; border-radius: 50%; background: linear-gradient(135deg, var(--lime), var(--green)); filter: blur(2px); opacity: .9; }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; transform: rotate(6deg); } }
.showcase__item { position: absolute; inset: 0; mix-blend-mode: multiply; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateX(40px) scale(.96); transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s .7s; }
.showcase__item.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.showcase__item img { width: 96%; }
.showcase__label { position: absolute; left: 4%; bottom: 6%; z-index: 2; display: grid; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s; gap: 2px; padding: 14px 18px; background: var(--surface); border-radius: var(--radius-sm); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); max-width: 78%; }
.showcase__label small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.showcase__label strong { font: italic 800 19px/1.1 var(--display); font-stretch: 108%; }
.showcase__label em { font-style: normal; font-weight: 650; color: var(--green-ink); font-size: 14px; }
.showcase__label.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.showcase__dots { position: absolute; z-index: 2; right: calc(4% - 12px); bottom: calc(8% - 12px); display: flex; gap: 0; }
.showcase__dots button { box-sizing: content-box; width: 9px; height: 9px; padding: 0; border: 12px solid transparent; border-width: 12px 6px; border-radius: 99px; background: rgba(18, 22, 27, .22) padding-box; cursor: pointer; transition: width .35s var(--ease), background-color .3s; }
.showcase__dots button.is-on { width: 28px; background-color: var(--ink); }

/* Bandeau marques */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 20px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font: italic 800 clamp(22px, 2.6vw, 34px)/1 var(--display); font-stretch: 118%; text-transform: uppercase; white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section-head { display: flex; flex-direction: column; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.03em; }
.catalog { padding: clamp(56px, 8vw, 110px) 0; }

/* Filtres */
.filters { display: grid; gap: 16px; margin-bottom: 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip span { font-size: 12px; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on span { color: var(--lime); }
.filters__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; }
.field { position: relative; display: flex; align-items: center; }
.field input, .field select { width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 15px; appearance: none; -webkit-appearance: none; transition: border-color .2s; }
.field select { padding-right: 42px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2312161b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; cursor: pointer; }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field--search .ico { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.field--search input { padding-left: 44px; }
.count { margin: 0 0 18px; font-size: 14px; color: var(--muted); font-weight: 500; }

/* Cartes */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); animation: fade .5s var(--ease) both; }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(18, 22, 27, .45); }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
.card__media { position: relative; aspect-ratio: 4 / 3.3; margin: 10px 10px 0; border-radius: calc(var(--radius) - 8px); background: var(--card); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06) rotate(-1deg); }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 650; letter-spacing: .02em; z-index: 1; }
.badge--promo { background: var(--lime); color: var(--ink); }
.card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.card__brand { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; color: var(--muted); }
.card__brand i, .buybox__brand i { font-style: normal; color: var(--green); }
.card__name { font: italic 800 21px/1.12 var(--display); font-stretch: 106%; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.card__price { display: flex; flex-direction: column; font-weight: 700; font-size: 17px; }
.card__price s, .buybox__price s { font-size: .72em; font-weight: 500; color: var(--muted); }
.card__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background-color .3s, transform .4s var(--ease); }
.card:hover .card__go { background: var(--green); color: #fff; transform: rotate(-35deg); }
.empty { padding: 50px 20px; text-align: center; background: var(--surface); border-radius: var(--radius); }
.empty a { font-weight: 700; color: var(--green-ink); }

/* Atouts */
.usp { padding: clamp(56px, 8vw, 110px) 0; background: var(--surface); }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usp__item { padding: 28px 24px 30px; border-radius: var(--radius); background: var(--bg); transition: background-color .3s, color .3s; }
.usp__item:hover { background: var(--ink); color: #fff; }
.usp__item:hover p { color: #c9cdd2; }
.usp__num { display: block; margin-bottom: 40px; font: italic 900 46px/1 var(--display); font-stretch: 120%; color: transparent; -webkit-text-stroke: 1.5px var(--green); }
.usp__item h3 { font-size: 23px; font-weight: 800; font-style: italic; font-stretch: 106%; margin-bottom: 10px; }
.usp__item p { margin: 0; color: var(--muted); font-size: 15px; transition: color .3s; }

/* Appel à l'action */
.cta { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) 0; background: var(--ink); color: #fff; }
.cta::before { content: ""; position: absolute; left: -10%; top: -60%; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle, rgba(0, 166, 81, .35), transparent 65%); }
.cta__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.03em; max-width: 14em; }
.cta p { margin: 14px 0 0; max-width: 36em; color: #c9cdd2; font-size: 17px; }
.cta__phone { display: inline-flex; align-items: center; gap: 16px; padding: 20px 30px; border-radius: 999px; background: var(--green); color: #fff; font: italic 900 clamp(24px, 3vw, 40px)/1 var(--display); font-stretch: 112%; white-space: nowrap; transition: transform .3s var(--ease), background-color .3s; animation: pulse 2.6s ease-out infinite; }
.cta__phone:hover { transform: scale(1.04); background: var(--green-dark); }
.cta__phone .ico { width: .9em; height: .9em; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 166, 81, .55); } 70%, 100% { box-shadow: 0 0 0 22px rgba(0, 166, 81, 0); } }

/* Pied de page */
.footer { background: #0b0e11; color: #c9cdd2; padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 38px; width: auto; margin-bottom: 22px; }
.footer__brand p { margin: 0 0 18px; max-width: 26em; }
.footer h3 { font: 600 12px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: #7c838c; margin-bottom: 18px; }
.footer__phone { display: block; font: italic 900 30px/1 var(--display); font-stretch: 112%; color: #fff; margin-bottom: 16px; transition: color .2s; }
.footer__phone:hover, .footer__shop:hover { color: var(--lime); }
.footer__line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; transition: color .2s; }
a.footer__line:hover { color: #fff; }
.footer__line .ico { margin-top: .2em; color: var(--green); }
.footer__shop { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; transition: color .2s; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 50px; padding-top: 22px; padding-bottom: 24px; border-top: 1px solid #1f252c; font-size: 13px; color: #7c838c; }

.callbar { display: none; }

/* Fiche vélo */
.crumbs { display: flex; gap: 10px; padding: 22px 0 6px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink); font-weight: 600; }
.crumbs a:hover { color: var(--green-ink); }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); background: #fff4cc; font-weight: 600; }
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 60px); padding: 16px 0 40px; align-items: start; }
/* 09.11.26 - Webbax | service-bike.ch - Galerie : grande photo 4:3, flèches, compteur, vignettes en bande */
.gallery { min-width: 0; }
.gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--card); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .3s, transform .6s var(--ease); cursor: zoom-in; }
.gallery__main:hover img { transform: scale(1.03); }
.gallery__main .badge { top: 18px; left: 18px; font-size: 13px; }
.gallery__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 6px 20px rgba(18, 22, 27, .12); cursor: pointer; opacity: 0; transition: opacity .25s, transform .25s var(--ease), background-color .2s; }
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }
.gallery__nav--prev .ico { transform: rotate(180deg); }
.gallery__main:hover .gallery__nav, .gallery__nav:focus-visible { opacity: 1; }
.gallery__nav:hover { background: var(--green); color: #fff; transform: scale(1.06); }
.gallery__count { position: absolute; right: 16px; bottom: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(18, 22, 27, .72); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { flex: 0 0 auto; width: 112px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--radius-sm); background: var(--card); overflow: hidden; cursor: pointer; opacity: .55; scroll-snap-align: start; transition: opacity .25s, box-shadow .25s; }
.gallery__thumbs button:hover { opacity: .85; }
.gallery__thumbs button.is-on { opacity: 1; outline: 2px solid var(--green); outline-offset: -2px; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buybox { position: sticky; top: 96px; padding: clamp(24px, 3vw, 36px); background: var(--surface); border-radius: var(--radius); }
.buybox__brand { margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; color: var(--muted); }
.buybox h1 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 900; font-style: italic; font-stretch: 108%; letter-spacing: -.02em; line-height: 1; }
.buybox__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 0; font: italic 900 clamp(28px, 3vw, 38px)/1 var(--display); font-stretch: 110%; color: var(--ink); }
.buybox__note { margin: 18px 0 0; padding: 12px 16px; border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; background: #e6f4ec; color: var(--green-ink); font-weight: 600; font-size: 15px; }
.buybox__lead { margin: 18px 0 0; color: var(--ink-2); }
.buybox__actions { display: grid; gap: 10px; margin-top: 26px; }
.buybox__alt { display: flex; gap: 10px; }
.buybox__alt .btn { flex: 1; }
.buybox__perks { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.buybox__perks li { display: flex; gap: 10px; align-items: center; }
.buybox__perks .ico { color: var(--green-ink); }
/* 09.11.26 - Webbax | service-bike.ch - Bande « En images » + fiche technique en grille + visionneuse */
.moods { padding: clamp(50px, 7vw, 90px) 0; background: var(--ink); color: #fff; overflow: hidden; }
.moods__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.moods .kicker { color: #aeb4ba; }
.moods h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.03em; }
.moods__arrows { display: flex; gap: 10px; }
.moods__arrows button { display: grid; place-items: center; width: 54px; height: 54px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
.moods__arrows button:hover { background: var(--green); border-color: var(--green); }
.moods__arrows button:first-child .ico { transform: rotate(180deg); }
.moods__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.moods__track::-webkit-scrollbar { display: none; }
.moods__item { flex: 0 0 clamp(280px, 56vw, 820px); aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--radius); background: var(--card); overflow: hidden; cursor: zoom-in; scroll-snap-align: start; }
.moods__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.moods__item:hover img { transform: scale(1.04); }
.details { padding: clamp(50px, 7vw, 90px) 0; }
.details__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.details__head { position: sticky; top: 110px; }
.details__head h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.03em; }
.details__head p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.details__head a { color: var(--green-ink); font-weight: 700; white-space: nowrap; }
.specs { position: relative; padding: clamp(10px, 2vw, 18px) clamp(20px, 3vw, 36px) clamp(20px, 3vw, 30px); background: var(--surface); border-radius: var(--radius); }
.specs .rte > h3:first-child { display: none; }
.specs table { display: block; width: 100%; border-collapse: collapse; }
.specs tbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 40px); }
.specs tr { display: flex; flex-direction: column; gap: 5px; padding: 16px 0; border-bottom: 1px solid #ecebe6; }
.specs td { padding: 0; }
.specs td:first-child { color: var(--green-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1.3; }
.specs td + td { color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.specs.is-folded .rte { max-height: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.specs__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 13px 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; font-size: 15px; cursor: pointer; transition: background-color .2s; }
.specs__more:hover { background: var(--green); }
.specs__more .ico { transform: rotate(90deg); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(11, 14, 17, .96); animation: fade .25s var(--ease) both; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 12px; background: #fff; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.lightbox__close { top: 18px; right: 18px; font-size: 32px; line-height: 1; }
.lightbox__nav { top: 50%; margin-top: -27px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--prev .ico { transform: rotate(180deg); }
.lightbox__nav--next { right: 18px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--green); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #c9cdd2; font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.has-lightbox, .has-lightbox body { overflow: hidden; }
.rte { font-size: 16.5px; color: var(--ink-2); }
.rte p { margin: 0 0 1em; }
.rte strong, .rte b { color: var(--ink); }
.rte ul, .rte ol { margin: 0 0 1.4em; padding: 0; list-style: none; display: grid; gap: 6px; }
.rte li { position: relative; padding-left: 22px; }
.rte li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.rte h2, .rte h3, .rte h4 { margin: 1.6em 0 .6em; font-style: italic; font-weight: 800; font-size: 24px; }
.rte p > strong:only-child { display: block; margin-top: 1.4em; font: italic 800 22px/1.15 var(--display); font-stretch: 106%; }
.related { padding: clamp(40px, 6vw, 80px) 0; background: var(--surface); }

/* 404 */
.lost { padding: clamp(60px, 12vw, 160px) 0; }
.lost h1 { font-size: clamp(48px, 8vw, 110px); font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 20px; }
.lost p { max-width: 34em; font-size: 18px; color: var(--ink-2); margin: 0 0 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Tablette ===== */
@media (max-width: 1024px) {
  .hero__in { grid-template-columns: 1fr; }
  .showcase { justify-self: center; max-width: 520px; }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .details__in { grid-template-columns: 1fr; }
  .details__head { position: static; }
  .gallery__nav { opacity: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .topbar__in { height: 84px; }
  .brand img { height: 32px; }
  .nav a { white-space: nowrap; padding: 0 14px; }
  .filters__row { grid-template-columns: 1fr 1fr; }
  .field--search { grid-column: 1 / -1; }
}
/* 09.11.26 - Webbax | service-bike.ch - Tablette : menu masqué pour laisser le logo lisible (il était écrasé à ~100 px de large) */
@media (max-width: 960px) {
  .nav { display: none; }
  .topbar .hsearch-toggle { margin-left: auto; }
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .topbar__in { height: 72px; gap: 12px; }
  .brand img { height: 24px; }
  .topbar.is-scrolled .topbar__in { height: 60px; }
  .topbar.is-scrolled .brand img { height: 22px; }
  .nav { display: none; }
  .topbar .btn--call { margin-left: auto; padding: 0; width: 46px; min-height: 46px; }
  .topbar .btn--call span { display: none; }
  .hero__title { font-size: clamp(38px, 12.4vw, 72px); }
  .hero__title .line--accent { -webkit-text-stroke-width: 1.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 18px; }
  .hero__stats dd { font-size: 12px; }
  .filters__row { grid-template-columns: 1fr 1fr; }
  .field--search { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card { border-radius: 16px; }
  .card__media { margin: 6px 6px 0; border-radius: 12px; }
  .card__body { padding: 10px 12px 14px; gap: 4px; }
  .card__brand { font-size: 10px; letter-spacing: .08em; }
  .card__brand i, .card__brand span { display: none; }
  .card__name { font-size: 16px; }
  .card__price { font-size: 14px; }
  .card__go { display: none; }
  .usp__grid { grid-template-columns: 1fr; }
  .usp__num { margin-bottom: 18px; }
  .cta__phone { width: 100%; justify-content: center; }
  .gallery__main { border-radius: 16px; }
  .gallery__nav { width: 42px; height: 42px; margin-top: -21px; }
  .gallery__nav--prev { left: 10px; }
  .gallery__nav--next { right: 10px; }
  .gallery__count { right: 12px; bottom: 12px; font-size: 12px; }
  .gallery__thumbs button { width: 84px; }
  .moods__arrows { display: none; }
  .moods__track { gap: 10px; }
  .moods__item { flex-basis: 84vw; border-radius: 16px; }
  .specs tbody { grid-template-columns: 1fr; }
  .specs tr { padding: 13px 0; }
  .lightbox__nav { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 14, 17, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .callbar .btn { flex: 1; min-height: 50px; }
  .callbar .btn--ghost { border-color: #fff; color: #fff; }
  .adminbar span { margin-left: 0; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .card__brand i, .card__brand span { display: inline; }
}

/* 09.11.26 - Webbax | service-bike.ch - SEO : le H1 devient l'accroche, le slogan passe en paragraphe (même rendu) */
p.hero__title { font-family: var(--display); margin-top: 0; font-stretch: 90%; }

/* 09.11.26 - Webbax | service-bike.ch - Recherche : loupe dans l'en-tête, grande recherche en surimpression (fond flouté, résultats en vignettes) */
.hsearch-toggle { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.hsearch-toggle:hover { border-color: var(--green); transform: scale(1.06); }
.hsearch { display: none; position: fixed; inset: 0; z-index: 90; overflow-y: auto; padding: clamp(16px, 9vh, 96px) max(var(--gutter), calc((100% - 900px) / 2)) 32px; background: rgba(11, 14, 17, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hsearch.is-open { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 14px 12px; animation: hsearch-in .25s var(--ease); }
@keyframes hsearch-in { from { opacity: 0; transform: translateY(-12px); } }
.hsearch__field { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 24px; border-radius: 999px; background: var(--surface); color: var(--green); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); }
.hsearch__field .ico { width: 22px; height: 22px; }
.hsearch__field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font: 500 19px/1 var(--text); color: var(--ink); }
.hsearch__field input::placeholder { color: var(--muted); }
.hsearch__field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.hsearch__close { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background-color .2s; }
.hsearch__close:hover { background: rgba(255, 255, 255, .22); }
.hsearch__panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); }
.hres { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 14px; border-radius: 16px; background: var(--bg); color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.hres:hover, .hres.is-on { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--green); }
.hres img { width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 8px; object-fit: contain; border-radius: 12px; background: #fff; }
.hres__txt { min-width: 0; }
.hres__meta { display: block; overflow: hidden; font-size: 12px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.hres__name { display: block; overflow: hidden; font: italic 800 18px/1.15 var(--display); white-space: nowrap; text-overflow: ellipsis; }
.hres__price { font-size: 14px; font-weight: 650; color: var(--green-ink); }
.hsearch__all { grid-column: 1 / -1; justify-self: center; display: inline-flex; margin-top: 4px; padding: 13px 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; transition: background-color .2s; }
.hsearch__all:hover { background: var(--green); }
.hsearch__empty { grid-column: 1 / -1; margin: 0; padding: 18px 8px; text-align: center; color: var(--muted); }
.has-hsearch { overflow: hidden; }
@media (max-width: 720px) {
  .topbar .hsearch-toggle { margin-left: auto; }
  .topbar .hsearch-toggle + .btn--call { margin-left: 0; }
  .hsearch { padding: 12px var(--gutter) 24px; }
  .hsearch.is-open { gap: 10px 8px; }
  .hsearch__field { height: 52px; padding: 0 18px; }
  .hsearch__field input { font-size: 16px; }
  .hsearch__close { width: 52px; height: 52px; }
  .hsearch__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; }
  .hres { padding: 6px 6px 10px; }
  .hres__name { font-size: 15px; white-space: normal; }
  .hres__price { font-size: 13px; }
}

/* 09.11.26 - Webbax | service-bike.ch - Bandeau défilant enrichi : marques en blanc, types détourés, moteurs et services en vert */
.marquee span.is-out { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.marquee span.is-green { color: var(--lime); }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* 09.11.26 - Webbax | service-bike.ch - Mobile : zone tactile des liens téléphone dans le texte, catalogue affiché par 24 */
.details__head a[href^="tel:"], .empty a[href^="tel:"] { display: inline-block; padding: 10px 0; margin: -10px 0; }
.more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 30px; }
.more p { margin: 0; font-size: 14px; color: var(--muted); }
.more .btn { min-width: 240px; }
