/* L'Établi du Temps : feuille de style v9 (site PHP)
   Mise en page : catalogue d'horloger suisse, une montre au centre, beaucoup d'air, filets fins.
   Jour : ivoire et pétrole. Nuit : bleu nuit et champagne. Le visiteur choisit, sinon on suit son appareil. */

/* Polices hébergées sur le site (aucun appel à Google) */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-display: swap; font-weight: 400 900; src: url("../fonts/bodoni-moda-latin-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-display: swap; font-weight: 400 900; src: url("../fonts/bodoni-moda-latin-ext-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-display: swap; font-weight: 400 900; src: url("../fonts/bodoni-moda-latin-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-display: swap; font-weight: 400 900; src: url("../fonts/bodoni-moda-latin-ext-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url("../fonts/instrument-sans-latin-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url("../fonts/instrument-sans-latin-ext-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #F6F2EA;
  --bg-2: #EFE9DE;
  --surface: #FBF8F2;
  --surface-2: #F2ECE1;
  --line: #E1D9CB;
  --line-2: #CDC3B2;
  --ink: #17201E;
  --muted: #56605C;
  --accent: #145F63;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(20, 95, 99, .07);
  --accent-line: rgba(20, 95, 99, .3);
  --glow: rgba(20, 95, 99, .10);
  --shadow: 0 30px 70px rgba(30, 40, 38, .16);
  --wa: #25D366;
  --wa-ink: #06280F;
  --danger: #A8432A;
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hdr: 76px;
  --r: 0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-mode="day"]) {
    --bg: #0B111C; --bg-2: #0E1522; --surface: #121A29; --surface-2: #172134; --line: #212C40; --line-2: #2F3C55;
    --ink: #EEE9DF; --muted: #A7ADB8; --accent: #D3BB8E; --accent-ink: #15110A;
    --accent-soft: rgba(211, 187, 142, .09); --accent-line: rgba(211, 187, 142, .34); --glow: rgba(211, 187, 142, .10);
    --shadow: 0 30px 70px rgba(0, 0, 0, .5); --danger: #F2A38C; color-scheme: dark;
  }
}
:root[data-theme="dark"]:not([data-mode="day"]), :root[data-mode="night"] {
  --bg: #0B111C; --bg-2: #0E1522; --surface: #121A29; --surface-2: #172134; --line: #212C40; --line-2: #2F3C55;
  --ink: #EEE9DF; --muted: #A7ADB8; --accent: #D3BB8E; --accent-ink: #15110A;
  --accent-soft: rgba(211, 187, 142, .09); --accent-line: rgba(211, 187, 142, .34); --glow: rgba(211, 187, 142, .10);
  --shadow: 0 30px 70px rgba(0, 0, 0, .5); --danger: #F2A38C; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 19px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease;
}
img, svg, canvas { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; text-wrap: balance; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* libellé en petites capitales */
.k { margin: 0 0 16px; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 44ch; }

/* ---------------------------------------------------------------- en-tête */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .top { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.top-in { height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.burger { justify-self: start; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); }
.burger:hover { border-color: var(--accent); }
.brand { justify-self: center; text-align: center; text-decoration: none; line-height: 1; min-width: 0; }
.brand b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(21px, 5.8vw, 30px); letter-spacing: .01em; white-space: nowrap; }
.brand i { display: block; margin-top: 7px; font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (min-width: 640px) { .brand i { font-size: 10.5px; letter-spacing: .26em; } }
.tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang-btn, .mode-btn {
  height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; letter-spacing: .04em;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"], .mode-btn:hover { border-color: var(--accent); }
.flag { width: 22px; height: 15px; overflow: hidden; flex: none; display: block; box-shadow: 0 0 0 1px rgba(127, 127, 127, .3); }
.chev { width: 12px; height: 12px; opacity: .7; }
.lang-btn .lang-code { display: none; }
@media (min-width: 640px) { .lang-btn .lang-code { display: inline; } }
.mode-btn { width: 48px; justify-content: center; padding: 0; display: none; }
@media (min-width: 900px) { .mode-btn { display: inline-flex; } }
.mode-btn svg { width: 20px; height: 20px; }
.ico-sun { display: none; }
:root[data-mode="night"] .ico-sun, :root[data-theme="dark"]:not([data-mode="day"]) .ico-sun { display: block; }
:root[data-mode="night"] .ico-moon, :root[data-theme="dark"]:not([data-mode="day"]) .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-mode="day"]) .ico-sun { display: block; }
  :root:not([data-theme="light"]):not([data-mode="day"]) .ico-moon { display: none; }
}
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; margin: 0; list-style: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 12px; text-decoration: none; font-size: 17px; }
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a[aria-current="true"] { color: var(--accent); font-weight: 600; }

/* ---------------------------------------------------------------- menu plein écran */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--bg); overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 40px); }
.menu-head { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu-t { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.menu-close { width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; cursor: pointer; display: grid; place-items: center; }
.menu-close svg { width: 20px; height: 20px; }
.menu nav ol { list-style: none; margin: 18px 0 0; padding: 0; }
.menu nav ol li { border-bottom: 1px solid var(--line); }
.menu nav ol li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; text-decoration: none; font-family: var(--display); font-size: clamp(30px, 7.6vw, 44px); line-height: 1.08; }
.menu nav ol li a svg { width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .15s ease; }
.menu nav ol li a:hover, .menu nav ol li a[aria-current="page"] { color: var(--accent); }
.menu nav ol li a:hover svg, .menu nav ol li a[aria-current="page"] svg { color: var(--accent); transform: translateX(4px); }
.menu-sub { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px; }
.menu-sub a { display: block; padding: 12px 2px; text-decoration: none; font-size: 19px; color: var(--muted); }
.menu-sub a:hover, .menu-sub a[aria-current="page"] { color: var(--accent); }
.menu-contact { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.menu-contact a { font-family: var(--display); font-size: 32px; text-decoration: none; color: var(--accent); }
.menu-contact span { color: var(--muted); font-size: 16px; }
.menu-mode { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.menu-mode .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-mode button { height: 52px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.menu-mode button svg { width: 18px; height: 18px; }
.menu-mode button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.lock { overflow: hidden; }

/* ---------------------------------------------------------------- boutons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--r); cursor: pointer; text-decoration: none;
  font-family: var(--body); font-size: 17px; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  background: var(--accent); color: var(--accent-ink); transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn.wa { background: var(--wa); color: var(--wa-ink); }
.btn.block { width: 100%; }
@media (max-width: 560px) { .btns .btn { flex: 1 1 100%; } }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link svg { width: 18px; height: 18px; transition: transform .15s ease; }
.link:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- scènes 3D */
.stage { position: relative; width: 100%; }
.stage canvas, .stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stage canvas { opacity: 0; transition: opacity .8s ease; }
.stage.live canvas { opacity: 1; }
.stage.live .poster { opacity: 0; transition: opacity 0s linear .85s; }
.stage.fade { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%); }
.stage::before { content: ""; position: absolute; inset: 12% 10%; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }

/* ---------------------------------------------------------------- accueil */
.hero { text-align: center; padding-block: 34px 56px; }
.hero .k { margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 8.2vw, 74px); line-height: 1.06; max-width: 22ch; margin-inline: auto; }
.hero h1 em { display: block; }
.hero .stage { height: min(96vw, 620px); margin-top: 6px; }
.hero .live-cap { margin-top: -6px; font-size: 14px; color: var(--muted); letter-spacing: .02em; visibility: hidden; }
.hero .stage.live + .live-cap { visibility: visible; }
.hero .lede { margin: 16px auto 0; text-align: center; }
.hero .btns { justify-content: center; }

.facts { border-block: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.facts li { padding: 26px 18px; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.facts li:nth-last-child(-n+2) { border-bottom: 0; }
.facts b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 7vw, 44px); line-height: 1.05; color: var(--accent); font-variant-numeric: lining-nums; }
.facts span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) {
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li, .facts li:nth-child(odd) { border-bottom: 0; border-right: 1px solid var(--line); padding: 34px 28px; }
  .facts li:first-child { padding-left: 0; }
  .facts li:last-child { border-right: 0; }
}

.sec { padding-block: 72px; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(34px, 6.4vw, 56px); line-height: 1.06; }
.sec-head { margin-bottom: 38px; display: grid; gap: 14px; max-width: 760px; }
.sec-head p:not(.k) { color: var(--muted); font-size: 19px; max-width: 54ch; }
.sec-head.center { text-align: center; margin-inline: auto; justify-items: center; }
@media (min-width: 900px) { .sec { padding-block: 104px; } }

/* prestations en rangées éditoriales */
.svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc li { display: grid; gap: 10px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc h3 { font-size: clamp(26px, 5vw, 34px); line-height: 1.12; }
.svc p { color: var(--muted); max-width: 52ch; }
.svc .ico { color: var(--accent); }
.svc .ico svg { width: 30px; height: 30px; display: block; }
@media (min-width: 900px) { .svc li { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; gap: 32px; padding: 36px 0; } .svc h3, .svc p { margin-top: 2px; } }
.svc-more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 36px; }

/* trois étapes sur une ligne de temps */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.tl li { position: relative; padding: 0 0 34px 64px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: attr(data-n); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent-line); display: grid; place-items: center; font-family: var(--display); font-size: 21px; color: var(--accent); background: var(--bg); }
.tl li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; width: 1px; background: var(--line-2); }
.tl h3 { font-size: 27px; line-height: 1.15; }
.tl p { margin-top: 6px; color: var(--muted); max-width: 46ch; }
@media (min-width: 900px) {
  .tl { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .tl li { padding: 64px 0 0; }
  .tl li::before { top: 0; }
  .tl li:not(:last-child)::after { left: 56px; right: -32px; top: 22px; bottom: auto; width: auto; height: 1px; }
}

/* carte */
.mapwrap { display: grid; gap: 18px; }
.mapbox { scroll-margin-top: calc(var(--hdr) + 16px); position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.mapbox svg.ch { display: block; width: 100%; height: auto; touch-action: manipulation; }
.ch .land { fill: var(--bg-2); stroke: var(--accent-line); stroke-width: 1.4; }
.ch .cant { fill: none; stroke: var(--line-2); stroke-width: .7; opacity: .75; }
.ch .lake { fill: var(--surface); stroke: var(--line-2); stroke-width: .6; }
.ch .city circle { fill: var(--accent); opacity: .7; }
.ch .labels text { fill: var(--muted); font-family: var(--body); font-size: 12.5px; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.ch .labels text.major { fill: var(--ink); font-weight: 500; }
.ch .labels text.minor { font-size: 11.5px; }
.ch.compact .pin text { display: none; }
.ch .halo { fill: var(--glow); }
.ch .pin { cursor: pointer; }
.ch .pin .ring { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .55; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.ch .pin .disc { fill: var(--accent); }
.ch .pin path.ico { fill: var(--accent-ink); }
.ch .pin text { fill: var(--ink); font-family: var(--body); font-weight: 600; font-size: 15px; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.ch .pin:focus { outline: none; }
.ch .pin:focus-visible .disc { stroke: var(--ink); stroke-width: 2; }
@keyframes ping { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.map-legend svg { width: 22px; height: 22px; color: var(--accent); }
.map-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .75; display: inline-block; }
.mapcol { display: grid; gap: 14px; align-content: start; min-width: 0; }
.map-sec { padding-top: 8px; }
.pinbtns { display: grid; gap: 10px; margin-top: 18px; }
.pinbtns .btn { justify-content: flex-start; }
.pinbtns .btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@media (min-width: 640px) and (max-width: 899px) { .pinbtns { grid-template-columns: 1fr 1fr; } }
.place { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); display: grid; }
.place .ph { aspect-ratio: 16 / 7; display: grid; place-content: center; justify-items: center; gap: 6px; border-bottom: 1px dashed var(--accent-line); background: var(--accent-soft); color: var(--muted); font-size: 14px; letter-spacing: .04em; padding: 10px; text-align: center; }
.place .ph svg { width: 30px; height: 30px; color: var(--accent); }
.place .pc { padding: 20px 20px 22px; display: grid; gap: 6px; }
.place .role { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.place h3 { font-size: 28px; line-height: 1.15; }
.place .addr { font-size: 18px; }
.place .desc { color: var(--muted); font-size: 17px; }
.place .hours { color: var(--muted); font-size: 16px; margin-top: 6px; }
.place .hours b { display: block; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.place .pnote { margin-top: 8px; padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--accent-soft); font-size: 16px; }
.place .btns { margin-top: 14px; }
@media (min-width: 900px) { .mapwrap.full { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } .mapwrap.full .place { position: sticky; top: calc(var(--hdr) + 20px); } }

/* avis */
.todo { border: 1px dashed var(--accent-line); border-radius: var(--r); padding: 26px 22px; color: var(--muted); background: var(--accent-soft); }
.todo b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* appel final */
.end { text-align: center; }
.end h2 { font-size: clamp(38px, 8vw, 70px); }
.end .lede { margin: 16px auto 0; }
.end .btns { justify-content: center; }

/* ---------------------------------------------------------------- en-tête de page avec montre */
.phead { padding-block: 34px 20px; }
.phead-in { display: grid; gap: 8px; align-items: center; }
.phead h1 { font-size: clamp(42px, 10vw, 80px); line-height: 1.02; }
.phead .lede { margin-top: 18px; }
.phead .stage { height: min(92vw, 520px); }
.phead + .sec { padding-top: 48px; }
@media (min-width: 900px) {
  .phead { padding-block: 56px 36px; }
  .phead-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
  .phead .stage { height: 600px; }
  .phead-in.solo { grid-template-columns: minmax(0, 1fr); }
}

/* listes définition (prestations, pro) */
.dl { margin: 0; border-top: 1px solid var(--line); }
.dl > div { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-family: var(--display); font-size: 26px; line-height: 1.15; }
.dl dd { margin: 0; color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) { .dl > div { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: baseline; } }

.shop { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 26px 22px; display: grid; gap: 20px; }
.shop .dl { border-top: 0; }
.shop .dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.shop-meta { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-meta b { font-family: var(--display); font-size: 24px; font-weight: 500; }
.shop-meta span { color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .shop { padding: 34px 36px; } }
.note { margin-top: 28px; padding: 26px 24px; border-left: 2px solid var(--accent); background: var(--surface); }
.note h3 { font-size: 26px; margin-bottom: 6px; }
.note p { color: var(--muted); }
.note .k { margin-bottom: 8px; }

/* ---------------------------------------------------------------- catalogue */
.search-wrap { padding-bottom: 4px; }
.cat-sec { padding-top: 44px; }
.search { position: relative; }
.search svg { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 62px; padding: 0 18px 0 54px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); color: var(--ink); font: inherit; font-size: 19px; }
.search input::placeholder { color: var(--muted); opacity: .85; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 0; text-decoration: none; font-size: 15px; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.cat { margin-top: 52px; scroll-margin-top: calc(var(--hdr) + 16px); }
.cat:first-child { margin-top: 0; }
.cat-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.sec .cat-h h2 { font-size: clamp(28px, 5vw, 38px); }
.cat-h small { font-size: 14px; color: var(--muted); white-space: nowrap; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid li { border-bottom: 1px solid var(--line); }
.grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.grid a { display: block; padding: 18px 14px 18px 0; text-decoration: none; min-height: 100%; }
.grid li:nth-child(even) a { padding-left: 14px; }
.grid a b { display: block; font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.grid a small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.grid a:hover b { color: var(--accent); }
.hit { display: block; font-size: 14px; color: var(--accent); margin-top: 4px; }
@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid li, .grid li:nth-child(odd) { border-right: 1px solid var(--line); }
  .grid li:nth-child(3n) { border-right: 0; }
  .grid li a, .grid li:nth-child(even) a { padding: 22px 18px; }
}
@media (min-width: 1080px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid li:nth-child(3n) { border-right: 1px solid var(--line); }
  .grid li:nth-child(4n) { border-right: 0; }
}
.cat[hidden], .grid li[hidden] { display: none !important; }
.none { margin-top: 26px; }
.bview-top { margin-bottom: 18px; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); text-decoration: none; font-weight: 600; }
.back:hover { border-color: var(--accent); color: var(--accent); }
.back svg { width: 18px; height: 18px; }
svg.i { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.i.b2 { stroke-width: 2; }
.bview h2 { font-size: clamp(42px, 9vw, 72px); line-height: 1.02; }
.bview .meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.bview .lede { margin-top: 14px; }
.models { margin-top: 30px; border-top: 1px solid var(--line); }
.model { border-bottom: 1px solid var(--line); }
.model summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 20px 2px; font-family: var(--display); font-size: 26px; line-height: 1.15; }
.model summary::-webkit-details-marker { display: none; }
.model summary > span:first-child { flex: 1 1 auto; min-width: 0; }
.model summary small { font-family: var(--body); font-size: 14px; color: var(--muted); white-space: nowrap; }
.model summary .pm { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .2s ease; }
.model summary .pm svg { width: 14px; height: 14px; }
.model[open] summary .pm { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.model .badge { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); padding: 3px 8px; white-space: nowrap; }
@media (max-width: 420px) { .model summary small { display: none; } }
.mbody { padding: 0 2px 24px; display: grid; gap: 14px; }
.fact { display: grid; gap: 8px; margin: 0; }
.fact dt { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 15px; padding: 5px 10px; background: var(--surface-2); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mnote { color: var(--accent); font-size: 16px; }
.mbody .btn { justify-self: start; margin-top: 6px; }
@media (min-width: 760px) { .mbody { grid-template-columns: 1fr 1fr; } .mbody .mnote, .mbody .btn { grid-column: 1 / -1; } }
.mq-foot { margin-top: 22px; color: var(--muted); font-size: 16px; max-width: 64ch; }

/* ---------------------------------------------------------------- estimateur */
.est { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.est-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.est-count { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.est-bar { height: 2px; background: var(--line); overflow: hidden; }
.est-bar i { display: block; height: 100%; width: 25%; background: var(--accent); transition: width .3s ease; }
.est-step { padding: 26px 20px 28px; }
.est-step > h2 { font-size: clamp(32px, 6.6vw, 46px); margin-bottom: 22px; }
@media (min-width: 900px) { .est-step { padding: 34px 40px 38px; } .est-head { padding: 22px 40px; } }
.fld { margin: 0 0 26px; border: 0; padding: 0; min-width: 0; }
.fld > label, .fld > legend, .lbl { display: block; margin-bottom: 12px; padding: 0; font-weight: 600; font-size: 18px; }
.fld .help { margin: -4px 0 12px; color: var(--muted); font-size: 16px; }
.fld input[type=text], .fld input[type=date], .form-card input[type=text] {
  width: 100%; height: 58px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--ink); font: inherit; font-size: 18px;
}
.fld input:focus, .form-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choices { display: grid; gap: 8px; }
@media (min-width: 760px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice, .opt { position: relative; display: block; }
.choice input, .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: grid; gap: 2px; min-height: 64px; height: 100%; align-content: center; padding: 12px 16px 12px 48px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); cursor: pointer; position: relative; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); }
.choice b { font-weight: 600; font-size: 17px; line-height: 1.3; }
.choice small { font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.choice input:checked + span::before { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); background: var(--accent); }
.choice input:focus-visible + span, .opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); cursor: pointer; font-size: 17px; }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.opts.stack { display: grid; }
.opts.stack.two { grid-template-columns: 1fr; }
@media (min-width: 760px) { .opts.stack.two { grid-template-columns: 1fr 1fr; } }
.opt svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.opt input:checked + span svg { color: var(--accent); }
.qnote { margin-top: 12px; padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--accent-soft); font-size: 16px; }
.err { color: var(--danger); margin-top: 10px; font-size: 16px; }
.counter { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.counter button { width: 56px; height: 54px; border: 0; background: var(--bg); cursor: pointer; display: grid; place-items: center; }
.counter button svg { width: 18px; height: 18px; }
.counter output { min-width: 64px; text-align: center; font-family: var(--display); font-size: 28px; font-variant-numeric: lining-nums; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.photos figure { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); max-width: 100%; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos button { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .62); color: #fff; cursor: pointer; display: grid; place-items: center; }
.photos button svg { width: 14px; height: 14px; }
.pick-row { display: flex; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.est-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.est-nav .btn { flex: 1 1 200px; }
.result { display: grid; gap: 12px; }
.band { padding: 20px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.band.hi { border-color: var(--accent-line); background: var(--accent-soft); }
.band .lab { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.band .amt { font-family: var(--display); font-size: clamp(30px, 7.6vw, 40px); line-height: 1.05; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.rnote { color: var(--muted); font-size: 16px; }
.est-out .msg-h { margin-top: 28px; font-size: 26px; }
.recap { margin: 14px 0 0; padding: 18px; background: var(--bg); border: 1px solid var(--line); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 300px; overflow: auto; }
.est-out .btns { margin-top: 18px; }
.est-out .photorem { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* grille de tarifs */
.tariff { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.tariff th, .tariff td { text-align: left; padding: 16px 10px 16px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.tariff thead th { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.tariff thead th small { display: block; margin-top: 2px; letter-spacing: .06em; text-transform: none; font-weight: 400; font-size: 13px; }
.rec { display: inline-block; margin-left: 8px; padding: 2px 7px; border: 1px solid var(--accent-line); color: var(--accent); font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }
.tariff tbody th { font-weight: 400; }
.tariff tbody th b { display: block; font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.2; }
.tariff tbody th small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.tariff td { font-family: var(--display); font-size: 21px; white-space: nowrap; color: var(--ink); }
.tariff td small { font-family: var(--body); font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.tariff td.q { font-family: var(--body); font-size: 15px; color: var(--accent); white-space: normal; }
.tariff tr.grp th { padding-top: 30px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 640px) {
  .tariff thead { display: none; }
  .tariff tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .tariff tr.grp { border-bottom: 0; padding-bottom: 0; }
  .tariff th, .tariff td { border: 0; padding: 0; }
  .tariff tbody th { grid-column: 1 / -1; margin-bottom: 8px; }
  .tariff td::before { content: attr(data-l); display: block; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .tariff td.q { grid-column: 1 / -1; }
  .tariff td.q::before { display: none; }
}
.tnote { margin-top: 16px; color: var(--muted); font-size: 16px; max-width: 70ch; }
.trio { display: grid; gap: 34px; margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.trio h3 { font-size: 26px; margin-bottom: 8px; }
.trio p { color: var(--muted); }
.ticks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent); }
.trio .rows { margin-top: 6px; display: grid; }
.trio .rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.trio .rows .l { display: grid; gap: 2px; }
.trio .rows .l b { font-weight: 600; }
.trio .rows .l small { color: var(--muted); font-size: 15px; }
.trio .rows .v { color: var(--accent); white-space: nowrap; font-weight: 600; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; } }

/* ---------------------------------------------------------------- me trouver */
.ways { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ways > div { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.ways h3 { font-size: 26px; }
.ways p { color: var(--muted); }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 40px; } .ways > div { border-top: 1px solid var(--line); border-bottom: 0; } }
.regions { display: grid; gap: 0; border-top: 1px solid var(--line); }
.regions > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.regions h3 { font-size: 24px; margin-bottom: 6px; }
.regions p { color: var(--muted); }
@media (min-width: 900px) { .regions { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; } .regions > div { border-top: 1px solid var(--line); border-bottom: 0; } }
.contact { border-top: 1px solid var(--line); }
.crow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.crow .kk { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.crow .vv { font-size: 20px; margin-top: 3px; overflow-wrap: anywhere; }
.copy { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; cursor: pointer; font-size: 15px; }
.copy:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------------------------------------------------------- histoire */
.story-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } .story-grid .portrait { position: sticky; top: calc(var(--hdr) + 32px); } }
.portrait { width: 100%; aspect-ratio: 4 / 5; display: grid; place-content: center; text-align: center; padding: 24px; margin: 0; }
@media (max-width: 899px) { .portrait { aspect-ratio: auto; min-height: 150px; } }
.story { display: grid; gap: 22px; max-width: 62ch; }
.story p { font-size: 19px; color: var(--muted); }
.story p.big { font-family: var(--display); font-size: clamp(26px, 5.4vw, 34px); line-height: 1.3; color: var(--ink); }
.ways-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.ways-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 18px; }
.ways-list svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 2px; }

/* ---------------------------------------------------------------- suivi */
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.form-card { padding: 26px 22px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.track-h { font-size: clamp(30px, 6vw, 40px); margin-bottom: 14px; }
.track { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.track li { counter-increment: s; position: relative; display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.track li::before { content: counter(s); width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--accent-line); display: grid; place-items: center; font-family: var(--display); font-size: 20px; color: var(--accent); background: var(--surface); }
.track li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 56px; height: calc(100% - 44px); width: 1px; background: var(--line-2); }
.track li span { font-size: 19px; }
.out { margin-top: 18px; display: grid; gap: 12px; }
.out p { color: var(--muted); }
.callalt { margin-top: 18px; color: var(--muted); }
.callalt b { color: var(--ink); white-space: nowrap; }

/* ---------------------------------------------------------------- pied de page */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 60px calc(env(safe-area-inset-bottom, 0px) + 110px); }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; } }
.foot-brand { margin: 0 0 22px; }
.foot-brand b { display: block; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.foot-brand i { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 15px; }
.foot .callk { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.foot .phone { display: inline-block; margin-top: 6px; font-family: var(--display); font-size: clamp(32px, 8vw, 42px); line-height: 1.1; color: var(--accent); text-decoration: none; font-variant-numeric: lining-nums; }
.foot .mail { display: inline-block; margin-top: 6px; font-size: 18px; overflow-wrap: anywhere; }
.foot .offer { margin-top: 14px; font-family: var(--display); font-size: 20px; color: var(--accent); }
.foot h4 { margin: 0 0 12px; font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot li, .foot address { color: var(--muted); font-style: normal; font-size: 16.5px; }
.foot address b { color: var(--ink); font-weight: 600; }
.foot address + address { margin-top: 16px; }
.foot .hrs { display: block; margin-top: 4px; font-size: 15px; }
.foot-dl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.foot-dl .btn { min-height: 48px; padding: 10px 18px; font-size: 15.5px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-nav a { text-decoration: none; font-size: 16px; }
.foot-nav a:hover { color: var(--accent); }
.legal { margin-top: 18px; color: var(--muted); font-size: 14px; max-width: 80ch; }
.legal + .legal { margin-top: 6px; }

/* ---------------------------------------------------------------- bulle WhatsApp */
.bubble { position: fixed; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bubble-panel { width: min(310px, calc(100vw - 32px)); padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 10px; }
.bubble-panel p { font-family: var(--display); font-size: 24px; line-height: 1.1; margin: 2px 4px 6px; }
.bubble-panel .btn { justify-content: flex-start; text-align: left; min-height: 64px; padding: 10px 16px; gap: 14px; }
.bubble-panel .btn span { display: grid; gap: 1px; min-width: 0; }
.bubble-panel .btn b { font-size: 17px; }
.bubble-panel .btn small { font-weight: 400; font-size: 14px; opacity: .85; overflow-wrap: anywhere; }
.bubble-panel .btn svg { width: 22px; height: 22px; }
.bubble-btn { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .35); }
.bubble-btn svg { width: 32px; height: 32px; }
.bubble-btn .x { display: none; }
.bubble-btn[aria-expanded="true"] .x { display: block; width: 24px; height: 24px; }
.bubble-btn[aria-expanded="true"] .w { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ch .pin .ring { animation: none; }
  * { transition: none !important; }
}

/* ================================================================ v9 */
/* emblème de l'atelier (balancier) dans l'en-tête et le pied de page */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span { display: block; min-width: 0; }
.brand .mark { display: none; width: 36px; height: 36px; flex: none; color: var(--accent); }
@media (min-width: 700px) { .brand .mark { display: block; } }
.foot-brand .mark { display: block; width: 46px; height: 46px; color: var(--accent); margin-bottom: 14px; }
.acct-btn { height: 48px; display: none; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.acct-btn svg { width: 20px; height: 20px; flex: none; }
.acct-btn span { display: none; }
.acct-btn:hover, .acct-btn[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
@media (min-width: 900px) { .acct-btn { display: inline-flex; } }
@media (min-width: 1180px) { .acct-btn span { display: inline; } }
button.link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.small { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* prestations : emplacements des photos de travail */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.shot { margin: 0; min-width: 0; }
.ph-slot { aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 10px; text-align: center;
  border: 1px dashed var(--accent-line); border-radius: var(--r); background: var(--accent-soft); color: var(--muted); font-size: 14px; letter-spacing: .03em; }
.ph-slot svg { width: 32px; height: 32px; color: var(--accent); }
.shot.watch .ph-slot { background: var(--surface-2); }
.shot figcaption { margin-top: 10px; font-size: 16px; }
.shot figcaption b { font-weight: 600; }

/* pendules */
.pe-notes { display: grid; gap: 0 28px; margin-top: 10px; }
@media (min-width: 900px) { .pe-notes { grid-template-columns: 1fr 1fr; } }

/* pièces et délais */
.choices.two { grid-template-columns: 1fr; }
@media (min-width: 760px) { .choices.two { grid-template-columns: 1fr 1fr; } }
.choices.three { grid-template-columns: 1fr; }
@media (min-width: 900px) { .choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pd-grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .pd-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.pd-q h3 { font-size: 26px; margin-bottom: 10px; }
.pd-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pd-list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd-list b { font-weight: 600; font-size: 18px; }
.pd-list span { color: var(--muted); }
.pd-warn { display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--accent-soft); font-size: 17px; max-width: 80ch; }
.pd-warn svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 1px; }

/* carte : zones, points cliquables, recherche */
.ch .city { cursor: pointer; }
.ch .city .hitzone { fill: transparent; stroke: none; }
.ch .city .dot { fill: var(--accent); opacity: .9; }
.ch .city.z2 .dot { opacity: .5; }
.ch .city.z3 .dot { fill: var(--surface); stroke: var(--accent); stroke-width: 1.3; opacity: .95; }
.ch .city:hover .dot { opacity: 1; }
.ch .city.on .dot { fill: var(--ink); stroke: var(--surface); stroke-width: 1.6; opacity: 1; }
.ch .city.on .hitzone { fill: var(--glow); }
.ch .labels text.small { font-size: 11px; }
.ch.mini .city .hitzone { display: none; }
.map-legend i.z1 { opacity: .9; }
.map-legend i.z2 { opacity: .5; }
.map-legend i.z3 { background: transparent; border: 1.3px solid var(--accent); opacity: 1; }
.map-find { display: grid; gap: 10px; margin-bottom: 16px; }
.map-find label { font-weight: 600; font-size: 17px; }
.mf-row { display: flex; gap: 8px; }
.mf-row input { flex: 1; min-width: 0; height: 54px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); color: var(--ink); font: inherit; font-size: 17px; }
.mf-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mf-row .btn { height: 54px; padding: 0 16px; }
.mf-row .btn span { display: none; }
@media (min-width: 640px) { .mf-row .btn span { display: inline; } }
.map-find .err { margin-top: 0; }
.zones { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.zones li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--muted); }
.zones li b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.zones i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 6px; }
.zones i.z2 { opacity: .5; }
.zones i.z3 { background: transparent; border: 1.4px solid var(--accent); }
.place .safe { margin-top: 8px; color: var(--muted); font-size: 15px; }
.place.is-city .role { letter-spacing: .1em; }

/* espace client (démonstration) */
.demo-note { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 26px; padding: 14px 16px; border: 1px dashed var(--accent-line); border-radius: var(--r); background: var(--accent-soft); font-size: 16px; }
.demo-note svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.cl-login { display: grid; gap: 34px; }
@media (min-width: 900px) { .cl-login { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.cl-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: -26px -22px 24px; border-bottom: 1px solid var(--line-2); }
.cl-tabs button { min-height: 56px; padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.cl-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.cl-card form { display: grid; gap: 0; }
.cl-card .btn { margin-bottom: 10px; }
.cl-card .link { margin: 8px 0 10px; }
.cl-card .help { color: var(--muted); font-size: 15px; }
.form-card input[type=email], .form-card input[type=password], .form-card input[type=tel], .form-card input:not([type]), .form-card select {
  width: 100%; height: 58px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--ink); font: inherit; font-size: 18px; }
.form-card select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 26px, calc(100% - 16px) 26px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form-card select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.okmsg { color: var(--accent); font-size: 15px; margin: 0 0 10px; }
.cl-why h2 { font-size: clamp(28px, 5vw, 36px); margin-bottom: 16px; }
.cl-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.cl-top h2 { font-size: clamp(30px, 6vw, 42px); }
.cl-h { margin: 30px 0 14px; font-size: 13px; font-family: var(--body); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.cl-watches { display: grid; gap: 18px; }
.wcard { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 20px 18px; display: grid; gap: 12px; min-width: 0; }
@media (min-width: 900px) { .wcard { padding: 26px 28px; } }
.wcard > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.wbon { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.wcard h4 { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.2; margin-top: 4px; }
.wcard h4 span { display: block; font-family: var(--body); font-size: 16px; color: var(--muted); margin-top: 2px; }
.wcard .chip { border-radius: 0; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.wcard .chip.st8 { background: var(--accent); color: var(--accent-ink); }
.wcard .chip.refused { color: var(--danger); border-color: currentColor; background: transparent; }
.wprog { height: 4px; background: var(--line); border-radius: 0; overflow: hidden; }
.wprog i { display: block; height: 100%; background: var(--accent); }
.wmeta { color: var(--muted); font-size: 15.5px; }
.wmsg { padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--accent-soft); font-size: 16px; }
.wready { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r); }
.wready b { font-size: 18px; }
.wtoggle { justify-self: start; }
.quote { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; }
.quote h5 { font-family: var(--display); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.qlines { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 16px; }
.qlines td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.qlines td.n { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.qlines tr.opt td { color: var(--muted); }
.qlines tr.tot td { font-weight: 700; font-size: 18px; border-bottom: 0; padding-top: 12px; }
.quote .fld { margin-bottom: 16px; }
.quote .fld > legend { font-size: 16px; margin-bottom: 8px; }
.quote .opt span { min-height: 44px; font-size: 16px; }
.quote .btns { margin-top: 4px; }
.wsteps { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; }
.wsteps li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.wsteps .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wsteps .d { color: var(--muted); font-size: 14px; white-space: nowrap; }
.wsteps li.done .n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wsteps li.now .n { border: 2px solid var(--accent); color: var(--accent); font-weight: 700; }
.wsteps li.now .t { font-weight: 600; color: var(--accent); }
.wsteps li.todo .t { color: var(--muted); }
.wsteps li.skip .t, .wsteps li.skip .d { color: var(--muted); font-style: italic; }
.wsteps li.skip .n { background: transparent; color: var(--muted); border-style: dashed; border-color: var(--line-2); }
.wmeas { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.wmeas caption { text-align: left; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.wmeas th, .wmeas td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.wmeas thead th { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wmeas tbody th { font-weight: 500; }
.wcard .lbl { font-size: 16px; margin: 4px 0 10px; }
.wphotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.wphotos .ph-slot { aspect-ratio: 4 / 3; font-size: 13px; gap: 4px; margin: 0; }
.wphotos .ph-slot svg { width: 22px; height: 22px; }
.wphotos .ph-slot.empty { opacity: .45; }
.wdocs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wdocs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 15px; }
.wdocs li svg { width: 18px; height: 18px; color: var(--accent); }
.wdocs li.later { color: var(--muted); border-style: dashed; }
.cl-appts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cl-appts li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.cl-appts li.none { color: var(--muted); border-style: dashed; background: transparent; }
.cl-appts b { font-weight: 600; }
.cl-appts span { color: var(--muted); font-size: 15px; }

/* prise de rendez-vous */
.rdv { max-width: 920px; }
.meet-box { margin-top: 12px; padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--accent-soft); display: grid; gap: 4px; font-size: 16px; }
.meet-box b { font-weight: 600; }
.meet-box .z { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.days, .slots { display: flex; flex-wrap: wrap; gap: 8px; }
.day, .slot { min-height: 48px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--ink); font: inherit; font-size: 15.5px; cursor: pointer; font-variant-numeric: tabular-nums; }
.day:hover, .slot:hover { border-color: var(--accent); }
.day[aria-pressed="true"], .slot[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.slot:disabled { cursor: not-allowed; opacity: .42; text-decoration: line-through; }
.slots .help { margin: 6px 0 0; color: var(--muted); }
.row2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.rdv-ok { margin-top: 18px; padding: 20px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--r); display: grid; gap: 8px; justify-items: start; }
.rdv-ok h3 { font-size: 26px; }
.rdv-ok .sum { font-size: 18px; font-weight: 600; }

/* accès horloger : tableau de bord de l'atelier (démonstration) */
.ad-link { margin-top: 6px; color: var(--muted); font-size: 15px; }
.ad-link svg { width: 18px; height: 18px; }
.ad-kpis { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .ad-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ad-kpis li { padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); display: grid; gap: 4px; }
.ad-kpis b { font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums; }
.ad-kpis span { color: var(--muted); font-size: 14.5px; }
.ad-table-wrap { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.ad-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ad-table th, .ad-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ad-table thead th { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ad-table tbody tr:last-child td { border-bottom: 0; }
.ad-table td.bon { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--muted); white-space: nowrap; }
.ad-table td b { display: block; font-weight: 600; }
.ad-table td span { display: block; color: var(--muted); font-size: 14px; }
.ad-table select { width: 100%; min-width: 0; height: 44px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; }
.ad-table select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 760px) {
  .ad-table thead { display: none; }
  .ad-table, .ad-table tbody, .ad-table tr, .ad-table td { display: block; width: 100%; }
  .ad-table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
  .ad-table tbody tr:last-child { border-bottom: 0; }
  .ad-table td { padding: 0; border: 0; }
}
.ad-cols { display: grid; gap: 22px; margin-top: 26px; }
@media (min-width: 900px) { .ad-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.ad-new h3, .ad-agenda h3 { font-size: 24px; margin-bottom: 14px; }
.ad-new .btn { margin-top: 2px; }

/* prix « à partir de » : la mention se lit avant le montant */
.tariff td .from { display: block; margin-bottom: 3px; font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ================================================================ site PHP : ajouts v9 */
/* champs ajoutés (estimation, rendez-vous) */
.fld input[type=email], .fld input[type=tel], .fld input:not([type]), .fld textarea {
  width: 100%; height: 58px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 18px;
}
.fld textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: 16px; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent); }
.send-box { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.send-box .btn { width: 100%; justify-content: center; }
@media (min-width: 640px) { .send-box .btn { width: auto; } }
.est-or { margin-top: 26px; color: var(--muted); font-size: 16px; }
.est-out .est-or + .btns { margin-top: 10px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* vraies photos */
.shot.has-img img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface-2); }
.portrait.has-img { padding: 0; display: block; overflow: hidden; background: var(--surface-2); }
.portrait.has-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .portrait.has-img { aspect-ratio: 4 / 5; } }
.place .ph.has-img { padding: 0; display: block; border-bottom: 0; background: none; }
.place .ph.has-img svg, .place .ph.has-img span { display: none; }
.place .ph.has-img img { width: 100%; height: 100%; object-fit: cover; }

/* accueil : mon travail */
.work-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .work-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 22px; align-items: stretch; } .work-portrait { aspect-ratio: auto; height: 100%; } }
.work-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .work-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.work-sec .svc-more { margin-top: 30px; }

/* pied de page : liens légaux */
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; }
.foot-legal a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-legal a:hover, .foot-legal a[aria-current="page"] { color: var(--accent); }

/* pages légales */
.legal-head .lede.small { font-size: 15px; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 4.4vw, 30px); margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 18px; }
.prose p + p { margin-top: 12px; }
.prose p.big { font-family: var(--display); font-size: clamp(22px, 4.6vw, 28px); line-height: 1.35; color: var(--ink); margin-bottom: 40px; }
.prose b { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.prose a { color: var(--accent); }
