/* ─────────────────────────────────────────────────────────
   Construction Prud'homme et Frère inc.
   Entrepreneur général · Lac-des-Écorces, Hautes-Laurentides
   Brand: black + orange #F39200 + grey
   ───────────────────────────────────────────────────────── */

:root {
  /* Palette */
  --brand-orange: #F39200;
  --brand-orange-soft: #FFB04A;
  --brand-orange-dark: #C76F00;
  --ink: #0A0A0A;
  --ink-2: #141414;
  --ink-3: #1C1C1C;
  --grey-1: #8A8A8A;
  --grey-2: #B5B5B5;
  --grey-3: #DCDCDC;
  --bone: #F5F2EC;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.18);

  /* Type */
  --ff-display: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --ff-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --ff-industrial: 'Anton', 'Oswald', 'Arial Narrow', sans-serif;
  --ff-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1240px;
  --radius: 2px;
  --radius-lg: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  overflow-x: clip;
}
html {
  background: var(--ink);
  color: var(--grey-3);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  background: var(--ink);
}

img { max-width: 100%; height: auto; display: block; }
a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}
a:hover { color: var(--brand-orange); }

/* ─────────────────────────────────────────────────────────
   Loader
   ───────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 600ms ease;
}
#loader img {
  max-height: 96px;
  width: auto;
}
#loader .bar {
  width: 220px;
  height: 2px;
  background: rgba(243, 146, 0, 0.15);
  overflow: hidden;
  border-radius: 2px;
}
#loader .bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: var(--brand-orange);
  animation: load 1.2s ease-in-out infinite;
}
@keyframes load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
body.is-loaded #loader {
  opacity: 0;
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   Nav
   ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: transparent;
  transition: background 280ms ease, backdrop-filter 280ms ease, border-color 280ms ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav .brand img {
  height: 76px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
}
@media (max-width: 720px) {
  .nav .brand img { height: 52px; max-width: 62vw; }
}
.nav .brand .label {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--grey-3);
  line-height: 1.1;
}
.nav .brand .label small {
  display: block;
  color: var(--grey-1);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--grey-2);
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
}
.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand-orange);
}
.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  line-height: 1;
  white-space: nowrap;
  background: var(--brand-orange);
  color: var(--ink) !important;
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-indent: 0.14em;          /* compensates trailing letter-spacing → text centered */
  text-transform: uppercase;
  border-radius: 0;
  transition: transform 200ms ease, background 200ms ease;
}
.nav-links a.nav-cta:hover {
  background: var(--brand-orange-soft);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 70px 0 0 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 28px var(--gutter);
    gap: 0;
    transform: translateX(100%);
    transition: transform 360ms ease;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .nav-links .nav-cta {
    margin-top: 20px;
    text-align: center;
    justify-content: center;
    border-bottom: 0;
  }
  .nav-toggle { display: inline-flex; }
  /* A backdrop-filtered ancestor becomes the containing block for its
     position:fixed descendants — once scrolled, that trapped the full-screen
     .nav-links menu inside the ~80px nav (collapsed to a 56px strip). Drop the
     blur on mobile so the menu stays viewport-fixed. Desktop has no fixed menu. */
  .nav.is-scrolled {
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ─────────────────────────────────────────────────────────
   Hero — CSS sticky scrub container
   ───────────────────────────────────────────────────────── */
.hero-wrap {
  position: relative;
  height: 230vh;          /* gives scroll distance for the scrub */
  background: var(--ink);
}
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 156px var(--gutter) 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
@media (max-width: 760px) {
  /* No sticky scrub on mobile — wrap must hug the static hero, else the
     fixed 100vh capped a ~950px hero and it overlapped the next section. */
  .hero-wrap { height: auto; }
  .hero { position: relative; height: auto; min-height: 95vh; }
}
/* Hero background video/photo (scrub) */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
  opacity: 0.65;
  filter: grayscale(10%) contrast(1.06) brightness(0.9);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(243, 146, 0, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.72) 60%, rgba(10,10,10,0.92) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background 600ms ease;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--grey-1);
  border-radius: 0;
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.tag--orange {
  background: rgba(243, 146, 0, 0.10);
  border-color: rgba(243, 146, 0, 0.35);
  border-left: 2px solid var(--brand-orange);
  color: var(--brand-orange-soft);
}
.hero h1 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--brand-orange); }
.hero .lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--grey-2);
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 42px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta span {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}
.hero-meta span a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}
.hero-meta span a:hover { color: var(--brand-orange); }
.hero-meta small {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-1);
}

/* ─────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 0;
}
.btn--primary {
  background: var(--brand-orange);
  color: var(--ink) !important;
}
.btn--primary:hover {
  background: var(--brand-orange-soft);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: #fff !important;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--brand-orange);
  color: var(--brand-orange) !important;
  transform: translateY(-2px);
}
.btn .arrow {
  transition: transform 200ms ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ─────────────────────────────────────────────────────────
   Sections
   ───────────────────────────────────────────────────────── */
section {
  padding: clamp(70px, 9vw, 130px) var(--gutter);
  position: relative;
}
.section-head {
  max-width: 820px;
  margin: 0 auto 68px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 24px;
}
.section-head .eyebrow::before {
  content: '';
  width: 48px;
  height: 2px;
  background: var(--brand-orange);
}
.section-head h2 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}
.section-head h2 .accent { color: var(--brand-orange); }
.section-head p {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--grey-2);
  line-height: 1.65;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────
   Services grid
   ───────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand-orange);
  padding: 0 0 28px;
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width 480ms cubic-bezier(.2,.8,.2,1);
}
.service-card:hover {
  transform: translateY(-3px);
  background: var(--ink-3);
}
.service-card:hover::after { width: 100%; }
.service-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.08) brightness(0.92);
  transition: transform 700ms cubic-bezier(.2,.8,.2,1), filter 360ms ease;
}
.service-card:hover .service-photo img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.08) brightness(1);
}
.service-num {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.06em;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-left: 2px solid var(--brand-orange);
  line-height: 1.1;
}
.service-card h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin: 24px 28px 12px;
  letter-spacing: -0.015em;
}
.service-card p {
  font-size: 15px;
  color: var(--grey-2);
  line-height: 1.6;
  margin: 0 28px;
}
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 28px 0;
  padding: 6px 0;
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 14px;
  color: var(--brand-orange);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
/* Mobile tap target: make the whole card a hit area (stretched-link).
   The ::after is positioned against .service-card (position:relative). */
.service-card .more::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ─────────────────────────────────────────────────────────
   Process / values steps
   ───────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  padding: 30px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; }
@media (max-width: 900px) {
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}
.step .n {
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  color: var(--brand-orange);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.step h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.step p {
  font-size: 14px;
  color: var(--grey-2);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────
   Stats band
   ───────────────────────────────────────────────────────── */
.stats {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  padding: 70px var(--gutter);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  text-align: center;
}
.stat .num {
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  color: var(--brand-orange);
  letter-spacing: 0.02em;
  display: inline-block;
}
.stat .num .suffix {
  font-size: 0.6em;
  color: var(--brand-orange-soft);
  margin-left: 2px;
}
.stat .label {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--brand-orange);
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 13px;
  color: var(--grey-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────
   Image band
   ───────────────────────────────────────────────────────── */
.band {
  position: relative;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.1) 50%, rgba(10,10,10,0.5) 100%);
}
.band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0 var(--gutter);
  text-align: center;
}
.band-overlay h2 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 900px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.band-overlay h2 .accent { color: var(--brand-orange); }

/* ─────────────────────────────────────────────────────────
   Service area / regions
   ───────────────────────────────────────────────────────── */
.regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 900px) {
  .regions { grid-template-columns: 1fr; gap: 40px; }
}
.regions h2 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.regions h2 .accent { color: var(--brand-orange); }
.regions p {
  color: var(--grey-2);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.region-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin-top: 14px;
}
.region-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--grey-3);
  padding: 12px 0 12px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-left-color 240ms ease, padding-left 240ms ease, color 240ms ease;
}
.region-list li:hover {
  border-left-color: var(--brand-orange);
  padding-left: 18px;
  color: #fff;
}
.region-list li::before {
  content: '';
  width: 10px;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 0;
  flex-shrink: 0;
}
.region-list li a { flex: 1; color: inherit; }
.region-list li:hover a { color: #fff; }

/* ─────────────────────────────────────────────────────────
   CTA block
   ───────────────────────────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-block h2 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}
.cta-block h2 .accent { color: var(--brand-orange); }
.cta-block p {
  color: var(--grey-2);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-block .btn { position: relative; }

/* ─────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────── */
footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 70px var(--gutter) 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  max-width: var(--maxw);
  margin: 0 auto 50px;
}
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
}
.foot-brand img {
  max-width: 320px;
  margin-bottom: 18px;
}
.foot-brand p {
  color: var(--grey-2);
  font-size: 15px;
  max-width: 360px;
}
.foot-col h5 {
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-orange);
  display: inline-block;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col li a {
  font-size: 15px;
  color: var(--grey-2);
}
.foot-col .contact-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--grey-2);
}
.foot-col .contact-line strong {
  display: block;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
}
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--grey-1);
}

/* ─────────────────────────────────────────────────────────
   Page header (interior pages)
   ───────────────────────────────────────────────────────── */
.page-head {
  padding: 160px var(--gutter) 90px;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.6), rgba(10,10,10,0.9)),
    var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.15), transparent 60%);
}
.page-head-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
}
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-1);
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 2px solid var(--brand-orange);
}
.crumbs a { color: var(--grey-2); }
.crumbs span { color: var(--brand-orange); }
.page-head h1 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 880px;
  margin-bottom: 22px;
}
.page-head h1 .accent { color: var(--brand-orange); }
.page-head .lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--grey-2);
  line-height: 1.6;
  max-width: 680px;
}

/* ─────────────────────────────────────────────────────────
   About prose
   ───────────────────────────────────────────────────────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  color: #fff;
  letter-spacing: -0.015em;
  margin: 50px 0 18px;
  line-height: 1.15;
}
.prose h2 .accent { color: var(--brand-orange); }
.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-2);
  margin-bottom: 18px;
}
.prose strong {
  color: #fff;
  font-weight: 700;
}
.prose ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--grey-2);
  font-size: 16px;
  line-height: 1.6;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 2px;
  background: var(--brand-orange);
}

/* ─────────────────────────────────────────────────────────
   Service detailed (for services.html)
   ───────────────────────────────────────────────────────── */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.svc-detail:last-child { margin-bottom: 0; }
.svc-detail.reverse { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 900px) {
  .svc-detail, .svc-detail.reverse { grid-template-columns: 1fr; gap: 30px; }
  /* Reverse blocks are text-first in the DOM; on a single column force the
     photo back on top so every block reads photo → text (no clustering). */
  .svc-detail.reverse .svc-visual { order: -1; }
}
.svc-visual {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.svc-visual img {
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  width: 100%;
  height: calc(100% + 56px);
  object-fit: cover;
  filter: grayscale(12%);
  transition: transform 700ms ease, filter 400ms ease;
}
.svc-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.10) 0%, rgba(10,10,10,0.55) 100%);
  z-index: 1;
}
.svc-detail.is-active .svc-visual img,
.svc-visual:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.svc-visual .big-icon {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: #fff;
  position: absolute;
  bottom: 14px;
  right: 22px;
  z-index: 2;
  letter-spacing: -0.04em;
  opacity: 0.95;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.svc-info h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.svc-info h3 .accent { color: var(--brand-orange); }
.svc-info > p {
  color: var(--grey-2);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.svc-checklist {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}
.svc-checklist li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--grey-3);
  font-size: 15px;
}
.svc-checklist li::before {
  content: '✓';
  color: var(--brand-orange);
  font-weight: 800;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────
   Realisations grid
   ───────────────────────────────────────────────────────── */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .realisations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .realisations-grid { grid-template-columns: 1fr; }
}
.real-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease;
}
.real-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.real-card .img-wrap {
  aspect-ratio: 4/3;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}
.real-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
  transition: transform 600ms ease, filter 400ms ease;
}
.real-card:hover .img-wrap img {
  transform: scale(1.04);
  filter: grayscale(0%);
}
.real-card .real-body {
  padding: 22px 24px 26px;
}
.real-card .real-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.real-card .real-tags span {
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 12px;
  color: var(--brand-orange);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.real-card h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.real-card p {
  color: var(--grey-2);
  font-size: 14px;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────
   Photo gallery (masonry via CSS columns) + Lightbox
   ───────────────────────────────────────────────────────── */
.photo-gallery {
  column-count: 4;
  column-gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 1100px) { .photo-gallery { column-count: 3; } }
@media (max-width: 720px)  { .photo-gallery { column-count: 2; column-gap: 10px; padding: 0 16px; } }
@media (max-width: 420px)  { .photo-gallery { column-count: 1; } }
.photo-gallery .photo {
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
  background: var(--ink-3);
  position: relative;
  transition: transform 320ms ease;
}
.photo-gallery .photo:hover {
  transform: translateY(-2px);
}
.photo-gallery .photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(8%);
  transition: filter 320ms ease, transform 600ms ease;
}
.photo-gallery .photo:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 64px;
  opacity: 0;
  transition: opacity 220ms ease;
}
#lightbox.is-open {
  display: flex;
  opacity: 1;
}
#lightbox .lb-stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
#lightbox img {
  max-width: min(1400px, 100vw - 128px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
#lightbox .lb-counter {
  font-family: var(--ff-industrial, monospace);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
#lightbox .lb-close,
#lightbox .lb-prev,
#lightbox .lb-next {
  position: absolute;
  background: rgba(243, 146, 0, 0.12);
  border: 1px solid rgba(243, 146, 0, 0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
}
#lightbox .lb-close:hover,
#lightbox .lb-prev:hover,
#lightbox .lb-next:hover {
  background: var(--brand-orange);
  transform: scale(1.06);
}
#lightbox .lb-close { top: 24px; right: 24px; font-size: 32px; }
#lightbox .lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); font-size: 36px; }
#lightbox .lb-next  { right: 24px; top: 50%; transform: translateY(-50%); font-size: 36px; }
#lightbox .lb-prev:hover { transform: translateY(-50%) scale(1.06); }
#lightbox .lb-next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 720px) {
  #lightbox { padding: 16px; }
  #lightbox img { max-width: 100vw; max-height: calc(100vh - 100px); }
  #lightbox .lb-prev, #lightbox .lb-next { width: 40px; height: 40px; font-size: 28px; }
  #lightbox .lb-prev { left: 8px; }
  #lightbox .lb-next { right: 8px; }
}
body.lb-locked { overflow: hidden; }

/* ─────────────────────────────────────────────────────────
   Contact
   ───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.contact-info h3 .accent { color: var(--brand-orange); }
.contact-info > p {
  color: var(--grey-2);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 0 24px 20px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--brand-orange);
  margin-bottom: 0;
  transition: border-color 280ms ease, padding-left 280ms ease;
}
.contact-block:last-of-type { border-bottom: 0; }
.contact-block:hover {
  border-left-color: var(--brand-orange-soft);
  padding-left: 24px;
}
.contact-block .info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-block .info small {
  font-family: var(--ff-industrial);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.contact-block .info a,
.contact-block .info strong {
  color: #fff;
  font-size: 19px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.contact-form {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-form h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
}
.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--grey-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field input, .field textarea, .field select {
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: #fff;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 15px;
  transition: border-color 200ms ease, background 200ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: var(--ink-2);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--honey { display: none !important; } /* display:none (was off-screen) so Chrome autofill never fills it; still POSTs for the bot check */
.field-note {
  font-size: 12px;
  color: var(--grey-1);
  margin-top: 14px;
}

/* ─────────────────────────────────────────────────────────
   Reveal
   ───────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0.001;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1);
  animation: auto-reveal 1.2s ease 1.6s forwards;
}
.is-revealed[data-reveal] {
  animation: none;
  opacity: 1;
  transform: none;
}
@keyframes auto-reveal {
  to { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────────────────
   T2-A : Timeline trace progressive on .steps
   ───────────────────────────────────────────────────────── */
.steps { position: relative; }
.steps-trace {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(243, 146, 0, 0.10);
  z-index: 0;
  overflow: hidden;
}
.steps-trace-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-soft));
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 14px rgba(243, 146, 0, 0.5);
}
.step .n {
  transition: color 200ms ease;
}
@media (max-width: 900px) {
  .steps-trace { display: none; }
}

/* ─────────────────────────────────────────────────────────
   T2-B : Services sequential highlight
   ───────────────────────────────────────────────────────── */
.svc-detail {
  transition: opacity 360ms ease, filter 360ms ease;
  opacity: 0.55;
  filter: saturate(0.75);
}
.svc-detail.is-active {
  opacity: 1;
  filter: saturate(1);
}
@media (prefers-reduced-motion: reduce) {
  .svc-detail { opacity: 1; filter: none; }
}
.svc-detail .svc-visual,
.svc-detail .big-icon {
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), color 360ms ease;
}
.svc-detail.is-active .svc-visual {
  border-color: rgba(243, 146, 0, 0.4);
}
.svc-detail.is-active .big-icon {
  color: var(--brand-orange);
  text-shadow: 0 0 30px rgba(243, 146, 0, 0.4);
}

/* ─────────────────────────────────────────────────────────
   T3-B : Magnetic CTA (needs will-change for smooth transform)
   ───────────────────────────────────────────────────────── */
.btn--primary,
.nav-cta {
  will-change: transform;
}

/* ─────────────────────────────────────────────────────────
   Utility
   ───────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

/* ─────────────────────────────────────────────────────────
   Gallery filter (réalisations — filtre par service)
   ───────────────────────────────────────────────────────── */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}
.gallery-filter button {
  font-family: var(--ff-display, "Manrope", sans-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--grey-1, #9a9a9a);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.gallery-filter button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.gallery-filter button.is-active {
  color: #0a0a0a;
  background: var(--brand-orange, #F39200);
  border-color: var(--brand-orange, #F39200);
}

/* ─────────────────────────────────────────────────────────
   Mobile tap targets — footer nav + contact links (≥44px)
   ───────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .foot-col ul { gap: 2px; }
  .foot-col li a {
    display: inline-block;
    padding: 11px 0;
    font-size: 16px;
  }
  .foot-col .contact-line a {
    display: inline-block;
    padding: 8px 0;
  }
  .hero-meta a {
    display: inline-block;
    padding: 6px 0;
  }
}
