/* =========================================================
   X Down Suspension — feuille de style
   Palette et codes graphiques inspirés de l'univers Öhlins :
   doré, noir, gris clair, titres Inter capitales, libellés Space Mono.
   ========================================================= */

:root {
  /* Thème sombre (par défaut) */
  --bg: #121212;
  --bg-2: #1b1b1b;
  --bg-3: #242424;
  --line: #2e2e2e;
  --text: #ffffff;
  --soft: #d0d0d0;
  --muted: #a3a3a3;
  --accent-ink: #fbb801;   /* texte accentué lisible sur le fond courant */
  --mark: #fbb801;         /* pictos, coches, filets */

  --gold: #fbb801;
  --gold-2: #ffc933;
  --on-gold: #121212;
  --ink: #191919;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --cut: 28px;             /* angle coupé des images */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* Sections claires : on redéfinit simplement les variables */
.theme-light, .theme-grey {
  --bg-3: #f7f7f7;
  --line: #dcdcdc;
  --text: #191919;
  --soft: #333333;
  --muted: #666666;
  --accent-ink: #8a6500;
  --mark: #c48f00;
  background: var(--bg);
  color: var(--text);
}
.theme-light { --bg: #ffffff; --bg-2: #f0f0f0; }
.theme-grey  { --bg: #f0f0f0; --bg-2: #ffffff; }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-body); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Angle coupé (haut droit + bas gauche) */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 12px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--gold); }
.eyebrow--light { color: rgba(255,255,255,.85); }

.title { font-size: clamp(32px, 4.6vw, 64px); font-weight: 700; line-height: 1.02; }
.title--sm { font-size: clamp(26px, 3vw, 40px); }
.section__head .title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 22px; background: var(--gold); }
.muted { color: var(--muted); }
.nowrap, .hero__title em { white-space: nowrap; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--text); }
.small { font-size: 13px; color: var(--muted); }

.section { padding: var(--section) 0; position: relative; }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }
.section__sub { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 620px; }
.section__sub a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border: 1px solid transparent; border-radius: 0;
  font: 700 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
  background: none;
}
.btn--accent { background: var(--gold); color: var(--on-gold); }
.btn--accent:hover { background: var(--gold-2); }
.btn--ghost { border-color: var(--text); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--sm { padding: 11px 16px; font-size: 12px; }
.btn--block { width: 100%; }

.link { font: 700 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text); padding-bottom: 4px; border-bottom: 2px solid var(--gold); align-self: flex-start; }
.link:hover { color: var(--accent-ink); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); }
/* Le fond est porté par un pseudo-élément : un backdrop-filter sur .header
   en ferait le bloc conteneur du menu mobile (position: fixed). */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); opacity: 0; transition: opacity .3s; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { width: 160px; height: auto; filter: invert(1); transition: filter .3s; }
.header.is-scrolled .header__logo img { filter: none; }

.nav { display: flex; align-items: center; gap: 12px; }
/* Menu dans une barre sombre, comme un bandeau d'instrument */
.nav__list { display: flex; gap: 2px; padding: 5px; background: rgba(18,18,18,.88); }
.nav__list a { display: block; padding: 10px 14px; font: 600 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); transition: color .2s, background .2s; }
.nav__list a:hover { color: var(--gold); }
.nav__list a.is-active { color: var(--gold); background: rgba(255,255,255,.06); }
.nav__extra { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; background: var(--gold); color: var(--on-gold); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--gold-2); }
.header.is-scrolled .icon-btn { background: var(--ink); color: var(--gold); }
.header.is-scrolled .nav__extra .btn--accent { background: var(--ink); color: var(--gold); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; z-index: 120; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s, background .3s; }
.header.is-scrolled .burger span { background: var(--ink); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Menu mobile ouvert : logo et croix toujours clairs sur le fond sombre */
.header.menu-open .header__logo img { filter: invert(1); }
.header.menu-open .burger span { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(20px, 4vh, 40px); overflow: hidden; isolation: isolate;
  background: #000 url("../img/film-poster.jpg") center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,18,18,.55) 0%, rgba(18,18,18,.05) 30%, rgba(18,18,18,.5) 72%, rgba(18,18,18,.9) 100%),
    linear-gradient(90deg, rgba(18,18,18,.7) 0%, rgba(18,18,18,0) 62%);
}
.hero__content { padding-bottom: clamp(28px, 5vh, 52px); }
.hero__title { font-size: clamp(36px, 5.2vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.hero__title span { display: block; }
.hero__title em { font-style: normal; font-weight: 800; color: var(--gold); }
.hero__title .hero__place { margin-top: 20px; font: 400 clamp(13px, 1.2vw, 16px)/1.3 var(--font-mono); letter-spacing: .06em; color: rgba(255,255,255,.85); }
.hero__lead { max-width: 560px; margin: 22px 0 30px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); }

/* Hero des pages secondaires : photo fixe, plus court */
.hero--page { min-height: 72svh; background-image: url("../img/atelier-matthieu.jpg"); background-position: center 30%; }

/* Cartes d'accès rapide en bas du hero */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.segments a {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px 48px 18px 20px; background: rgba(18,18,18,.72); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, color .2s;
}
.segments a::after { content: "→"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 20px; color: var(--gold); transition: transform .25s var(--ease), color .2s; }
.segments small { font: 400 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.segments strong { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.segments span { font-size: 13px; color: rgba(255,255,255,.7); }
.segments a:hover { background: var(--gold); color: var(--on-gold); }
.segments a:hover small, .segments a:hover span { color: rgba(18,18,18,.7); }
.segments a:hover::after { color: var(--on-gold); transform: translateX(4px); }

/* ---------- Comment ça marche ---------- */
.process { padding: clamp(48px, 7vw, 88px) 0; }
.process__title { font-size: clamp(24px, 2.8vw, 36px); margin-bottom: clamp(24px, 3vw, 40px); }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.process__steps li { display: flex; gap: 18px; align-items: flex-start; }
.process__num { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font: 700 18px/1 var(--font-mono); }
.process__steps h3 { font-size: 17px; margin: 2px 0 8px; }
.process__steps p { color: var(--muted); margin: 0; font-size: 15px; }
.process__steps a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Services ---------- */
.services__intro { max-width: 820px; margin-bottom: clamp(40px, 5vw, 72px); color: var(--muted); }
.services__intro .lead strong { color: var(--text); font-weight: 700; box-shadow: inset 0 -.35em 0 rgba(251,184,1,.45); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.card { background: var(--bg-2); display: flex; flex-direction: column; }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); }
.card__body strong { color: var(--text); font-weight: 600; }
.card__body .link { margin-top: auto; }
.card__body .link--2 { margin-top: 14px; }
.card__num { font: 400 12px/1 var(--font-mono); color: var(--muted); letter-spacing: .08em; }
.card__num::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--gold); }
.card h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 14px 0 16px; }

/* ---------- Présentation ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { margin: 0; position: relative; padding-right: 36px; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
/* Légende verticale le long de la photo */
.about__media figcaption { position: absolute; top: 0; right: 0; writing-mode: vertical-rl; transform: rotate(180deg); font: 400 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-right: 2px solid var(--gold); padding-right: 8px; }
.about__role { font: 400 13px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin: 18px 0 30px; }
.about__quote { margin: 0; padding-left: 24px; border-left: 3px solid var(--gold); font-size: clamp(17px, 1.4vw, 19px); color: var(--soft); line-height: 1.75; }
.about__sign { display: flex; align-items: center; gap: 18px; margin-top: 36px; font: 400 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.about__sign img { width: 64px; height: auto; filter: invert(1); opacity: .9; }

/* ---------- Film ---------- */
.film { padding: 0 0 var(--section); }
.film__frame { position: relative; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 88px; height: 88px; border: 0; background: var(--gold); color: var(--on-gold);
  display: grid; place-items: center; animation: pulse 2.2s infinite; transition: background .2s;
}
.film__play:hover { background: var(--gold-2); }
.film__play svg { margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(251,184,1,.55); } 70% { box-shadow: 0 0 0 24px rgba(251,184,1,0); } 100% { box-shadow: 0 0 0 0 rgba(251,184,1,0); } }
.film__caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 60px clamp(18px, 3vw, 36px) 24px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: rgba(255,255,255,.85); font-size: 15px; pointer-events: none; }
.film__caption span { display: inline-block; margin-right: 12px; padding: 5px 8px; background: var(--gold); color: var(--on-gold); font: 700 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.film.is-playing .film__play, .film.is-playing .film__caption { opacity: 0; pointer-events: none; transition: opacity .3s; }

/* ---------- Révision / préparation ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); align-items: start; }
.plan { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3.5vw, 44px); background: var(--bg-2); border-top: 4px solid var(--line); }
.plan--hot { border-top-color: var(--gold); }
.plan__tag { display: inline-block; padding: 6px 10px; background: var(--ink); color: #fff; font: 400 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.plan--hot .plan__tag { background: var(--gold); color: var(--on-gold); }
.plan h3 { font-size: clamp(28px, 3vw, 40px); margin: 18px 0 10px; }
.plan__price { margin: 0; font: 800 32px/1 var(--font-body); color: var(--text); }
.plan__price small { font: 400 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.plan__rows { margin: 0; }
.plan__rows > div { padding: 16px 0; border-top: 1px solid var(--line); }
.plan__rows dt { font: 700 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.plan__rows dd { margin: 0; color: var(--soft); }
.plan .btn { margin-top: auto; }

.axes { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 7vw, 96px); }
.axes__media { display: flex; justify-content: center; align-items: flex-end; gap: 6%; }
.axes__media img { width: 48%; max-height: 420px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); }
.axes__media img + img { width: 30%; max-height: 330px; }
.axes__title { font-size: clamp(24px, 2.6vw, 34px); }
.axes__sub { color: var(--muted); margin: 10px 0 20px; }

.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 17px; font: 700 15px/1 var(--font-mono); color: var(--accent-ink); }
.steps strong { display: block; color: var(--text); font-weight: 700; }
.steps span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }

.checks li { position: relative; padding: 7px 0 7px 28px; color: var(--soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 13px; height: 7px; border-left: 2px solid var(--mark); border-bottom: 2px solid var(--mark); transform: rotate(-45deg); }

.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.info { padding: clamp(24px, 3vw, 36px); background: var(--bg-2); }
.info svg { color: var(--mark); margin-bottom: 18px; }
.info h3 { font-size: 18px; margin-bottom: 12px; }
.info p { color: var(--muted); }
.info strong { color: var(--text); }
.ship li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.ship strong { font-weight: 700; color: var(--text); }
.info .small { margin: 12px 0 0; }

/* ---------- Options ---------- */
.options__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(16px, 3vw, 32px); }
.option { position: relative; background: var(--bg-2); padding: clamp(28px, 3.5vw, 48px); overflow: hidden; }
.option p { color: var(--muted); }
.option .title { margin-bottom: 16px; }
.option--plunger img { position: absolute; right: -16%; bottom: -46%; height: 112%; width: auto; transform: rotate(14deg); }
.option--plunger > :not(img) { position: relative; z-index: 1; }
.option--plunger { min-height: 460px; }
.price { margin-top: 28px; font: 800 64px/1 var(--font-body); color: var(--text); letter-spacing: -.02em; }
.price span { display: block; font: 400 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.proimpact__head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.proimpact__head img { width: 130px; height: auto; }
.proimpact__head .title { margin: 0; }
.proimpact__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 28px; }
.proimpact__prices div { padding: 18px 20px; background: var(--bg); }
.proimpact__prices span { display: block; font: 400 11px/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.proimpact__prices strong { font: 800 40px/1.2 var(--font-body); }
.proimpact__prices small { margin-left: 6px; color: var(--muted); }
.option h4 { font-size: 15px; margin-bottom: 8px; }
.pull { margin: 26px 0 0; padding: 20px 24px; border-left: 4px solid var(--gold); background: var(--bg); font: 600 clamp(17px, 1.6vw, 21px)/1.4 var(--font-body); color: var(--text); }
.proimpact__imgs { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: center; margin-top: 28px; }
.proimpact__imgs img { max-height: 220px; width: 100%; object-fit: contain; }

/* ---------- Tarifs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 24px; }
.tabs button {
  padding: 13px 18px; background: var(--bg-2); border: 0;
  font: 700 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  transition: background .2s, color .2s;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--gold); }

.panel { animation: fade .4s var(--ease); }
.panel[hidden] { display: none; }
.panel__title { font-size: 24px; margin-bottom: 16px; }
.js .panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-js .panel + .panel { margin-top: 48px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.table-wrap { overflow-x: auto; background: var(--bg-2); }
.price-table { width: 100%; border-collapse: collapse; min-width: 620px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 14px 20px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table th:first-child { text-align: left; }
.price-table thead th { font: 400 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--ink); vertical-align: bottom; border-bottom: 0; }
.price-table thead th small { display: block; font-size: 10px; color: var(--gold); }
.price-table tbody th { font-weight: 500; color: var(--soft); }
.price-table td { font: 700 17px/1 var(--font-body); color: var(--text); }
.price-table td.na { color: var(--line); font-weight: 400; }
.price-table td.ask a { font: 700 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text); border-bottom: 2px solid var(--gold); }
.price-table tr.group th { text-align: left; padding: 10px 20px; background: rgba(251,184,1,.18); color: var(--text); font: 700 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; box-shadow: inset 4px 0 0 var(--gold); }
.price-table tbody tr:not(.group):hover { background: var(--bg-3); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table--3 { min-width: 420px; }
.price-table--5 { min-width: 720px; }

.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 24px; }
.extras div { background: var(--bg-2); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.extras span { font: 400 11px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.extras strong { font: 800 24px/1 var(--font-body); }

/* ---------- Envoi ---------- */
.envoi { background: var(--bg); overflow: hidden; }
.envoi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.envoi__text { position: sticky; top: calc(var(--header-h) + 40px); }
.envoi__text p { color: var(--muted); margin: 26px 0 32px; max-width: 460px; font-size: 17px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; gap: 26px; padding: 18px 0; }
.timeline li > span { flex: 0 0 52px; height: 52px; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font: 700 18px/1 var(--font-mono); position: relative; z-index: 1; }
.timeline h3 { font-size: 18px; margin: 6px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }
.timeline strong { color: var(--text); font-weight: 500; }

.pickup { margin-top: 32px; padding: 24px; background: var(--bg-2); border-left: 4px solid var(--gold); }
.pickup svg { color: var(--gold); margin-bottom: 10px; }
.pickup h3 { font-size: 18px; margin-bottom: 10px; }
.envoi__text .pickup p { margin: 0 0 18px; font-size: 15px; }
.pickup strong { color: var(--text); font-weight: 600; }
.pickup__ctas { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Magasins & pros ---------- */
.pros__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pros__media { margin: 0; }
.pros__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pros__list { margin: 24px 0 32px; }
.pros__ctas { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Galerie ---------- */
.galerie { background: var(--bg-2); }
.filters { display: flex; gap: 2px; }
.filters button { padding: 12px 18px; background: var(--bg-3); border: 0; font: 700 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: background .2s, color .2s; }
.filters button:hover { color: var(--text); }
.filters button.is-active { background: var(--gold); color: var(--on-gold); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 8px; }
.g { position: relative; overflow: hidden; background: var(--bg-3); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g::after { content: "↗"; position: absolute; right: 0; bottom: 0; width: 40px; height: 40px; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font-size: 18px; opacity: 0; transition: opacity .25s; }
.g:hover img { transform: scale(1.05); }
.g:hover::after { opacity: 1; }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g.is-hidden, .g.is-extra { display: none; }
.gallery__more { margin-top: 12px; }
.gallery__more[hidden] { display: none; }

/* ---------- Pilotes ---------- */
.pilot { position: relative; display: grid; grid-template-columns: 1fr; overflow: hidden; background: #000; }
.pilot img { width: 100%; aspect-ratio: 2000 / 753; object-fit: cover; }
.pilot__name { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-transform: uppercase; z-index: 1; background: #000; }
.pilot__name span { font: 400 clamp(13px, 1.4vw, 18px)/1 var(--font-mono); letter-spacing: .2em; color: var(--gold); }
.pilot__name strong { font: 800 clamp(40px, 6vw, 88px)/1 var(--font-body); letter-spacing: -.02em; margin: 8px 0 16px; }
.flag { width: 42px; height: 28px; background: linear-gradient(90deg, #0055a4 33.3%, #fff 33.3% 66.6%, #ef4135 66.6%); }

/* ---------- Partenaires ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.logos li { background: var(--bg-2); transition: background .2s; }
.logos li:hover { background: #e6e6e6; }
.logos li.logos__dark { background: var(--ink); }
.logos a { height: 150px; display: grid; place-items: center; padding: 28px; }
.logos img { max-height: 64px; width: auto; max-width: 70%; object-fit: contain; transition: transform .3s var(--ease); }
.logos a:hover img { transform: scale(1.06); }

/* ---------- Avis ---------- */
.avis { padding: clamp(48px, 7vw, 88px) 0; }
.avis__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.avis .section__sub { margin-top: 12px; }
.avis__ctas { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 30%, rgba(18,18,18,.78)), url("../img/hero-rider.jpg") right center / cover no-repeat; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__info > p { color: var(--muted); font-size: 17px; margin: 24px 0 32px; max-width: 440px; }
.coords li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.coords li:last-child { border-bottom: 1px solid var(--line); }
.coords svg { flex: none; color: var(--gold); margin-top: 3px; }
.coords a { font-size: 17px; transition: color .2s; }
.coords a:hover { color: var(--gold); }

.form { background: rgba(27,27,27,.94); border-top: 4px solid var(--gold); padding: clamp(24px, 3.5vw, 44px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; margin-bottom: 18px; font: 400 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form label small { text-transform: none; letter-spacing: 0; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 0;
  color: var(--text); font: 400 16px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(251,184,1,.25); }
.form .is-invalid { border-color: #ff5a5a; }
.form__hint { margin: -6px 0 18px; font-size: 13px; color: var(--muted); }
.form__hint a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.quick-quote { display: flex; gap: 16px; margin-top: 28px; padding: 22px; background: rgba(27,27,27,.94); border-left: 4px solid var(--gold); }
.quick-quote > svg { flex: none; color: var(--gold); }
.quick-quote h3 { font-size: 17px; margin-bottom: 8px; }
.quick-quote p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.form__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.form__note.is-error { color: #ff7a7a; }

.map { margin-top: clamp(48px, 6vw, 80px); overflow: hidden; height: 360px; background: var(--bg-2) url("../img/hero-rider-800.jpg") center / cover; position: relative; }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 24px; text-align: center; background: rgba(18,18,18,.8); }
.map__placeholder p { margin: 0; }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 0; color: var(--muted); font-size: 15px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 56px; }
.footer img { width: 92px; height: auto; margin-bottom: 18px; }
.footer h4 { display: flex; align-items: center; gap: 10px; font: 400 11px/1 var(--font-mono); letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.footer h4::before { content: ""; width: 7px; height: 7px; background: var(--gold); }
.footer p { color: var(--text); font-size: 14px; line-height: 2; }
.footer a { font-weight: 600; transition: color .2s; }
.footer a:hover { color: var(--accent-ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line); font-size: 13px; }
/* Grand logo texte en bas de page */
.footer .wordmark { margin: 0 0 -.12em; padding: 0 var(--gutter); font: 800 clamp(64px, 20vw, 340px)/.8 var(--font-body); letter-spacing: -.05em; text-transform: uppercase; color: var(--gold); white-space: nowrap; text-align: center; user-select: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(10,10,10,.96); padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; animation: fade .35s var(--ease); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font: 300 44px/1 var(--font-body); width: 56px; height: 56px; display: grid; place-items: center; transition: background .2s, color .2s; }
.lightbox button:hover { background: var(--gold); color: var(--on-gold); }
.lightbox__close { top: 12px; right: 16px; }
.lightbox__prev { left: 10px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 10px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; margin: 0; font: 400 12px/1 var(--font-mono); letter-spacing: .1em; color: var(--muted); }

/* ---------- Barre d'actions mobile ---------- */
.mobilebar { display: none; }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__list a { padding: 10px 10px; font-size: 11px; }
  .nav__extra .btn { display: none; }
}

@media (max-width: 1080px) {
  .options__grid { grid-template-columns: 1fr; }
  .option--plunger { min-height: 340px; }
  .option--plunger img { height: 150%; bottom: -60%; right: 4%; }
  .segments { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px;
    padding: 96px var(--gutter) 40px; background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; padding: 0; background: none; width: 100%; }
  .nav__list a { padding: 14px 0; font-size: 26px; font-weight: 700; letter-spacing: -.01em; color: #fff; border-bottom: 1px solid var(--line); }
  .nav__list a.is-active { background: none; }
  .nav__extra .btn { display: inline-flex; }
  .header.is-scrolled .nav__extra .icon-btn { background: var(--gold); color: var(--on-gold); }
  .header.is-scrolled .nav__extra .btn--accent { background: var(--gold); color: var(--on-gold); }
  .header__logo { position: relative; z-index: 120; }
  .header__logo img { width: 136px; }

  .cards, .about__grid, .compare, .infos, .envoi__grid, .contact__grid, .process__steps, .pros__grid { grid-template-columns: 1fr; }
  .axes { grid-template-columns: 1fr; }
  .axes__media { max-width: 360px; margin: 0 auto; }
  .about__media { max-width: 520px; }
  .envoi__text { position: static; }
  .extras { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* Barre d'actions fixe en bas d'écran */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
  }
  .mobilebar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 60px; font: 400 10px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
  .mobilebar a + a { border-left: 1px solid #2e2e2e; }
  .mobilebar svg { color: var(--gold); }
  .mobilebar .mobilebar__main { background: var(--gold); color: var(--on-gold); flex-direction: row; gap: 8px; font: 700 12px/1 var(--font-body); letter-spacing: .04em; }
  .mobilebar .mobilebar__main svg { color: var(--on-gold); }

  .pilot__name { position: relative; width: 100%; padding: 40px 0; }
  .pilot img { aspect-ratio: 4 / 3; object-position: 100% center; }
}

@media (max-width: 600px) {
  :root { --section: 56px; --cut: 18px; }

  /* Version téléphone épurée : on masque le texte secondaire et les visuels décoratifs */
  .hide-sm,
  .hero .eyebrow,
  .hero .segments,
  .process__steps p,
  .card__body p + p,
  .about__media figcaption,
  .about__sign,
  .axes__media,
  .option--plunger img,
  .proimpact__imgs,
  .pros__media,
  .extras { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(18,18,18,.35) 0%, rgba(18,18,18,0) 30%, rgba(18,18,18,.55) 62%, rgba(18,18,18,.92) 100%); }
  .process__steps { gap: 14px; }
  .process__steps li { align-items: center; }
  .process__steps h3 { margin: 0; }
  .about__media { padding-right: 0; }
  .services__intro .lead { font-size: 17px; }
  .option--plunger { min-height: 0; }
  .title { font-size: clamp(28px, 8.4vw, 38px); }
  .section__head { margin-bottom: 32px; }
  .section__head .title::after { margin-top: 16px; width: 44px; }
  .section__sub { font-size: 16px; }

  /* Hero compact */
  /* le bas du hero reste visible au-dessus de la barre d'actions */
  .hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .hero__title { font-size: clamp(30px, 9.6vw, 44px); }
  .hero__lead { font-size: 15px; margin: 16px 0 22px; }
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__ctas .btn { padding: 15px 10px; font-size: 12px; }
  .hero__ctas .btn--film { display: none; }
  .hero__content { padding-bottom: 20px; }
  .segments a { padding: 12px 36px 12px 14px; }
  .segments a::after { right: 12px; font-size: 16px; }
  .segments strong { font-size: 13px; }
  .segments span { font-size: 12px; }

  .process__steps li { gap: 14px; }
  .process__num { width: 36px; height: 36px; font-size: 16px; }
  .process__steps h3 { font-size: 16px; }
  .plan { gap: 18px; }
  .plan__rows > div { padding: 12px 0; }
  .axes { margin-top: 40px; gap: 16px; }
  .axes__media { max-width: 260px; }
  .axes__media img { max-height: 220px; }
  .axes__media img + img { max-height: 180px; }
  .steps li { padding-left: 40px; }

  .about__media { padding-right: 28px; }
  .about__media img { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px)); }

  /* Tarifs : chaque ligne devient une carte, sans défilement horizontal */
  .table-wrap { overflow: visible; background: none; }
  .price-table, .price-table--3, .price-table--5 { min-width: 0; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody { display: block; }
  .price-table tr { display: flex; flex-wrap: wrap; background: var(--bg-2); margin-bottom: 4px; }
  .price-table tbody th, .price-table td { border: 0; white-space: normal; }
  .price-table tbody tr:not(.group) th { flex: 1 0 100%; padding: 12px 14px 4px; font-weight: 700; color: var(--text); }
  .price-table td { flex: 1 1 0; text-align: left; padding: 6px 14px 12px; font-size: 18px; }
  .price-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; font: 400 9px/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .price-table td.na { color: #bbb; }
  .price-table tr.group { background: none; margin: 18px 0 6px; }
  .price-table tr.group th { flex: 1 0 100%; padding: 8px 12px; }
  .price-table tbody tr:not(.group):hover { background: var(--bg-2); }

  .form__row { grid-template-columns: 1fr; gap: 0; }
  .proimpact__prices { grid-template-columns: 1fr; }
  .proimpact__imgs { grid-template-columns: 1fr; }
  .price { font-size: 52px; }
  .option--plunger img { height: 120%; bottom: -30%; right: -10%; opacity: .25; }
  .gallery { grid-auto-rows: 160px; gap: 4px; }
  .g--wide, .g--tall { grid-column: auto; grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 6px; translate: none; }
  .map { height: 260px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .tabs button { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
