/* ==========================================================================
   LELONG & CIE — Maquette homepage (proposition graphique)
   ========================================================================== */

:root {
  --ivory: #f6f3ec;
  --ivory-2: #efeae0;
  --paper: #fbf9f5;
  --ink: #1d1f1e;
  --ink-soft: #4a4d4b;
  --ink-mute: #7c7f7b;
  --line: rgba(29, 31, 30, 0.14);
  --forest: #1f3d2f;
  --forest-2: #17301f;
  --forest-deep: #12251b;
  --forest-accent: #2f6b4c;
  --oak: #b8895a;
  --oak-light: #d9b68a;
  --anthracite: #1b1e1d;

  --font-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--forest); color: var(--ivory); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Media wrapper: wood-tone fallback if a photo fails ---------- */
.media {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(92deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(88deg, rgba(0,0,0,.06) 0 1px, transparent 1px 23px),
    linear-gradient(135deg, #8a6440, #c49a6c 45%, #9c7349);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .6s ease;
}
.media img.is-broken { opacity: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest-accent);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--oak-light); }

.h-xl, .h-lg, .h-md {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0;
}
.h-xl { font-size: clamp(40px, 6.2vw, 82px); }
.h-lg { font-size: clamp(32px, 4.2vw, 56px); }
.h-md { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; line-height: 1.2; }
.h-lg em, .h-xl em { font-style: normal; color: var(--forest-accent); }

.lead {
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest);
  --fg: #fff;
  --bd: var(--forest);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--forest-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.btn:hover::after { transform: scaleX(1); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn--ghost-light::after { background: #fff; }
.btn--ghost-light:hover { --fg: var(--ink); --bd: #fff; }

.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline::after { background: var(--ink); }
.btn--outline:hover { --fg: #fff; }

.btn--light { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.btn--light::after { background: var(--oak-light); }

.btn--sm { padding: 11px 18px; font-size: 13.5px; }

.arrow { width: 16px; height: 16px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow .arrow { transition: transform .35s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 92px;
  transition: height .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(246, 243, 236, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled .header__inner { height: 72px; }
.header.is-hidden { transform: translateY(-100%); }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: .02em;
}
.logo__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 7px;
  opacity: .8;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(100vh, 960px);
  min-height: min(100svh, 960px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--anthracite);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img { transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,18,16,.86) 0%, rgba(14,18,16,.62) 38%, rgba(14,18,16,.1) 72%),
    linear-gradient(0deg, rgba(14,18,16,.55) 0%, rgba(14,18,16,0) 40%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 160px;
  padding-bottom: clamp(64px, 10vh, 120px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 40px;
}
.hero__rule {
  width: 56px;
  height: 3px;
  background: var(--forest-accent);
  margin-bottom: 32px;
}
.hero h1 { max-width: 12ch; }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 28px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Plan-inspired technical annotation */
.hero__spec {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  border-left: 1px solid rgba(255,255,255,.3);
  padding: 4px 0 4px 20px;
  display: grid;
  gap: 10px;
}
.hero__spec b { color: #fff; font-weight: 500; }

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,.25);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: #fff;
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ==========================================================================
   KEY FIGURES
   ========================================================================== */
.figures {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.figures__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.figure {
  position: relative;
  padding: 56px 28px 52px;
  text-align: left;
}
.figure + .figure { border-left: 1px solid var(--line); }
.figure__index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 18px;
}
.figure__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 3.8vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.figure__value sup { font-size: .45em; vertical-align: super; letter-spacing: 0; }
.figure__value small { font-size: .5em; letter-spacing: -.01em; margin-left: 4px; }
.figure__label {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 16em;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: clamp(88px, 11vw, 160px) 0; }
.section--tight-top { padding-top: clamp(64px, 7vw, 96px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head__aside {
  border-left: 2px solid var(--forest);
  padding-left: 24px;
}

/* ---------- Expertises ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.card .media { position: absolute; inset: 0; z-index: -2; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14,18,16,0) 30%, rgba(14,18,16,.55) 60%, rgba(14,18,16,.9) 100%);
  transition: opacity .5s var(--ease);
}
.card__num {
  position: absolute;
  top: 24px; left: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.85);
}
.card__body { padding: 32px 28px; }
.card__tags {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oak-light);
  margin-bottom: 12px;
}
.card p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 30ch;
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.22);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}
.round-arrow {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.card:hover .media img { transform: scale(1.05); }
.card:hover .round-arrow { background: #fff; color: var(--ink); transform: rotate(-45deg); }

/* ---------- Réalisations ---------- */
.works { background: var(--paper); }
.works__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.works__head .lead { margin-bottom: 24px; }
.works__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 210px);
  gap: 16px;
}
.work {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
}
.work .media { position: absolute; inset: 0; }
.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14,18,16,.75), rgba(14,18,16,0) 55%);
  opacity: .85;
  transition: opacity .5s var(--ease);
}
.work__caption {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  transform: translateY(6px);
  transition: transform .5s var(--ease);
}
.work__caption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.work__caption span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.work:hover .media img { transform: scale(1.05); }
.work:hover .work__caption { transform: translateY(0); }

.w-a { grid-column: 1 / span 7; grid-row: span 3; }
.w-b { grid-column: 8 / span 5; grid-row: span 2; }
.w-c { grid-column: 8 / span 5; grid-row: span 1; }
.w-d { grid-column: 1 / span 4; grid-row: span 2; }
.w-e { grid-column: 5 / span 4; grid-row: span 2; }
.w-f { grid-column: 9 / span 4; grid-row: span 2; }

.placeholder-note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ---------- Atelier ---------- */
.atelier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 760px;
  background: var(--forest);
  color: #fff;
}
.atelier__media { position: relative; min-height: 420px; }
.atelier__media .media { position: absolute; inset: 0; }
.atelier__badge {
  position: absolute;
  left: 28px; bottom: 28px;
  z-index: 2;
  background: var(--ivory);
  color: var(--ink);
  padding: 22px 26px;
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  min-width: 220px;
}
.atelier__badge b {
  font-family: var(--font-head);
  font-size: 34px;
  letter-spacing: -.03em;
  line-height: 1;
}
.atelier__badge b sup { font-size: .45em; }
.atelier__badge span { font-size: 13.5px; color: var(--ink-soft); }

.atelier__content {
  position: relative;
  padding: clamp(64px, 8vw, 120px) clamp(28px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
/* subtle blueprint grid */
.atelier__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 70%);
  pointer-events: none;
}
.atelier__content > * { position: relative; }
.atelier .lead { color: rgba(255,255,255,.75); margin-top: 24px; }

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid rgba(255,255,255,.16);
}
.step {
  display: grid;
  grid-template-columns: 56px 40px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: padding .4s var(--ease), background .4s var(--ease);
}
.step:hover { padding-left: 10px; }
.step__n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--oak-light);
}
.step svg { width: 28px; height: 28px; color: rgba(255,255,255,.9); }
.step__t {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
}
.step__d { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: rgba(255,255,255,.62); margin-top: 2px; letter-spacing: 0; }

/* ---------- Engagements ---------- */
.commit__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.commit__intro .lead { margin-top: 24px; }
.commit__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.commit {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 30px 24px 30px 0;
  border-bottom: 1px solid var(--line);
}
.commit:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.commit:nth-child(even) { padding-left: 32px; }
.commit svg { width: 34px; height: 34px; color: var(--forest-accent); }
.commit h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.commit p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.commit--wide { grid-column: 1 / -1; border-right: 0 !important; padding-right: 0 !important; }

.material-band {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.swatch {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.swatch span {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(251,249,245,.9);
  padding: 5px 8px;
  border-radius: 2px;
}
.swatch--mela { background: linear-gradient(135deg, #e9e4da, #d8d1c3); }
.swatch--mdf {
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.05) 1px, transparent 1.5px) 0 0 / 7px 7px,
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.12) 1px, transparent 1.5px) 0 0 / 11px 11px,
    linear-gradient(135deg, #a98c66, #8f7252);
}
.swatch--strat { background: linear-gradient(135deg, #2b2e2d, #3d4140 60%, #2b2e2d); }
.swatch--strat span { background: rgba(251,249,245,.92); }
.swatch--metal {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px),
    linear-gradient(120deg, #9aa1a0, #cfd3d1 45%, #8b9190);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--forest-deep);
  color: #fff;
  overflow: hidden;
}
.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
  padding-block: clamp(80px, 10vw, 140px);
}
.cta .lead { color: rgba(255,255,255,.75); margin-top: 22px; }
.cta__actions { display: grid; gap: 18px; justify-items: start; }
.cta__phone {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.cta__phone a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
.cta__wood {
  position: absolute;
  right: -6%;
  top: 0; bottom: 0;
  width: 40%;
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
}
.cta__wood .media { position: absolute; inset: 0; }
.cta__wood::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--forest-deep) 0%, rgba(18,37,27,.55) 40%, rgba(18,37,27,.1) 100%);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,.72);
  font-size: 14.5px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 48px;
  padding-block: 80px 64px;
}
.footer .logo { color: #fff; }
.footer__about { margin: 22px 0 0; max-width: 30ch; line-height: 1.6; }
.footer__h {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin: 0 0 20px;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.contact-list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--oak-light); }
.contact-list a:hover { color: #fff; }
.footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 26px 34px;
  background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   REVEAL ANIMATIONS (discrètes)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__list { gap: 22px; }
  .nav__list a { font-size: 14px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; min-height: 440px; }
  .atelier { grid-template-columns: 1fr; }
  .atelier__media { min-height: 460px; }
  .commit__grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav__list {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 100px var(--gutter) 40px;
    background: var(--forest-deep);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__list a { font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
  .nav__list a::after { display: none; }
  .menu-open .nav__list { opacity: 1; visibility: visible; }
  .menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
  .nav__mobile-cta { display: block !important; margin-top: 28px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__spec { justify-self: start; }
  .hero__scroll { display: none; }
  .figures__grid { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-head, .works__head, .cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta__wood { width: 55%; opacity: .45; }
}

@media (max-width: 680px) {
  .header__inner { height: 76px; }
  .logo__name { font-size: 21px; }
  .hero__content { padding-top: 130px; }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(14,18,16,.92) 0%, rgba(14,18,16,.6) 55%, rgba(14,18,16,.3) 100%);
  }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .figure { padding: 36px 18px; }
  .figure__label { font-size: 14px; }
  .cards { grid-template-columns: 1fr; }
  .card, .cards .card:last-child { min-height: 440px; }
  .works__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .w-a { grid-column: 1 / -1; grid-row: span 2; }
  .w-b, .w-c, .w-d, .w-e { grid-column: span 1; grid-row: span 1; }
  .w-f { grid-column: 1 / -1; grid-row: span 1; }
  .work__caption { left: 14px; right: 14px; bottom: 12px; }
  .work__caption strong { font-size: 14px; }
  .work__caption span { display: none; }
  .step { grid-template-columns: 40px 32px 1fr; gap: 12px; }
  .commit__list { grid-template-columns: 1fr; }
  .commit, .commit:nth-child(odd), .commit:nth-child(even) { padding: 24px 0; border-right: 0; }
  .material-band { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; padding-block-start: 64px; }
  .atelier__badge { left: 16px; bottom: 16px; }
}

/* Mode capture : index.html?static (désactive les animations) */
.static .reveal { opacity: 1; transform: none; transition: none; }
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }

/* Mention AtomLabs (footer) */
.footer__bottom .credit { color: rgba(255,255,255,.62); }
