/* atelier. · site concept ZELY · version retouchée */
:root {
  --bg: #efebe3;
  --paper: #f6f3ed;
  --ink: #1f1e1a;
  --olive: #3b4231;
  --taupe: #a38d70;
  --muted: #76716a;
  --line: rgba(31, 30, 26, 0.14);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --pad: clamp(20px, 3.6vw, 56px);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
em { font-style: italic; }
::selection { background: var(--olive); color: var(--bg); }

/* ---------- Bandeau concept ---------- */
.concept-bar { padding: 8px var(--pad); background: var(--ink); color: rgba(255, 255, 255, 0.6); font-size: 11.5px; letter-spacing: 0.02em; text-align: center; }
.concept-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

/* ---------- Typo ---------- */
.display, .display-2, .h2, .brand, .statement, .wordmark { font-family: var(--serif); font-weight: 300; letter-spacing: -0.035em; }
.display { font-size: clamp(60px, 10.4vw, 168px); line-height: 0.9; }
.display em, .display-2 em { font-weight: 200; }
.display .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.display .ln > span { display: block; transform: translateY(102%); transition: transform 1.6s var(--ease); }
.display .ln:nth-child(2) > span { transition-delay: 0.1s; }
.loaded .display .ln > span { transform: none; }
.display-2 { font-size: clamp(46px, 6.4vw, 104px); line-height: 0.95; }
.h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -0.03em; }
.label { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.lead { font-size: 16px; color: var(--muted); max-width: 400px; }

/* Lien souligné animé */
.u-link { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; padding-bottom: 4px; }
.u-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.7s var(--ease); }
.u-link:hover::after { transform: scaleX(0); }
.u-link::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease) 0.25s; }
.u-link:hover::before { transform: scaleX(1); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px var(--pad); background: rgba(239, 235, 227, 0); transition: background 0.5s, padding 0.5s var(--ease), transform 0.6s var(--ease); }
.nav.scrolled { background: rgba(239, 235, 227, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 14px; padding-bottom: 14px; }
.nav.hide { transform: translateY(-100%); }
.brand { font-size: 30px; line-height: 1; letter-spacing: -0.04em; font-weight: 400; }
.nav-links { display: flex; gap: 34px; font-size: 13px; color: var(--muted); }
.nav-links a { transition: color 0.3s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { justify-self: end; font-size: 13px; }
.burger { display: none; justify-self: end; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--ink); transition: transform 0.4s var(--ease); }
.burger i:first-child { top: 16px; }
.burger i:last-child { top: 23px; }
.burger[aria-expanded='true'] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded='true'] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 48; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 100px var(--pad) 48px; background: var(--bg); font-family: var(--serif); font-weight: 300; font-size: 44px; letter-spacing: -0.03em; line-height: 1.15; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .mm-cta { margin-top: 28px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Héros ---------- */
.hero { padding: clamp(40px, 7vw, 110px) 0 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; padding: 0 var(--pad); }
.hero-side { font-size: 13px; color: var(--muted); padding-top: 1.2vw; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(28px, 3.6vw, 56px); }
.hero-row .u-link { flex: none; }
.hero-row, .hero-side { opacity: 0; transition: opacity 1.4s var(--ease) 0.6s; }
.loaded .hero-row, .loaded .hero-side { opacity: 1; }
.hero-frame { margin-top: clamp(48px, 6vw, 96px); }
.hero-clip { height: min(86vh, 58vw); overflow: hidden; clip-path: inset(0 var(--inset, 22%) 0 var(--inset, 22%)); will-change: clip-path; }
.hero-clip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; scale: var(--zoom, 1.18); }
.hero-frame figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 14px var(--pad) 0; font-size: 12px; color: var(--muted); }

/* ---------- Manifeste et détails ---------- */
.intro { padding: clamp(110px, 12vw, 190px) var(--pad) 0; }
.statement { max-width: 1060px; font-size: clamp(28px, 3.3vw, 50px); line-height: 1.18; text-indent: 22%; }
.statement span { color: var(--muted); font-style: italic; font-weight: 200; }
.details { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: clamp(80px, 9vw, 140px); align-items: start; }
.details figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); }
.d1 { grid-column: 1 / span 5; }
.d1 .ph { aspect-ratio: 4 / 3; }
.d2 { grid-column: 7 / span 3; margin-top: 18vw; }
.d2 .ph { aspect-ratio: 3 / 4; }
.d3 { grid-column: 10 / span 3; margin-top: 6vw; }
.d3 .ph { aspect-ratio: 3 / 4; }
.ph { overflow: hidden; background: #ddd6ca; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
[data-par] { height: 110% !important; margin-top: -5%; will-change: translate; }

/* ---------- Métiers ---------- */
.metiers { position: relative; padding: clamp(120px, 13vw, 200px) var(--pad) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; margin-bottom: 48px; }
.sec-lead { max-width: 420px; color: var(--muted); }
.m-list { border-bottom: 1px solid var(--line); }
.m-row { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5.5fr) minmax(0, 3.5fr); gap: 40px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); cursor: default; transition: opacity 0.5s var(--ease); }
.m-num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 18px; color: var(--taupe); }
.m-row h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.035em; transition: transform 0.8s var(--ease); }
.m-row p { font-size: 14px; color: var(--muted); max-width: 320px; }
.m-thumb { display: none; }
.m-list:hover .m-row { opacity: 0.32; }
.m-list:hover .m-row:hover { opacity: 1; }
.m-row:hover h3 { transform: translateX(18px); }
.m-follow { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; height: 380px; overflow: hidden; pointer-events: none; clip-path: inset(50% 0 50% 0); transition: clip-path 0.7s var(--ease); }
.m-follow.on { clip-path: inset(0 0 0 0); }
.m-follow img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; transition: scale 1.2s var(--ease); }
.m-follow.on img { scale: 1; }

/* ---------- Réalisations ---------- */
.works { position: relative; height: 420vh; margin-top: clamp(120px, 13vw, 200px); background: var(--ink); }
.works-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.w-slide { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.w-slide:first-child { clip-path: inset(0 0 0 0); }
.w-slide img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; }
.w-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 16, 0.28) 0%, rgba(20, 19, 16, 0) 30%, rgba(20, 19, 16, 0) 55%, rgba(20, 19, 16, 0.55) 100%); }
.w-ui { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; padding: 28px var(--pad) 36px; color: #fff; }
.w-label { font-size: 13px; opacity: 0.85; }
.w-caps { position: relative; align-self: end; }
.w-cap { position: absolute; left: 0; bottom: 0; max-width: 760px; opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.w-cap.is-on { opacity: 1; transform: none; }
.w-cap h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4.2vw, 66px); line-height: 1.02; letter-spacing: -0.035em; }
.w-cap p { margin-top: 14px; font-size: 13px; opacity: 0.8; }
.w-count { justify-self: end; margin-top: 18px; font-size: 13px; opacity: 0.8; font-variant-numeric: tabular-nums; }
.w-count b { font-weight: 400; }

/* ---------- Méthode ---------- */
.method { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); padding: clamp(120px, 13vw, 200px) var(--pad) 0; align-items: start; }
.md-side { position: sticky; top: 110px; }
.md-img { margin-top: 44px; width: 62%; aspect-ratio: 4 / 5; }
.steps { border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 20px; padding: 34px 0 38px; border-bottom: 1px solid var(--line); }
.steps span { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--taupe); line-height: 1.6; }
.steps h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.steps p { margin-top: 10px; max-width: 460px; color: var(--muted); }

/* ---------- Témoignage ---------- */
.voice { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; padding: clamp(130px, 14vw, 220px) var(--pad) 0; }
.v-num { overflow: hidden; height: clamp(90px, 10vw, 150px); }
.v-num span { display: block; font-family: var(--serif); font-weight: 200; font-size: clamp(90px, 10vw, 150px); line-height: 1; color: rgba(31, 30, 26, 0.16); letter-spacing: -0.05em; transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); }
.v-num span.out { transform: translateY(-40%); opacity: 0; }
.v-quotes { display: grid; }
.v-q { grid-area: 1 / 1; opacity: 0; filter: blur(8px); transform: translateY(14px); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease); pointer-events: none; }
.v-q.is-on { opacity: 1; filter: none; transform: none; pointer-events: auto; }
.v-q blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -0.03em; max-width: 1000px; }
.v-q figcaption { margin-top: 34px; font-size: 14px; font-weight: 400; }
.v-q figcaption span { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 300; }
.v-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; }
.v-bars { display: flex; gap: 8px; }
.v-bars i { position: relative; width: 56px; height: 1px; background: var(--line); overflow: hidden; }
.v-bars i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.v-bars i.is-on::after { animation: bar 7s linear forwards; }
.v-bars i.done::after { transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }
.v-arrows { display: flex; gap: 6px; }
.v-arrows button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.v-arrows button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); padding: clamp(130px, 14vw, 220px) var(--pad) 0; }
.fq-list { border-top: 1px solid var(--line); }
.fq-list details { border-bottom: 1px solid var(--line); }
.fq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.fq-list summary::-webkit-details-marker { display: none; }
.fq-list summary::after { content: ''; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat; transition: transform 0.6s var(--ease); }
.fq-list details[open] summary::after { transform: rotate(45deg); }
.fq-a { overflow: hidden; }
.fq-a p { padding: 0 60px 28px 0; color: var(--muted); max-width: 620px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); padding: clamp(140px, 15vw, 240px) var(--pad) clamp(100px, 10vw, 160px); }
.ct-text > p { margin-top: 32px; max-width: 400px; color: var(--muted); }
.ct-facts { margin-top: 56px; border-top: 1px solid var(--line); max-width: 460px; }
.ct-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ct-facts dt { color: var(--muted); }
.ct-form { display: grid; gap: 30px; align-content: start; padding-top: 10px; }
.f { position: relative; }
.f input, .f textarea { width: 100%; padding: 22px 0 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 300 17px var(--sans); border-radius: 0; resize: none; transition: border-color 0.4s; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ink); }
.f label { position: absolute; left: 0; top: 22px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform 0.5s var(--ease), color 0.5s; }
.f input:focus + label, .f input:not(:placeholder-shown) + label, .f textarea:focus + label, .f textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(0.8); color: var(--ink); }
.f .invalid, .f input.invalid { border-color: #9b4a34; }
.f-type { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-type legend { width: 100%; margin-bottom: 14px; font-size: 12px; color: var(--muted); }
.f-type label { cursor: pointer; }
.f-type input { position: absolute; opacity: 0; pointer-events: none; }
.f-type span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.f-type input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.f-type input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.send { justify-self: start; display: inline-flex; align-items: center; gap: 16px; margin-top: 8px; padding: 18px 30px; border: 0; border-radius: 40px; background: var(--olive); color: #fff; font: 400 14px var(--sans); cursor: pointer; transition: background 0.4s, gap 0.6s var(--ease); }
.send:hover { background: var(--ink); gap: 24px; }
.form-note { font-size: 13.5px; color: var(--olive); }
.form-note:empty { display: none; }

/* ---------- Pied de page ---------- */
.footer { padding: 0 var(--pad); border-top: 1px solid var(--line); overflow: hidden; }
.ft-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; font-size: 12.5px; color: var(--muted); }
.ft-row a:not(.u-link) { text-decoration: underline; text-underline-offset: 3px; }
.wordmark { font-size: 39.5vw; line-height: 0.86; letter-spacing: -0.06em; font-weight: 300; margin: 1.5vw 0 0 -1.4vw; padding-bottom: 1.5vw; white-space: nowrap; }

.sticky-cta { display: none; }

/* ---------- Apparitions ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.m-list .rv:nth-child(2) { transition-delay: 0.06s; }
.m-list .rv:nth-child(3) { transition-delay: 0.12s; }
.m-list .rv:nth-child(4) { transition-delay: 0.18s; }
.m-list .rv:nth-child(5) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rv, .display .ln > span, .hero-row, .hero-side { transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero-clip { clip-path: none !important; }
}

/* ---------- Tablette et mobile ---------- */
@media (max-width: 1024px) {
  .m-row { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 0.8fr); gap: 24px; }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; padding-top: 16px; padding-bottom: 16px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero-top, .sec-head, .voice, .method, .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-top { gap: 18px; }
  .hero-side { order: -1; padding: 0; }
  .hero-side br { display: none; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-clip { height: 62vh; }
  .hero-frame figcaption { flex-direction: column; gap: 2px; }
  .statement { text-indent: 0; }
  .details { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .d1 { grid-column: 1 / -1; }
  .d2 { grid-column: 1 / span 3; margin-top: 20px; }
  .d3 { grid-column: 4 / span 3; margin-top: 90px; }
  .sec-head { gap: 16px; }
  .m-row { grid-template-columns: 34px minmax(0, 1fr); gap: 6px 16px; align-items: start; padding: 26px 0; }
  .m-num { padding-top: 6px; font-size: 16px; }
  .m-row p { grid-column: 2; }
  .m-thumb { display: block; grid-column: 2; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 14px; }
  .m-list:hover .m-row { opacity: 1; }
  .m-row:hover h3 { transform: none; }
  .m-follow { display: none; }
  .works { height: auto; background: none; margin-top: 110px; padding: 0 var(--pad); }
  .works-sticky { position: static; height: auto; overflow: visible; display: grid; gap: 34px; }
  .w-slides { display: grid; gap: 34px; }
  .w-slide { position: relative; clip-path: none !important; aspect-ratio: 4 / 5; overflow: hidden; }
  .w-slide img { scale: 1 !important; }
  .w-slide::after { display: none; }
  .w-ui { display: none; }
  .md-side { position: static; }
  .md-img { width: 100%; aspect-ratio: 16 / 10; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .v-num { height: 80px; }
  .v-num span { font-size: 80px; }
  .v-ctrl { margin-top: 36px; }
  .v-bars i { width: 36px; }
  .fq-a p { padding-right: 20px; }
  .ct-facts { margin-top: 36px; }
  .sticky-cta { display: block; position: fixed; left: 50%; bottom: 18px; z-index: 45; padding: 15px 28px; border-radius: 40px; background: var(--ink); color: var(--bg); font-size: 14px; white-space: nowrap; box-shadow: 0 14px 36px -12px rgba(0, 0, 0, 0.5); transform: translate(-50%, 160%); transition: transform 0.7s var(--ease); }
  .sticky-cta.show { transform: translate(-50%, 0); }
  .footer { padding-bottom: 80px; }
  .ft-row { flex-direction: column; gap: 6px; }
}
.w-mcap { display: none; }
@media (max-width: 860px) {
  .w-slides { gap: 44px; }
  .w-slide { aspect-ratio: auto; overflow: visible; }
  .w-slide img { height: auto; aspect-ratio: 4 / 5; }
  .w-mcap { display: block; margin-top: 14px; }
  .w-mcap strong { display: block; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.1; letter-spacing: -0.03em; }
  .w-mcap span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
}

/* =========================================================
   Prise de rendez-vous, plan avant / après, localisateur
   (dessins réalisés dans Figma, animés ici)
   ========================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 28px; }
.nav-tel { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; transition: color 0.3s; }
.nav-tel:hover { color: var(--ink); }
.mobile-menu .mm-tel { margin-top: 10px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--muted); }
.pulse { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6f8f4e; flex: none; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #6f8f4e; animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }
.dispo { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13.5px; color: var(--ink); }
.hero-row > div { max-width: 440px; }

/* Plan avant / après */
.projet { padding: clamp(120px, 13vw, 200px) var(--pad) 0; }
.compare { position: relative; margin-top: 8px; border-radius: 4px; overflow: hidden; background: #f4f0e8; cursor: ew-resize; touch-action: pan-y; user-select: none; --x: 100%; }
.plan { display: block; width: 100%; height: auto; }
.plan text { font-family: var(--serif); }
.plan text[id$='-s-20'], .plan text[id$='-s-22'], .plan text[id$='-s-12'] { font-family: var(--sans); }
.cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; outline: none; }
.cmp-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -0.5px; width: 1px; background: var(--ink); }
.cmp-handle span { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); transition: transform 0.4s var(--ease); }
.cmp-handle span::before, .cmp-handle span::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--bg); border-width: 0 0 1.4px 1.4px; }
.cmp-handle span::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.cmp-handle span::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.compare:hover .cmp-handle span, .cmp-handle:focus-visible span, .dragging .cmp-handle span { transform: translate(-50%, -50%) scale(1.12); }
.cmp-tag { position: absolute; top: 16px; padding: 5px 12px; border-radius: 40px; background: rgba(239, 235, 227, 0.92); font-size: 12px; color: var(--ink); pointer-events: none; }
.cmp-a { left: 16px; }
.cmp-b { right: 16px; }
.plan [id*='-t-'] { stroke-dasharray: var(--l, 1200); stroke-dashoffset: var(--l, 1200); transition: stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.drawn .plan [id*='-t-'] { stroke-dashoffset: 0; }
.plan [id*='-d-'] { stroke-dasharray: var(--l, 400); stroke-dashoffset: var(--l, 400); transition: stroke-dashoffset 1s var(--ease) 1.1s; }
.drawn .plan [id*='-d-'] { stroke-dashoffset: 0; }
.plan [id*='-b-'] { opacity: 0; transition: opacity 1s 0.6s; }
.drawn .plan [id*='-b-'] { opacity: 1; }
.plan text { opacity: 0; transition: opacity 0.8s 1.2s; }
.drawn .plan text { opacity: 1; }
.projet-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); }
.projet-facts div { padding: 16px 0; }
.projet-facts dt { font-size: 12px; color: var(--muted); }
.projet-facts dd { margin-top: 4px; font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; }

/* Localisateur */
.zone { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: center; padding: clamp(130px, 14vw, 220px) var(--pad) 0; }
.map-box { position: relative; border-radius: 4px; overflow: hidden; background: #f1ede4; }
.carte { display: block; width: 100%; height: auto; }
.carte text { font-family: var(--sans); }
.carte #villes text, .carte #atelier text { font-family: var(--serif); font-style: italic; }
.carte #departements path, .carte #arrondissements path { opacity: 0; transition: opacity 1s var(--ease); }
.carte #arrondissements path { transition-delay: calc(0.4s + var(--k, 0) * 0.03s); }
.map-in .carte #departements path, .map-in .carte #arrondissements path { opacity: 1; }
.carte #numeros, .carte #noms-departements { opacity: 0; transition: opacity 1s 1.2s; }
.map-in .carte #numeros, .map-in .carte #noms-departements { opacity: 1; }
.carte #rayon { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1) 1s; }
.map-in .carte #rayon { transform: scale(1); animation: ants 18s linear 2.8s infinite; }
@keyframes ants { to { stroke-dashoffset: -160; } }
.carte #etiquette-rayon { opacity: 0; transition: opacity 0.8s 2.4s; }
.map-in .carte #etiquette-rayon { opacity: 1; }
.carte #atelier > :not(#ondes) { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s; }
.carte #atelier-etiquette { transform-origin: center bottom !important; transition-delay: 1.4s !important; }
.map-in .carte #atelier > :not(#ondes) { transform: scale(1); }
.carte .onde { fill: none; stroke: #3b4231; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.map-in .carte .onde { animation: onde 3.8s cubic-bezier(0.2, 0.6, 0.35, 1) infinite; }
.map-in .carte .onde:nth-child(2) { animation-delay: 1.25s; } .map-in .carte .onde:nth-child(3) { animation-delay: 2.5s; }
@keyframes onde { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(7); opacity: 0; } }
.carte #villes > g { opacity: 0; transition: opacity 0.7s var(--ease); transition-delay: calc(1.8s + var(--d, 0s)); cursor: pointer; }
.map-in .carte #villes > g { opacity: 1; }
.carte #villes > g circle { transform-box: fill-box; transform-origin: center; transition: transform 0.4s var(--ease), fill 0.3s; }
.carte #villes > g.on circle { fill: #b08a5b; transform: scale(1.6); }
.carte .trajet { fill: none; stroke: #b08a5b; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: trace 1s var(--ease) forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.carte .visiteur { transform-box: fill-box; transform-origin: center bottom; animation: drop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes drop { from { transform: translateY(-36px) scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.map-tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 14px)); padding: 7px 12px; background: var(--ink); color: var(--bg); font-size: 12.5px; white-space: nowrap; pointer-events: none; }
.map-tip em { font-family: var(--serif); color: #e2d8c4; }
.zone-lead { margin-top: 22px; max-width: 420px; color: var(--muted); }
.locator { position: relative; margin-top: 34px; }
.loc-field { display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.loc-field input { flex: 1; min-width: 0; padding: 14px 0; border: 0; outline: 0; background: none; font: 300 17px var(--sans); color: var(--ink); }
.loc-field button { padding: 10px 0 10px 16px; border: 0; background: none; font: 400 14px var(--sans); color: var(--ink); cursor: pointer; }
.loc-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; margin: 0; padding: 6px; list-style: none; background: var(--paper); box-shadow: 0 24px 60px -30px rgba(31, 30, 26, 0.5); }
.loc-list li { display: flex; justify-content: space-between; padding: 10px 12px; cursor: pointer; font-size: 15px; }
.loc-list li small { color: var(--muted); }
.loc-list li[aria-selected='true'], .loc-list li:hover { background: #ebe6db; }
.loc-result { margin-top: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); animation: fadeup 0.6s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lr-t { font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; }
.loc-result p:not(.lr-t) { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.loc-result .u-link { margin-top: 14px; }
.towns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.towns button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 40px; background: none; font: 300 13px var(--sans); color: var(--ink); cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.towns button:hover, .towns button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Réservation de visite */
.ct-tel { display: inline-block; margin-top: 30px; font-size: 14px; color: var(--muted); }
.ct-tel b { font-weight: 400; color: var(--ink); border-bottom: 1px solid currentColor; }
.book { align-content: start; padding-top: 6px; }
.bk-steps { display: flex; gap: 22px; margin: 0 0 30px; padding: 0 0 16px; list-style: none; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.bk-steps li { display: flex; align-items: center; gap: 8px; transition: color 0.4s; }
.bk-steps span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.bk-steps li.on, .bk-steps li.done { color: var(--ink); }
.bk-steps li.on span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.bk-steps li.done span { border-color: var(--ink); }
.bk-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.bk-step.is-on { display: block; animation: fadeup 0.6s var(--ease); }
.bk-step > legend { margin-bottom: 20px; padding: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.02em; }
.bk-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-types label { cursor: pointer; }
.bk-types input { position: absolute; opacity: 0; pointer-events: none; }
.bk-card { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 14px 16px 18px; border: 1px solid var(--line); transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease); }
.bk-types label:hover .bk-card { border-color: var(--ink); transform: translateY(-3px); }
.bk-types input:checked + .bk-card { border-color: var(--ink); background: var(--paper); }
.bk-types input:focus-visible + .bk-card { outline: 1px solid var(--ink); outline-offset: 3px; }
.bk-card b { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: -0.02em; }
.bk-card small { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.rdv-ico { width: 100%; max-width: 120px; height: auto; margin-left: -8px; }
.rdv-ico [id*='-t-'] { stroke-dasharray: var(--l, 300); stroke-dashoffset: var(--l, 300); transition: stroke-dashoffset 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.drawn .rdv-ico [id*='-t-'] { stroke-dashoffset: 0; }
.rdv-ico [id*='-b-'] { transform-box: fill-box; transform-origin: center bottom; transform: scaleY(0); transition: transform 0.7s var(--ease); }
.bk-types label:hover .rdv-ico [id*='-b-'], .bk-types input:checked + .bk-card .rdv-ico [id*='-b-'] { transform: none; }
.bk-recap { margin: -10px 0 18px; font-size: 13.5px; color: var(--muted); }
.bk-recap:empty { display: none; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.bk-days button { flex: 0 0 auto; width: 74px; padding: 10px 0; border: 1px solid var(--line); background: none; font: 300 12px var(--sans); color: var(--muted); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.bk-days button b { font-family: var(--serif); font-weight: 300; font-size: 24px; color: var(--ink); line-height: 1.1; }
.bk-days button:hover:not(:disabled) { border-color: var(--ink); }
.bk-days button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: rgba(239, 235, 227, 0.7); }
.bk-days button[aria-selected='true'] b { color: var(--bg); }
.bk-days button:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.bk-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; min-height: 42px; }
.bk-slots button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; background: none; font: 300 14px var(--sans); color: var(--ink); cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.bk-slots button:hover:not(:disabled) { border-color: var(--ink); }
.bk-slots button[aria-selected='true'] { background: var(--olive); border-color: var(--olive); color: #fff; }
.bk-slots button:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.bk-hint { font-size: 13.5px; color: var(--muted); }
.book .f { margin-top: 20px; }
.book .f-type { margin-top: 26px; }
.bk-err { margin-top: 14px; font-size: 13.5px; color: #9b4a34; }
.bk-err:empty { display: none; }
.bk-nav { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 28px; }
.bk-back { margin-right: auto; padding: 8px 0; border: 0; background: none; font: 300 14px var(--sans); color: var(--muted); cursor: pointer; }
.book [hidden] { display: none !important; }
.book.sent .bk-steps, .book.sent .bk-step, .book.sent .bk-nav { display: none !important; }
.bk-done { padding: 30px 0; border-top: 1px solid var(--line); animation: fadeup 0.6s var(--ease); }
.bk-done-t { font-family: var(--serif); font-weight: 300; font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }
.bk-done p:not(.bk-done-t) { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Barre mobile : appeler ou réserver */
@media (max-width: 860px) {
  .nav-right { display: none; }
  .projet-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zone { grid-template-columns: minmax(0, 1fr); }
  .zone-map { order: 2; }
  .bk-types { grid-template-columns: minmax(0, 1fr); }
  .bk-card { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; }
  .bk-card .rdv-ico { width: 70px; margin: 0; }
  .bk-card b { margin: 0; font-size: 18px; }
  .bk-card small { display: none; }
  .bk-steps { gap: 14px; font-size: 12px; }
  .sticky-cta { display: flex; gap: 8px; padding: 6px; border-radius: 40px; background: var(--ink); }
  .sticky-cta a { padding: 11px 18px; border-radius: 40px; font-size: 14px; color: var(--bg); }
  .sticky-cta .sc-rdv { background: var(--bg); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .plan *, .carte *, .rdv-ico * { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
}
.compare, .projet-facts { max-width: 1040px; margin-left: auto; margin-right: auto; }
.plan text { font-weight: 300; }
.plan text[id$='-s-20'], .plan text[id$='-s-22'], .plan text[id$='-s-12'] { font-weight: 400; }
