/* JT2A — cordonnier & serrurier, région lyonnaise
   Charte : Apple (noir, blanc, gris #f5f5f7, un seul bleu). Les photographies du geste artisanal sont le sujet. */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --ink: #1d1d1f;
  --paper: #fbfbfd;
  --gray: #f5f5f7;
  --line-l: #d2d2d7;
  --mute-l: #6e6e73;
  --mute-d: #a1a1a6;
  --blue: #0071e3;
  --blue-hi: #0066cc;
  --blue-d: #2997ff;
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; scrollbar-color: #3a3a3c var(--black); scrollbar-width: thin; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ol { margin: 0; padding: 0; }
ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-d); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #3a3a3c; border-radius: 10px; border: 2px solid var(--black); }

.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; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--black); color: #f5f5f7; pointer-events: none; }
.intro__word { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; opacity: 0; animation: introWord 1.1s var(--ease) 0.1s forwards; }
@keyframes introWord { to { opacity: 1; } }

/* ---------- Boutons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.3em;
  min-height: 48px; padding: 0 1.6em; border-radius: 980px;
  background: var(--blue); color: #fff; font-size: 1.0625rem; letter-spacing: -0.022em; white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.5s var(--ease);
  will-change: transform;
}
.pill:hover { background: var(--blue-hi); }
.pill--sm { min-height: 40px; padding: 0 1.05em; font-size: 0.875rem; }
.pill--outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.pill--outline:hover { background: var(--blue); color: #fff; }
.textlink { display: inline-flex; align-items: center; gap: 0.5em; min-height: 48px; color: var(--ink); font-size: 1.0625rem; opacity: 0.86; transition: opacity 0.3s; }
.textlink--light { color: #f5f5f7; }
.textlink:hover { opacity: 1; }
.textlink svg { transition: transform 0.5s var(--ease); }
.textlink:hover svg { transform: translateY(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter);
  color: #f5f5f7; transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), color 0.4s var(--ease);
}
.nav.is-solid { background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav.is-light { color: var(--ink); }
.nav.is-light.is-solid { background: rgba(251, 251, 253, 0.78); }
.nav__brand { justify-self: start; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.03em; }
.nav__links { display: flex; gap: clamp(16px, 2.6vw, 36px); font-size: 0.8125rem; }
.nav__links a { opacity: 0.8; transition: opacity 0.3s; }
.nav__links a:hover { opacity: 1; }
.nav .pill { justify-self: end; }
.nav__toggle { display: none; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; justify-self: end; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.progress { position: fixed; top: 0; right: 0; bottom: 0; width: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; width: 100%; height: 100%; background: var(--blue-d); transform: scaleY(0); transform-origin: top; }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); color: #f5f5f7; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__zoom { position: absolute; inset: 0; will-change: transform; }
.hero__frame, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__frame { object-fit: cover; opacity: 0; }
.hero__frame.is-on { opacity: 1; }
.hero__canvas { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero__canvas.is-ready { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.28) 34%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 20%);
}
.hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(44px, 9vh, 104px); max-width: 42rem; }
.hero__title { font-size: clamp(2.5rem, 6.6vw, 4.25rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.hero__lead { margin-top: clamp(14px, 2vh, 22px); max-width: 42ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.42; letter-spacing: -0.015em; color: rgba(245, 245, 247, 0.86); text-wrap: pretty; }
.hero__actions { margin-top: clamp(22px, 3.5vh, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(20px, 3vw, 36px); }
.hero__cue { position: absolute; right: calc(var(--gutter) + 68px); bottom: calc(clamp(44px, 9vh, 104px) + 26px); width: 1px; height: 44px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.hero__cue::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: top; animation: cue 2.6s var(--ease) 2.6s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__ticks { position: absolute; right: var(--gutter); bottom: clamp(44px, 9vh, 104px); display: flex; gap: 8px; }
.hero__ticks i { position: relative; display: block; width: 28px; height: 2px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.hero__ticks i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- 2 · Signature : Dix métiers, un seul geste ---------- */
.doors { position: relative; background: var(--black); }
.doors__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
.doors__room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.doors__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 24%, rgba(0, 0, 0, 0) 56%); pointer-events: none; }
.doors__caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 8vh, 88px); max-width: 18ch; font-size: clamp(1.5rem, 3.6vw, 2.75rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; color: #f5f5f7; text-wrap: balance; }
.door { position: absolute; top: 0; bottom: 0; width: 50.15%; background: linear-gradient(to bottom, #0b0b0d, #050506 60%, #0b0b0d); will-change: transform; }
.door--l { left: 0; }
.door--r { right: 0; }
.door::before { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.42) 30%, rgba(255, 255, 255, 0.42) 70%, transparent); }
.door--l::before { right: 0; }
.door--r::before { left: 0; }
.door__word { position: absolute; top: 50%; transform: translateY(-52%); font-size: clamp(3.5rem, 13vw, 9.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: #f5f5f7; white-space: nowrap; }
.door--l .door__word { right: 0; }
.door--r .door__word { left: 0; }

/* ---------- 3 · Chiffres ---------- */
.stats { background: var(--black); color: #f5f5f7; padding: clamp(72px, 11vw, 140px) var(--gutter); }
.stats__row { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; display: grid; justify-items: center; gap: 10px; padding: 0 12px; text-align: center; }
.stat:not(:first-child)::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: #2c2c2e; }
.stat__num { display: block; font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--blue-d); }
.stat__num--word { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.25; letter-spacing: -0.02em; }
.stat__label { font-size: clamp(0.8125rem, 1vw, 0.9375rem); color: var(--mute-d); letter-spacing: -0.01em; }

/* ---------- 4 · Nos métiers ---------- */
.crafts { background: var(--paper); color: var(--ink); }
.crafts__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 2vh, 28px); padding: calc(var(--nav-h) + 14px) 0 18px; }
.crafts__head { flex: 0 0 auto; padding: 0 var(--gutter); max-width: 1400px; margin: 0 auto; width: 100%; }
.crafts__head h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.crafts__head p { margin-top: 8px; max-width: 56ch; font-size: clamp(0.9375rem, 1.1vw, 1.0625rem); line-height: 1.4; color: var(--mute-l); text-wrap: pretty; }
.crafts__stage { position: relative; flex: 0 1 auto; min-height: 0; overflow: hidden; }
.crafts__track { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gutter); will-change: transform; }
.craft { position: relative; flex: 0 0 auto; width: min(50vw, 260px); }
.craft__frame { position: relative; overflow: hidden; border-radius: 2px; background: #e8e8ed; aspect-ratio: 3/4; max-height: 46vh; max-height: 46svh; }
.craft__frame img { width: 100%; height: 100%; object-fit: cover; }
.craft h3 { margin-top: 12px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.craft p { margin-top: 4px; font-size: 0.875rem; line-height: 1.35; color: var(--mute-l); }
.crafts__foot { flex: 0 0 auto; padding: 0 var(--gutter); max-width: 1400px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.crafts__bars { position: relative; flex: 1; max-width: 320px; height: 2px; background: var(--line-l); }
.crafts__bars i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); will-change: transform; }

/* ---------- 5 · Boutiques ---------- */
.shops { background: var(--gray); color: var(--ink); padding: clamp(96px, 14vw, 200px) var(--gutter) clamp(72px, 10vw, 140px); overflow: hidden; }
.shops__head { max-width: 1400px; margin: 0 auto clamp(48px, 7vw, 100px); }
.shops__head h2 { font-size: clamp(2.25rem, 5.6vw, 4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; max-width: 20ch; text-wrap: balance; }
.shops__head p { margin-top: 12px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--mute-l); }
.shops__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(48px, 7vw, 96px); align-items: start; }
.tile { position: relative; }
.tile__frame { position: relative; overflow: hidden; background: #e8e8ed; will-change: clip-path; }
.tile__frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.tile__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.tile.is-gl .tile__frame canvas { opacity: 1; }
.tile figcaption { margin-top: 12px; font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.tile figcaption span { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 400; color: var(--mute-l); }
.tile--a { grid-column: 1 / 8; }
.tile--b { grid-column: 9 / 13; margin-top: clamp(40px, 10vw, 150px); }
.tile--c { grid-column: 2 / 6; }
.tile--d { grid-column: 7 / 13; margin-top: clamp(30px, 9vw, 130px); }
.shops__foot { max-width: 1400px; margin: clamp(40px, 6vw, 80px) auto 0; }

/* ---------- 6 · Pourquoi JT2A ---------- */
.commit { background: var(--paper); color: var(--ink); padding: clamp(96px, 14vw, 200px) var(--gutter); }
.commit__title { max-width: 1400px; margin: 0 auto clamp(40px, 6vw, 88px); font-size: clamp(2.25rem, 5.6vw, 4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.commit__list { max-width: 1400px; margin: 0 auto; }
.commit__row { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: baseline; padding: clamp(24px, 3.4vw, 44px) 0; }
.commit__row::before { content: ""; position: absolute; top: 0; left: 0; height: 1px; width: var(--w, 0%); background: var(--line-l); }
.commit__row:last-child { border-bottom: 1px solid var(--line-l); }
.commit__row h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; }
.commit__row p { max-width: 40ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.4; color: var(--mute-l); }

/* ---------- 7 · Clôture ---------- */
.close { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; background: var(--black); color: #f5f5f7; }
.close__img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 38%; will-change: transform; }
.close__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.32) 40%, rgba(0, 0, 0, 0) 64%); pointer-events: none; }
.close__copy { position: relative; width: 100%; padding: 0 var(--gutter) clamp(56px, 11vh, 128px); }
.close__copy h2 { font-size: clamp(2.5rem, 6.8vw, 4.5rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.close__copy p { margin-top: 12px; max-width: 46ch; font-size: 1.0625rem; color: rgba(245, 245, 247, 0.8); }
.close__actions { margin-top: clamp(20px, 3.5vh, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(20px, 3vw, 36px); }

/* ---------- Bouton d'appel flottant ---------- */
.fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 55;
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
}
.fab.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab:hover { background: var(--blue-hi); }

/* ---------- Pied ---------- */
.foot { background: var(--black); color: var(--mute-d); padding: 32px var(--gutter) calc(28px + env(safe-area-inset-bottom)); font-size: 0.75rem; line-height: 1.5; border-top: 1px solid #1c1c1e; }
.foot__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.foot__brand { color: #f5f5f7; font-weight: 600; font-size: 0.875rem; letter-spacing: -0.02em; }
.foot__brand span { font-weight: 400; color: var(--mute-d); }
.foot__tag { color: var(--mute-d); }
.foot__up { margin-left: auto; transition: color 0.3s; }
.foot__up:hover { color: #f5f5f7; }
.foot__links, .foot__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; }
.foot__links a, .foot__legal a { transition: color 0.3s; }
.foot__links a:hover, .foot__legal a:hover { color: #f5f5f7; }
.foot__credits { margin-top: 18px; max-width: 78ch; }
.foot__credits summary { cursor: pointer; width: fit-content; }
.foot__credits summary:hover { color: #f5f5f7; }
.foot__credits p { margin-top: 10px; }
.foot__legal-text { margin-top: 18px; }

/* ---------- Responsive ---------- */
html.nav-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 18px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(0, 0, 0, 0.97); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    color: #f5f5f7; font-size: 1.0625rem;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid rgba(245, 245, 247, 0.14); opacity: 1; }
  .nav.is-menu-open .nav__links { max-height: calc(100vh - var(--nav-h)); opacity: 1; pointer-events: auto; }
  .hero__ticks { display: none; }
  .hero__cue { right: var(--gutter); bottom: 20px; height: 34px; }
  .hero__copy { max-width: 30ch; }
  .stats__row { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(3)::before { display: none; }
  .craft { width: min(78vw, 320px); }
  .shops__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile--a { grid-column: 1 / 7; }
  .tile--b { grid-column: 2 / 6; margin-top: 0; }
  .tile--c { grid-column: 1 / 5; }
  .tile--d { grid-column: 1 / 7; margin-top: 0; }
  .commit__row { grid-template-columns: 1fr; gap: 10px; }
  .door__word { font-size: 13vw; }
  .doors__caption { max-width: 15ch; }
  .close__copy h2 { font-size: clamp(1.9rem, 9.2vw, 2.75rem); }
  .fab { width: 50px; height: 50px; }
}

/* ---------- Page intérieure : hero simple sans WebGL ---------- */
.page-hero { background: var(--black); color: #f5f5f7; padding: calc(var(--nav-h) + clamp(64px, 14vh, 160px)) var(--gutter) clamp(56px, 9vh, 100px); }
.page-hero__inner { max-width: 1400px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.75rem, 7vw, 5rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.035em; max-width: 18ch; text-wrap: balance; }
.page-hero p { margin-top: clamp(14px, 2vh, 22px); max-width: 52ch; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.42; color: rgba(245, 245, 247, 0.8); text-wrap: pretty; }

/* ---------- Liste des boutiques ---------- */
.shops-list { background: var(--paper); color: var(--ink); padding: clamp(24px, 5vw, 48px) var(--gutter) clamp(48px, 8vw, 96px); }
.shop { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--line-l); }
.shop:last-child { border-bottom: 1px solid var(--line-l); }
.shop--reverse .shop__frame { order: 2; }
.shop__frame { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #e8e8ed; border-radius: 2px; }
.shop__frame img { width: 100%; height: 100%; object-fit: cover; }
.shop__info h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.shop__badge { display: inline-block; margin-left: 0.5em; font-size: 0.5em; font-weight: 500; letter-spacing: 0; color: var(--mute-l); vertical-align: middle; }
.shop__text { margin-top: 14px; max-width: 46ch; font-size: 1.0625rem; line-height: 1.45; color: var(--mute-l); text-wrap: pretty; }
.shop__meta { margin-top: clamp(20px, 3vh, 28px); display: grid; gap: 10px; }
.shop__meta div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; font-size: 0.9375rem; line-height: 1.4; }
.shop__meta dt { color: var(--mute-l); }
.shop__meta dd { margin: 0; }
.shop__meta a { transition: color 0.3s; }
.shop__meta a:hover { color: var(--blue); }
.shop__actions { margin-top: clamp(20px, 3vh, 28px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(18px, 2.6vw, 30px); }
.shop__map { margin-top: clamp(20px, 3vh, 28px); position: relative; height: 220px; border-radius: 2px; overflow: hidden; border: 1px solid var(--line-l); background: var(--gray); }
.shop__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.02); }

/* ---------- Liste des services ---------- */
.services-list { background: var(--paper); color: var(--ink); padding: clamp(24px, 5vw, 48px) var(--gutter) clamp(48px, 8vw, 96px); }
.service { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6.5vw, 84px) 0; border-top: 1px solid var(--line-l); }
.service:last-child { border-bottom: 1px solid var(--line-l); }
.service--reverse .service__frame { order: 2; }
.service__frame { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #e8e8ed; border-radius: 2px; }
.service__frame img { width: 100%; height: 100%; object-fit: cover; }
.service__info h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.service__text { margin-top: 12px; max-width: 50ch; font-size: 1.0625rem; line-height: 1.45; color: var(--mute-l); text-wrap: pretty; }
.service__list { margin-top: clamp(16px, 2.4vh, 24px); display: grid; gap: 8px; }
.service__list li { position: relative; padding-left: 1.2em; font-size: 0.9375rem; line-height: 1.4; color: var(--ink); }
.service__list li::before { content: "–"; position: absolute; left: 0; color: var(--mute-l); }
.service__list li a { color: var(--blue); transition: color 0.3s; }
.service__list li a:hover { color: var(--blue-hi); }

@media (max-width: 860px) {
  .service, .service--reverse { grid-template-columns: 1fr; }
  .service--reverse .service__frame { order: 0; }
}

/* ---------- CTA de clôture (sans photo) ---------- */
.page-cta { background: var(--black); color: #f5f5f7; padding: clamp(88px, 13vw, 168px) var(--gutter); text-align: center; }
.page-cta__inner { max-width: 640px; margin: 0 auto; }
.page-cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.page-cta p { margin-top: 14px; font-size: 1.0625rem; color: rgba(245, 245, 247, 0.72); }
.page-cta .pill { margin-top: clamp(24px, 3.5vh, 36px); }
.page-cta__actions { margin-top: clamp(24px, 3.5vh, 36px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px clamp(18px, 2.6vw, 30px); }
.page-cta__actions .pill { margin-top: 0; }

@media (max-width: 860px) {
  .shop, .shop--reverse { grid-template-columns: 1fr; }
  .shop--reverse .shop__frame { order: 0; }
  .shop__meta div { grid-template-columns: 5.5em 1fr; }
}

/* ---------- Pourquoi JT2A : variante fond gris (page À propos) ---------- */
.commit--alt { background: var(--gray); }

/* ---------- Étapes (Commander une clé) ---------- */
.steps { background: var(--paper); color: var(--ink); padding: clamp(24px, 5vw, 48px) var(--gutter) clamp(48px, 8vw, 96px); }
.steps__title { max-width: 1400px; margin: 0 auto clamp(28px, 4vw, 48px); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.steps__list { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.step__num { display: block; font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--blue-d); }
.step h3 { margin-top: 12px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.4; color: var(--mute-l); }

@media (max-width: 860px) {
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}

/* ---------- Panneau (formulaires, coordonnées) ---------- */
.panel { background: #fff; border: 1px solid var(--line-l); border-radius: 2px; padding: clamp(26px, 4vw, 44px); }

/* ---------- Formulaires ---------- */
.form-section { padding: clamp(24px, 5vw, 48px) var(--gutter) clamp(56px, 9vw, 112px); }
.form-section--paper { background: var(--paper); color: var(--ink); }
.form-section--gray { background: var(--gray); color: var(--ink); }
.form-section__inner { max-width: 720px; margin: 0 auto; }
.form-section__inner > h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.form-section__inner > p { margin-top: 8px; max-width: 52ch; font-size: 1rem; line-height: 1.45; color: var(--mute-l); }
.form-section__inner .panel { margin-top: clamp(28px, 4.5vh, 40px); }

.form { display: grid; gap: 24px; }
.field { display: grid; gap: 9px; }
.field label { font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.field .hint { font-size: 0.8125rem; font-weight: 400; color: var(--mute-l); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; letter-spacing: -0.01em; color: var(--ink);
  padding: 14px 16px; border-radius: 2px; border: 1px solid var(--line-l); background: var(--gray);
  transition: border-color 0.3s, background-color 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute-l); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }

.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.25 6 8.25l4-4' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 11px; padding-right: 42px;
}
.field select option {
  font-family: var(--font); font-size: 1rem; color: var(--ink); background: #fff; padding: 10px;
}

/* ---------- Sélecteur personnalisé (pointeur fin) : le popup natif du <select> ne se laisse pas styler ---------- */
.select { position: relative; }
.select__native { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.select__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left;
  font-family: var(--font); font-size: 1rem; letter-spacing: -0.01em; color: var(--ink);
  padding: 14px 42px 14px 16px; border-radius: 2px; border: 1px solid var(--line-l); background: var(--gray);
  cursor: pointer; transition: border-color 0.3s, background-color 0.3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.25 6 8.25l4-4' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 11px;
}
.select__trigger:hover, .select.is-open .select__trigger { border-color: var(--blue); background-color: #fff; }
.select__list {
  position: fixed; z-index: 60; max-height: 260px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line-l); border-radius: 2px; padding: 6px; margin: 0; list-style: none;
}
.select__option { padding: 10px 12px; border-radius: 2px; font-size: 0.9375rem; letter-spacing: -0.01em; color: var(--ink); cursor: pointer; }
.select__option.is-active { background: var(--gray); }
.select__option[aria-selected="true"] { font-weight: 600; }

.field input[type="file"] {
  width: 100%; font-family: var(--font); font-size: 0.9375rem; color: var(--mute-l);
  padding: 10px 10px 10px 14px; border-radius: 2px; border: 1px solid var(--line-l); background: var(--gray);
}
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 9px 18px; border: 0; border-radius: 980px; background: var(--blue); color: #fff;
  font-family: var(--font); font-size: 0.8125rem; letter-spacing: -0.01em; cursor: pointer; transition: background 0.3s;
}
.field input[type="file"]::file-selector-button:hover { background: var(--blue-hi); }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form__grid .field { min-width: 0; }
.form__grid--cp { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

.field-group { display: grid; gap: 24px; }

input[type="checkbox"] { width: 19px; height: 19px; margin-top: 1px; flex: none; accent-color: var(--blue); }

.radio-group { display: inline-flex; gap: 4px; padding: 4px; background: var(--gray); border-radius: 980px; }
.radio-option {
  position: relative; display: flex; align-items: center; padding: 10px 22px; border-radius: 980px;
  font-size: 0.9375rem; letter-spacing: -0.01em; color: var(--mute-l); cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}
.radio-option:has(input:checked) { background: #fff; color: var(--ink); }
.radio-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

.field--check { display: flex; flex-direction: row; align-items: flex-start; gap: 11px; }
.field--check label { font-size: 0.9375rem; font-weight: 400; line-height: 1.42; color: var(--mute-l); }
.field--check label a { color: var(--blue); transition: color 0.3s; }
.field--check label a:hover { color: var(--blue-hi); }

[data-conditional] { overflow: hidden; }
[data-conditional][hidden] { display: none; }

.form__foot { padding-top: 28px; border-top: 1px solid var(--line-l); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__foot .hint { font-size: 0.8125rem; color: var(--mute-l); }

/* Piège à robots : un champ que seuls les robots remplissent, hors écran mais dans le DOM */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__notice { padding: 14px 18px; border-radius: 2px; border: 1px solid var(--line-l); background: var(--gray); color: var(--ink); font-size: 0.9375rem; line-height: 1.4; }
.form__notice:not([hidden]) { margin-bottom: 24px; }
.form__notice.is-error { border-color: var(--ink); }

@media (max-width: 640px) {
  .form__grid { grid-template-columns: 1fr; }
  .radio-group { display: flex; }
  .radio-option { flex: 1; justify-content: center; text-align: center; }
}

/* ---------- Contact ---------- */
.contact { background: var(--paper); color: var(--ink); padding: clamp(24px, 5vw, 48px) var(--gutter) clamp(56px, 9vw, 112px); }
.contact__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__col > h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.contact__col > p { margin-top: 8px; font-size: 1rem; color: var(--mute-l); }
.contact__col > .panel { margin-top: clamp(24px, 3.5vh, 32px); }
.coords + .coords { margin-top: clamp(24px, 3vh, 32px); padding-top: clamp(24px, 3vh, 32px); border-top: 1px solid var(--line-l); }
.coords h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }
.coords__list { margin-top: 18px; display: grid; gap: 16px; }
.coords__list dt { font-size: 0.8125rem; color: var(--mute-l); }
.coords__list dd { margin: 4px 0 0; font-size: 1.0625rem; letter-spacing: -0.01em; }
.coords__list dd a { transition: color 0.3s; }
.coords__list dd a:hover { color: var(--blue); }
.coords__phone { font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 600; letter-spacing: -0.03em; }
.coords__shops-list { margin-top: 16px; display: grid; gap: 12px; }
.coords__shops-list a { font-size: 0.9375rem; letter-spacing: -0.01em; opacity: 0.86; transition: opacity 0.3s, color 0.3s; }
.coords__shops-list a:hover { opacity: 1; color: var(--blue); }
.coords__shops-list .shop__badge { display: inline; margin-left: 0; font-size: 0.8125rem; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ---------- Pages légales ---------- */
.legal { background: var(--paper); color: var(--ink); padding: clamp(24px, 5vw, 48px) var(--gutter) clamp(72px, 10vw, 140px); }
.legal__inner { max-width: 720px; margin: 0 auto; }
.legal__updated { margin-bottom: clamp(32px, 5vh, 44px); padding: 14px 18px; border: 1px solid var(--line-l); border-radius: 2px; background: var(--gray); font-size: 0.875rem; color: var(--mute-l); }
.legal__updated strong { color: var(--ink); font-weight: 600; }
.legal h2 { margin-top: clamp(40px, 6vh, 56px); font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-top: 14px; font-size: 1rem; line-height: 1.6; color: var(--mute-l); }
.legal ul { margin-top: 14px; display: grid; gap: 8px; list-style: none; padding-left: 0; }
.legal ul li { position: relative; padding-left: 1.2em; font-size: 1rem; line-height: 1.55; color: var(--mute-l); }
.legal ul li::before { content: "–"; position: absolute; left: 0; color: var(--mute-l); }
.legal strong { font-weight: 600; color: var(--ink); }
.legal a { color: var(--blue); transition: color 0.3s; }
.legal a:hover { color: var(--blue-hi); }

/* ---------- Mouvement réduit ---------- */
html.rm .intro { display: none; }
html.rm .door, html.rm .progress, html.rm .hero__cue { display: none; }
html.rm .doors__stage { height: min(70vh, 640px); }
html.rm .hero__frame:not(.is-on) { display: none; }
html.rm .crafts__pin { min-height: 0; }
html.rm .crafts__stage { overflow-x: auto; scroll-snap-type: x proximity; }
html.rm .crafts__track { transform: none !important; }
html.rm .craft { scroll-snap-align: start; }
html.rm .commit__row { --w: 100%; }
html.rm .close__img { top: 0; height: 100%; }
html.rm .nav.is-light { color: #f5f5f7; }
@media (prefers-reduced-motion: reduce) {
  .intro__word, .pill, .textlink svg, .hero__canvas, .hero__cue::after { animation: none; transition: none; }
}
