/* =========================================================
   Pascal & Fils — Marbrerie du Cantal
   DA « Pierre & Héritage » : calcaire chaud, basalte, touche de rouge
   ========================================================= */
@view-transition { navigation: auto; }

:root {
  --bg: #f3f0ea;
  --paper: #faf8f4;
  --sand: #e8e2d7;
  --ink: #17181a;
  --ink-2: #2b2c2f;
  --muted: #6b6963;
  --muted-2: #8f8c85;
  --line: rgba(23, 24, 26, .13);
  --line-2: rgba(23, 24, 26, .07);
  --basalt: #1b1c1e;
  --basalt-2: #26282b;
  --on-dark: #efebe4;
  --on-dark-2: rgba(239, 235, 228, .66);
  --line-dark: rgba(239, 235, 228, .14);
  --red: #c8312a;
  --pierre: #5d6166;
  --deco: #9c7b52;
  --brand-ink: var(--paper);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(80px, 11vw, 160px);
  --r: 4px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow: 0 1px 2px rgba(23,24,26,.05), 0 12px 32px -12px rgba(23,24,26,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--sans); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.sec--paper { background: var(--paper); }
.sec--sand { background: var(--sand); }
.sec--dark { background: var(--basalt); color: var(--on-dark); }
.sec--dark .lead, .sec--dark p { color: var(--on-dark-2); }
.sec--dark .h2, .sec--dark h3 { color: var(--on-dark); }
.sec--line { border-top: 1px solid var(--line); }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }
.eyebrow--light { color: var(--on-dark-2); }
.eyebrow--plain::before { display: none; }
.display {
  font: 300 clamp(2.9rem, 7.4vw, 7rem)/.96 var(--serif); letter-spacing: -.035em; font-optical-sizing: auto;
}
.display em, .h2 em, .h1 em { font-style: italic; font-weight: 300; }
.h1 { font: 300 clamp(2.5rem, 5.6vw, 5.2rem)/1 var(--serif); letter-spacing: -.03em; }
.h2 { font: 300 clamp(2.1rem, 4.2vw, 3.9rem)/1.04 var(--serif); letter-spacing: -.028em; text-wrap: balance; }
.h3 { font: 400 clamp(1.45rem, 2vw, 1.85rem)/1.15 var(--serif); letter-spacing: -.015em; }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.kicker-h1 { display: block; font: 600 .76rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: inherit; opacity: .8; }

.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head > div { display: grid; gap: 22px; max-width: 760px; }
.sec-head > * { justify-self: start; }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head--center > * { justify-self: center; }
.sec-head--center > div { justify-items: center; }

/* ---------- Boutons ---------- */
.btn {
  --bh: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 26px; border-radius: 2px; white-space: nowrap;
  font: 600 .9rem/1 var(--sans); letter-spacing: .01em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  position: relative; isolation: isolate; overflow: hidden;
}
.btn__arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn__arr { transform: translateX(5px); }
.btn--sm { --bh: 44px; padding: 0 20px; font-size: .84rem; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--red); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--red); color: #fff; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border: 1px solid var(--line-dark); color: var(--on-dark); }
.btn--ghost-light:hover { border-color: var(--on-dark); }
.btn--ghost-light .ico, .btn--ghost .ico { font-size: 1rem; }
.link { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; font-size: .92rem; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .4s var(--ease), color .3s; }
.link:hover { gap: 16px; color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 80; color: var(--on-dark);
  transition: background .45s var(--ease), color .45s var(--ease), transform .55s var(--ease), border-color .45s;
  border-bottom: 1px solid transparent;
}
.hdr__in { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .45s var(--ease); }
.hdr.is-solid, body.hdr-solid .hdr { background: rgba(250, 248, 244, .9); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); color: var(--ink); border-bottom-color: var(--line-2); }
.hdr.is-solid .hdr__in { height: 70px; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-open { background: var(--paper); color: var(--ink); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__sub { font: 600 .6rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 6px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__btn, .nav__link {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  font: 500 .88rem/1 var(--sans); border-radius: 2px; position: relative; transition: opacity .3s; white-space: nowrap;
}
.nav__btn i { width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); opacity: .7; }
.nav__item.is-open .nav__btn i { transform: translateY(2px) rotate(-135deg); }
.nav__link::after, .nav__btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current]::after, .nav__btn:hover::after, .nav__item.is-open .nav__btn::after { transform: scaleX(1); }
.nav__tag { width: 6px; height: 6px; border-radius: 50%; }
.nav__tag--pierre { background: var(--pierre); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.nav__tag--deco { background: var(--deco); }

.drop {
  position: fixed; left: 0; right: 0; top: var(--hdr-h, 84px); background: var(--paper); color: var(--ink);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1.25fr .9fr; gap: 48px; padding: 44px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
  box-shadow: 0 30px 60px -30px rgba(23,24,26,.28);
}
.nav__item.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.drop__intro { display: grid; align-content: start; gap: 18px; }
.drop__title { font: 300 2rem/1.08 var(--serif); letter-spacing: -.02em; max-width: 16ch; }
.drop__more { font-weight: 600; font-size: .9rem; color: var(--red); }
.drop__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; align-content: start; }
.drop__links a { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-2); transition: padding .35s var(--ease), color .3s; }
.drop__links a:hover { padding-left: 8px; color: var(--red); }
.drop__links strong { font-weight: 600; font-size: .98rem; }
.drop__links span { font-size: .84rem; color: var(--muted); }
.drop__img { overflow: hidden; border-radius: var(--r); aspect-ratio: 4/3; }
.drop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.drop:hover .drop__img img { transform: scale(1.05); }

.hdr__end { display: flex; align-items: center; gap: 18px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.hdr__tel .ico { font-size: .95rem; }
.hdr:not(.is-solid):not(.is-open) .hdr__cta { background: var(--paper); color: var(--ink); }
body.hdr-solid .hdr .hdr__cta { background: var(--ink); color: var(--paper); }
.hdr .hdr__cta:hover { background: var(--red) !important; color: #fff !important; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 70; background: var(--paper); padding: 100px var(--gut) 120px; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav__in { display: grid; gap: 14px; max-width: 520px; }
.mnav ul { display: grid; margin-bottom: 18px; }
.mnav li a { display: block; font: 300 1.9rem/1.25 var(--serif); padding: 6px 0; letter-spacing: -.02em; }
.mnav__cta { display: grid; gap: 10px; margin-top: 10px; }

.mbar { display: none; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: 100svh; color: var(--on-dark); background: var(--basalt); overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; filter: saturate(.75) contrast(1.05); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,22,.55) 0%, rgba(20,21,22,.15) 35%, rgba(20,21,22,.55) 70%, rgba(20,21,22,.94) 100%), linear-gradient(90deg, rgba(20,21,22,.55), transparent 65%); }
.hero__in { position: relative; z-index: 2; padding-top: 160px; padding-bottom: clamp(40px, 6vw, 72px); width: 100%; }
.hero h1 .display { display: block; max-width: 11.5em; }
.hero__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero__row .lead { color: var(--on-dark-2); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero__trust { display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--on-dark-2); }
.hero__trust li { display: flex; gap: 10px; align-items: center; }
.hero__trust li::before { content: ""; width: 5px; height: 5px; background: var(--red); }
.hero__trust strong { color: var(--on-dark); font-weight: 600; }
.scroll-cue { position: absolute; right: var(--gut); top: 50%; z-index: 2; writing-mode: vertical-rl; font: 600 .66rem/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--on-dark-2); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--on-dark-2), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Page hero (pages intérieures) ---------- */
.phero { position: relative; color: var(--on-dark); background: var(--basalt); overflow: hidden; min-height: min(86svh, 820px); display: flex; align-items: flex-end; }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 115%; object-fit: cover; filter: saturate(.8); }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,22,.62), rgba(20,21,22,.3) 35%, rgba(20,21,22,.94)), linear-gradient(90deg, rgba(20,21,22,.7), rgba(20,21,22,.15) 70%); }
.phero__in { position: relative; z-index: 2; padding-top: 150px; padding-bottom: clamp(44px, 6vw, 80px); width: 100%; display: grid; gap: 26px; }
.phero h1 { max-width: 20em; }
.phero .lead { color: var(--on-dark-2); }
.phero__foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.phero--short { min-height: auto; }
.phero--paper { background: var(--bg); color: var(--ink); min-height: auto; }
.phero--paper .phero__in { padding-top: 150px; padding-bottom: 56px; }
.phero--paper .lead { color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: .8rem; color: var(--on-dark-2); }
.phero--paper .crumbs ol { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--red); }
.badge-univ { display: inline-flex; align-items: center; gap: 10px; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--line-dark); border-radius: 99px; color: var(--on-dark); width: fit-content; }
.badge-univ i { width: 8px; height: 8px; border-radius: 50%; background: var(--pierre); box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.badge-univ--deco i { background: var(--deco); }

/* ---------- Deux univers (portes) ---------- */
.doors { display: flex; gap: 14px; height: clamp(520px, 72vh, 720px); }
.door { position: relative; flex: 1; border-radius: var(--r); overflow: hidden; color: var(--on-dark); background: var(--basalt); transition: flex-grow .9s var(--ease); isolation: isolate; }
.door:hover, .door:focus-within { flex-grow: 1.45; }
.door__img { position: absolute; inset: 0; z-index: -1; }
.door__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter .8s; filter: saturate(.8) brightness(.85); }
.door:hover .door__img img { transform: scale(1.05); filter: saturate(1) brightness(.9); }
.door__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,22,.35), rgba(20,21,22,.3) 30%, rgba(20,21,22,.78) 58%, rgba(20,21,22,.95)); }
.door__in { position: absolute; inset: 0; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; }
.door__top { display: flex; justify-content: space-between; align-items: start; }
.door__n { font: 300 1rem/1 var(--serif); font-style: italic; color: var(--on-dark-2); }
.door h3 { font: 300 clamp(2.2rem, 3.8vw, 3.6rem)/1 var(--serif); letter-spacing: -.03em; margin: 14px 0 16px; }
.door p { color: var(--on-dark-2); max-width: 42ch; }
.door__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.door__list li { font-size: .78rem; padding: 7px 12px; border: 1px solid var(--line-dark); border-radius: 99px; color: var(--on-dark); backdrop-filter: blur(6px); background: rgba(20,21,22,.18); }
.door__go { display: inline-flex; gap: 12px; align-items: center; font-weight: 600; font-size: .92rem; }
.door__go span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background .35s, transform .5s var(--ease); }
.door:hover .door__go span { background: var(--red); color: #fff; transform: rotate(-45deg); }
.door__link { position: absolute; inset: 0; z-index: 3; }

/* ---------- Faits / chiffres ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 32px 28px 0 0; display: grid; gap: 10px; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact dt { display: flex; align-items: baseline; gap: 10px; }
.fact__n { font: 300 clamp(3rem, 5vw, 4.6rem)/1 var(--serif); letter-spacing: -.04em; }
.fact__u { font-weight: 600; font-size: .9rem; }
.fact dd { color: var(--muted); font-size: .92rem; }
.sec--dark .facts { border-color: var(--line-dark); }
.sec--dark .fact + .fact { border-color: var(--line-dark); }
.sec--dark .fact dd { color: var(--on-dark-2); }

/* ---------- Split (texte + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__txt { display: grid; gap: 26px; align-content: start; }
.split__media { position: relative; }
.frame { overflow: hidden; border-radius: var(--r); background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4/5; }
.frame--wide { aspect-ratio: 16/10; }
.frame--sq { aspect-ratio: 1; }
.collage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: end; }
.collage .frame:nth-child(2) { margin-bottom: 18%; }
.collage__note { position: absolute; left: -24px; bottom: -28px; background: var(--paper); padding: 22px 26px; box-shadow: var(--shadow); max-width: 260px; border-radius: var(--r); }
.collage__note strong { display: block; font: 300 2.6rem/1 var(--serif); letter-spacing: -.03em; }
.collage__note span { font-size: .84rem; color: var(--muted); }
.checks { display: grid; gap: 14px; }
.checks li { display: block; position: relative; padding-left: 32px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: rotate(-45deg); }
.sec--dark .checks li { color: var(--on-dark-2); }

/* ---------- Généalogie / timeline ---------- */
.lineage { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: g; }
.lineage li { padding: 26px 20px 0 0; position: relative; }
.lineage li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ink); border-radius: 50%; }
.lineage li:last-child::before { background: var(--red); }
.lineage b { display: block; font: 300 2.2rem/1 var(--serif); font-style: italic; margin-bottom: 10px; }
.lineage span { font-size: .88rem; color: var(--muted); }

/* ---------- Services (cartes) ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc--4 { grid-template-columns: repeat(4, 1fr); }
.svc__item { background: var(--paper); padding: clamp(26px, 3vw, 40px); display: grid; gap: 16px; align-content: start; position: relative; transition: background .4s; }
.svc__item:hover { background: #fff; }
.svc__n { font: 400 .78rem/1 var(--sans); letter-spacing: .12em; color: var(--muted-2); }
.svc__item h3 { font: 400 1.6rem/1.12 var(--serif); letter-spacing: -.015em; }
.svc__item p { color: var(--muted); font-size: .95rem; }
.svc__item ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc__item ul li { font-size: .76rem; padding: 6px 10px; background: var(--bg); border-radius: 99px; color: var(--ink-2); }
.svc__img { aspect-ratio: 16/10; overflow: hidden; border-radius: 2px; margin: -6px -6px 6px; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__item:hover .svc__img img { transform: scale(1.05); }
.sec--dark .svc { background: var(--line-dark); border-color: var(--line-dark); }
.sec--dark .svc__item { background: var(--basalt); }
.sec--dark .svc__item:hover { background: var(--basalt-2); }
.sec--dark .svc__item ul li { background: rgba(255,255,255,.06); color: var(--on-dark); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; }
.step { padding: 34px 28px 10px 0; border-top: 1px solid var(--line); display: grid; gap: 14px; align-content: start; position: relative; }
.step + .step { padding-left: 28px; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--red); transition: width 1.2s var(--ease); }
.step + .step::before { left: 0; }
.step.is-in::before { width: 100%; }
.step__n { font: 300 3.4rem/1 var(--serif); font-style: italic; letter-spacing: -.03em; color: var(--muted-2); }
.step__t { font: 400 1.5rem/1.15 var(--serif); }
.step p { color: var(--muted); font-size: .95rem; }
.steps--dark .step { border-color: var(--line-dark); }
.steps--dark .step p { color: var(--on-dark-2); }
.steps--dark .step__n { color: rgba(239,235,228,.35); }

/* ---------- Bande pierres (teaser catalogue) ---------- */
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 24px; margin-inline: calc(var(--gut) * -1); scrollbar-width: thin; scrollbar-color: var(--muted-2) transparent; }
.strip li { flex: 0 0 clamp(200px, 21vw, 280px); scroll-snap-align: start; }
.swatch { display: grid; gap: 10px; }
.swatch__img { aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--sand); position: relative; }
.swatch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.swatch:hover .swatch__img img { transform: scale(1.12) rotate(1deg); }
.swatch__mat { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.swatch__name { font: 400 1.2rem/1.2 var(--serif); }
.swatch__name em { font-style: italic; color: var(--muted); }
.sec--dark .swatch__mat, .sec--dark .swatch__name em { color: var(--on-dark-2); }

/* ---------- Réalisations ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.tab { height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; font-size: .86rem; font-weight: 500; transition: all .3s var(--ease); }
.tab sup { font-size: .66rem; color: var(--muted-2); margin-left: 2px; }
.tab:hover { border-color: var(--ink); }
.tab.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab.is-on sup { color: var(--on-dark-2); }
.sec--dark .tab { border-color: var(--line-dark); }
.sec--dark .tab.is-on { background: var(--paper); color: var(--ink); }

.works { display: grid; gap: 14px; }
.works--mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 15vw, 220px); }
.works--mosaic .work:nth-child(6n+1) { grid-column: span 7; grid-row: span 2; }
.works--mosaic .work:nth-child(6n+2) { grid-column: span 5; grid-row: span 1; }
.works--mosaic .work:nth-child(6n+3) { grid-column: span 5; grid-row: span 1; }
.works--mosaic .work:nth-child(6n+4) { grid-column: span 4; grid-row: span 2; }
.works--mosaic .work:nth-child(6n+5) { grid-column: span 4; grid-row: span 2; }
.works--mosaic .work:nth-child(6n+6) { grid-column: span 4; grid-row: span 2; }
.works--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.works--grid .work__img { aspect-ratio: 4/3; }
.work { position: relative; min-height: 0; }
.work.is-hidden { display: none; }
.work__link { display: block; height: 100%; position: relative; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.work__img { display: block; height: 100%; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.work__link:hover img { transform: scale(1.06); }
.work__cap { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; display: grid; gap: 3px; color: #fff; background: linear-gradient(transparent, rgba(15,16,17,.82)); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.work__link:hover .work__cap, .work__link:focus-visible .work__cap { opacity: 1; transform: none; }
.work__cat { font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.work__title { font: 400 1.25rem/1.2 var(--serif); }
.work__mat { font-size: .8rem; opacity: .8; }
@media (hover: none) { .work__cap { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(14,15,16,.94); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; color: var(--on-dark); backdrop-filter: blur(8px); }
.lb[hidden] { display: none; }
.lb__fig { display: grid; gap: 14px; justify-items: center; max-height: 90vh; }
.lb__fig img { max-height: 80vh; max-width: 100%; width: auto; border-radius: 2px; }
.lb__fig figcaption { font-size: .9rem; color: var(--on-dark-2); }
.lb__x { position: absolute; top: 18px; right: 22px; font-size: 2rem; width: 48px; height: 48px; }
.lb__nav { width: 56px; height: 56px; border: 1px solid var(--line-dark); border-radius: 50%; justify-self: center; font-size: 1.1rem; transition: background .3s; }
.lb__nav:hover { background: var(--paper); color: var(--ink); }

/* ---------- Avis ---------- */
.reviews { display: grid; gap: 14px; }
.reviews--grid { grid-template-columns: repeat(3, 1fr); }
.reviews--wall { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.review { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.stars { color: var(--red); letter-spacing: .14em; font-size: .9rem; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font: 400 1.14rem/1.5 var(--serif); color: var(--ink-2); }
.review figcaption { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line-2); }
.review figcaption strong { display: block; font-size: .92rem; font-weight: 600; }
.review figcaption small { color: var(--muted); font-size: .8rem; }
.review__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 400 1.1rem/1 var(--serif); flex: none; }
.sec--dark .review { background: var(--basalt-2); border-color: var(--line-dark); }
.sec--dark .review blockquote p { color: var(--on-dark); }
.sec--dark .review figcaption { border-color: var(--line-dark); }
.sec--dark .review__av { background: var(--paper); color: var(--ink); }
.demo-note { margin-top: 18px; font-size: .74rem; color: var(--muted-2); font-style: italic; }
.rating { display: flex; align-items: center; gap: 18px; }
.rating__score { font: 300 3.8rem/1 var(--serif); letter-spacing: -.04em; }
.rating small { display: block; color: var(--muted); font-size: .82rem; }

/* ---------- Particuliers / Pros ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo__card { border-radius: var(--r); padding: clamp(30px, 4vw, 56px); display: grid; gap: 22px; align-content: start; position: relative; overflow: hidden; }
.duo__card--light { background: var(--paper); border: 1px solid var(--line-2); }
.duo__card--dark { background: var(--basalt); color: var(--on-dark); }
.duo__card--dark p, .duo__card--dark .checks li { color: var(--on-dark-2); }
.duo__card .h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.duo__card .actions { margin-top: 8px; }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.zone__map { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--basalt); }
.zone__map img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.4); }
.zone__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.zone__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 10px; }
.zone__list li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-size: .95rem; }
.zone__list li span { color: var(--muted); font-size: .84rem; }
.zone__list a:hover { color: var(--red); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: 120px; display: grid; gap: 22px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 400 1.22rem/1.35 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { width: 22px; height: 22px; flex: none; position: relative; margin-top: 3px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--red); }
.faq__a { padding: 0 48px 26px 0; color: var(--muted); }
.faq__a p + p { margin-top: .8em; }

/* ---------- Bande CTA ---------- */
.cta-band { position: relative; background: var(--basalt); color: var(--on-dark); overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; background: url(/assets/img/hero/texture-lave.jpg) center/cover; opacity: .2; mix-blend-mode: luminosity; }
.cta-band__in { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 40px 80px; align-items: end; padding-block: clamp(72px, 9vw, 130px); }
.cta-band__in > div:first-child { display: grid; gap: 22px; }
.cta-band .lead { color: var(--on-dark-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Matériaux (tableau comparatif) ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.compare thead th { font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.compare tbody th { font: 400 1.1rem/1.2 var(--serif); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 4px; background: var(--line); border-radius: 2px; }
.meter i.on { background: var(--ink); }

/* ---------- Catalogue ---------- */
.cat { display: grid; grid-template-columns: 270px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.filters { position: sticky; top: 96px; display: grid; gap: 4px; max-height: calc(100vh - 116px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.filters__head strong { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.filters__reset { font-size: .82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.filters__reset:hover { color: var(--red); }
.fgroup { border: 0; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); }
.fgroup legend { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.fopts { display: flex; flex-wrap: wrap; gap: 6px; }
.fopt { position: relative; }
.fopt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.fopt span { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; font-size: .82rem; transition: all .25s var(--ease); background: var(--paper); }
.fopt span sup { color: var(--muted-2); font-size: .66rem; }
.fopt:hover span { border-color: var(--ink); }
.fopt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fopt input:checked + span sup { color: var(--on-dark-2); }
.fopt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.fopt input:disabled + span { opacity: .35; }
.fopt--color span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cat__bar { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { width: 100%; height: 48px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; padding: 0 16px 0 44px; font: inherit; font-size: .92rem; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--ink); }
.search svg { position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; }
.cat__tools { display: flex; gap: 12px; align-items: center; }
.select { height: 48px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; padding: 0 38px 0 14px; font: inherit; font-size: .88rem; color: var(--ink); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.cat__count { font-size: .88rem; color: var(--muted); }
.cat__count strong { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; min-height: 0; }
.chip { display: inline-flex; gap: 8px; align-items: center; height: 30px; padding: 0 10px 0 12px; background: var(--sand); border-radius: 99px; font-size: .8rem; }
.chip:hover { background: var(--ink); color: var(--paper); }
.chip b { font-weight: 400; opacity: .6; }
.btn-filters { display: none; }
.stones { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 30px 18px; }
.stone { position: relative; display: grid; gap: 14px; align-content: start; }
.stone.is-hidden { display: none; }
.stone__open { display: block; position: relative; text-align: left; width: 100%; }
.stone__swatch { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.stone__swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.stone__open:hover img { transform: scale(1.1); }
.stone__open::after { content: "Voir la fiche"; position: absolute; left: 12px; bottom: 12px; font: 600 .74rem/1 var(--sans); padding: 9px 12px; background: var(--paper); border-radius: 99px; opacity: 0; transform: translateY(6px); transition: all .45s var(--ease); }
.stone__open:hover::after, .stone__open:focus-visible::after { opacity: 1; transform: none; }
.stone__flag { position: absolute; top: 12px; left: 12px; font: 600 .66rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; background: var(--red); color: #fff; border-radius: 2px; }
.stone__body { display: grid; gap: 6px; }
.stone__mat { font: 600 .66rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.stone__name { font: 400 1.18rem/1.2 var(--serif); letter-spacing: -.01em; }
.stone__name span { display: block; font-style: italic; color: var(--muted); font-size: 1rem; }
.stone__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.dots { display: flex; gap: 4px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.price { font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.price i { font-style: normal; color: var(--line); }
.stone__fav { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(250,248,244,.92); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.stone__fav svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: fill .3s, stroke .3s; }
.stone__fav:hover { transform: scale(1.08); }
.stone__fav[aria-pressed="true"] svg { fill: var(--red); stroke: var(--red); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); display: none; }
.empty.is-on { display: block; }
.disclaimer { margin-top: 48px; padding: 22px 24px; border-left: 2px solid var(--red); background: var(--paper); font-size: .88rem; color: var(--muted); }

/* Sélection (panier d'échantillons) */
.selbar { position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 22px; background: var(--ink); color: var(--paper); border-radius: 99px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); transition: transform .6s var(--ease); font-size: .9rem; }
.selbar.is-on { transform: translate(-50%, 0); }
.selbar__thumbs { display: flex; }
.selbar__thumbs img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); margin-left: -8px; object-fit: cover; }
.selbar__thumbs img:first-child { margin-left: 0; }
.selbar .btn { --bh: 42px; border-radius: 99px; }

/* Fiche pierre (dialog) */
.sheet { border: 0; padding: 0; width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 40px); border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); overflow: hidden; }
.sheet::backdrop { background: rgba(14,15,16,.62); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetIn .55s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet__in { display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100vh - 40px); }
.sheet__img { position: relative; background: var(--sand); min-height: 320px; overflow: hidden; }
.sheet__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .2s linear; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.sheet__img:hover img { transform: scale(1.8); }
.sheet__img small { position: absolute; left: 14px; bottom: 14px; font-size: .72rem; background: rgba(250,248,244,.9); padding: 6px 10px; border-radius: 99px; }
.sheet__body { padding: clamp(28px, 3.4vw, 48px); overflow-y: auto; display: grid; gap: 20px; align-content: start; }
.sheet__x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); font-size: 1.5rem; line-height: 1; box-shadow: var(--shadow); }
.sheet h2 { font: 300 clamp(2rem, 3vw, 2.8rem)/1.02 var(--serif); letter-spacing: -.025em; }
.sheet h2 span { display: block; font-style: italic; color: var(--muted); font-size: .6em; margin-top: 6px; }
.sheet__desc { color: var(--ink-2); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); }
.specs div { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.specs dt { font: 600 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.specs dd { font-size: .92rem; }
.res { display: grid; gap: 10px; }
.res__row { display: grid; grid-template-columns: 130px 1fr; align-items: center; font-size: .86rem; }
.res__bar { height: 4px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.res__bar i { display: block; height: 100%; background: var(--ink); width: 0; transition: width 1s var(--ease) .2s; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 26px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > .lbl { font: 600 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; padding: 15px 16px; font: inherit; font-size: .96rem; color: var(--ink); transition: border-color .3s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--red); }
.field__err { font-size: .8rem; color: var(--red); display: none; }
.field.is-bad .field__err { display: block; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .84rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.form__done { display: none; padding: 34px; background: var(--paper); border-left: 2px solid var(--red); }
.form__done.is-on { display: grid; gap: 12px; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__aside { position: sticky; top: 110px; display: grid; gap: 30px; }
.contact__card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(26px, 3.6vw, 52px); box-shadow: var(--shadow); }
.info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.info dt { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info dd { font-size: 1rem; }
.info a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.ftr { background: var(--basalt); color: var(--on-dark); position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 120px); }
.ftr__top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.ftr__word { font: 300 clamp(2.6rem, 4vw, 3.6rem)/1 var(--serif); letter-spacing: -.03em; }
.ftr__word em { font-style: italic; color: var(--red); }
.ftr__pitch { color: var(--on-dark-2); max-width: 40ch; margin: 20px 0 30px; }
.ftr__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ftr__tel { font: 400 1.4rem/1 var(--serif); border-bottom: 1px solid var(--line-dark); padding-bottom: 4px; }
.ftr__tel:hover { color: var(--red); }
.ftr__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ftr__h { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 18px; }
.ftr__cols li { padding: 5px 0; font-size: .9rem; }
.ftr__cols li span { color: var(--on-dark-2); font-size: .82rem; }
.ftr__cols a:hover { color: var(--red); }
.ftr__mid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line-dark); }
.ftr__addr { font-style: normal; font-size: .9rem; color: var(--on-dark-2); display: grid; gap: 6px; }
.ftr__addr strong { color: var(--on-dark); font-weight: 600; font-size: .84rem; }
.ftr__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px 0; font-size: .8rem; color: var(--on-dark-2); }
.ftr__bot ul { display: flex; gap: 22px; }
.ftr__bot a:hover { color: var(--on-dark); }
.ftr__giant { font: 300 clamp(5rem, 19vw, 19rem)/.78 var(--serif); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(239,235,228,.12); text-align: center; white-space: nowrap; margin-top: 10px; transform: translateY(14%); user-select: none; }

/* ---------- Divers ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; animation: marq 40s linear infinite; font: 300 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--serif); letter-spacing: -.02em; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: ""; width: 8px; height: 8px; background: var(--red); }
.marquee__track em { font-style: italic; color: var(--muted); }
@keyframes marq { to { transform: translateX(-50%); } }
.quote-big { font: 300 clamp(1.8rem, 3.4vw, 3.1rem)/1.18 var(--serif); letter-spacing: -.02em; max-width: 26ch; text-wrap: balance; }
.quote-big em { font-style: italic; color: var(--red); }
.sign { font-size: .9rem; color: var(--muted); margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.sign::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tile { background: var(--paper); padding: 28px; display: grid; gap: 10px; align-content: start; }
.tile b { font: 300 2.4rem/1 var(--serif); letter-spacing: -.03em; }
.tile span { color: var(--muted); font-size: .9rem; }
.finishes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.finish { display: grid; gap: 12px; }
.finish .frame { aspect-ratio: 1; }
.finish h3 { font: 400 1.25rem/1.1 var(--serif); }
.finish p { font-size: .86rem; color: var(--muted); }
.note-box { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px; display: grid; gap: 10px; }
.legal { max-width: 820px; overflow-wrap: anywhere; }
.legal h2 { font: 400 1.7rem/1.2 var(--serif); margin: 48px 0 14px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: .8em; }
.page-404 { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px var(--gut) 80px; }

/* ---------- Animations (gérées en JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.js .split-line { display: block; overflow: hidden; padding: .1em 0 .14em; margin: -.1em 0 -.14em; }
html.js .kicker-h1.split-line, .kicker-h1 { margin-bottom: clamp(20px, 2.4vw, 34px); }
html.js .split-line > span { display: block; transform: translateY(105%); }
html.js .is-in .split-line > span, html.js .split-line.is-in > span { transform: none; transition: transform 1.25s var(--ease); }
/* Révélation d'image : un voile qui se retire (pas de clip-path, qui bloquerait IntersectionObserver et le lazy-loading) */
[data-clip] { position: relative; --clip-bg: var(--bg); }
.sec--paper [data-clip] { --clip-bg: var(--paper); }
.sec--sand [data-clip] { --clip-bg: var(--sand); }
.sec--dark [data-clip] { --clip-bg: var(--basalt); }
html.js [data-clip]::after { content: ""; position: absolute; inset: -1px; background: var(--clip-bg); transform-origin: 50% 0; z-index: 2; pointer-events: none; }
html.js [data-clip].is-in::after { transform: scaleY(0); transition: transform 1.3s var(--ease); }
html.js [data-clip] > img { transform: scale(1.12); }
html.js [data-clip].is-in > img:not([data-parallax]) { transform: none; transition: transform 1.8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  html.js [data-clip]::after { display: none; }
  html.js [data-clip] > img { transform: none !important; }
  html.js .split-line > span { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1360px) { .hdr__tel span { display: none; } }
@media (max-width: 1180px) {
  .nav__btn, .nav__link { padding: 0 9px; font-size: .84rem; }
  .brand__sub { display: none; }
  .svc--4 { grid-template-columns: repeat(2, 1fr); }
  .finishes { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .nav, .hdr__tel { display: none; }
  .burger { display: block; }
  .hdr__end { margin-left: auto; }
  .hero__row, .split, .zone, .faq-wrap, .contact, .cta-band__in, .ftr__top { grid-template-columns: 1fr; }
  .hero__cta { justify-content: flex-start; }
  .split--rev > :first-child { order: 0; }
  .faq-wrap > div:first-child, .contact__aside { position: static; }
  .split__media { max-width: 640px; width: 100%; }
  .zone__map { max-width: 640px; aspect-ratio: 4/3; }
  .sec-head { gap: 22px; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .reviews--grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .step + .step { padding-left: 0; }
  .lineage { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .cat { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(380px, 92vw); max-height: none; z-index: 120; background: var(--bg); padding: 22px 22px 120px; transform: translateX(105%); transition: transform .55s var(--ease); box-shadow: -30px 0 60px -20px rgba(0,0,0,.3); }
  .filters.is-open { transform: none; }
  .btn-filters { display: inline-flex; }
  .filters__close { display: inline-flex !important; }
  .sec-head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --sec: 84px; }
  .hdr__cta { display: none; }
  .brand__sub { display: none; }
  .hero { min-height: 92svh; }
  .scroll-cue { display: none; }
  .doors { flex-direction: column; height: auto; }
  .door { min-height: 460px; }
  .door:hover { flex-grow: 1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 16px 26px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc, .reviews--grid, .duo, .form__grid, .steps, .specs, .zone__list, .ftr__cols, .ftr__mid { grid-template-columns: 1fr; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .works--mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .works { gap: 10px; }
  .work__cap { padding: 40px 12px 12px; }
  .work__title { font-size: 1rem; line-height: 1.2; }
  .work__mat { display: none; }
  .work__cat { font-size: .58rem; letter-spacing: .12em; }
  .stones { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .stone__name { font-size: 1.02rem; }
  .stone__name span { font-size: .88rem; }
  .stone__mat { font-size: .58rem; letter-spacing: .1em; }
  .stone__fav { width: 34px; height: 34px; top: 8px; right: 8px; }
  .stone__flag { top: 8px; left: 8px; font-size: .56rem; padding: 6px 7px; }
  .stone__open::after { display: none; }
  .works--mosaic .work:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .works--mosaic .work:nth-child(3n+1) { grid-column: span 2; grid-row: span 2; }
  .lineage { grid-template-columns: 1fr 1fr; }
  .collage__note { left: 12px; bottom: -22px; }
  .finishes { grid-template-columns: 1fr 1fr; }
  .sheet__in { grid-template-columns: 1fr; overflow-y: auto; }
  .sheet__img { min-height: 260px; aspect-ratio: 4/3; }
  .sheet__body { overflow: visible; }
  .lb { grid-template-columns: 1fr; padding: 60px 12px; }
  .lb__nav { position: absolute; bottom: 24px; }
  .lb__prev { left: 30%; } .lb__next { right: 30%; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 65; background: rgba(23,24,26,.94); backdrop-filter: blur(12px); border-radius: 14px; padding: 6px; gap: 6px; box-shadow: 0 14px 34px -10px rgba(0,0,0,.5); transition: transform .5s var(--ease); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; color: var(--on-dark); font-size: .84rem; font-weight: 600; border-radius: 10px; }
  .mbar a.is-main { background: var(--paper); color: var(--ink); }
  body { padding-bottom: 76px; }
  .selbar { bottom: 86px; width: calc(100% - 20px); justify-content: space-between; }
  .ftr__giant { font-size: 24vw; }
  .rating { flex-wrap: wrap; }
}

/* Logo officiel (SVG inline, couleur pilotée par l'en-tête) */
.brand { gap: 16px; color: var(--on-dark); }
.brand .logo { display: block; height: 54px; width: auto; color: #f3efe8; transition: height .45s var(--ease), color .45s var(--ease); }
.hdr.is-solid .brand .logo, body.hdr-solid .brand .logo, .hdr.is-open .brand .logo { color: #353535; height: 46px; }
.brand .brand__sub { display: block; margin: 0; padding-left: 16px; border-left: 1px solid currentColor; line-height: 1.5; font-size: .56rem; opacity: .65; }
.hdr.is-solid .brand, body.hdr-solid .brand, .hdr.is-open .brand { color: var(--ink); }
.ftr__logo .logo { height: 92px; width: auto; color: #f3efe8; }
@media (max-width: 1180px) { .brand .brand__sub { display: none; } }
@media (max-width: 760px) { .brand .logo { height: 46px; } .hdr.is-solid .brand .logo, body.hdr-solid .brand .logo, .hdr.is-open .brand .logo { height: 42px; } }

/* Avis intégré dans une carte (pas de carte dans la carte) */
.duo__card .reviews--grid { grid-template-columns: 1fr; }
.duo__card .review { background: none; border: 0; padding: 0; }
.duo__card .review blockquote p { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.45; }
.duo__card .demo-note { margin-top: 0; }
