/* L'Établi du Temps : pages intérieures (chargé après shell.css).
   Composants repris de l'ancienne feuille (style.css), recolorés ; en-têtes de page avec vraies photos, sans 3D. */
:root {
  --bg: #F6F3ED; --bg-2: #EEEAE2; --surface: #FAF9F6; --surface-2: #F1EEE8;
  --line: #D5CAB7; --line-2: #C6BAA4;
  --ink: #22231E; --muted: #605D55;
  --accent: #2B2C27; --accent-ink: #F8F7F3;
  --accent-soft: rgba(167, 152, 125, .12); --accent-line: rgba(167, 152, 125, .55); --glow: rgba(167, 152, 125, .16);
  --shadow: 0 18px 56px rgba(22, 20, 17, .1);
  --wa: #25D366; --wa-ink: #06280F; --danger: #A8432A;
  --display: var(--serif); --body-font: var(--sans);
  --hdr: var(--hh); --r: 0;
}
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--gut); }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
.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; } }
.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(--sans); 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(--sans); 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; }

/* 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(--sans); 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(--sans); 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(--sans); 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(--sans); font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.tariff td.q { font-family: var(--sans); 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(--sans); 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; }

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); }
.ph-slot small { display: block; max-width: 22ch; font-size: 13px; line-height: 1.35; color: var(--ink); }
.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 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 640px) { .mf-row .btn span { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
.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(--sans); 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(--sans); 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(--sans); 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; }

/* 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); }

/* petits écrans (320 px) : aucune colonne ne doit dépasser */
.mapwrap, .trio { grid-template-columns: minmax(0, 1fr); }
.facts li, .trio > *, .ways > *, .regions > * { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.mapcol, .map-find, .trio .rows { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 400px) { .trio .rows .v { white-space: normal; text-align: right; } }
/* titres des pages légales : les mots longs (« Geschäftsbedingungen ») se coupent proprement */
.legal-head h1 { font-size: clamp(34px, 8.6vw, 72px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }

/* ================================================================ nouveau style des pages */
body.page { font-size: 17px; }
.page main h1, .page main h2, .page main h3, .page main h4 { font-weight: 400; color: var(--ink); }
.page .lede { color: var(--body); max-width: 36em; }

/* en-tête de page : texte à gauche, vraie photo à droite (comme l'accueil) */
.phead { position: relative; background: var(--paper); }
.phead .wrap.phead-in { max-width: none; padding: 0; display: grid; grid-template-columns: 47fr 53fr; min-height: clamp(560px, 80vh, 860px); min-height: clamp(560px, 80svh, 860px); }
.phead-copy { align-self: end; padding: calc(var(--hh) + 56px) clamp(24px, 4vw, 72px) clamp(40px, 7vh, 88px) var(--gut); max-width: 780px; }
.phead h1 { font-size: clamp(42px, 5vw, 84px); line-height: 1.02; letter-spacing: -.015em; margin-bottom: 26px; }
.phead h1 em { display: block; font-style: italic; }
.phead .lede { margin-top: 0; }
.phead .btns { margin-top: 30px; }
.phead-fig { position: relative; margin: var(--hh) 0 0; overflow: hidden; background: #625B50; }
.phead-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.035); }
.js .phead-fig img { animation: phIn 1.6s var(--ease) both; }
.js .phead-copy > * { animation: up 1.1s var(--ease) both; }
.js .phead-copy > :nth-child(2) { animation-delay: .08s; } .js .phead-copy > :nth-child(3) { animation-delay: .16s; } .js .phead-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes phIn { from { opacity: 0; scale: 1.05; } to { opacity: 1; scale: 1; } }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.phead-in.solo { grid-template-columns: 1fr !important; min-height: 0 !important; }
.phead-in.solo .phead-copy { max-width: 980px; padding-bottom: 40px; }
.phead + .sec { padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
@media (max-width: 899px) {
  .phead .wrap.phead-in { grid-template-columns: 1fr; min-height: 0; }
  .phead-fig { order: -1; aspect-ratio: 4 / 3.2; }
  .phead-copy { padding: 34px var(--gut) 48px; }
  .phead h1 { font-size: clamp(36px, 10vw, 58px); }
  .phead-in.solo .phead-copy { padding-top: calc(var(--hh) + 40px); }
}

/* sections */
.sec { padding-block: clamp(72px, 9vw, 130px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec:nth-of-type(even) { background: var(--paper-2); }
.sec h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.06; letter-spacing: -.01em; }
.sec-head { gap: 0; margin-bottom: clamp(32px, 4vw, 52px); max-width: 820px; }
.sec-head .k { margin-bottom: 18px; }
.sec-head h2 + p, .sec-head p:not(.k) { margin-top: 18px; font-size: 17px; color: var(--body); max-width: 40em; }
.k { color: var(--deep); }

/* boutons et liens dans les pages */
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.ghost, .btn.wa { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost::before, .btn.wa::before { background: var(--ink); }
.btn.ghost:hover, .btn.wa:hover { color: var(--paper); background: transparent; border-color: var(--ink); }
.btn.wa svg circle { fill: currentColor; }
.btn.block { width: 100%; justify-content: center; }
.btns { margin-top: 26px; }
@media (max-width: 560px) { .btns .btn { flex: 1 1 100%; justify-content: center; } }
.link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--ink); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link svg { width: 16px; height: 16px; }
.svc-more { margin-top: 30px; gap: 8px 30px; }

/* listes, encadrés */
.dl > div { padding: 26px 0; }
.dl dt { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; }
.dl dd { color: var(--body); }
.note { border-left: 1px solid var(--champ); background: var(--surface); padding: 28px 28px; }
.note h3 { font-size: clamp(22px, 2vw, 30px); }
.note p { color: var(--body); }
.shop { border-color: var(--line); padding: clamp(24px, 3vw, 40px); }
.tl li::before { border-color: var(--line-2); color: var(--muted); }
.tl h3 { font-size: clamp(22px, 1.9vw, 28px); }
.todo { border-style: solid; border-color: var(--line); background: var(--surface); }
.todo b, .place .role, .crow .kk, .tariff td .from { color: var(--muted); }
.place .hours b { color: var(--ink); }
.place .pnote { border-left-color: var(--champ); }
.place { border-color: var(--line); }
.mapbox { border-color: var(--line); background: var(--surface); }
.ch .land { fill: var(--paper); stroke: var(--ink); stroke-width: 1.1; }
.ch .lake { fill: #DCE1E2; stroke: none; }
.ch .city circle { fill: var(--grey); }
.ch .pin .disc { fill: var(--ink); }
.ch .pin .ring { stroke: var(--ink); }
.map-legend svg { color: var(--ink); }
.map-legend i { background: var(--grey); }
.pinbtns .btn[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.search input, .fld input[type=email], .fld input[type=tel], .fld input:not([type]), .fld textarea { background: var(--surface); border-color: var(--line-2); font-size: 17px; }
.search input:focus, .fld textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(34, 35, 30, .08); }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.consent a, .prose a { color: var(--ink); }
.ph-slot { border-style: solid; border-color: var(--line); background: var(--surface); }
.ph-slot svg { color: var(--champ); }
.portrait.todo, .w-todo { border-color: var(--line); }

/* appel final des pages */
.sec.end { background: var(--stage); text-align: left; border-top: 1px solid var(--line); }
.sec.end .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px 60px; align-items: end; }
.sec.end h2 { font-size: clamp(38px, 4.6vw, 72px); line-height: 1.02; grid-column: 1; }
.sec.end .lede { margin: 0; grid-column: 1; font: italic 400 clamp(20px, 1.8vw, 28px)/1.3 var(--serif); color: var(--ink); }
.sec.end .btns { grid-column: 2; grid-row: 1 / 3; margin: 0; justify-content: flex-end; }
@media (max-width: 899px) {
  .sec.end .wrap { grid-template-columns: 1fr; }
  .sec.end .btns { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}

/* pages légales */
.legal-head { border-bottom: 1px solid var(--line); }
.prose p, .prose li { color: var(--body); font-size: 17px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); }

@media (prefers-reduced-motion: reduce) {
  .ch .pin .ring { animation: none; }
  .js .phead-fig img, .js .phead-copy > * { animation: none; }
}

/* pendule à l'heure (page Pendules) : photo, aiguilles posées par-dessus, balancier qui bat */
.phead-clock { background: #000; }
.watch { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 1; transform: translateX(-50%); }
.watch-dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.watch-hand { position: absolute; max-width: none; will-change: transform; }
.clock-hand { filter: drop-shadow(1.5px 3px 2px rgba(40, 24, 6, .45)); }
.clock-win { position: absolute; inset: 0; pointer-events: none; }
.clock-pend { position: absolute; max-width: none; filter: drop-shadow(6px 10px 8px rgba(0, 0, 0, .55)); }
.phead-fig .clock-pend, .js .phead-fig .clock-pend { animation: swing .76s cubic-bezier(.37, 0, .63, 1) infinite alternate; }
.js .phead-clock img:not(.clock-pend) { animation: none; }
@keyframes swing { from { rotate: -3.4deg; } to { rotate: 3.4deg; } }
.js .phead-clock .watch { animation: phIn 1.6s var(--ease) both; }
@media (max-width: 899px) { .phead-clock { aspect-ratio: 1 / 1.02; } }
@media (prefers-reduced-motion: reduce) { .phead-fig .clock-pend, .js .phead-fig .clock-pend { animation: none; } }
.ch .land, .ch .cant, .ch .lake { vector-effect: non-scaling-stroke; }

/* galerie des montres (Prestations) */
.mw-grid { gap: clamp(16px, 2vw, 28px); }
@media (max-width: 899px) { .mw-grid .mw figcaption b { font-size: 17px; } .mw-grid .mw figcaption span { font-size: 13.5px; } }

/* vue éclatée progressive (Prestations, À l'atelier) */
.xp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.xp { position: sticky; top: calc(var(--hh) + 24px); margin: 0; aspect-ratio: 2 / 3; max-height: calc(100vh - var(--hh) - 48px); width: 100%; overflow: hidden; background: #6F675F; box-shadow: 0 18px 56px rgba(22, 20, 17, .12); }
.xp-i { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: opacity, transform; }
.xp-i + .xp-i { opacity: 0; }
.xp-dots { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 8px; transform: translateX(-50%); }
.xp-dots i { width: 22px; height: 2px; background: rgba(255, 255, 255, .35); transition: background .4s; }
.xp-dots i.on { background: #fff; }
.xp-body .sec-head { margin-top: 0; }
@media (max-width: 899px) {
  .xp-grid { grid-template-columns: 1fr; }
  .xp { position: relative; top: auto; max-height: none; aspect-ratio: 4 / 5; }
}

/* Prestations : la montre se démonte au défilement, en tête de page (scène épinglée) */
.phead-xp { height: 230vh; height: 230svh; }
.phead-xp .wrap.phead-in { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.phead-xpw { position: relative; margin-top: var(--hh); display: grid; place-items: center; padding: clamp(16px, 3vh, 40px) clamp(16px, 3vw, 48px);
  background: radial-gradient(120% 90% at 50% 45%, #8C8378 0%, #6F675F 70%, #625B53 100%); overflow: hidden; }
.phead-xp .xp { position: relative; top: auto; height: 100%; width: auto; max-height: none; aspect-ratio: 2 / 3; box-shadow: 0 24px 70px rgba(14, 12, 10, .28); }
.phead-xp .xp-dots { bottom: 14px; }
.phead-xp .phead-copy { align-self: center; }
@media (max-width: 899px) {
  /* téléphone : pas de scène épinglée, la page défile normalement */
  .phead-xp { height: auto; }
  .phead-xp .wrap.phead-in { position: relative; height: auto; }
  .phead-xpw { margin-top: var(--hh); height: min(66svh, 560px); }
  .phead-xp .wrap.phead-in { grid-template-rows: auto auto; }
  .phead-xpw { order: -1; padding: 12px 16px; }
  .phead-xp .phead-copy { padding: 18px var(--gut) 26px; }
  .phead-xp h1 { font-size: clamp(30px, 8.4vw, 46px); margin-bottom: 12px; }
  .phead-xp .lede { font-size: 15.5px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) { .phead-xp { height: auto; } .phead-xp .wrap.phead-in { position: relative; height: auto; min-height: 100svh; } }

/* Me trouver : toutes les villes, par région (texte lisible par Google) */
.villes { columns: 3 260px; column-gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: 8px; }
.vr { break-inside: avoid; padding: 18px 0 14px; }
.vr h3 { font-size: 21px; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.vr h3 small { font: 500 12.5px/1 var(--sans); color: var(--muted); letter-spacing: .04em; }
.vr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.vr li { font-size: 15px; color: var(--body); }
.vr li:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--sand); }
.vr a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s; }
.vr a:hover, .vr a:focus-visible { background-size: 100% 1px; color: var(--ink); }
