:root {
  --bg: #0E1012;
  --panel: #16191C;
  --panel-2: #1D2125;
  --yellow: #FFD400;
  --fg: #F2F3F4;
  --muted: #8B9096;
  --line: rgba(242, 243, 244, .1);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--fg); font-family: var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tag { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.tag::before { content: '// '; opacity: .6; }
.mono { font-family: var(--mono); font-size: 13px; color: var(--muted); line-height: 1.7; }
.title { font-weight: 800; font-stretch: 112%; font-size: clamp(40px, 5.6vw, 92px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; margin-top: 14px; }
.title em { font-style: normal; color: var(--yellow); }
.lead { margin-top: 18px; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split] .w > span { display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 28px; border-radius: 6px; background: var(--yellow); color: #111; font-weight: 800; font-stretch: 110%; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; transition: background .3s; }
.btn:hover { background: #fff; }
.btn-small { padding: 11px 16px; font-size: 13px; font-family: var(--mono); font-weight: 600; text-transform: none; }
.btn-full { width: 100%; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #1FBF5A; box-shadow: 0 0 0 0 rgba(31, 191, 90, .6); animation: live 1.6s infinite; }
@keyframes live { to { box-shadow: 0 0 0 10px rgba(31, 191, 90, 0); } }

.header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); background: rgba(14, 16, 18, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-stretch: 125%; font-size: 22px; text-transform: uppercase; }
.logo small { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); align-self: flex-end; margin-bottom: 3px; }
.logo-mark { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: var(--yellow); color: #111; font-size: 20px; }
.nav { display: flex; gap: 30px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.nav a:hover { color: var(--yellow); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 30px; padding: 110px var(--gutter) 50px; overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 38%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.55); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(14, 16, 18, .2) 45%, rgba(14, 16, 18, .5)); }
.hero-text { position: relative; z-index: 1; }
.hero-title { margin-top: 16px; font-weight: 900; font-stretch: 118%; font-size: clamp(50px, 7.4vw, 124px); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; }
.hero-title em { font-style: normal; color: var(--yellow); }
.hero-lead { margin-top: 22px; max-width: 44ch; font-size: 18px; line-height: 1.55; color: #C5C9CD; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.gauge-wrap { position: relative; z-index: 1; justify-self: center; text-align: center; user-select: none; -webkit-user-select: none; touch-action: none; cursor: pointer; }
.gauge { width: min(36vw, 400px); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.gauge .tick { stroke: #4A5158; stroke-width: 2; }
.gauge .tick.big { stroke: #C5C9CD; stroke-width: 3; }
.gauge .num { fill: #C5C9CD; font-family: var(--mono); font-size: 15px; }
.rpm { fill: var(--fg); font-family: var(--mono); font-weight: 600; font-size: 34px; }
.rpm-unit { fill: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.needle { transform-origin: 150px 150px; transform: rotate(-120deg); }
.gauge-hint { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Bande défilante */
.strip { overflow: hidden; background: var(--yellow); color: #111; padding: 14px 0; }
.strip-track { display: flex; gap: 26px; width: max-content; font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 18px; animation: strip 28s linear infinite; }
.strip i { font-style: normal; }
@keyframes strip { to { transform: translateX(-50%); } }

/* Devis */
.quote { padding: clamp(100px, 12vw, 160px) var(--gutter); }
.quote-head { margin-bottom: 50px; }
.quote-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.quote-form { display: grid; gap: 26px; }
.quote-form fieldset { border: 0; padding: 26px; border-radius: 12px; background: var(--panel); }
.quote-form legend { float: left; width: 100%; margin-bottom: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.opts { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.opt { position: relative; text-align: left; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); transition: border-color .3s, background .3s; }
.opt b { display: block; font-weight: 700; font-size: 15px; }
.opt small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.opt::after { content: ''; position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #4A5158; transition: all .3s; }
.opt.is-on { border-color: var(--yellow); background: rgba(255, 212, 0, .07); }
.opt.is-on::after { background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23111' stroke-width='2.2'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--yellow); }
.plate { clear: both; display: block; width: 100%; max-width: 330px; padding: 12px 18px 12px 54px; border-radius: 6px; border: 2px solid #111; outline: 0; font-family: var(--mono); font-weight: 600; font-size: 28px; letter-spacing: .08em; text-transform: uppercase; color: #111;
  background: linear-gradient(90deg, #1F4FA8 0 40px, #fff 40px); }
.quote-result { position: sticky; top: 100px; padding: 28px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; font-weight: 900; font-stretch: 115%; font-size: clamp(44px, 5vw, 70px); line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: .45em; color: var(--muted); }
.price .dash { color: var(--muted); font-weight: 400; margin: 0 6px; }
.time b { color: var(--fg); }
.lines { list-style: none; margin: 18px 0 22px; padding-top: 14px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 13px; color: #C5C9CD; min-height: 60px; }
.lines li { display: flex; justify-content: space-between; padding: 5px 0; }
.lines li span:last-child { color: var(--muted); }
.quote-msg { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--yellow); min-height: 1.4em; }

/* Route */
.road-sec { position: relative; height: 100svh; background: var(--panel); overflow: hidden; }
.road-inner { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gutter) 40px; }
.road { position: relative; margin-top: 70px; }
.road-line { position: relative; height: 4px; background: repeating-linear-gradient(90deg, #3A4047 0 22px, transparent 22px 36px); }
.road-line span { position: absolute; inset: 0; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.car { position: absolute; left: 0; top: -48px; width: 110px; will-change: transform; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.steps li { opacity: .3; transition: opacity .5s; }
.steps li.is-on { opacity: 1; }
.steps b { font-family: var(--mono); color: var(--yellow); }
.steps h3 { margin-top: 8px; font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; }
.steps p { margin-top: 8px; color: var(--muted); line-height: 1.55; font-size: 15px; }

/* Services */
.services { padding: clamp(100px, 12vw, 160px) var(--gutter); }
.services-head { margin-bottom: 44px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: var(--panel); }
.svc img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5); transition: filter .6s var(--ease), transform 1s var(--ease); }
.svc:hover img { filter: grayscale(0) brightness(.7); transform: scale(1.06); }
.svc-info { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.svc-info h3 { font-weight: 800; font-stretch: 112%; font-size: 24px; text-transform: uppercase; }
.svc-info p { margin-top: 4px; font-family: var(--mono); font-size: 12.5px; color: #C5C9CD; }
.svc-info b { color: var(--yellow); }
.svc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); z-index: 1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc:hover::before { transform: scaleY(1); }

/* Atelier */
.workshop { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 0 var(--gutter) clamp(100px, 12vw, 160px); }
.ws-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.ws-img img { width: 100%; height: 120%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats b { display: block; font-weight: 900; font-stretch: 120%; font-size: clamp(40px, 4.4vw, 64px); color: var(--yellow); line-height: 1; }
.stats span { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.pbc-loyalty { --pbc-bg: var(--panel); --pbc-fg: var(--fg); --pbc-muted: var(--muted); --pbc-line: var(--line); --pbc-accent: var(--yellow); --pbc-accent-fg: #111; --pbc-title-font: var(--display); --pbc-body-font: var(--display); }
.pbc-loyalty .pbc-title { font-weight: 900; font-stretch: 115%; text-transform: uppercase; letter-spacing: -.02em; }

.footer { padding: 70px var(--gutter) 24px; overflow: hidden; border-top: 1px solid var(--line); }
.footer-word { font-weight: 900; font-stretch: 125%; font-size: 24vw; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1.5px #2C3238; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { inset: 0; clip-path: none; opacity: .5; }
  .gauge { width: min(70vw, 300px); }
  .quote-grid, .workshop { grid-template-columns: 1fr; }
  .quote-result { position: static; }
  .road-sec { height: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .svc-grid, .steps { grid-template-columns: 1fr; } .btn-small { font-size: 0; padding: 12px; } .btn-small .live { width: 10px; height: 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
