/* Site vitrine: plomberie, direction plan. */
@font-face { font-family: "Grotesk"; src: url("fonts/grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Mono"; src: url("fonts/mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --bp: oklch(0.31 0.085 258); --paper: oklch(0.978 0.008 245); --line: oklch(0.31 0.085 258 / 0.22); --ink: oklch(0.24 0.04 258); --muted: oklch(0.46 0.03 258); --black: oklch(0.17 0.02 258);
  --accent: oklch(0.38 0.13 275); --accent-strong: oklch(0.3 0.12 275); --on-accent: oklch(0.985 0.008 85); --accent-text: oklch(0.38 0.13 275); --accent-soft: oklch(0.93 0.03 275); --bright: oklch(0.76 0.12 280); --on-bright: oklch(0.2 0.02 60);
  --rad: 2px; --font: "Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background-color: var(--paper); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--bright); color: var(--on-bright); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.i { flex: none; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; }
.label, .meta, .ref, .row.head, .tag, .nav a, .status { font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.label { color: var(--accent-text); margin-bottom: 14px; display: inline-block; }
.h { font-family: var(--font); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; background: var(--bright); color: var(--on-bright); border: 0; border-radius: 2px; font: 700 .95rem/1.15 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }

/* top bar, like an app */
.top { background: var(--bp); color: #fff; border-bottom: 1px solid rgb(255 255 255 / .16); position: relative; z-index: 5; }
.bar { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.mk { display: grid; place-items: center; width: 36px; height: 36px; background: var(--bright); color: var(--on-bright); flex: none; }
.bn { font-family: var(--mono); font-weight: 700; font-size: .95rem; letter-spacing: .02em; background: var(--black); padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: rgb(255 255 255 / .8); }
.nav b { color: var(--bright); margin-right: 6px; }
.nav a:hover { color: #fff; }
.status { text-decoration: none; color: #fff; }
.status strong { background: var(--bright); color: var(--on-bright); padding: 4px 10px; margin-left: 4px; }

/* hero: a drawing as the backdrop, labels and cards on top */
.hero { position: relative; overflow: hidden; background-color: var(--bp); background-image: linear-gradient(rgb(255 255 255 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .07) 1px, transparent 1px); background-size: 40px 40px; color: #fff; }
.fig { position: absolute; top: -4%; right: -4%; height: 112%; aspect-ratio: 4 / 5; opacity: .62; pointer-events: none; }
.fig svg { width: 100%; height: 100%; }
.fig img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.15); mix-blend-mode: luminosity; }
.fig.photo { opacity: .8; border: 1px solid rgb(255 255 255 / .5); }
.fig svg path, .fig svg rect, .fig svg polygon, .fig svg circle, .fig svg ellipse { fill: var(--bp); stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.fig svg g { stroke: #fff; }
.fig svg .hl { fill: var(--bright); stroke: var(--bright); }
.hero-in { position: relative; min-height: 800px; padding: 72px 0; }
.copy { max-width: 640px; }
h1 { font-family: var(--mono); font-size: clamp(1.7rem, 3.7vw, 3.1rem); line-height: 1.38; font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
h1 span { background: var(--black); padding: .06em .28em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
h1 mark { background: none; color: var(--bright); }
.lead { margin-top: 28px; max-width: 29em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgb(255 255 255 / .86); }
.actions { margin-top: 30px; }

.card { position: absolute; background: var(--paper); color: var(--ink); padding: 22px 24px; box-shadow: 0 24px 54px -26px rgb(0 0 0 / .7); }
.meta { color: var(--muted); }
.card h2 { font-family: var(--mono); font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; margin: 14px 0 8px; font-weight: 700; }
.card h3 { font-family: var(--mono); font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; margin: 6px 0 6px; font-weight: 700; }
.small { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.a { top: 64px; right: 0; width: min(400px, 36%); }
.b { bottom: 40px; left: 0; width: min(520px, 46%); display: flex; gap: 20px; align-items: flex-start; }
.sq { display: grid; place-items: center; width: 84px; height: 84px; background: var(--bright); color: var(--on-bright); flex: none; }
.card .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--bright); color: var(--on-bright); text-decoration: none; font-size: .72rem; }
.tag.grey { background: oklch(0.93 0.01 250); color: var(--ink); }
.tag.grey i { width: 7px; height: 7px; background: var(--accent); }
.card.b .tag { margin-top: 14px; }
.stat { position: absolute; right: 0; bottom: 40px; width: 280px; padding: 22px 24px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.statn { font-family: var(--mono); font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -0.05em; }
.stat .meta { color: rgb(255 255 255 / .75); margin-top: 6px; font-size: .72rem; }

.section { padding: 88px 0; }
.grid-bg { background: color-mix(in oklch, var(--accent-soft) 45%, var(--paper)); }
h2.h { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 36px; }
h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }

.parts { background: var(--paper); border: 1.5px solid var(--bp); }
.parts .row { display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1.3fr) 44px; gap: 24px; align-items: center; padding: 22px 24px; border-top: 1px solid var(--bp); transition: background-color .2s; }
.parts .row.head { border-top: 0; background: var(--bp); color: #fff; padding-block: 12px; }
.parts .row:not(.head):hover { background: var(--accent-soft); }
.ref { color: var(--accent-text); }
.parts p { color: var(--muted); font-size: 1rem; }
.ico { color: var(--accent-text); justify-self: end; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--paper); border: 1.5px solid var(--bp); padding: 24px 26px 28px; }
.steps p { margin-top: 6px; color: var(--muted); }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; padding: 44px 48px; background: var(--paper); border: 2px solid var(--bp); }
.cta h2.h { margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cta-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.bigtel { font-family: var(--mono); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; text-decoration: none; background: var(--bright); color: var(--on-bright); padding: 8px 18px; font-variant-numeric: tabular-nums; }
.route { font-family: var(--mono); font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; }

.foot { background: var(--bp); color: rgb(255 255 255 / .78); padding: 40px 0 48px; font-size: .97rem; }
.foot-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.foot .label { color: var(--bright); margin-bottom: 4px; }

.callbar { display: none; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .fig { height: 70%; top: auto; bottom: 0; right: -10%; opacity: .35; }
  .hero-in { min-height: 0; padding: 48px 0 56px; display: grid; gap: 20px; }
  .card, .stat { position: static; width: auto; }
  .b { max-width: none; }
  .section { padding: 56px 0; }
  h2.h { margin-bottom: 26px; }
  .parts .row { grid-template-columns: 58px minmax(0, 1fr); gap: 6px 14px; padding: 20px 18px; }
  .parts .row.head { display: none; }
  .parts p { grid-column: 2; }
  .ico { display: none; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 28px 24px; }
  body:has(.callbar) { padding-bottom: 84px; }
  .callbar { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; padding: 16px 20px; background: var(--bright); color: var(--on-bright); font: 700 .95rem var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid var(--bp); }
}
@media (max-width: 520px) { .status { display: none; } .sq { width: 64px; height: 64px; } }

.about-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-in.solo { grid-template-columns: minmax(0, 780px); }
.about-txt p { margin-top: 18px; font-size: 1.12rem; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--rad, 4px); }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--rad, 4px); }
.gallery.g4 { grid-template-columns: repeat(2, 1fr); }
.gallery.g4 img:first-child { grid-column: span 2; aspect-ratio: 16 / 7; }
.credits { margin-top: 18px; font-size: .82rem; opacity: .65; }
@media (max-width: 900px) { .about-in { grid-template-columns: 1fr; gap: 28px; } .gallery, .gallery.g4 { grid-template-columns: 1fr 1fr; } .gallery.g4 img:first-child { aspect-ratio: 4 / 3; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .parts .row { transition: none; } .btn:hover { transform: none; } }
