/* ==========================================================================
   Le 6670 — feuille de style
   Palette tirée du bâtiment : pierre calcaire, brique, laiton, vert profond.
   Un seul accent fort (brique) réservé aux appels à l'action.
   ========================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 340 420; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 400; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/instrument-sans.woff2") format("woff2"); }

:root {
  --stone: #F1ECE2;
  --stone-2: #E6DFD1;
  --stone-3: #D6CCB9;
  --illu: #ECE6DA;
  --glass: #DDD5C4;
  --ink: #1E2420;
  --ink-2: #4D554F;
  --green: #1E3A31;
  --green-2: #17241F;
  --brass: #A8834A;
  --brass-ink: #7A5B2A;
  --brass-lt: #C9A66B;
  --brick: #A3432A;
  --brick-dk: #86331E;
  --err: #F6B8A4;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 56px);
  --top-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* grain de papier */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sec--green :focus-visible, .foot :focus-visible, .lb :focus-visible { outline-color: var(--brass-lt); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--stone); padding: 12px 16px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 380; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.6vw, 96px); line-height: .98; letter-spacing: -.035em; font-variation-settings: "opsz" 144; }
h1 em { display: block; font-style: italic; font-weight: 300; color: var(--green); letter-spacing: -.03em; }
h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -.03em; font-variation-settings: "opsz" 120; }
.sub { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; margin: clamp(56px, 7vw, 96px) 0 24px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .85em 1.45em;
  font: 600 15px/1.1 var(--sans); letter-spacing: .01em; text-align: center;
  border: 1.5px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--brick); color: var(--stone); border-color: var(--brick); }
.btn--cta:hover { background: var(--brick-dk); border-color: var(--brick-dk); transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(134, 51, 30, .7); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--stone); }
.btn--sm { min-height: 42px; padding: .65em 1.1em; font-size: 14px; }
.link { font-weight: 600; font-size: 15px; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { color: var(--brass-ink); }

/* ---------- en-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--stone) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.top.is-scrolled { border-bottom-color: var(--stone-3); box-shadow: 0 8px 24px -20px rgba(30, 36, 32, .5); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--top-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__icon { width: 22px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 25px; letter-spacing: -.02em; }
.brand__sub { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0;
  background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="true"] { background-size: 100% 1.5px; }
.navbtn { display: none; width: 48px; height: 48px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; padding: 0; border-radius: 2px; }
.navbtn__bars, .navbtn__bars::before, .navbtn__bars::after { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: auto; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.navbtn__bars::before, .navbtn__bars::after { content: ""; position: absolute; left: 0; }
.navbtn__bars::before { top: -6px; }
.navbtn__bars::after { top: 6px; }
.navbtn[aria-expanded="true"] .navbtn__bars { background: transparent; }
.navbtn[aria-expanded="true"] .navbtn__bars::before { transform: translateY(6px) rotate(45deg); }
.navbtn[aria-expanded="true"] .navbtn__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .navbtn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--stone); border-bottom: 1px solid var(--stone-3);
    padding: 4px var(--gut) 24px;
    box-shadow: 0 24px 40px -30px rgba(30, 36, 32, .6);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--stone-3); font-size: 18px; background: none; }
  .nav .btn { margin-top: 18px; min-height: 52px; font-size: 16px; }
}

/* ---------- héros ---------- */
.hero { display: flex; flex-direction: column; min-height: calc(100svh - var(--top-h)); padding-top: clamp(28px, 6vh, 80px); }
.hero__top {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px);
  grid-template-areas: "eyebrow eyebrow" "title title" "lead facts" "cta facts";
  align-items: end;
}
.hero__text { display: contents; }
.hero .eyebrow { grid-area: eyebrow; }
.hero h1 { grid-area: title; }
.hero .lead { grid-area: lead; }
.hero__cta { grid-area: cta; align-self: start; }
.hero .facts { grid-area: facts; align-self: end; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: clamp(18px, 3vh, 28px); display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--brass); flex: none; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: clamp(20px, 3.5vh, 32px) 0 clamp(24px, 4vh, 36px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--brass); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px 0 16px; border-bottom: 1px solid var(--stone-3); }
.facts > div:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--stone-3); }
.facts > div:nth-child(even) { padding-left: 18px; }
.facts dt { font-size: 13px; line-height: 1.35; color: var(--ink-2); margin-top: 6px; }
.facts dd { margin: 0; font-family: var(--serif); font-weight: 350; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums; white-space: nowrap; }

.hero__art { position: relative; flex: 1 1 auto; min-height: clamp(180px, 30vh, 320px); margin: clamp(20px, 4vh, 48px) 0 0; container-type: size; }
.hero__art .facade { position: absolute; inset: 0; width: 100%; height: 100%; }
@supports (width: 1cqw) {
  .hero__art::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(min(100cqh, 50cqw) * .1); border-top: 1px solid var(--ink); opacity: .85; }
}
.hero__art figcaption { position: absolute; right: var(--gut); bottom: 8px; font: italic 13px var(--serif); color: var(--ink-2); }

.facade { color: var(--ink); --sw: 1.35; }
.facade g path { fill: none; stroke: currentColor; stroke-width: var(--sw); stroke-linecap: round; stroke-linejoin: round; }
.facade g path.f { fill: var(--stone); }
.facade g path.g { fill: var(--glass); }
.facade .texture { opacity: .32; color: var(--ink-2); }
.facade pattern path { stroke: currentColor; }
@media (max-width: 640px) { .facade { --sw: 2.2; } }

/* tracé de la façade à l'ouverture */
.facade g.d { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.55, .1, .25, 1) forwards; animation-delay: var(--dl); }
.facade .texture { animation: fade 1.6s ease 1.8s both; }
/* les ouvertures (130 tracés) apparaissent en fondu : bien moins coûteux qu'un tracé chacune */
.facade g.o { opacity: 0; animation: appear 1.4s ease forwards; animation-delay: var(--dl); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: .32; } }

/* entrée du texte */
.hero__text > *, .facts { animation: rise .9s var(--ease) both; }
.hero__text > :nth-child(1) { animation-delay: .05s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }
.facts { animation-delay: .4s; }
.hero__text > h1 { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  /* mobile et tablette : l'esquisse passe avant les chiffres clés */
  .hero__top { display: contents; }
  .hero .eyebrow, .hero h1, .hero .lead, .hero__cta, .hero .facts { margin-inline: var(--gut); }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero .lead { order: 3; }
  .hero__cta { order: 4; }
  .hero__art { order: 5; }
  .hero__art figcaption { bottom: auto; top: 0; }
  .hero .facts { order: 6; margin-top: 8px; margin-bottom: 8px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .hero .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero .facts > div:nth-child(n) { padding: 18px 14px 16px; border-right: 1px solid var(--stone-3); }
  .hero .facts > div:first-child { padding-left: 0; }
  .hero .facts > div:last-child { border-right: 0; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec--alt { background: var(--stone-2); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec__head .sec__num { grid-column: 1 / -1; }
.sec__num {
  display: flex; align-items: baseline; gap: 14px; margin: 0 0 4px;
  padding-top: 14px; border-top: 1px solid var(--brass);
  font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink);
}
.sec__num > span:first-child { font: italic 400 20px var(--serif); letter-spacing: .02em; text-transform: none; min-width: 2ch; }
.sec__intro { color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 34em; margin: 0; }
.fine { font-size: 13.5px; color: var(--ink-2); margin: 24px 0 0; }
.fine a { color: var(--ink); text-underline-offset: 3px; }
em { font-style: italic; }
@media (max-width: 760px) { .sec__head { grid-template-columns: 1fr; } }

/* ---------- filtres ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px clamp(24px, 4vw, 48px); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--stone-3); }
.filter { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter legend { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.filter__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--stone-3); border-radius: 2px; font-size: 14.5px; font-weight: 500; background: var(--stone); transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--green); border-color: var(--green); color: var(--stone); }
.pill input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.filters__count { margin: 0 0 10px auto; font-size: 14.5px; color: var(--ink-2); }
.filters__count b { color: var(--ink); font-weight: 600; }
.empty { padding: 48px 0; text-align: center; color: var(--ink-2); }

/* ---------- fiches des locaux ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; background: var(--stone); border: 1px solid var(--stone-3); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card[hidden] { display: none; }
.card::before, .card::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--brass); transition: width .45s var(--ease), height .45s var(--ease); pointer-events: none; }
.card::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.card::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.card:hover, .card:focus-within, .js .card.is-in:hover, .js .card.is-in:focus-within { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(30, 36, 32, .55); border-color: var(--stone-3); }
.card:hover::before, .card:hover::after { width: 44px; height: 44px; }
.card article { display: flex; flex-direction: column; height: 100%; padding: clamp(22px, 2.4vw, 32px); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--stone-3); }
.card__no { display: flex; flex-direction: column; gap: 12px; font-size: clamp(66px, 6vw, 88px); line-height: .82; letter-spacing: -.05em; font-variation-settings: "opsz" 144; font-variant-numeric: lining-nums; }
.card__k { font: 600 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.card__badge { margin: 4px 0 0; padding: 7px 11px; font: 600 12.5px/1 var(--sans); letter-spacing: .04em; background: var(--green); color: var(--stone); white-space: nowrap; }
.card__badge--open { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.card__specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; margin: 20px 0; }
.card__specs dt { font: 600 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 5px; }
.card__specs dd { margin: 0; font: 400 23px/1.12 var(--serif); letter-spacing: -.015em; font-variant-numeric: lining-nums tabular-nums; }
.card__specs dd small { font: 500 13.5px var(--sans); letter-spacing: 0; color: var(--ink-2); margin-left: 2px; }
.card__specs dd span { display: block; margin-top: 5px; font: 400 13.5px/1.35 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.card__specs dd em { font-size: 19px; color: var(--ink-2); }
.card__use { margin: 0 0 14px; font-size: 15.5px; line-height: 1.45; }
.card__use span { display: block; margin-bottom: 4px; font: 600 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }
.card__feat { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card__feat li { font-size: 13.5px; padding: 5px 10px; background: var(--stone-2); border: 1px solid var(--stone-3); }
.card__btn { margin-top: auto; width: 100%; }

/* ---------- frise historique ---------- */
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 20px; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--brass); }
.tl li { position: relative; padding-top: 38px; }
.tl li::before { content: ""; position: absolute; top: 2px; left: 0; width: 13px; height: 13px; background: var(--stone-2); border: 1.5px solid var(--brass); transform: rotate(45deg); }
.tl li.is-now::before { background: var(--green); border-color: var(--green); }
.tl__y { display: block; margin-bottom: 10px; font: 380 clamp(24px, 2.15vw, 32px)/1 var(--serif); letter-spacing: -.025em; font-variant-numeric: lining-nums; white-space: nowrap; }
.tl__t { display: block; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 980px) {
  .tl { grid-template-columns: 1fr; }
  .tl::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .tl li { padding: 0 0 28px 42px; }
  .tl li:last-child { padding-bottom: 0; }
}

.assets { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0 24px; }
.assets > div { padding: 18px 0 20px; border-top: 1px solid var(--ink); }
.assets dt { font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 8px; }
.assets dd { margin: 0; font: 400 21px/1.3 var(--serif); letter-spacing: -.01em; }
.assets dd em { color: var(--ink-2); }

/* ---------- galerie ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 19vw, 270px); gap: clamp(10px, 1.4vw, 18px); }
.tile:nth-child(6n + 1) { grid-column: span 4; grid-row: span 2; }
.tile:nth-child(6n + 2), .tile:nth-child(6n + 3) { grid-column: span 2; }
.tile:nth-child(6n + 4), .tile:nth-child(6n + 5) { grid-column: span 3; }
.tile:nth-child(6n) { grid-column: span 6; }
.tile { position: relative; min-width: 0; }
.tile__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 1px solid var(--stone-3); background: var(--illu); cursor: zoom-in; overflow: hidden; }
.tile__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile--illu .tile__btn img { object-fit: contain; }
.tile__btn:hover img { transform: scale(1.035); }
.tile__badge { position: absolute; top: 12px; left: 12px; padding: 5px 9px; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--stone); color: var(--ink-2); border: 1px solid var(--stone-3); }
.tile__cap { position: absolute; left: 0; bottom: 0; margin: 0; padding: 10px 14px; font: italic 400 17px var(--serif); background: var(--stone); border-top: 1px solid var(--stone-3); border-right: 1px solid var(--stone-3); pointer-events: none; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tile, .tile:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .tile:nth-child(3n + 1), .tile:last-child:nth-child(3n + 2) { grid-column: span 2; }
  .tile__btn { aspect-ratio: 4 / 3; height: auto; }
  .tile:nth-child(3n + 1) .tile__btn, .tile:last-child:nth-child(3n + 2) .tile__btn { aspect-ratio: 16 / 9; }
  .tile__cap { font-size: 15px; padding: 7px 10px; }
  .tile__badge { top: 8px; left: 8px; padding: 4px 7px; font-size: 10px; }
}

/* ---------- visionneuse ---------- */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(23, 36, 31, .96); color: var(--stone); overscroll-behavior: contain; }
.lb[open] { animation: lbIn .35s var(--ease); }
.lb::backdrop { background: rgba(23, 36, 31, .5); }
.lb__frame { position: absolute; inset: 72px 88px 64px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lb__frame img { max-width: 100%; max-height: calc(100% - 44px); object-fit: contain; background: var(--illu); }
.lb__cap { font: italic 20px var(--serif); text-align: center; }
.lb__btn, .lb__close { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; background: transparent; color: var(--stone); border: 1px solid rgba(241, 236, 226, .35); border-radius: 2px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.lb__btn:hover, .lb__close:hover { background: rgba(241, 236, 226, .1); border-color: var(--brass-lt); }
.lb__btn svg, .lb__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb__close { top: 16px; right: 20px; }
@keyframes lbIn { from { opacity: 0; } }
@media (max-width: 760px) {
  .lb__frame { inset: 72px 12px 92px; }
  .lb__prev, .lb__next { top: auto; bottom: 20px; transform: none; }
  .lb__prev { left: calc(50% - 64px); }
  .lb__next { right: calc(50% - 64px); }
}

/* ---------- emplacement ---------- */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.loc h2 { margin-top: 20px; }
.addr { font: 400 clamp(23px, 2.2vw, 30px)/1.3 var(--serif); font-style: normal; letter-spacing: -.01em; margin: 24px 0 8px; }
.trips { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.trips li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--stone-3); }
.trip__to { font-size: 16px; }
.trip__min { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.trip__min b { font: 400 30px var(--serif); letter-spacing: -.02em; color: var(--ink); }
.trip__km { min-width: 5.5ch; text-align: right; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.loc__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.map { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--ink); background: var(--stone); }
.map::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--brass); pointer-events: none; opacity: .7; }
.map__ph { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font: italic 18px var(--serif); color: var(--ink-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.2) contrast(1.02); }
@media (max-width: 900px) {
  .loc { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
}

/* ---------- contact ---------- */
.sec--green { background: var(--green); color: var(--stone); }
.sec--green .sec__num { color: var(--brass-lt); border-top-color: var(--brass-lt); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { margin: 20px 0 24px; }
.contact__intro > p:not(.sec__num) { color: color-mix(in srgb, var(--stone) 82%, transparent); max-width: 30em; }
.direct { display: grid; gap: 8px; margin-top: 28px; font: 400 24px/1.3 var(--serif); }
.direct:empty { display: none; }
.direct a { justify-self: start; text-decoration: none; border-bottom: 1px solid var(--brass-lt); }
.direct a:hover { color: var(--brass-lt); }
.direct__name { margin: 0; font-size: 17px; font-family: var(--sans); color: color-mix(in srgb, var(--stone) 82%, transparent); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; margin-bottom: 8px; font: 600 12.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.opt { font-weight: 400; letter-spacing: .02em; text-transform: none; color: color-mix(in srgb, var(--stone) 75%, transparent); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 17px/1.4 var(--sans); color: var(--stone);
  background: rgba(241, 236, 226, .07); border: 1px solid rgba(241, 236, 226, .38); border-radius: 2px;
  transition: border-color .2s, background-color .2s;
}
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F1ECE2' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: var(--ink); background: var(--stone); }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: color-mix(in srgb, var(--stone) 62%, transparent); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(241, 236, 226, .6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass-lt); outline-offset: 0; border-color: var(--brass-lt); background: rgba(241, 236, 226, .1); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { margin: 6px 0 0; font-size: 14.5px; color: var(--err); }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { margin: 0; padding: 14px 16px; border-left: 2px solid var(--brass-lt); background: rgba(241, 236, 226, .06); font-size: 15.5px; }
.form__note { margin: 0; font-size: 13.5px; color: color-mix(in srgb, var(--stone) 78%, transparent); }
.form .btn { justify-self: start; min-width: 220px; }
.form__status:empty { display: none; }
.form__status { padding: 16px 18px; border-left: 2px solid var(--brass-lt); background: rgba(241, 236, 226, .08); font-size: 16px; outline: none; }
.form__status strong { display: block; font: 400 22px/1.2 var(--serif); margin-bottom: 4px; }
.form__status.is-err { border-left-color: var(--err); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* ---------- pied de page ---------- */
.foot { background: var(--green-2); color: color-mix(in srgb, var(--stone) 78%, transparent); font-size: 14.5px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.3fr); gap: 32px clamp(32px, 5vw, 72px); padding-block: 56px 48px; }
.foot__brand { margin: 0 0 8px; font: 400 28px var(--serif); letter-spacing: -.02em; color: var(--stone); }
.foot__addr { margin: 0 0 10px; color: var(--stone); }
.foot__contact { margin: 0; }
.foot__contact a { color: var(--stone); }
.foot__nav { display: grid; gap: 4px; align-content: start; }
.foot__nav a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--stone); }
.foot__nav a:hover { color: var(--brass-lt); }
.foot__legal p { margin: 0 0 6px; font-size: 13.5px; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- bouton d'action fixe (mobile) ---------- */
.mcta { display: none; }
@media (max-width: 760px) {
  .mcta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--stone) 94%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--stone-3);
    transform: translateY(110%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s .35s;
  }
  .mcta.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .mcta .btn { flex: 1; min-height: 50px; }
  .mcta .mcta__tel { flex: 0 0 auto; }
  .foot { padding-bottom: 76px; }
}

/* ---------- apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in { transition: opacity .8s ease, transform .45s var(--ease), box-shadow .45s var(--ease); transition-delay: var(--rd, 0s), 0s, 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .facade g.d { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .facade g.o { animation: none; opacity: 1; }
  .facade .texture { animation: none; opacity: .32; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.filters__groups { display: contents; }
