/* =========================================================
   Pro Marbre Parquet — design system
   ========================================================= */

:root {
  --bg:           #f5efe5;
  --bg-2:         #ebe3d3;
  --bg-3:         #e0d6c2;
  --paper:        #fbf7ef;
  --ink:          #1a1410;
  --ink-2:        #3a322a;
  --muted:        #7d7264;
  --line:         rgba(26, 20, 16, 0.14);
  --line-strong:  rgba(26, 20, 16, 0.32);
  --brass:        #a87a4b;
  --brass-deep:   #7b5530;
  --brass-soft:   #c89f72;
  --marble:       #2a241e;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 10px;

  --container: 1320px;
  --pad-x: 48px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---------- WCAG 2.2 — accessibility ---------- */
/* visible focus for keyboard users */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.btn-link:focus-visible,
.opt:focus-visible,
.acc-q:focus-visible,
.lang-select:focus-visible,
.svc-card:focus-visible,
.svc-tab:focus-visible {
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
}

/* Skip-to-main link */
.skip-link {
  position: absolute;
  left: -10000px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 1000;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 12px;
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Visually hidden for screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
main:focus { outline: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- type ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.h-hero {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 7.5vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h-2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h-3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass-deep);
}
.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.body { color: var(--ink-2); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-tight { padding: 36px 0; }

.divider { height: 1px; background: var(--line); width: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .35s var(--ease);
}
.btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.btn .arr { transition: transform .35s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: all .3s var(--ease);
}
.btn-link:hover { color: var(--brass-deep); border-color: var(--brass-deep); }

/* back / retour buttons — leading arrow, animates left on hover */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.btn-back .arr {
  display: inline-flex;
  transition: transform .3s var(--ease);
}
.btn-back:hover { color: var(--brass-deep); }
.btn-back:hover .arr { transform: translateX(-4px); }
.btn-back:disabled { opacity: 0.32; pointer-events: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 229, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 64px;
  width: auto;
  transition: transform .35s var(--ease);
}
.brand:hover img { transform: scale(1.04); }
.brand-word {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.02em;
  display: none;
}
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { list-style: none; margin: 0; padding: 0; }
.nav li::marker { content: none; }
.nav a {
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: all .25s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--brass-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
/* current page stays underlined (WordPress menu classes + theme class) */
.nav a.active::after,
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-menu-parent > a::after,
.nav .current-menu-ancestor > a::after,
.nav .current_page_parent > a::after,
.nav .current_page_ancestor > a::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-parent > a,
.nav .current-menu-ancestor > a,
.nav a[aria-current="page"] { color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 16px; }

/* hamburger toggle — hidden on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  padding: 0 11px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}
.mobile-drawer.open { visibility: visible; pointer-events: auto; }
.mobile-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.5);
  opacity: 0;
  transition: opacity .35s var(--ease);
  backdrop-filter: blur(2px);
}
.mobile-drawer.open .mobile-drawer-scrim { opacity: 1; }
.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 20px 24px 32px;
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer-panel { transform: none; }
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mobile-drawer-head img { height: 48px; width: auto; }
.mobile-close {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.mobile-links { display: flex; flex-direction: column; margin: 8px 0 24px; }
.mobile-links a {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-links a.active { color: var(--brass-deep); }
.mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
}
.mobile-contact a { color: var(--ink-2); }
.mobile-contact a:first-child { font-family: var(--serif); font-size: 22px; color: var(--ink); }

.lang-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  position: relative;
}
.lang-select:hover { border-color: var(--ink); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  min-width: 140px;
  box-shadow: 0 20px 50px rgba(26,20,16,0.12);
  z-index: 60;
}
.lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
  text-align: left;
  color: var(--ink);
}
.lang-menu button:hover { background: var(--bg-2); }
.lang-menu button.active { color: var(--brass-deep); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--marble);
  color: #d7cebd;
  padding: 96px 0 32px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(168,122,75,0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(168,122,75,0.1), transparent 60%);
  pointer-events: none;
}
.site-footer .container { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #d7cebd; font-size: 14px; transition: color .25s var(--ease); }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(215, 206, 189, 0.6);
}

/* ---------- image placeholder ---------- */
.img-ph {
  position: relative;
  background: var(--bg-3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(26,20,16,0.05) 0px,
      rgba(26,20,16,0.05) 1px,
      transparent 1px,
      transparent 14px);
  opacity: .9;
}
.img-ph .label {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26,20,16,0.55);
  background: rgba(245,239,229,0.7);
  padding: 6px 12px;
  border: 1px solid rgba(26,20,16,0.15);
}

/* marble texture placeholder */
.tex-marble {
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 80%, rgba(255,255,255,0.4), transparent 50%),
    linear-gradient(135deg, #ece4d4 0%, #d8cdb6 100%);
}
.tex-marble::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(118deg,
      transparent 0,
      transparent 38px,
      rgba(26,20,16,0.06) 38px,
      rgba(26,20,16,0.06) 39px,
      transparent 39px,
      transparent 60px,
      rgba(26,20,16,0.04) 60px,
      rgba(26,20,16,0.04) 61px);
  pointer-events: none;
}
.tex-marble-dark {
  background:
    radial-gradient(ellipse 60% 40% at 30% 30%, rgba(255,255,255,0.08), transparent 50%),
    linear-gradient(135deg, #2a241e 0%, #1a1410 100%);
  color: #d7cebd;
}
.tex-marble-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(125deg,
      transparent 0,
      transparent 38px,
      rgba(255,255,255,0.04) 38px,
      rgba(255,255,255,0.04) 39px,
      transparent 39px,
      transparent 68px,
      rgba(255,255,255,0.02) 68px,
      rgba(255,255,255,0.02) 69px);
  pointer-events: none;
}
.tex-wood {
  background:
    repeating-linear-gradient(92deg,
      #c89c70 0px,
      #b88a5c 4px,
      #c89c70 8px,
      #d4a880 14px,
      #b07c4b 22px,
      #c89c70 30px);
}
.tex-wood::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      transparent 0,
      transparent 80px,
      rgba(26,20,16,0.15) 80px,
      rgba(26,20,16,0.15) 81px,
      transparent 81px,
      transparent 200px,
      rgba(26,20,16,0.1) 200px,
      rgba(26,20,16,0.1) 201px);
  pointer-events: none;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ---------- hero ---------- */
.hero {
  padding: 36px 0 44px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: end;
}
.hero h1 { margin: 0; }
.hero h1 .word-italic {
  font-style: italic;
  font-family: var(--serif);
  color: var(--brass-deep);
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-image {
  margin-top: 32px;
  aspect-ratio: 21/9;
  max-height: 40vh;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

/* ---------- stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .lbl {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---------- services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all .4s var(--ease);
  position: relative;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(26,20,16,0.08); }
.svc-card .img-ph { aspect-ratio: 4/3; }
.svc-card-body {
  padding: 32px 28px 36px;
}
.svc-card-body .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brass-deep);
  letter-spacing: 0.16em;
}
.svc-card-body h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 12px 0 12px;
}
.svc-card-body p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 24px;
  line-height: 1.6;
}
.svc-card .arrow {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: all .3s var(--ease);
}
.svc-card:hover .arrow { background: var(--ink); color: var(--paper); }

/* ---------- process ---------- */
.process-list {
  display: grid;
  gap: 0;
}
.process-item {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr 240px;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item .step-n {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--brass-deep);
  font-style: italic;
}
.process-item h4 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}
.process-item p { margin: 0; color: var(--ink-2); font-size: 15px; }
.process-item .tools {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- before/after slider ---------- */
.ba-slider {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  border: 1px solid var(--line);
}
.ba-slider .layer { position: absolute; inset: 0; }
.ba-slider .after-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--ba, 50%));
}
.ba-slider .handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba, 50%);
  width: 2px;
  background: var(--paper);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(26,20,16,0.2);
}
.ba-slider .knob {
  position: absolute;
  top: 50%;
  left: var(--ba, 50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--paper);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px rgba(26,20,16,0.18);
  pointer-events: none;
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.05em;
}
.ba-slider .ba-label {
  position: absolute;
  top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(26,20,16,0.7);
  color: var(--paper);
  padding: 6px 10px;
  border-radius: 2px;
}
.ba-slider .ba-label.l { left: 16px; }
.ba-slider .ba-label.r { right: 16px; }

/* ---------- testimonial ---------- */
.testimonial {
  padding: 80px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.testimonial blockquote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.5;
  color: var(--brass);
  display: block;
  margin-bottom: 24px;
}
.testimonial .cite {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial .avatar {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--brass-soft);
  border: 1px solid var(--line);
}

/* ---------- portfolio / gallery ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-bar button {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.filter-bar button:hover { border-color: var(--ink); color: var(--ink); }
.filter-bar button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery .cell {
  display: block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 0;
  padding: 0;
  background: none;
  width: 100%;
  text-align: left;
}
.gallery .cell .img-ph {
  aspect-ratio: 4/5;
  transition: transform .8s var(--ease);
}
.gallery .cell:hover .img-ph { transform: scale(1.04); }
.gallery .cell .meta {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(245,239,229,0.92);
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery.tall .cell:nth-child(7n+1) .img-ph { aspect-ratio: 4/5; }
.gallery.tall .cell:nth-child(7n+2) .img-ph { aspect-ratio: 4/5; }
.gallery.tall .cell:nth-child(7n+3) .img-ph { aspect-ratio: 4/5; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,20,16,0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  backdrop-filter: blur(8px);
}
.lightbox .frame {
  max-width: 1200px;
  width: 100%;
  position: relative;
}
.lightbox .img-ph { aspect-ratio: 3/2; }
.lightbox .close {
  position: absolute;
  top: -50px; right: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 999px;
}
.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 999px;
  font-size: 24px;
}
.lightbox .prev { left: -80px; }
.lightbox .next { right: -80px; }

/* ---------- quote form ---------- */
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 56px;
}
.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.steps .step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.steps .step .dot {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.steps .step.on { color: var(--ink); }
.steps .step.on .dot { background: var(--ink); color: var(--paper); }
.steps .step.done .dot { background: var(--brass); color: var(--paper); }
.steps .bar { flex: 1; height: 1px; background: var(--line-strong); }

.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 2px;
  transition: all .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.opt {
  border: 1px solid var(--line-strong);
  padding: 20px;
  border-radius: 2px;
  cursor: pointer;
  transition: all .2s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: transparent;
  text-align: left;
}
.opt:hover { border-color: var(--ink); }
.opt.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.opt .opt-title { font-weight: 600; font-size: 14px; }
.opt .opt-sub { font-size: 12px; opacity: 0.7; }

.quote-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

/* ---------- Contact Form 7 (branded to match .field) ---------- */
.quote .wpcf7 { margin: 0; }
.quote .wpcf7-form p { margin: 0 0 20px; }
.quote .wpcf7-form label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 8px;
}
.quote .wpcf7-form input[type="text"],
.quote .wpcf7-form input[type="email"],
.quote .wpcf7-form input[type="tel"],
.quote .wpcf7-form input[type="number"],
.quote .wpcf7-form input[type="date"],
.quote .wpcf7-form textarea,
.quote .wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 2px;
  transition: all .2s var(--ease);
  margin-top: 8px;
}
.quote .wpcf7-form textarea { min-height: 140px; resize: vertical; }
.quote .wpcf7-form input:focus,
.quote .wpcf7-form textarea:focus,
.quote .wpcf7-form select:focus {
  outline: none;
  border-color: var(--ink);
}
.quote .wpcf7-form input::placeholder,
.quote .wpcf7-form textarea::placeholder { color: var(--muted); opacity: .7; }
/* Submit button → matches .btn */
.quote .wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  margin-top: 8px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.quote .wpcf7-form input[type="submit"]:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
}
.quote .wpcf7-form .wpcf7-list-item { display: inline-block; margin: 0 16px 8px 0; }
.quote .wpcf7-spinner { margin: 8px 0 0 12px; }
/* Two-column rows (Téléphone + E-mail side by side) */
.quote .wpcf7-form .cf7-row { margin: 0 0 20px; }
/* two-column rows — tolerant of CF7's wpautop <p> wrappers */
.quote .wpcf7-form{display:block}
.quote .wpcf7-form br{display:none}
.quote .wpcf7-form .cf7-half{display:flex;flex-wrap:wrap;gap:0 20px}
.quote .wpcf7-form .cf7-half > *{flex:1 1 calc(50% - 10px);min-width:200px;margin:0}
.quote .wpcf7-form .cf7-half label{display:block;margin:0}
.quote .wpcf7-form .cf7-half p{margin:0}
.quote .wpcf7-form input[type=text],.quote .wpcf7-form input[type=tel],.quote .wpcf7-form input[type=email],.quote .wpcf7-form select,.quote .wpcf7-form textarea{box-sizing:border-box}
@media (max-width:560px){.quote .wpcf7-form .cf7-half > *{flex:1 1 100%}}
/* Validation + response messages */
.quote .wpcf7-not-valid-tip { color: #b3261e; font-size: 13px; margin-top: 6px; }
.quote .wpcf7-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 14px;
  border: 1px solid var(--line-strong);
}
.quote .wpcf7-form.sent .wpcf7-response-output { border-color: var(--brass); color: var(--brass-deep); }
.quote .wpcf7-form.invalid .wpcf7-response-output,
.quote .wpcf7-form.failed .wpcf7-response-output { border-color: #b3261e; color: #b3261e; }
/* File upload + hint + consent row */
.quote .wpcf7-form input[type="file"]{width:100%;padding:12px 14px;border:1px dashed var(--line-strong);background:transparent;font-family:var(--sans);font-size:14px;color:var(--muted);cursor:pointer}
.quote .wpcf7-form input[type="file"]:hover{border-color:var(--ink)}
.quote .wpcf7-form input[type="file"]::file-selector-button{margin-right:12px;padding:8px 16px;border:1px solid var(--line-strong);background:transparent;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);cursor:pointer;transition:all .2s var(--ease)}
.quote .wpcf7-form input[type="file"]::file-selector-button:hover{background:var(--ink);color:#fbf7ef;border-color:var(--ink)}
.quote .wpcf7-form .cf7-hint{display:block;margin-top:8px;font-size:12px;line-height:1.5;color:var(--muted)}
.quote .wpcf7-form .cf7-consent label{display:flex;align-items:flex-start;gap:10px;font-family:var(--sans);font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;color:var(--muted);margin:0}
.quote .wpcf7-form .cf7-consent .wpcf7-list-item{margin:0;display:block}
.quote .wpcf7-form .cf7-consent input[type="checkbox"]{width:auto;margin-top:2px;flex:0 0 auto;accent-color:var(--brass)}

/* ---------- Fluent Forms (branded to match .field) ---------- */
.quote .fluentform{margin:0}
.quote .fluentform .ff-el-group{margin:0 0 20px}
.quote .fluentform .ff-el-input--label label{display:block;font-size:12px;font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;font-weight:500}
.quote .fluentform .ff-el-input--label label .ff-el-is-required{color:var(--brass-deep);margin-left:2px}
.quote .fluentform input[type="text"],.quote .fluentform input[type="email"],.quote .fluentform input[type="tel"],.quote .fluentform input[type="number"],.quote .fluentform input[type="url"],.quote .fluentform input[type="date"],.quote .fluentform textarea,.quote .fluentform select{width:100%;padding:14px 16px;border:1px solid var(--line-strong);border-radius:0;background:transparent;font-family:var(--sans);font-size:15px;color:var(--ink);box-shadow:none;height:auto;line-height:1.4;transition:border-color .2s var(--ease)}
.quote .fluentform textarea{min-height:140px;resize:vertical}
.quote .fluentform input:focus,.quote .fluentform textarea:focus,.quote .fluentform select:focus{outline:none;border-color:var(--ink);box-shadow:none}
.quote .fluentform input::placeholder,.quote .fluentform textarea::placeholder{color:var(--muted);opacity:.7}
/* two-column rows */
.quote .fluentform .ff-t-cell{padding-right:10px}
.quote .fluentform .ff-t-cell+.ff-t-cell{padding-right:0;padding-left:10px}
@media (max-width:560px){.quote .fluentform .ff-t-container{display:block}.quote .fluentform .ff-t-cell{padding:0!important;margin-bottom:20px}}
/* file upload */
.quote .fluentform .ff-el-input--content .ff_upload_btn,.quote .fluentform .ff-btn-upload{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border:1px solid var(--line-strong);background:transparent;color:var(--ink);font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;border-radius:0;transition:all .2s var(--ease)}
.quote .fluentform .ff_upload_btn:hover,.quote .fluentform .ff-btn-upload:hover{border-color:var(--ink);background:var(--ink);color:#fbf7ef}
.quote .fluentform .ff-uploaded-list .ff-upload-preview{border:1px solid var(--line);padding:8px 12px;margin-top:8px;font-size:13px}
/* consent checkbox */
.quote .fluentform .ff-el-form-check{display:flex;align-items:flex-start;gap:10px}
.quote .fluentform .ff-el-form-check input[type="checkbox"]{width:auto;margin-top:3px;flex:0 0 auto;accent-color:var(--brass)}
.quote .fluentform .ff-el-form-check-label{font-size:13px;line-height:1.5;color:var(--muted);text-transform:none;letter-spacing:0;font-family:var(--sans)}
/* submit → matches .btn */
.quote .fluentform .ff-btn-submit{display:inline-flex;align-items:center;gap:10px;padding:17px 32px;border:1px solid var(--brass);border-radius:999px;background:var(--brass);color:#fbf7ef;font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;cursor:pointer;height:auto;box-shadow:none;transition:all .2s var(--ease)}
.quote .fluentform .ff-btn-submit:hover{background:var(--brass-deep);border-color:var(--brass-deep)}
/* validation + messages */
.quote .fluentform .error-text,.quote .fluentform .text-danger{color:#b3261e;font-size:13px;margin-top:6px}
.quote .fluentform .ff-el-is-error input,.quote .fluentform .ff-el-is-error textarea,.quote .fluentform .ff-el-is-error select{border-color:#b3261e}
.quote .ff-message-success{margin:24px 0 0;padding:14px 18px;font-size:14px;background:transparent;border:1px solid var(--brass);color:var(--brass-deep);border-radius:0}

/* ---------- sticky WA ---------- */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.wa-fab a, .wa-fab button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(26,20,16,0.2);
  font-weight: 600;
  transition: all .3s var(--ease);
}
.wa-fab a:hover, .wa-fab button:hover { transform: translateY(-2px); }
.wa-fab .wa { background: #1f9d57; }
.wa-fab .call { background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }
.wa-fab .icon {
  width: 18px; height: 18px;
}

/* ---------- materials strip ---------- */
.materials {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.materials .m {
  background: var(--bg);
  padding: 36px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.materials .swatch {
  width: 48px; height: 48px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.materials .name {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

/* ---------- accordion (FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 26px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.acc-q .plus {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s var(--ease);
  font-size: 18px;
  font-weight: 300;
}
.acc-item.open .plus { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.acc-item.open .acc-a { max-height: 400px; }
.acc-a-inner { padding: 0 0 28px; max-width: 700px; }

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.member { }
.member .img-ph { aspect-ratio: 3/4; margin-bottom: 16px; }
.member .name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.member .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-top: 4px;
}

/* ---------- blog ---------- */
.blog-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.blog-feature .img-ph { aspect-ratio: 4/3; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}
.blog-card .img-ph { aspect-ratio: 4/3; margin-bottom: 20px; }
.blog-card .cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 8px;
}
.blog-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.blog-card .meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ---------- case study ---------- */
.cs-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 60px;
}
.cs-hero .img-ph { aspect-ratio: 4/5; }
.cs-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.cs-meta dd { margin: 0; font-family: var(--serif); font-size: 20px; }

/* spec band: applications / finitions / traitements */
.svc-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 64px;
}
.svc-spec {
  background: var(--bg);
  padding: 32px;
}
.svc-spec-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 20px;
}
.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--paper);
}
.svc-intervene {
  margin: 56px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 920px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.svc-intervene-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 14px;
}

/* ---------- service archive sub-nav ---------- */
.svc-subnav {
  position: sticky;
  top: 96px;
  z-index: 40;
  background: rgba(245, 239, 229, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc-subnav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-subnav-inner::-webkit-scrollbar { display: none; }
.svc-subnav-link {
  flex: 1 0 auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 20px 18px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.svc-subnav-link .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.svc-subnav-link:hover { color: var(--ink); }
.svc-subnav-link.on {
  color: var(--ink);
  border-bottom-color: var(--brass-deep);
}

/* ---------- service tabs ---------- */
.svc-tabbar {
  position: sticky;
  top: 96px;
  z-index: 40;
  background: rgba(245, 239, 229, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.svc-tabs {
  display: flex;
  gap: 0;
}
.svc-tab {
  flex: 1;
  padding: 20px 18px;
  background: transparent;
  border: 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-align: left;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .3s var(--ease);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.svc-tab .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.svc-tab.on {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.svc-tab:hover { color: var(--ink); }

/* ---------- blog: breadcrumbs, single post ---------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}
.crumbs button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--brass-deep);
  cursor: pointer;
}
.crumbs button:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); }

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.post-meta .post-author { color: var(--ink); font-weight: 600; }

.post-body .post-excerpt {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.post-body .post-p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.post-body .post-h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 48px 0 16px;
}
.post-body .post-ul {
  margin: 0 0 24px;
  padding-left: 24px;
  display: grid;
  gap: 10px;
}
.post-body .post-ul li {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.post-body .post-ul li::marker { color: var(--brass-deep); }
.post-body .post-quote {
  margin: 40px 0;
  padding: 8px 0 8px 32px;
  border-left: 3px solid var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--ink);
}
.post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-foot .tag {
  background: none;
  cursor: pointer;
}
.post-foot .tag:hover { border-color: var(--ink); color: var(--ink); }

/* clickable category labels on cards */
.blog-card .cat-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  cursor: pointer;
}
.blog-card .cat-link:hover { text-decoration: underline; }
.cat-link-plain {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.cat-link-plain:hover { text-decoration: underline; }
.blog-card h4 a:hover { color: var(--brass-deep); }
.blog-feature h2 a:hover { color: var(--brass-deep); }

/* ---------- legal documents ---------- */
.legal-doc { }
.legal-doc .legal-h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-doc .legal-h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc .legal-h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin: 28px 0 8px;
}
.legal-doc .legal-p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.legal-doc .legal-ul {
  margin: 0 0 20px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.legal-doc .legal-ul li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.legal-doc .legal-ul li::marker { color: var(--brass-deep); }
.legal-doc a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc a:hover { color: var(--ink); }

.legal-inline-link {
  background: none; border: 0; padding: 0; font: inherit;
  color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.legal-inline-link:hover { color: var(--ink); }

.legal-todo {
  background: #fbecd2;
  color: #7b5530;
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px dashed #c89f72;
}

.legal-contact-card {
  margin-top: 56px;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}

/* footer legal nav */
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(215, 206, 189, 0.7);
  transition: color .25s var(--ease);
}
.footer-legal a:hover { color: #fff; }

/* 404 */
.notfound-code {
  font-family: var(--serif);
  font-size: clamp(96px, 18vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--brass);
  opacity: 0.9;
}
.notfound-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.notfound-links button {
  background: none; border: 0; padding: 0; font: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  cursor: pointer;
}
.notfound-links button:hover { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; }
.notfound-links .sep { color: var(--line-strong); }

/* ---------- contact map ---------- */
.map-band {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  height: clamp(380px, 46vw, 540px);
  background: var(--bg-3);
}
.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.32) sepia(0.12) saturate(0.92) brightness(1.02);
}
.map-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 360px;
  background: rgba(251, 247, 239, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(26, 20, 16, 0.16);
}
@media (max-width: 640px) {
  .map-band { height: auto; }
  .map-frame { position: relative; height: 320px; display: block; }
  .map-card {
    position: static;
    max-width: none;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    background: var(--paper);
  }
}

/* ---------- featured project (Villa Tanneron) ---------- */
.featured-project {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.featured-project:hover { box-shadow: 0 30px 70px rgba(26,20,16,0.1); transform: translateY(-3px); }
.featured-media { position: relative; overflow: hidden; }
.featured-media .img-ph { height: 100%; transition: transform .8s var(--ease); }
.featured-project:hover .featured-media .img-ph { transform: scale(1.04); }
.featured-count {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(26,20,16,0.78);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.featured-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 20px;
}
.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  align-self: flex-start;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.featured-project:hover .featured-cta { gap: 16px; color: var(--brass-deep); }
.featured-reverse .featured-media { order: 2; }
.featured-reverse .featured-body { order: 1; }
@media (max-width: 860px) {
  .featured-project { grid-template-columns: 1fr; }
  .featured-reverse .featured-media { order: 0; }
  .featured-reverse .featured-body { order: 0; }
  .featured-media .img-ph { aspect-ratio: 16/10; height: auto; }
  .featured-body { padding: 32px; }
}

/* ---------- avis clients / reviews ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--brass); line-height: 0; }
.stars .star { display: block; }

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.rating-badge:hover { border-color: var(--ink); transform: translateY(-2px); }
.rating-num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.rating-denom { font-size: 22px; color: var(--muted); }
.rating-meta { display: flex; flex-direction: column; gap: 4px; }
.rating-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-source {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-text {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  flex: 1;
  text-wrap: pretty;
}
.review-cite {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--brass-soft);
  color: var(--marble);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
}
.review-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.review-name { font-weight: 600; font-size: 14px; }
.review-sub { font-size: 12px; color: var(--muted); }
.review-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  .ba-pair { grid-template-columns: 1fr !important; }
  .svc-faq-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .svc-subnav { top: 96px; }
  .svc-subnav-link { font-size: 16px; padding: 16px 14px; }
  .svc-specs { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .svc-grid, .gallery, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-logo { padding: 12px 16px; }
  .footer-grid .footer-logo img { height: 40px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .materials { grid-template-columns: repeat(3, 1fr); }
  .process-item { grid-template-columns: 60px 1fr; gap: 16px; }
  .process-item .tools, .process-item .step-n + h4 + p { grid-column: 2; }
  .cs-hero { grid-template-columns: 1fr; }
  .blog-feature { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr !important; padding: 32px !important; }
  .culture-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .testimonial { padding: 40px; }
  .lightbox .prev { left: 8px; }
  .lightbox .next { right: 8px; }
  .lightbox { padding: 16px; }
}

/* ===== Mobile-first collapse: every inline grid stacks ===== */
@media (max-width: 768px) {
  /* any element with an inline grid-template-columns collapses to one column */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  /* tame oversized inline gaps when stacked */
  [style*="gap: 64px"], [style*="gap: 80px"], [style*="gap:64px"], [style*="gap:80px"] { gap: 18px !important; }
  /* tame oversized inline margins on mobile */
  [style*="margin-top: 80px"] { margin-top: 18px !important; }
  [style*="margin-top: 60px"] { margin-top: 16px !important; }
  [style*="margin-bottom: 80px"] { margin-bottom: 18px !important; }
  [style*="margin-bottom: 60px"] { margin-bottom: 16px !important; }
  [style*="margin: 80px"] { margin-top: 18px !important; margin-bottom: 18px !important; }

  /* unified mobile vertical rhythm — tight, consistent */
  .section { padding: 20px 0 !important; }
  .section-sm { padding: 13px 0 !important; }
  .section-tight { padding: 10px 0 !important; }
  .hero { padding: 16px 0 18px !important; }
  .site-footer { padding: 28px 0 20px !important; }

  .site-header { }
  .header-inner { height: 72px; }
  .brand img { height: 52px; }

  /* headings scale down so they never overflow */
  .h-hero { font-size: clamp(40px, 11vw, 60px); }
  .h-display { font-size: clamp(34px, 9vw, 52px); }
  .h-2 { font-size: clamp(28px, 7.5vw, 40px); }
  .lead { font-size: 17px; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .process-item .step-n { font-size: 42px; }
  .testimonial { padding: 32px 24px; }
  .testimonial blockquote { font-size: clamp(24px, 6.5vw, 34px); }
  .quote { padding: 28px 20px; }
  .legal-contact-card { padding: 28px 20px; }

  /* CTA banner inner padding */
  .tex-marble-dark { padding: 32px 22px !important; }

  /* service archive rows: image above text, comfortable gap */
  .svc-subnav { top: 72px; }
  .svc-tabbar { position: static; }

  /* services sub-nav: wrap to rows so every service is visible (no hidden slider) */
  .svc-subnav-inner { flex-wrap: wrap; overflow-x: visible; gap: 0; }
  .svc-subnav-link {
    flex: 1 0 40%;
    justify-content: flex-start;
    padding: 13px 12px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .svc-subnav-link.on { border-bottom-color: var(--brass-deep); }

  /* archive rows always show image first, then text */
  .svc-row { gap: 20px !important; padding: 24px 0 !important; }
  .svc-row-img { order: -1 !important; }
  .svc-row-text { order: 0 !important; }

  /* service-detail tab bar → compact rows, identical to archive sub-nav */
  .svc-tabs { flex-wrap: wrap; border-bottom: 0; }
  .svc-tab {
    flex: 1 0 40%;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    font-size: 16px;
    padding: 13px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0;
  }
  .svc-tab .num { font-size: 10px; }
  .svc-tab.on { border-bottom-color: var(--brass-deep); }
}

@media (max-width: 560px) {
  .header-cta { display: none; }   /* drawer carries the CTA on phones */
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .wa-fab { right: 16px; bottom: 16px; }
  .wa-fab a, .wa-fab button { padding: 12px 16px; font-size: 12px; }
  /* compact the multi-step indicator: dots only, labels hidden */
  .steps { gap: 6px; }
  .steps .step { font-size: 0; gap: 0; }
  .steps .step .dot { font-size: 11px; }
  .quote-actions .btn { padding: 14px 20px; }
}
@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .svc-grid, .gallery, .blog-grid, .team-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-head { margin-bottom: 36px; }
  .opt-grid { grid-template-columns: 1fr; }
  .quote { padding: 28px; }
}


/* ===== Pure-CSS mobile menu toggle (no JS) ===== */
.nav-toggle-cb { position:absolute; width:0; height:0; opacity:0; pointer-events:none; }
#pmp-nav-toggle:checked ~ #mobile-drawer { visibility:visible; pointer-events:auto; }
#pmp-nav-toggle:checked ~ #mobile-drawer .mobile-drawer-scrim { opacity:1; }
#pmp-nav-toggle:checked ~ #mobile-drawer .mobile-drawer-panel { transform:none; }
#pmp-nav-toggle:checked ~ .container .menu-toggle span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
#pmp-nav-toggle:checked ~ .container .menu-toggle span:nth-child(2){ opacity:0; }
#pmp-nav-toggle:checked ~ .container .menu-toggle span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }
body:has(#pmp-nav-toggle:checked){ overflow:hidden; }

/* drawer above all content */
.mobile-drawer{ z-index:2000 !important; }
.site-header{ z-index:1000; }


/* === Mobile menu — definitive overlay (position-independent via :has) === */
.mobile-drawer{ position:fixed; inset:0; z-index:99999; }
body:has(#pmp-nav-toggle:checked) .mobile-drawer{ visibility:visible !important; pointer-events:auto !important; }
body:has(#pmp-nav-toggle:checked) .mobile-drawer .mobile-drawer-scrim{ opacity:1 !important; }
body:has(#pmp-nav-toggle:checked) .mobile-drawer .mobile-drawer-panel{ transform:none !important; }


/* === Mobile drawer — opaque panel + full cover (final) === */
.mobile-drawer .mobile-drawer-scrim{ position:absolute; inset:0; background:rgba(26,20,16,.55); }
.mobile-drawer .mobile-drawer-panel{
  position:absolute; top:0; right:0; bottom:0;
  width:min(88vw,380px); height:100%;
  background:#f5efe5 !important;
  box-shadow:-20px 0 60px rgba(26,20,16,.25);
  padding:24px 24px 40px; overflow-y:auto;
  display:flex; flex-direction:column;
}

/* === Mobile drawer — escape header's backdrop-filter containing block ===
   The drawer lives inside <header>, which uses backdrop-filter and so
   becomes the containing block for position:fixed. That clamped the drawer
   to the header's height. Viewport units (vh/vw) ignore the containing block,
   so the drawer fills the real screen and the panel stays opaque + full-height. */
.mobile-drawer{
  position:fixed !important;
  top:0 !important; left:0 !important; right:auto !important; bottom:auto !important;
  width:100vw !important; height:100vh !important; height:100dvh !important;
  z-index:99999 !important;
}
.mobile-drawer .mobile-drawer-scrim{
  position:fixed !important; top:0 !important; left:0 !important;
  width:100vw !important; height:100vh !important; height:100dvh !important;
  background:rgba(26,20,16,.55) !important;
}
.mobile-drawer .mobile-drawer-panel{
  position:fixed !important; top:0 !important; right:0 !important; left:auto !important; bottom:auto !important;
  width:min(88vw,380px) !important; height:100vh !important; height:100dvh !important;
  background:#f5efe5 !important;
}

/* drawer CTA button must keep light text (it's dark-on-dark otherwise) */
.mobile-contact a.btn{ color:var(--paper) !important; background:var(--ink) !important; }
.mobile-contact a.btn:hover{ background:var(--brass-deep) !important; }

/* before/after — full draggable overlay + visible handle */
.ba{ touch-action:none; cursor:ew-resize; }
.ba .ba-range{
  position:absolute; inset:0; width:100%; height:100%; margin:0;
  opacity:0; cursor:ew-resize; z-index:6; -webkit-appearance:none; appearance:none; background:transparent;
}
.ba .ba-range::-webkit-slider-thumb{ -webkit-appearance:none; width:48px; height:100%; }
.ba .ba-range::-moz-range-thumb{ width:48px; height:100%; border:0; background:transparent; }
.ba .ba-handle{
  position:absolute; top:0; bottom:0; left:var(--ba,50%);
  width:2px; background:#fff; transform:translateX(-1px);
  pointer-events:none; z-index:5; box-shadow:0 0 0 1px rgba(26,20,16,.15);
}
.ba .ba-handle::after{
  content:'‹ ›'; position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%); width:44px; height:44px; border-radius:999px;
  background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:center;
  font-size:15px; font-weight:700; letter-spacing:-1px; box-shadow:0 6px 18px rgba(26,20,16,.28);
}

/* === Mobile drawer — authoritative open/close (single source of truth: .open) === */
.mobile-drawer{ visibility:hidden !important; pointer-events:none !important; }
.mobile-drawer .mobile-drawer-panel{ transform:translateX(100%) !important; transition:transform .4s var(--ease) !important; }
.mobile-drawer .mobile-drawer-scrim{ opacity:0 !important; transition:opacity .3s var(--ease) !important; }
.mobile-drawer.open{ visibility:visible !important; pointer-events:auto !important; }
.mobile-drawer.open .mobile-drawer-panel{ transform:none !important; }
.mobile-drawer.open .mobile-drawer-scrim{ opacity:1 !important; }

/* Compact drawer CTA so it never blows up / wraps on small screens */
.mobile-drawer-panel .btn{
  width:100%; justify-content:center;
  padding:13px 18px;
  font-size:11px; letter-spacing:.08em;
  white-space:nowrap;
  color:var(--paper) !important; background:var(--ink) !important;
}

/* ============ Before / After slider (robust, clip-path based) ============ */
.ba{ position:relative; overflow:hidden; border:1px solid var(--line); border-radius:4px; background:var(--paper); user-select:none; touch-action:pan-y; }
.ba-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; max-width:none; }
.ba-top{ clip-path: inset(0 50% 0 0); }
.ba-divider{ position:absolute; top:0; bottom:0; left:50%; width:2px; margin-left:-1px; background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.15); pointer-events:none; z-index:3; }
.ba-handle{ position:absolute; top:50%; left:50%; width:40px; height:40px; margin:-20px 0 0 -20px; border-radius:999px; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center; color:var(--ink); font-size:14px; pointer-events:none; z-index:4; }
.ba-handle::before{ content:"‹ ›"; letter-spacing:-1px; font-weight:600; }
.ba-label{ position:absolute; bottom:12px; z-index:3; font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:#fff; background:rgba(0,0,0,.45); padding:4px 10px; border-radius:999px; pointer-events:none; }
.ba-label.is-before{ left:12px; }
.ba-label.is-after{ right:12px; }
.ba-range{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:ew-resize; z-index:5; }

/* ============ Floating contact CTA (all pages) ============ */
.floating-cta{ position:fixed; right:18px; bottom:18px; z-index:900; display:flex; flex-direction:column; gap:12px; }
.floating-cta a{ width:54px; height:54px; border-radius:999px; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 20px rgba(0,0,0,.22); transition:transform .2s var(--ease), box-shadow .2s var(--ease); }
.floating-cta a:hover{ transform:translateY(-2px) scale(1.04); box-shadow:0 10px 26px rgba(0,0,0,.28); }
.floating-cta .fc-wa{ background:#25D366; }
.floating-cta .fc-tel{ background:var(--ink); }
.floating-cta svg{ width:26px; height:26px; display:block; }
@media print { .floating-cta{ display:none; } }
@media (max-width:600px){
  .floating-cta{ right:14px; bottom:14px; gap:10px; }
  .floating-cta a{ width:48px; height:48px; }
  .floating-cta svg{ width:23px; height:23px; }
}
.mobile-drawer-panel .btn:hover{ background:var(--brass-deep) !important; border-color:var(--brass-deep) !important; }
.mobile-close{ flex:0 0 auto; }

/* ---------- Built-in devis form ---------- */
.pmp-quote-form{margin:0}
.pmp-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.pmp-quote-form .pmp-row{margin:0 0 20px}
.pmp-quote-form label{display:block;font-size:12px;font-family:var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;font-weight:500}
.pmp-quote-form input[type="text"],.pmp-quote-form input[type="email"],.pmp-quote-form input[type="tel"],.pmp-quote-form textarea,.pmp-quote-form select{width:100%;padding:14px 16px;border:1px solid var(--line-strong);border-radius:0;background:transparent;font-family:var(--sans);font-size:15px;color:var(--ink);line-height:1.4;transition:border-color .2s var(--ease)}
.pmp-quote-form textarea{min-height:140px;resize:vertical}
.pmp-quote-form input:focus,.pmp-quote-form textarea:focus,.pmp-quote-form select:focus{outline:none;border-color:var(--ink)}
.pmp-quote-form input::placeholder,.pmp-quote-form textarea::placeholder{color:var(--muted);opacity:.7}
.pmp-quote-form .pmp-half{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media (max-width:560px){.pmp-quote-form .pmp-half{grid-template-columns:1fr}}
.pmp-quote-form input[type="file"]{width:100%;padding:12px 14px;border:1px dashed var(--line-strong);background:transparent;font-family:var(--sans);font-size:14px;color:var(--muted);cursor:pointer}
.pmp-quote-form input[type="file"]:hover{border-color:var(--ink)}
.pmp-quote-form input[type="file"]::file-selector-button{margin-right:12px;padding:8px 16px;border:1px solid var(--line-strong);background:transparent;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);cursor:pointer;transition:all .2s var(--ease)}
.pmp-quote-form input[type="file"]::file-selector-button:hover{background:var(--ink);color:#fbf7ef;border-color:var(--ink)}
.pmp-quote-form .pmp-hint{display:block;margin-top:8px;font-size:12px;line-height:1.5;color:var(--muted)}
.pmp-quote-form .pmp-consent label{display:flex;align-items:flex-start;gap:10px;font-family:var(--sans);font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;color:var(--muted);margin:0}
.pmp-quote-form .pmp-consent input[type="checkbox"]{width:auto;margin-top:2px;flex:0 0 auto;accent-color:var(--brass)}
.pmp-quote-form button[type="submit"]{margin-top:4px;cursor:pointer}
.pmp-form-note{margin:0 0 28px;padding:16px 20px;border:1px solid var(--line-strong);font-size:14px;line-height:1.6}
.pmp-form-ok{border-color:var(--brass);color:var(--brass-deep)}
.pmp-form-err{border-color:#b3261e;color:#b3261e}

/* CF7 validation tip — reset inherited label styling */
.quote .wpcf7-form .wpcf7-not-valid-tip{display:block;margin-top:6px;font-family:var(--sans);font-size:12.5px;font-weight:400;letter-spacing:0;text-transform:none;color:#b3261e}
.quote .wpcf7-form .wpcf7-not-valid{border-color:#b3261e}

/* before/after knob (matches the reference design) */
.ba .ba-knob{position:absolute;top:50%;left:var(--ba,50%);width:48px;height:48px;margin:0;transform:translate(-50%,-50%);border-radius:50%;background:var(--paper);color:var(--ink);display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:13px;letter-spacing:-0.05em;pointer-events:none;z-index:6;box-shadow:0 2px 12px rgba(26,20,16,.18)}
.ba{cursor:ew-resize}

/* hero image: never distort (crop instead of stretch) */
/* hero image: use the photo's own proportions so it can never stretch */
.hero-image{aspect-ratio:auto!important;height:auto!important;object-fit:cover;display:block;width:100%}

/* mobile drawer: no nav underline in the slide-out menu */
.mobile-drawer .nav a::after,
.mobile-drawer-panel .nav a::after,
.mobile-drawer-panel a::after{display:none!important;content:none!important}
@media (max-width:768px){.site-header .nav a::after{display:none}}

.ba .ba-range{display:none!important}
.ba{outline:none}
.ba:focus-visible{box-shadow:0 0 0 2px var(--brass-deep)}

/* reviews: extra cards revealed by the button */
.review-card--hidden{display:none}
.reviews-grid--all .review-card--hidden{display:flex}
#reviews-more{cursor:pointer;font-family:var(--mono)}

/* Any image inside an .img-ph frame must fill it, even if a cache/lazy-load
   plugin rewrites the inline styles (fixes the empty hatched block). */
.img-ph{position:relative;overflow:hidden}
.img-ph > img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;max-width:none!important}
/* team + culture blocks: keep text inside the column */
.culture-grid{align-items:center}
.culture-grid > div{min-width:0}
.culture-grid h2,.culture-grid p{overflow-wrap:break-word}
@media (max-width:900px){.culture-grid{grid-template-columns:1fr!important;gap:32px!important}}

/* ============================================================
   v2.0.2 fixes
   ============================================================ */

/* --- AVANT/APRES: one divider + one knob, nothing else --------
   Three legacy rule-sets were each drawing a circle (.ba-handle,
   .ba-handle::after, .ba-knob). Neutralise all but .ba-knob. */
.ba .ba-handle,.ba-handle{display:none!important}
.ba .ba-handle::after,.ba .ba-handle::before,
.ba-handle::after,.ba-handle::before{content:none!important;display:none!important}
.ba .ba-range,.ba-range{display:none!important}
/* divider must follow the drag position, not sit fixed at 50% */
.ba .ba-divider{position:absolute;top:0;bottom:0;left:var(--ba,50%);width:2px;margin:0;transform:translateX(-1px);background:#fff;box-shadow:0 0 0 1px rgba(26,20,16,.15);pointer-events:none;z-index:5}
/* the single knob, locked to the centre of the frame */
.ba .ba-knob{position:absolute!important;top:50%!important;left:var(--ba,50%)!important;width:48px;height:48px;margin:0!important;transform:translate(-50%,-50%)!important;border-radius:50%;background:var(--paper);color:var(--ink);display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:13px;letter-spacing:-.05em;pointer-events:none;z-index:6;box-shadow:0 2px 12px rgba(26,20,16,.18)}
.ba{position:relative;overflow:hidden;cursor:ew-resize;touch-action:none}
.ba .ba-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* --- MOBILE DRAWER: no bullets, no underlines ------------------
   The drawer renders wp_nav_menu with class .mobile-links (it is
   NOT inside .nav), so earlier selectors never matched. */
.mobile-drawer ul,.mobile-drawer ol,.mobile-links,
.mobile-drawer-panel ul,.mobile-drawer-panel ol{list-style:none!important;margin:0;padding:0}
.mobile-drawer li,.mobile-links li,.mobile-drawer-panel li{list-style:none!important}
.mobile-drawer li::marker,.mobile-links li::marker,
.mobile-drawer-panel li::marker{content:""!important}
.mobile-drawer a::after,.mobile-drawer a::before,
.mobile-links a::after,.mobile-links a::before,
.mobile-drawer-panel a::after{content:none!important;display:none!important}
.mobile-drawer a,.mobile-links a{text-decoration:none!important;border-bottom:0!important}

/* --- HERO IMAGE: crop, never stretch --------------------------
   A fixed ratio box + object-fit:cover renders any source photo
   (portrait or landscape) as a clean band with no distortion. */
/* HERO IMAGE — keep the photo's own proportions at every width.
   Forcing an aspect-ratio was what deformed it on mobile. */
img.hero-image{display:block;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;max-width:100%}

/* review cards: per-review stars + date */
.review-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.review-date{font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.review-stars{color:var(--brass);letter-spacing:.06em}

/* stats band: always visible (guards against a cache plugin or a stray
   reveal class leaving it transparent or collapsed) */
.stat-strip{display:grid!important;opacity:1!important;transform:none!important;visibility:visible!important}
.stat-strip .stat{opacity:1!important;transform:none!important}
.stat-strip .num{opacity:1!important}

/* ============================================================
   BLOG — match the HTML site
   ============================================================ */

/* 1. Category chips: the theme renders <a>, the old rules only
      styled <button>, so the pills were invisible. */
.filter-bar a{
  padding:10px 18px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:transparent;
  font-family:var(--sans);
  font-size:13px;
  letter-spacing:.01em;
  color:var(--muted);
  text-decoration:none;
  cursor:pointer;
  transition:all .25s var(--ease);
}
.filter-bar a:hover{border-color:var(--ink);color:var(--ink)}
.filter-bar a.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* 2. Article body: WordPress outputs bare <p>/<h2>/<ul>/<blockquote>,
      so the .post-* class rules never applied. Style the elements. */
.post-body > p{font-size:18px;line-height:1.75;color:var(--ink-2);margin:0 0 24px;text-wrap:pretty}
.post-body h2{
  font-family:var(--serif)!important;
  font-weight:500;
  font-size:clamp(24px,2.4vw,30px);
  line-height:1.25;
  letter-spacing:-0.01em;
  color:var(--ink);
  margin:48px 0 16px;
}
.post-body h3{font-family:var(--serif)!important;font-weight:500;font-size:clamp(20px,2vw,24px);color:var(--ink);margin:36px 0 14px}
.post-body ul,.post-body ol{margin:0 0 24px;padding-left:24px;display:flex;flex-direction:column;gap:10px}
.post-body ul li,.post-body ol li{font-size:18px;line-height:1.6;color:var(--ink-2)}
.post-body ul li::marker,.post-body ol li::marker{color:var(--brass-deep)}
.post-body blockquote{
  margin:40px 0;
  padding:8px 0 8px 32px;
  border-left:2px solid var(--brass);
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(19px,1.9vw,23px);
  line-height:1.5;
  color:var(--ink);
}
.post-body blockquote p{margin:0;font-size:inherit;line-height:inherit;color:inherit;font-family:inherit;font-style:inherit}

/* 3. Lead paragraph above the body, as on the HTML site */
.post-body .post-excerpt,.post-lead{
  font-family:var(--serif);
  font-size:clamp(20px,2vw,26px);
  line-height:1.45;
  color:var(--ink);
  margin:0 0 40px;
  padding-bottom:40px;
  border-bottom:1px solid var(--line);
}

/* 4. Blog cards: keep the image frame filled even with a cache plugin */
.blog-card .img-ph,.blog-feature .img-ph{position:relative;overflow:hidden}
.blog-card .img-ph > img,.blog-feature .img-ph > img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.blog-card > a{display:block}
.blog-card .cat{display:inline-block;margin:16px 0 10px;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--brass-deep);text-decoration:none}
.blog-card h4{font-family:var(--serif);font-weight:500;font-size:20px;line-height:1.3;margin:0 0 12px}
.blog-card h4 a{color:var(--ink);text-decoration:none}
.blog-card h4 a:hover{color:var(--brass-deep)}
.blog-card .meta{display:flex;gap:10px;font-size:12px;color:var(--muted)}

/* ============================================================
   IMAGE FRAMES — fill completely, whatever a cache/lazy-load
   plugin does to the markup. Fixes the half-filled photo with
   an empty hatched area underneath (Equipe "Une ecole de la
   patience", team photos, galleries).
   ============================================================ */
.img-ph{position:relative;overflow:hidden}
/* never repaint the dark CTA band, which shares the .img-ph class */
.img-ph.tex-marble-dark,.tex-marble-dark{background-color:var(--ink)!important}
.img-ph img,.img-ph picture,.img-ph picture img{
  position:absolute!important;
  top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
}
/* WP Rocket / Imagify lazy placeholders must not collapse the frame */
.img-ph img[data-lazy-src],.img-ph img.lazyload,.img-ph img.lazyloading{height:100%!important;min-height:100%!important}
/* the culture block: image and text side by side, stacked on mobile */
.culture-grid{align-items:center}
.culture-grid > div{min-width:0}
@media (max-width:900px){.culture-grid{grid-template-columns:1fr!important;gap:32px!important}}

/* UPQODE – heading-order fix: h4 -> h2/h3 keep the original look */
.footer-grid h2 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-soft); margin: 0 0 20px; font-weight: 500; }
.process-item h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 0; letter-spacing: -0.01em; }
@media (max-width: 1024px) { .process-item .step-n + h3 + p { grid-column: 2; } }
.blog-card h2 { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 12px; }
.blog-card h2 a { color: var(--ink); text-decoration: none; }
.blog-card h2 a:hover { color: var(--brass-deep); }

/* UPQODE – a11y: primary menu items wrapped in a <ul> (keeps the flex layout) */
.nav-list { display: contents; list-style: none; margin: 0; padding: 0; }
/* UPQODE – keep the header logo at its natural ratio (no flex squeeze) */
.brand { flex-shrink: 0; }
.brand img { max-width: none; }

/* UPQODE: logo-sm.png carries width/height attrs; keep natural ratio */
.brand img,.footer-logo img,.mobile-drawer-head img{width:auto}
