/* L'Établi du Temps : socle commun à toutes les pages (polices, couleurs, en-tête, menu, pied de page, boutons, apparitions).
   Chaque page ajoute ensuite home.css (accueil) ou pages.css (autres pages). */

@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 {
  --paper: #F6F3ED;
  --paper-2: #F2ECE2;
  --stage: #EAE2D4;
  --facts: #E9E0CF;
  --deep: #7D6A4C;
  --white: #FAF9F6;
  --ink: #22231E;
  --body: #55524D;
  --grey: #6E6B64;
  --muted: #77705F;
  --champ: #A7987D;
  --sand: #B8A78E;
  --night: #221F19;
  --line: #D5CAB7;
  --line-2: #AAA49A;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: clamp(20px, 4.2vw, 64px);
  --hh: 72px;
  --ease: cubic-bezier(.22, .61, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 12px); }
body { margin: 0; background: var(--paper); color: #282A25; font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html.lock, html.lock body { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.k { font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--deep); margin-bottom: 18px; }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; }
.i { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- boutons et liens */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 22px; background: #20221E; color: #F8F7F3; border: 1px solid #20221E; text-decoration: none; font: 500 15px/1.2 var(--sans); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover { background: #000; border-color: #000; }
.btn:hover .i { transform: translateX(3px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tlink { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; font: 500 15px/1.3 var(--sans); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }
.tlink .i { width: 16px; height: 16px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 26px; }

/* ---------------------------------------------------------------- en-tête */
.top { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hh); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.top.scrolled { background: rgba(246, 243, 237, .96); box-shadow: 0 1px 0 var(--line); }
.top-in { height: 100%; display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand b { font: 500 19px/1.1 var(--serif); white-space: nowrap; }
.brand i { font: 400 12px/1.3 var(--sans); font-style: normal; color: var(--grey); white-space: nowrap; }
.top-nav ul { display: flex; gap: 26px; }
.top-nav a { white-space: nowrap; font-size: 14.5px; text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.top-nav a:hover { background-size: 100% 1px; }
.top-tools { display: flex; align-items: center; gap: 18px; }
.top-rdv { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); text-decoration: none; font: 500 14px/1 var(--sans); transition: background .3s, color .3s; }
.top-rdv:hover { background: var(--ink); color: var(--paper); }
.top-rdv .i { width: 16px; height: 16px; }
.top-lang, .menu-lang { display: flex; gap: 2px; }
.top-lang a, .menu-lang a { display: grid; place-items: center; min-width: 30px; height: 30px; font: 500 12.5px/1 var(--sans); letter-spacing: .04em; text-decoration: none; color: var(--grey); }
.top-lang a:hover, .menu-lang a:hover { color: var(--ink); }
.top-lang a[aria-current], .menu-lang a[aria-current] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.burger { display: inline-flex; align-items: center; gap: 10px; height: 38px; font: 500 14px/1 var(--sans); }
.burger-l { display: grid; gap: 6px; width: 22px; }
.burger-l i { display: block; height: 1.5px; background: currentColor; }

@media (max-width: 1320px) {
  .top-nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 720px) {
  :root { --hh: 64px; }
  .top-lang, .top-rdv span { display: none; }
  .top-rdv { width: 38px; padding: 0; justify-content: center; }
  .brand b { font-size: 17px; }
  .brand .mark { width: 30px; height: 30px; }
  .burger-t { display: none; }
  .burger { width: 38px; justify-content: center; }
}
@media (max-width: 380px) { .brand i { display: none; } }

/* menu (mobile et tablette) */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; opacity: 0; transition: opacity .35s var(--ease); }
.menu.open { opacity: 1; }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gut) 32px; }
.menu-top { height: var(--hh); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu-k { font: 500 12.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.menu-x { display: inline-flex; align-items: center; gap: 10px; height: 40px; font-size: 14px; }
.menu-x svg { width: 22px; height: 22px; }
.menu-main { margin-top: 12px; }
.menu-main li { border-bottom: 1px solid var(--line); overflow: hidden; }
.menu-main a { display: block; padding: 14px 0; font: 400 clamp(26px, 6.4vw, 40px)/1.15 var(--serif); text-decoration: none; transform: translateY(100%); transition: transform .6s var(--ease); }
.menu.open .menu-main a { transform: none; }
.menu-main li:nth-child(2) a { transition-delay: .03s } .menu-main li:nth-child(3) a { transition-delay: .06s } .menu-main li:nth-child(4) a { transition-delay: .09s }
.menu-main li:nth-child(5) a { transition-delay: .12s } .menu-main li:nth-child(6) a { transition-delay: .15s } .menu-main li:nth-child(7) a { transition-delay: .18s }
.menu-main a[aria-current] { font-style: italic; }
.menu-sub { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }
.menu-sub a { font-size: 16px; }
.menu-foot { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.menu-foot p { display: flex; flex-direction: column; gap: 4px; }
.menu-foot span { font-size: 13px; color: var(--grey); }
.menu-foot a[href^="tel"] { font: 500 22px/1.2 var(--sans); text-decoration: none; }

/* ---------------------------------------------------------------- pied de page */
.foot { background: var(--night); color: #E9E6DF; padding: clamp(64px, 8vw, 104px) var(--gut) 32px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px clamp(28px, 4vw, 64px); padding-bottom: 56px; }
.f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.f-brand .mark { width: 40px; height: 40px; }
.f-brand b { font: 400 26px/1.1 var(--serif); }
.f-who { color: #B9B6AE; margin-bottom: 26px; }
.f-who span { color: #E9E6DF; }
.f-contact div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.f-contact div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .13); }
.f-contact dt { color: #9C998F; font-size: 13.5px; }
.f-contact dd { overflow-wrap: anywhere; }
.f-files { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; font-size: 14px; }
.f-files a { color: #C9C5BB; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.f-h { font: 500 12.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--champ); margin-bottom: 16px; }
.f-h2 { margin-top: 30px; }
.f-col address { line-height: 1.55; }
.f-hrs { margin-top: 14px; line-height: 1.55; }
.f-note { margin-top: 12px; color: #B9B6AE; font-size: 14px; line-height: 1.55; }
.f-list li { padding: 3px 0; color: #C9C5BB; font-size: 14px; }
.f-list a { color: #E9E6DF; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.f-pages { border-top: 1px solid rgba(255, 255, 255, .13); padding: 22px 0; }
.f-pages ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.f-pages a { font-size: 14.5px; }
.f-bottom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: 13px; color: #9C998F; }
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.f-legal { flex-basis: 100%; max-width: 60em; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- apparitions */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .facts li.rv:nth-child(2), .js .steps li.rv:nth-child(2) { transition-delay: .08s; }
.js .facts li.rv:nth-child(3), .js .steps li.rv:nth-child(3) { transition-delay: .16s; }
.js .facts li.rv:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .menu-main a { transform: none; }
}
@media print {
  .top, .menu, .j-head { display: none; }
  .js .rv { opacity: 1; transform: none; }
}


/* ================================================================ finitions : mouvement */
:root { --out: cubic-bezier(.16, 1, .3, 1); --io: cubic-bezier(.77, 0, .18, 1); }

/* mots dévoilés par un masque */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .1em; margin: -.14em -.02em -.1em; }
.wi { display: inline-block; will-change: transform; }
.js .rv .wi { transform: translateY(108%); transition: transform 1.25s var(--out); transition-delay: calc(var(--i, 0) * 55ms + .05s); }
.js .rv.in .wi { transform: none; }
.js .rv.in { transform: none; }
.js .sec-head.rv, .js .work-txt.rv, .js .map-txt.rv, .js .end-txt.rv { transform: none; opacity: 1; }
.js .sec-head.rv .k, .js .work-txt.rv > :not(h2), .js .map-txt.rv > :not(h2), .js .end-txt.rv > :not(h2) { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--out) .35s, transform 1.2s var(--out) .35s; }
.js .sec-head.rv.in .k, .js .work-txt.rv.in > *, .js .map-txt.rv.in > *, .js .end-txt.rv.in > * { opacity: 1; transform: none; }
.js .sec-head.rv .k, .js .work-txt.rv .k, .js .map-txt.rv .k { transition-delay: 0s; }

/* photos dévoilées par un volet, l'image se pose */
.js .rvi:not(.in) { background: transparent !important; }
.js .rvi img, .js .rvi .svc-ph { clip-path: inset(100% 0 0 0); scale: 1.3; transition: clip-path 1.5s var(--io), scale 2.2s var(--out); }
.js .rvi.in img, .js .rvi.in .svc-ph { clip-path: inset(0 0 0 0); scale: 1; }
.js .svc-media.rvi img { clip-path: none; scale: 1; transition: none; }
.js .rvi.in .svc-ph:not(.on):not(.was) { clip-path: inset(0 0 0 100%); }
.js .w-tools.rvi img { transition-delay: .12s; } .js .w-cal.rvi img { transition-delay: .24s; }

/* boutons : remplissage qui balaie, flèche qui passe */
.btn, .top-rdv { position: relative; overflow: hidden; isolation: isolate; }
.btn::before, .top-rdv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #5E584D; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .7s var(--io); }
.btn:hover::before, .top-rdv:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-line::before, .top-rdv::before { background: var(--ink); }
.btn-line:hover, .top-rdv:hover { color: var(--paper); background: transparent; }
.btn .i { transition: transform .6s var(--io); }
.btn:hover .i { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .js .rv .wi, .js .rvi img, .js .rvi .svc-ph.on { transform: none !important; clip-path: none !important; scale: 1 !important; }
  .js .hero-fig .watch { animation: none; }
  .js .map-fig .m-land { stroke-dasharray: none; fill-opacity: 1; }
  .js .map-fig * { opacity: 1 !important; transform: none !important; }
  .js .facts li.rv > span, .js .sec-head.rv .k, .js .work-txt.rv > *, .js .map-txt.rv > *, .js .end-txt.rv > * { opacity: 1 !important; transform: none !important; }
  .facts li::before, .steps li::before { transform: none !important; }
}

/* page en cours dans le menu */
.top-nav a[aria-current] { background-size: 100% 1px; }
.top-rdv[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu-sub a[aria-current], .f-pages a[aria-current], .f-bottom a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

/* cartes : boutons de zoom (accueil et Me trouver) */
.map-zoomable, .mapbox { position: relative; }
.map-zoom { position: absolute; z-index: 3; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; }
.map-zoom button { display: grid; place-items: center; width: 40px; height: 40px; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(22, 20, 17, .08); transition: background .2s, color .2s, opacity .2s; }
.map-zoom button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.map-zoom button:disabled { opacity: .35; cursor: default; }
.map-zoom svg { width: 18px; height: 18px; }
.map-svg, .mapbox svg.ch { cursor: zoom-in; }
.is-zoomed .map-svg, .is-zoomed svg.ch { cursor: grab; }
.is-zoomed .map-svg:active, .is-zoomed svg.ch:active { cursor: grabbing; }


/* couleurs plus présentes : sable et bronze, sans changer la palette */
.hero h1 em, .phead h1 em { color: var(--deep); }
.tlink { background-image: linear-gradient(var(--champ), var(--champ)); }
.btn::before { background: var(--deep); }
.top.scrolled { background: rgba(246, 243, 237, .97); box-shadow: 0 1px 0 var(--line); }
.top-nav a { background-image: linear-gradient(var(--champ), var(--champ)); }
.foot { background: var(--night); }
::selection { background: rgba(167, 152, 125, .35); }

/* dernières montres */
.mw { margin: 0; min-width: 0; }
.mw-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #DED5C5; }
.mw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.mw:hover .mw-img img { transform: scale(1.045); }
.mw figcaption { display: grid; gap: 4px; padding-top: 16px; border-top: 0; }
.mw figcaption b { font: 400 clamp(19px, 1.5vw, 23px)/1.2 var(--serif); color: var(--ink); }
.mw figcaption span { font-size: 14.5px; line-height: 1.5; color: var(--body); }

/* Langue sur téléphone : bouton visible dans la barre (FR ▾), liste au toucher */
.top-lang-m { display: none; position: relative; }
.top-lang-m summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 9px; border: 1px solid var(--line-2); font: 600 13px/1 var(--sans); letter-spacing: .05em; cursor: pointer; color: var(--ink); }
.top-lang-m summary::-webkit-details-marker { display: none; }
.top-lang-m summary svg { width: 16px; height: 16px; }
.top-lang-m[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.top-lang-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 1px solid var(--line-2); box-shadow: 0 14px 34px rgba(20, 18, 14, .16); display: grid; gap: 2px; min-width: 150px; }
.top-lang-pop a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; text-decoration: none; font: 500 15px/1 var(--sans); color: var(--body); }
.top-lang-pop a span[aria-hidden] { font-weight: 600; letter-spacing: .05em; width: 22px; color: var(--deep); }
.top-lang-pop a .sr { position: static; width: auto; height: auto; clip-path: none; overflow: visible; white-space: nowrap; }
.top-lang-pop a[aria-current] { background: var(--stage); color: var(--ink); }
@media (max-width: 720px) { .top-lang-m { display: block; } }
@media (max-width: 480px) {
  .brand i { display: none; }
  .brand b { font-size: 17px; }
  .top-tools { gap: 6px; }
  .top-lang-m summary { padding: 0 8px; }
}
@media (max-width: 350px) { .brand b { display: none; } }

/* Logo de la graphiste (img/logo/) : en-tête et pied de page */
.brand b { display: block; line-height: 0; }
.brand-logo { display: block; height: 17px; width: auto; }
.brand span { gap: 6px; }
.f-brand { display: block; margin-bottom: 18px; }
.f-logo { display: block; width: min(300px, 100%); height: auto; }
@media (max-width: 480px) { .brand-logo { height: 13px; } }
@media (max-width: 350px) { .brand b { display: block; } .brand-logo { height: 11px; } }

.menu-logo { display: block; line-height: 0; }
.menu-logo img { display: block; height: 17px; width: auto; }
@media (max-width: 480px) { .menu-logo img { height: 13px; } }
.f-files { flex-direction: column; align-items: flex-start; gap: 8px; }
