/* ============================================================
   Atelier Lumen — feuille de style
   Palette, typographie et mise en page fidèles au design.
   ============================================================ */

:root {
  --bg:      #0d0c0a;
  --bg-2:    #131210;
  --ink:     #ece8e1;
  --ink-hi:  #f3efe7;
  --ink-2:   #d8d3ca;
  --ink-3:   #d3cec4;
  --gold:    #c9a86a;
  --gold-hi: #dcc088;
  --muted:   #9a948a;
  --muted-2: #6f6a61;
  --line:    rgba(255,255,255,.14);
  --line-2:  rgba(255,255,255,.08);
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Manrope', system-ui, sans-serif;
  --pad-x:   clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--bg); }
input::placeholder, textarea::placeholder { color: var(--muted-2); }

/* Curseur custom (seulement souris fine) */
@media (hover: hover) and (pointer: fine) {
  html, body, a, button, input, textarea { cursor: none; }
}
.cursor-ring, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  display: none;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  transition: width .25s, height .25s, background .25s;
  will-change: transform, left, top;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  will-change: left, top;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-ring, .cursor-dot { display: block; }
}

/* ------------------------------------------------------------
   En-tête
   ------------------------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  border-bottom: 1px solid transparent;
  transition: background .45s ease, padding .45s ease, border-color .45s ease;
}
.site-header.is-scrolled {
  background: rgba(13,12,10,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-2);
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 28px; height: 28px; border: 1px solid var(--gold);
  transform: rotate(45deg); display: inline-block; position: relative; flex: none;
}
.brand-mark-inner { position: absolute; inset: 5px; border: 1px solid rgba(201,168,106,.4); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-size: 21px; letter-spacing: .34em;
  font-weight: 500; padding-left: .34em;
}
.brand-sub {
  font-size: 9px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); margin-top: 5px; padding-left: .32em;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 12.5px; letter-spacing: .02em; color: var(--ink-2);
  text-decoration: none; padding: 9px 15px; border-radius: 999px;
  border: 1px solid transparent; transition: .3s;
}
.nav-links a:hover { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; }
.lang {
  display: flex; align-items: center; gap: 2px; margin-left: 10px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 3px;
}
.lang-btn {
  border: none; background: transparent; color: var(--muted);
  font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  padding: 6px 12px; border-radius: 999px; transition: .3s;
}
.lang-btn.is-on { background: var(--gold); color: var(--bg); }
.nav-cta {
  margin-left: 8px; font-size: 12.5px; letter-spacing: .02em;
  color: var(--bg); background: var(--gold); text-decoration: none;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; transition: .3s;
}
.nav-cta:hover { background: var(--gold-hi); }

/* Bouton burger (mobile) */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: none; background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 8px; z-index: 101;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------------------------------------
   Boutons génériques
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .03em; padding: 15px 30px;
  border-radius: 999px; text-decoration: none; transition: .3s; font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--bg); font-weight: 600; border: none; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { color: var(--ink); font-weight: 500; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ------------------------------------------------------------
   Blocs communs
   ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.eyebrow--mb { margin-bottom: 48px; }
.eyebrow-line { width: 34px; height: 1px; background: var(--gold); opacity: .6; }

.section { padding: clamp(90px, 14vh, 180px) var(--pad-x); }
.section--approche, .section--ba, .section--projects { background: var(--bg); }
.section--stats, .section--process {
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.section--stats { padding: clamp(70px, 9vh, 120px) var(--pad-x); }
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap--wide { max-width: 1280px; }
.section[id] { scroll-margin-top: 90px; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}
.section-title {
  margin-top: 24px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04;
  letter-spacing: -.015em; color: var(--ink-hi);
}
.section-lead { max-width: 340px; color: var(--muted); line-height: 1.7; font-size: 15px; }
.section-lead--wide { max-width: 460px; margin-top: 26px; font-size: 16px; line-height: 1.75; }

/* Masque de ligne (texte qui monte) */
.line { display: block; overflow: hidden; padding-bottom: .04em; }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  position: relative; height: 100svh; min-height: 640px;
  overflow: hidden; background: var(--bg);
}
.hero-layer { position: absolute; inset: -6%; background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-base { z-index: 10; background-image: url(../assets/hero-base.png); }
.hero-reveal {
  z-index: 20; background-image: url(../assets/hero-reveal.png);
  pointer-events: none; opacity: 0; transition: opacity .6s ease;
  -webkit-mask-image: radial-gradient(circle 260px at var(--x,50%) var(--y,50%), #000 0%, #000 40%, rgba(0,0,0,.78) 58%, rgba(0,0,0,.42) 74%, rgba(0,0,0,.14) 88%, transparent 100%);
  mask-image: radial-gradient(circle 260px at var(--x,50%) var(--y,50%), #000 0%, #000 40%, rgba(0,0,0,.78) 58%, rgba(0,0,0,.42) 74%, rgba(0,0,0,.14) 88%, transparent 100%);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 25; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(13,12,10,.84) 0%, rgba(13,12,10,.5) 36%, rgba(13,12,10,0) 66%),
    linear-gradient(0deg, rgba(13,12,10,.9) 0%, rgba(13,12,10,0) 40%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 30;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x); pointer-events: none;
}
.hero-inner { max-width: 700px; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(46px, 7.4vw, 120px); line-height: .96;
  letter-spacing: -.02em; margin: 22px 0 0; color: var(--ink-hi);
}
.hero-line-inner { display: block; }
.hero-title-em { font-style: italic; color: var(--gold); }
.hero-sub {
  margin-top: 30px; max-width: 440px; color: var(--ink-3);
  font-size: clamp(15px, 1.15vw, 18px); line-height: 1.7;
}
.hero-ctas { margin-top: 38px; display: flex; gap: 16px; pointer-events: auto; flex-wrap: wrap; }
.hero-hint {
  position: absolute; left: var(--pad-x); bottom: 30px; z-index: 30;
  display: flex; align-items: center; gap: 12px; color: var(--muted); pointer-events: none;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
}
.hero-hint-arrow { font-size: 14px; display: inline-block; animation: hintbob 2s ease-in-out infinite; }
@keyframes hintbob { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(7px); opacity: 1; } }

/* ------------------------------------------------------------
   APPROCHE / philosophie
   ------------------------------------------------------------ */
.philo {
  margin-top: 30px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.7vw, 70px); line-height: 1.06;
  letter-spacing: -.015em; color: var(--ink-hi);
}
.philo-line-inner { display: block; }
.philo-em { color: var(--gold); font-style: italic; }
.values {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px 44px; margin-top: 64px; max-width: 980px;
}
.value { border-top: 1px solid var(--line); padding-top: 22px; }
.value-n { font-family: var(--serif); color: var(--gold); font-size: 22px; }
.value-title { margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: .01em; color: var(--ink); }
.value-body { margin-top: 12px; color: var(--muted); line-height: 1.7; font-size: 15px; }

/* ------------------------------------------------------------
   STATS
   ------------------------------------------------------------ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px; }
.stat-num {
  display: flex; align-items: baseline; font-family: var(--serif); font-weight: 300;
  font-size: clamp(54px, 6vw, 94px); line-height: 1; color: var(--ink-hi);
}
.stat-suffix { color: var(--gold); font-size: .5em; margin-left: 4px; }
.stat-label { margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------
   AVANT / APRÈS
   ------------------------------------------------------------ */
.ba {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden;
  margin-top: 48px; border: 1px solid rgba(255,255,255,.12);
  cursor: ew-resize; user-select: none; background: var(--bg);
}
.ba-after-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-clip { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba-before { position: absolute; top: 0; left: 0; height: 100%; width: 1200px; }
.ba-before img { width: 100%; height: 100%; object-fit: cover; background: #f4f1ea; }
.ba-tag {
  position: absolute; top: 22px; z-index: 5;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; font-weight: 600; pointer-events: none;
}
.ba-tag--before { left: 22px; color: var(--bg); background: var(--gold); }
.ba-tag--after {
  right: 22px; color: var(--ink); background: rgba(13,12,10,.6);
  border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: var(--gold); transform: translateX(-1px); z-index: 6; pointer-events: none;
}
.ba-handle-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: 0 10px 34px rgba(0,0,0,.55);
}

/* ------------------------------------------------------------
   PROCESSUS
   ------------------------------------------------------------ */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.proc-steps { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px 30px; }
.proc-step { display: flex; align-items: baseline; gap: 10px; }
.proc-step-n { font-family: var(--serif); color: var(--gold); font-size: 17px; }
.proc-step span:last-child { font-size: 13px; letter-spacing: .02em; color: var(--ink-2); }
.proc-video-frame {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,.12); background: var(--bg);
  max-width: 580px; width: 100%; justify-self: end;
}
.proc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proc-video-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(13,12,10,.5) 0%, rgba(13,12,10,0) 46%); }
.proc-video-tag { position: absolute; left: 20px; bottom: 18px; z-index: 3; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }

/* ------------------------------------------------------------
   PROJETS
   ------------------------------------------------------------ */
.section--projects { padding-bottom: 0; }
.h-scroll { position: relative; height: 100vh; overflow: hidden; margin-top: clamp(48px, 7vh, 90px); }
.h-track {
  display: flex; height: 100%; align-items: center;
  gap: clamp(18px, 2.5vw, 34px); padding: 0 clamp(20px, 5vw, 80px); will-change: transform;
}
.h-panel {
  position: relative; flex: 0 0 auto; width: min(72vw, 880px); height: 78vh;
  overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2);
}
.h-panel-img { position: absolute; top: 0; left: -8%; width: 116%; height: 100%; object-fit: cover; will-change: transform; }
.h-panel-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,12,10,.9) 0%, rgba(13,12,10,.15) 42%, rgba(13,12,10,.1) 100%); }
.h-panel-info { position: absolute; left: 0; bottom: 0; padding: clamp(26px, 3vw, 52px); max-width: 560px; }
.h-panel-index { display: block; margin-bottom: 14px; font-family: var(--serif); color: var(--gold); font-size: clamp(28px, 3vw, 44px); }
.proj-place { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.proj-title {
  margin-top: 14px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3.4vw, 54px); line-height: 1.05; color: var(--ink-hi);
}
.proj-body { margin-top: 16px; color: var(--ink-3); line-height: 1.7; font-size: 15px; max-width: 440px; }
.proj-link {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 13px; letter-spacing: .04em; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 6px; transition: .3s;
}
.proj-link:hover { color: var(--gold); }
.h-progress {
  position: absolute; left: clamp(20px, 5vw, 80px); right: clamp(20px, 5vw, 80px);
  bottom: 34px; height: 2px; background: rgba(255,255,255,.14); z-index: 5;
}
.h-progress-bar { display: block; height: 100%; width: 0; background: var(--gold); }

/* Projets — repli mobile : cartes empilées (pas de scroll horizontal au doigt) */
@media (max-width: 900px) {
  .h-scroll { height: auto; overflow: visible; }
  .h-track { flex-direction: column; height: auto; gap: 34px; padding: 0 var(--pad-x); transform: none !important; }
  .h-panel { width: 100%; height: 66vh; }
  .h-panel-img { left: 0; width: 100%; transform: none !important; }
  .h-progress { display: none; }
}

/* ------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------ */
.section--contact {
  position: relative; padding: clamp(110px, 18vh, 220px) var(--pad-x);
  background: var(--bg-2); overflow: hidden;
}
.contact-bg { position: absolute; inset: 0; z-index: 0; opacity: .12; overflow: hidden; }
.contact-bg-img {
  position: absolute; inset: -15%;
  background: url(../assets/blueprint.jpg) center/cover no-repeat;
  filter: grayscale(1) brightness(1.4);
}
.wrap--contact { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.contact-title {
  margin-top: 26px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6.4vw, 104px); line-height: .98;
  letter-spacing: -.02em; color: var(--ink-hi);
}
.contact-title-em { font-style: italic; color: var(--gold); }
.contact-lead { margin-top: 28px; max-width: 480px; color: #cfcabf; line-height: 1.7; font-size: clamp(15px, 1.1vw, 18px); }
.contact-form {
  margin-top: 50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px 44px; max-width: 760px;
}
.field {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,.2); color: var(--ink);
  font-family: inherit; font-size: 16px; padding: 14px 0; outline: none; transition: .3s;
}
.field:focus { border-bottom-color: var(--gold); }
.field--full { grid-column: 1 / -1; min-height: 90px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-sent { color: var(--gold); font-size: 14px; }
.contact-info {
  margin-top: 66px; display: flex; gap: clamp(32px, 5vw, 64px); flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 34px;
}
.contact-info-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-info-val { margin-top: 10px; font-size: 16px; color: var(--ink); }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--bg); border-top: 1px solid var(--line-2);
  padding: 44px var(--pad-x); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 12.5px;
}
.footer-brand { display: flex; align-items: center; gap: 13px; }
.brand-mark--sm { width: 22px; height: 22px; }
.brand-name--sm { font-family: var(--serif); font-size: 17px; letter-spacing: .3em; color: var(--ink); padding-left: .3em; }
.footer-dot { color: var(--muted-2); }
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: var(--muted); text-decoration: none; transition: .3s; }
.footer-social a:hover { color: var(--gold); }

/* ------------------------------------------------------------
   Responsive — menu mobile (tiroir)
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 28px; padding: 90px 34px 40px;
    background: rgba(13,12,10,.97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-left: 1px solid var(--line-2); z-index: 99;
    transform: translateX(100%); transition: transform .4s ease;
    overflow-y: auto;
  }
  .site-header.is-open .nav { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-links a { font-size: 17px; padding: 8px 0; }
  .lang { margin-left: 0; }
  .nav-cta { margin-left: 0; }
}

/* ------------------------------------------------------------
   Accessibilité : réduire les animations si demandé
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   MOBILE & TACTILE — ajouts (n'affectent pas le desktop ≥ 901px)
   ============================================================ */

/* ---- Écrans tactiles : lampe sans souris ---- */
.is-touch .hero-reveal {
  transition: opacity 1.2s ease;
  -webkit-mask-image: radial-gradient(circle var(--r,240px) at var(--x,50%) var(--y,40%), #000 0%, #000 34%, rgba(0,0,0,.8) 54%, rgba(0,0,0,.45) 72%, rgba(0,0,0,.15) 88%, transparent 100%);
  mask-image: radial-gradient(circle var(--r,240px) at var(--x,50%) var(--y,40%), #000 0%, #000 34%, rgba(0,0,0,.8) 54%, rgba(0,0,0,.45) 72%, rgba(0,0,0,.15) 88%, transparent 100%);
}
.hero-glow {
  z-index: 21; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle calc(var(--r,240px) * .9) at var(--x,50%) var(--y,40%), rgba(255,196,120,.16) 0%, rgba(255,180,100,.07) 45%, transparent 75%);
}
.hero-touch {
  position: absolute; top: 0; left: 0; z-index: 28; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .45s ease;
}
.hero-touch::before, .hero-touch::after {
  content: ""; position: absolute; left: 0; top: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero-touch::before { width: 12px; height: 12px; background: var(--gold-hi); box-shadow: 0 0 18px 4px rgba(220,192,136,.55); }
.hero-touch::after { width: 58px; height: 58px; border: 1px solid rgba(220,192,136,.7); animation: touchpulse 1.6s ease-out infinite; }
.hero-touch.is-on { opacity: 1; }
@keyframes touchpulse {
  0% { transform: translate(-50%, -50%) scale(.55); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
.is-touch .ba { touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.is-touch a, .is-touch button { -webkit-tap-highlight-color: rgba(201,168,106,.18); }

/* ---- ≤ 900px : en-tête et menu plein écran ---- */
@media (max-width: 900px) {
  /* le flou passe sur un pseudo-élément : sinon il "enferme" le menu fixe */
  .site-header.is-scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(13,12,10,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; transition: opacity .45s ease;
  }
  .site-header.is-scrolled::before { opacity: 1; }
  .site-header.is-open::before { opacity: 0; }
  .brand { position: relative; z-index: 101; }
  .nav-toggle { width: 44px; height: 44px; margin-right: -8px; }

  .nav {
    width: 100%; border-left: none;
    justify-content: flex-start; gap: 0;
    padding: 112px var(--pad-x) calc(34px + env(safe-area-inset-bottom));
    background: rgba(11,10,8,.985);
    transform: none; opacity: 0; visibility: hidden;
    transition: opacity .45s ease, visibility 0s linear .45s;
  }
  .site-header.is-open .nav { transform: none; opacity: 1; visibility: visible; transition: opacity .45s ease; }
  .nav-links { width: 100%; gap: 0; counter-reset: navn; }
  .nav-links a {
    counter-increment: navn;
    display: flex; align-items: baseline; gap: 18px; width: 100%;
    font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1.1;
    letter-spacing: -.01em; color: var(--ink-hi);
    padding: 15px 0; border: none; border-bottom: 1px solid var(--line-2); border-radius: 0;
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), color .3s;
  }
  .nav-links a::before {
    content: counter(navn, decimal-leading-zero);
    font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold);
    transform: translateY(-.7em);
  }
  .nav-links a:hover, .nav-links a:active { background: transparent; border-color: var(--line-2); color: var(--gold); }
  .site-header.is-open .nav-links a { opacity: 1; transform: none; }
  .site-header.is-open .nav-links a:nth-child(1) { transition-delay: .08s; }
  .site-header.is-open .nav-links a:nth-child(2) { transition-delay: .13s; }
  .site-header.is-open .nav-links a:nth-child(3) { transition-delay: .18s; }
  .site-header.is-open .nav-links a:nth-child(4) { transition-delay: .23s; }
  .site-header.is-open .nav-links a:nth-child(5) { transition-delay: .28s; }
  .lang { margin-top: auto; padding: 4px; }
  .lang-btn { min-width: 52px; min-height: 40px; font-size: 12px; }
  .nav-cta {
    margin-top: 16px; width: 100%; min-height: 54px;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
  }
  .lang, .nav-cta { opacity: 0; transition: opacity .5s ease .3s; }
  .site-header.is-open .lang, .site-header.is-open .nav-cta { opacity: 1; }
  html.nav-open, html.nav-open body { overflow: hidden; }
}

/* ---- ≤ 600px : téléphone ---- */
@media (max-width: 600px) {
  :root { --pad-x: 22px; }

  /* En-tête */
  .site-header { padding: 16px var(--pad-x); }
  .site-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
  .brand { gap: 12px; }
  .brand-mark { width: 22px; height: 22px; }
  .brand-mark-inner { inset: 4px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 8px; letter-spacing: .28em; margin-top: 5px; }

  /* Boutons */
  .btn { min-height: 52px; padding: 0 22px; justify-content: center; font-size: 13.5px; }

  /* Hero : façade dégagée en haut, texte ancré en bas */
  .hero { height: 100svh; min-height: 680px; }
  /* Villa entière : bandeau 124vw (la villa occupe ~13-88 % de la largeur de l'image) */
  .hero-layer { inset: 0; }
  .hero-base, .hero-reveal { background-size: 124vw auto; background-position: 50% 116px; }
  .hero-scrim {
    background: linear-gradient(180deg,
      #0d0c0a 0, #0d0c0a 116px, rgba(13,12,10,0) 146px,
      rgba(13,12,10,0) calc(116px + 52vw), #0d0c0a calc(116px + 70vw), #0d0c0a 100%);
  }
  .hero-content { justify-content: flex-end; padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .hero .eyebrow { font-size: 9px; letter-spacing: .16em; gap: 12px; line-height: 1.5; white-space: nowrap; }
  .hero .eyebrow-line { width: 22px; flex: none; }
  .hero-title { font-size: clamp(44px, 12.6vw, 54px); line-height: .98; margin-top: 16px; }
  .hero-sub { margin-top: 18px; font-size: 15px; line-height: 1.6; max-width: 34ch; color: #d9d4ca; }
  .hero-ctas { margin-top: 26px; gap: 10px; flex-wrap: nowrap; }
  .hero-ctas .btn { flex: 1 1 0; padding: 0 12px; white-space: nowrap; }
  .hero-ctas .btn-ghost { background: rgba(13,12,10,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .hero-hint { bottom: calc(30px + env(safe-area-inset-bottom)); font-size: 10px; letter-spacing: .22em; gap: 10px; color: #b3ada2; }
  .hero-content { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
  .is-touch .hero-hint {
    top: calc(116px + 69.7vw + 4px); bottom: auto; left: 0; right: 0; justify-content: center;
    color: #cfc9be; font-size: 9.5px;
  }
  .is-touch .hero-hint-arrow { display: none; }
  .is-touch .hero-hint::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
    background: var(--gold-hi); animation: hintdot 2s ease-out infinite;
  }
  @keyframes hintdot {
    0% { box-shadow: 0 0 0 0 rgba(220,192,136,.6); }
    100% { box-shadow: 0 0 0 10px rgba(220,192,136,0); }
  }

  /* Sections */
  .section { padding: 92px var(--pad-x); }
  .section--stats { padding: 76px var(--pad-x); }
  .section[id] { scroll-margin-top: 64px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .26em; gap: 12px; }
  .eyebrow-line { width: 26px; }
  .eyebrow--mb { margin-bottom: 38px; }
  .section-head { gap: 18px; }
  .section-title { margin-top: 18px; font-size: 38px; line-height: 1.04; }
  .section-lead, .section-lead--wide { max-width: none; font-size: 15px; line-height: 1.7; }
  .section-lead--wide { margin-top: 20px; }

  /* Approche */
  .philo { margin-top: 24px; font-size: 34px; line-height: 1.1; }
  .values { margin-top: 48px; gap: 0; }
  .value { padding: 24px 0 26px; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .value:last-child { border-bottom: 1px solid var(--line); }
  .value-n { font-size: 20px; line-height: 1.2; grid-row: 1 / span 2; }
  .value-title { margin-top: 0; font-size: 18px; }
  .value-body { margin-top: 8px; font-size: 14.5px; line-height: 1.65; }

  /* Chiffres : grille 2 x 2 */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-2); }
  .stat { padding: 28px 0 26px; border-bottom: 1px solid var(--line-2); }
  .stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line-2); }
  .stat:nth-child(even) { padding-left: 22px; }
  .stat-num { font-size: 58px; }
  .stat-label { margin-top: 10px; font-size: 10.5px; letter-spacing: .16em; }

  /* Avant / Après */
  .ba { aspect-ratio: 4 / 3; margin-top: 34px; } /* 4:3 = format du plan, villa entière */
  .ba-tag { z-index: 7; top: 14px; font-size: 9.5px; letter-spacing: .2em; padding: 6px 11px; }
  .ba-tag--before { left: 14px; }
  .ba-tag--after { right: 14px; }
  .ba-handle-grip { width: 50px; height: 50px; font-size: 17px; box-shadow: 0 0 0 6px rgba(201,168,106,.18), 0 10px 30px rgba(0,0,0,.55); transition: transform .25s ease; }
  .ba.is-dragging .ba-handle-grip { transform: translate(-50%, -50%) scale(1.08); }

  /* Processus */
  .process-grid { grid-template-columns: 1fr; gap: 38px; }
  .proc-steps { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-2); }
  .proc-step { padding: 15px 0; border-bottom: 1px solid var(--line-2); gap: 10px; }
  .proc-step:nth-child(odd) { padding-right: 10px; }
  .proc-step-n { font-size: 16px; }
  .proc-video-frame { aspect-ratio: 4 / 3; max-width: none; justify-self: stretch; }
  .proc-video-tag { left: 16px; bottom: 14px; font-size: 10px; }

  /* Projets : cartes pleine largeur */
  .h-scroll { margin-top: 38px; }
  .h-track { padding: 0; gap: 18px; }
  /* image entière en haut, texte dessous : le bâtiment n'est jamais masqué */
  .h-panel { height: auto; display: flex; flex-direction: column; }
  .h-panel-img { position: relative; top: auto; left: auto; width: 100%; height: auto; max-height: 440px; object-fit: cover; }
  .h-panel-scrim { display: none; }
  .h-panel-info { position: relative; max-width: none; padding: 22px 22px 14px; }
  .h-panel-index { font-size: 26px; margin-bottom: 10px; }
  .proj-place { font-size: 10.5px; letter-spacing: .2em; color: #bdb7ac; }
  .proj-title { margin-top: 8px; font-size: 32px; }
  .proj-body { margin-top: 10px; font-size: 14.5px; line-height: 1.6; }
  .proj-link { margin-top: 10px; min-height: 44px; padding-bottom: 0; }

  /* Contact */
  .section--contact { padding: 100px var(--pad-x) 88px; }
  .contact-title { margin-top: 20px; font-size: clamp(44px, 12.4vw, 52px); line-height: 1; }
  .contact-lead { margin-top: 20px; font-size: 15px; }
  .contact-form { margin-top: 34px; grid-template-columns: 1fr; gap: 14px; }
  .field { font-size: 16px; padding: 16px 0; min-height: 52px; }
  .field--full { min-height: 120px; }
  .form-foot { margin-top: 14px; }
  .form-foot .btn { width: 100%; min-height: 56px; font-size: 14px; }
  .contact-info { margin-top: 52px; padding-top: 6px; display: grid; grid-template-columns: 1fr; gap: 0; }
  .contact-info-item { padding: 18px 0; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .contact-info-val { margin-top: 0; font-size: 15px; text-align: right; }

  /* Footer */
  .site-footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 38px var(--pad-x) calc(30px + env(safe-area-inset-bottom)); font-size: 12px; }
  .footer-social { gap: 8px; margin-left: -12px; }
  .footer-social a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; }
}
