/* ============================================================
   EHBT BATIPRO — Site vitrine
   Palette : orange brûlé, blanc cassé, gris foncé, beige pierre
   ============================================================ */

:root {
  --orange: #FF6A00;
  --orange-dark: #D95A00;
  --orange-soft: #FFE2CC;
  --beige: #D8C7B3;
  --beige-light: #EFE7DC;
  --stone: #C5B49C;
  --off-white: #F7F4EF;
  --paper: #FBF9F5;
  --dark: #1A1A1A;
  --dark-soft: #2A2826;
  --gray: #6B6258;
  --gray-light: #A39A8E;
  --line: rgba(26, 26, 26, 0.08);
  --line-dark: rgba(247, 244, 239, 0.12);

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --shadow-sm: 0 1px 2px rgba(20, 14, 8, 0.06);
  --shadow-md: 0 18px 40px -22px rgba(20, 14, 8, 0.25);
  --shadow-lg: 0 40px 80px -30px rgba(20, 14, 8, 0.35);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Typography ------------------------------------------------- */
.display, h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.mono {
  font-family: "JetBrains Mono", monospace;
  font-feature-settings: "ss01";
}

/* Layout ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { position: relative; }

.section-pad { padding: clamp(72px, 10vw, 140px) 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.site-header.scrolled .nav-link,
.site-header.scrolled .logo-text { color: var(--dark); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  transition: color 0.3s, opacity 0.3s;
  border-radius: 999px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 6px;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.desktop-only {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled .phone-pill { color: var(--dark); border-color: var(--line); }
.phone-pill:hover { background: rgba(255,255,255,0.1); }
.site-header.scrolled .phone-pill:hover { background: var(--dark); color: var(--off-white); border-color: var(--dark); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.site-header.scrolled .menu-btn { color: var(--dark); background: transparent; border-color: var(--line); }
.menu-btn svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background: var(--dark);
  color: var(--off-white);
  z-index: 200;
  padding: 24px var(--gutter);
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu nav {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 40px 0;
}
.mobile-menu nav a {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu nav a span { color: var(--orange); font-family: "JetBrains Mono", monospace; font-size: 13px; }
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow {
  width: 18px; height: 18px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(255, 106, 0, 0.6);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 18px 36px -12px rgba(255, 106, 0, 0.65); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }

.btn-outline {
  border: 1px solid var(--dark);
  color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--off-white); }

.btn-dark {
  background: var(--dark);
  color: var(--off-white);
}
.btn-dark:hover { background: var(--orange); }

.btn-lg { padding: 20px 32px; font-size: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.85) 100%),
    radial-gradient(ellipse at 20% 60%, rgba(0,0,0,0.45), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 180px 0 96px;
  padding-left: clamp(0px, 6vw, 96px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.15);
  border: 1px solid rgba(255, 106, 0, 0.4);
  color: var(--off-white);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0.05); }
}

.hero h1 {
  font-size: clamp(48px, 8.4vw, 132px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero h1 .accent { color: var(--orange); font-style: italic; font-weight: 600; }
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px var(--off-white);
  color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 54ch;
  color: rgba(247, 244, 239, 0.85);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

/* Hero stats strip */
.hero-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-stat .num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat .num .plus { color: var(--orange); }
.hero-stat .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.7);
  margin-top: 6px;
}

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 140px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.8);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-cue::before {
  content: "";
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.4);
  position: relative;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-head .eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--orange);
}
.section-head h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
}
.section-head h2 .ital { font-style: italic; font-weight: 500; color: var(--gray); }
.section-head .lead {
  color: var(--gray);
  font-size: 17px;
  max-width: 48ch;
  line-height: 1.5;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-card {
  background: var(--off-white);
  padding: 40px 32px 36px;
  position: relative;
  cursor: pointer;
  transition: background 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
}
.service-card:hover { background: var(--paper); }
.service-card::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.service-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray-light);
}
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--dark);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: rotate(-6deg);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.service-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.service-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}
.service-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.service-card:hover .service-arrow {
  background: var(--dark);
  color: var(--off-white);
  border-color: var(--dark);
  transform: rotate(-45deg);
}

/* ============================================================
   WHY US
   ============================================================ */
.why {
  background: var(--dark);
  color: var(--off-white);
  overflow: hidden;
}
.why .section-head h2 { color: var(--off-white); }
.why .section-head h2 .ital { color: var(--gray-light); }
.why .section-head .lead { color: rgba(247, 244, 239, 0.7); }
.why .eyebrow { color: var(--orange); }

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.why-list {
  display: flex;
  flex-direction: column;
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
  cursor: pointer;
  transition: padding 0.4s var(--ease);
}
.why-item:last-child { border-bottom: 1px solid var(--line-dark); }
.why-item .n {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.why-item h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 0.4s var(--ease), color 0.4s;
}
.why-item p {
  grid-column: 2;
  margin: 8px 0 0;
  color: rgba(247, 244, 239, 0.6);
  font-size: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), margin 0.4s, opacity 0.4s;
  opacity: 0;
}
.why-item.active { padding: 32px 0; }
.why-item.active h3 { color: var(--orange); }
.why-item.active p { max-height: 80px; margin-top: 12px; opacity: 1; }
.why-item .ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  color: var(--off-white);
  transition: transform 0.4s var(--ease), background 0.4s, color 0.4s, border-color 0.4s;
}
.why-item.active .ico, .why-item:hover .ico {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(45deg);
}

.why-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.why-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
}
.why-visual .marker {
  position: absolute;
  bottom: 28px; left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 1;
  color: #fff;
}
.why-visual .marker .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.why-visual .marker .ttl {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 6px;
  max-width: 16ch;
}
.why-visual .badge-corner {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--off-white);
  color: var(--dark);
  padding: 12px 14px;
  border-radius: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}
.why-visual .badge-corner strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  text-transform: none;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual-stack {
  position: relative;
  aspect-ratio: 5 / 6;
}
.about-img {
  position: absolute;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.about-img-1 {
  inset: 0 30% 25% 0;
}
.about-img-2 {
  inset: 32% 0 0 35%;
  border: 8px solid var(--paper);
}
.about-stamp {
  position: absolute;
  top: -20px; right: 0;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: 14px;
  z-index: 2;
  animation: spinSlow 22s linear infinite;
}
.about-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-stamp .inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  z-index: 1;
}
.about-stamp .inner strong {
  font-size: 28px;
  font-weight: 800;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.about-text h2 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 28px; }
.about-text h2 .ital { font-style: italic; font-weight: 500; color: var(--gray); }
.about-text > p {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.about-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.about-meta-item .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.about-meta-item .v {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.about-meta-item .v small { font-size: 13px; color: var(--gray); font-family: "JetBrains Mono", monospace; font-weight: 400; }

/* ============================================================
   REALISATIONS — Before / After + grid
   ============================================================ */
.realisations { background: var(--off-white); }
.real-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  align-self: end;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.real-tabs::-webkit-scrollbar { display: none; }
.real-tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.real-tab.active { background: var(--dark); color: var(--off-white); }
.real-tab:not(.active):hover { color: var(--dark); }

/* Before/After slider */
.ba-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  box-shadow: var(--shadow-lg);
  margin-bottom: 64px;
  background: var(--dark);
}
.ba-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-layer.after { clip-path: inset(0 0 0 50%); }
.ba-label {
  position: absolute;
  top: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  z-index: 3;
}
.ba-label.before { left: 24px; }
.ba-label.after { right: 24px; background: var(--orange); }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: #fff;
  z-index: 4;
  cursor: ew-resize;
  box-shadow: 0 0 24px rgba(0,0,0,0.5);
}
.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  cursor: ew-resize;
  transition: transform 0.2s var(--ease);
}
.ba-knob:hover { transform: translate(-50%, -50%) scale(1.08); }
.ba-knob svg { width: 28px; height: 28px; color: var(--dark); }

.ba-caption {
  position: absolute;
  left: 24px; right: 24px;
  bottom: 24px;
  z-index: 3;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.ba-caption .left .place {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.ba-caption .left .title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.ba-caption .right {
  display: flex;
  gap: 8px;
}
.ba-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  display: grid;
  place-items: center;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}
.ba-nav:hover { background: var(--orange); border-color: var(--orange); }
.ba-nav svg { width: 18px; height: 18px; }

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gal-item {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.gal-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
  opacity: 0.5;
  transition: opacity 0.4s;
}
.gal-item:hover::after { opacity: 0.85; }
.gal-item:hover { transform: translateY(-4px); }
.gal-item .meta {
  position: absolute;
  left: 20px; right: 20px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.gal-item:hover .meta { transform: translateY(0); }
.gal-item .meta .place {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
}
.gal-item .meta .name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gal-item .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.gallery-filtered { grid-auto-rows: 360px; }
.gallery-filtered .gal-item { grid-column: span 6; grid-row: span 1; }

.gal-a { grid-column: span 5; grid-row: span 2; }
.gal-b { grid-column: span 4; grid-row: span 1; }
.gal-c { grid-column: span 3; grid-row: span 1; }
.gal-d { grid-column: span 3; grid-row: span 1; }
.gal-e { grid-column: span 4; grid-row: span 1; }
.gal-f { grid-column: span 4; grid-row: span 2; }
.gal-g { grid-column: span 4; grid-row: span 1; }
.gal-h { grid-column: span 4; grid-row: span 1; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--beige-light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-line {
  position: absolute;
  top: 32px; left: 8%; right: 8%;
  height: 1px;
  background: var(--orange);
  opacity: 0.4;
}
.proc-item {
  text-align: left;
  padding: 0 16px;
}
.proc-item .circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  color: var(--dark);
  transition: background 0.3s, color 0.3s;
}
.proc-item:hover .circle { background: var(--orange); color: #fff; border-color: var(--orange); }
.proc-item h4 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.proc-item p { color: var(--gray); font-size: 14px; line-height: 1.5; margin: 0; }

/* ============================================================
   TESTIMONIALS / TRUST
   ============================================================ */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-stat { display: flex; align-items: center; gap: 16px; }
.trust-stat .v {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.trust-stat .v sup { color: var(--orange); font-size: 18px; vertical-align: super; }
.trust-stat .l {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  max-width: 16ch;
  line-height: 1.4;
}

/* ============================================================
   CONTACT / CTA FINAL
   ============================================================ */
.contact {
  background: var(--dark);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "EHBT";
  position: absolute;
  bottom: -60px;
  right: -40px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(180px, 22vw, 360px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 106, 0, 0.06);
  line-height: 0.8;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-grid .eyebrow { color: var(--orange); }
.contact h2 {
  font-size: clamp(40px, 6vw, 88px);
  margin-bottom: 28px;
  color: var(--off-white);
}
.contact h2 .ital { font-style: italic; font-weight: 500; color: var(--gray-light); }
.contact .lead {
  color: rgba(247, 244, 239, 0.7);
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 40px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
}
.contact-meta-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: center;
}
.contact-meta-row .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.contact-meta-row .v {
  font-size: 16px;
  font-weight: 500;
  color: var(--off-white);
}

/* Form */
.devis-form {
  background: var(--dark-soft);
  border: 1px solid var(--line-dark);
  padding: 36px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.form-head .step {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.form-head h3 {
  font-size: 22px;
  font-weight: 600;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: border-color 0.3s;
}
.field:focus-within { border-bottom-color: var(--orange); }
.field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  outline: none;
  color: var(--off-white);
  font: inherit;
  font-size: 16px;
  padding: 0;
  width: 100%;
  font-family: inherit;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-light); opacity: 0.7; }
.field select option { background: var(--dark); color: var(--off-white); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
}
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: var(--off-white);
  font-size: 13px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.chip.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip:hover:not(.active) { border-color: var(--off-white); }

.form-foot {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.5;
}
.consent input { accent-color: var(--orange); margin-top: 3px; }
.form-submit { width: 100%; justify-content: center; padding: 18px; }

.form-success {
  text-align: center;
  padding: 60px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.form-success .ok {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  color: #fff;
}
.form-success .ok svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 28px; font-weight: 600; }
.form-success p { color: var(--gray-light); margin: 0; max-width: 36ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111;
  color: rgba(247, 244, 239, 0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 14px; }
.footer ul a:hover { color: var(--orange); }
.footer .tagline {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--off-white);
  margin: 16px 0 8px;
  max-width: 24ch;
  line-height: 1.2;
}
.footer .legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gray-light);
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .desktop-only { display: none !important; }
  .logo-img { height: 38px; }
  .header-inner { gap: 12px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .real-tabs { align-self: start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { aspect-ratio: 4/3; }
  .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .about-visual-stack { max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 160px; }
  .gal-a, .gal-f { grid-row: span 2; grid-column: span 6; }
  .gal-b, .gal-e, .gal-g, .gal-h { grid-column: span 6; }
  .gal-c, .gal-d { grid-column: span 6; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-line { display: none; }
  .scroll-cue { display: none; }
}

@media (max-width: 720px) {
  .hero-content { padding: 140px 0 60px; padding-left: 20px; }
  .hero-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .why-item { grid-template-columns: auto 1fr; }
  .why-item .ico { display: none; }
  .gal-a, .gal-b, .gal-c, .gal-d, .gal-e, .gal-f, .gal-g, .gal-h {
    grid-column: span 12;
    grid-row: span 1;
  }
  .gallery { grid-auto-rows: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer .legal { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .devis-form { padding: 24px; }
  .about-stamp { width: 110px; height: 110px; font-size: 12px; top: -16px; }
  .about-stamp .inner strong { font-size: 22px; }
  .about-meta { grid-template-columns: 1fr; gap: 16px; }
  .contact-meta-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; align-items: flex-start; }
  .trust-inner { gap: 28px; }
}
