/* ==========================================================================
   SB Façade — Design system
   Direction : minéral, éditorial, studio d'architecture.
   Fond pierre claire · typo serif (Fraunces) + grotesk (Inter) · orange du logo
   utilisé avec parcimonie comme accent « matériau ».
   ========================================================================== */

:root {
  /* Surfaces minérales */
  --paper:      #F6F2EC;
  --paper-2:    #EFE9DF;
  --sand:       #E6DCCB;
  --line:       #DDD5C7;
  --line-strong:#C9C0AF;

  /* Encre */
  --ink:        #1B1815;
  --ink-soft:   #2C2823;
  --stone-600:  #6E665B;
  --stone-500:  #857C6F;
  --stone-400:  #A79E90;

  /* Sombre */
  --noir:       #15120E;
  --noir-2:     #1E1A15;
  --on-noir:    #EDE6DA;
  --on-noir-dim:#A79E8E;
  --line-noir:  rgba(255,255,255,.12);

  /* Accents matériaux */
  --orange:     #E1701C;
  --orange-deep:#BE590F;
  --terracotta: #AF4E2B;
  --concrete:   #6C675F;

  /* Rôles */
  --bg:            var(--paper);
  --text:          var(--ink);
  --text-dim:      var(--stone-500);
  --accent:        var(--orange);
  --accent-ink:    var(--orange-deep);

  /* Typo */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Mesure */
  --wrap: 1320px;
  --wrap-tight: 1080px;
  --wrap-text: 720px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --sp-section: clamp(5.5rem, 12vw, 11rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  font-optical-sizing: auto;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

/* ------------------------------------------------------------------ Type scale */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--text);
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display em, .h-lead em { font-style: italic; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { color: var(--text-dim); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Label / eyebrow — grotesk, tracked, small */
.label {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.label::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.label--plain::before { display: none; }
.section--noir .label { color: var(--on-noir-dim); }

/* ------------------------------------------------------------------ Layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--tight { max-width: var(--wrap-tight); }
.wrap--text  { max-width: var(--wrap-text); }

.section { padding-block: var(--sp-section); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--paper-2); }
.section--sand { background: var(--sand); }
.section--noir { background: var(--noir); color: var(--on-noir); }
.section--noir h1, .section--noir h2, .section--noir h3 { color: var(--paper); }
.section--noir p { color: var(--on-noir-dim); }
.section--flush-top { padding-top: 0; }

.rule { height: 1px; background: var(--line); border: 0; }
.section--noir .rule { background: var(--line-noir); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .lead { margin-top: 1.4rem; }
.section-head--between {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}

/* ------------------------------------------------------------------ Buttons / links */
.btn {
  --b-bg: var(--ink);
  --b-fg: var(--paper);
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.05rem 1.7rem;
  font-family: var(--sans);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--b-fg); background: var(--b-bg);
  border: 1px solid var(--b-bg);
  border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover { --b-bg: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover svg { transform: translateX(4px); }
.btn--outline { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { --b-fg: #fff; --b-bg: var(--ink); border-color: var(--ink); }
.btn--on-noir { --b-bg: transparent; --b-fg: var(--paper); border-color: rgba(255,255,255,.3); }
.btn--on-noir:hover { --b-bg: var(--paper); --b-fg: var(--ink); border-color: var(--paper); }
.btn--lg { padding: 1.2rem 2.1rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.arrow-link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.arrow-link:hover { border-color: var(--accent); color: var(--accent-ink); }
.arrow-link:hover svg { transform: translateX(4px); }
.section--noir .arrow-link { border-color: var(--line-noir); }
.section--noir .arrow-link:hover { color: var(--orange); border-color: var(--orange); }

/* ------------------------------------------------------------------ Custom cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__ring {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
body.cursor-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255,255,255,.08); }
body.cursor-hidden .cursor { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.is-solid {
  height: 68px;
  background: rgba(246,242,236,.9);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom-color: var(--line);
}
/* header over the dark hero → light text until scrolled */
.site-header.on-dark:not(.is-solid) { color: var(--paper); }
.site-header.on-dark:not(.is-solid) .brand__word { color: var(--paper); }
.site-header.on-dark:not(.is-solid) .primary-nav a { color: rgba(246,242,236,.82); }
.site-header.on-dark:not(.is-solid) .btn--outline { border-color: rgba(255,255,255,.32); --b-fg: var(--paper); }
.site-header.on-dark:not(.is-solid) .btn--outline:hover { --b-bg: var(--paper); --b-fg: var(--ink); border-color: var(--paper); }
.site-header.on-dark:not(.is-solid) .burger span,
.site-header.on-dark:not(.is-solid) .burger span::before,
.site-header.on-dark:not(.is-solid) .burger span::after { background: var(--paper); }

.brand { display: inline-flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.brand__logo {
  height: 48px; width: auto; display: block; border-radius: 4px;
  transition: height .4s var(--ease);
}
.site-header.is-solid .brand__logo { height: 38px; }
@media (max-width: 1024px) { .brand__logo { height: 40px; } }
@media (max-width: 560px)  { .brand__logo { height: 34px; } }
.brand__word {
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: .01em;
  color: var(--ink);
}
.brand__word span { font-style: italic; }

.primary-nav ul { display: flex; align-items: center; gap: 1.9rem; }
.primary-nav a {
  position: relative; white-space: nowrap;
  font-size: .76rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  color: var(--stone-600);
  transition: color .3s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
  background: currentColor; transition: right .35s var(--ease);
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--ink); }
.site-header.on-dark:not(.is-solid) .primary-nav a:hover,
.site-header.on-dark:not(.is-solid) .primary-nav a.is-active { color: var(--paper); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }

.burger {
  display: none; width: 40px; height: 40px; position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 50%; width: 22px; height: 1.5px;
  background: var(--ink); transform: translateX(-50%);
  transition: transform .35s var(--ease), opacity .2s var(--ease), top .35s var(--ease);
}
.burger span { top: 50%; margin-top: -.75px; }
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.nav-open .burger span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ------------------------------------------------------------------ Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 190;
  background: var(--noir); color: var(--on-noir);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a {
  font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: var(--paper); padding: .55rem 0;
  border-bottom: 1px solid var(--line-noir);
}
.mobile-nav a:first-of-type { border-top: 1px solid var(--line-noir); }
.mobile-nav .btn { margin-top: 2.25rem; align-self: flex-start; }
.mobile-nav__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .35rem; font-size: .85rem; color: var(--on-noir-dim); }
.mobile-nav__foot a { font-family: var(--sans); font-size: .85rem; border: 0; padding: 0; color: var(--on-noir-dim); }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 8vh, 7rem);
  background: var(--noir); color: var(--paper);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,18,14,.55) 0%, rgba(21,18,14,.35) 40%, rgba(21,18,14,.9) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.hero h1 { color: var(--paper); max-width: 15ch; }
.hero h1 em { color: var(--paper); }
.hero__meta {
  display: grid; gap: .5rem; text-align: right;
  font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(246,242,236,.72);
}
.hero__scroll {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(246,242,236,.6);
}
.hero__scroll span { width: 44px; height: 1px; background: rgba(246,242,236,.4); position: relative; overflow: hidden; }
.hero__scroll span::after {
  content: ""; position: absolute; inset: 0; background: var(--orange);
  transform: translateX(-100%); animation: scrollcue 2.4s var(--ease) infinite;
}
@keyframes scrollcue { 0%{transform:translateX(-100%)} 55%{transform:translateX(0)} 100%{transform:translateX(100%)} }

/* ------------------------------------------------------------------ Bandeau signature */
.statement-band { text-align: center; }
.statement-band .display { max-width: 22ch; margin-inline: auto; }

/* ------------------------------------------------------------------ Statement blocks */
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.statement__big { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.14; letter-spacing: -.015em; }
.statement__body > * + * { margin-top: 1.15rem; }
.statement__body .arrow-link { margin-top: 1.9rem; }

.figure {
  position: relative; overflow: hidden; background: var(--sand);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4/5; }
.figure--wide { aspect-ratio: 16/10; }
.figure--sq { aspect-ratio: 1; }
.figure__cap {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(21,18,14,.55); padding: .35rem .6rem; backdrop-filter: blur(3px);
}

/* ------------------------------------------------------------------ Avant / Après */
.compare {
  position: relative; aspect-ratio: 3/2; overflow: hidden;
  background: var(--sand); user-select: none; touch-action: pan-y;
}
.compare__layer { position: absolute; inset: 0; }
.compare__layer img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 640px) { .compare { aspect-ratio: 3/4; } }
.compare__layer--after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 5;
  font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: rgba(21,18,14,.5); padding: .4rem .7rem; backdrop-filter: blur(3px);
}
.compare__tag--after { left: auto; right: 1rem; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 6;
  width: 1px; background: rgba(246,242,236,.9); transform: translateX(-.5px);
}
.compare__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(21,18,14,.3);
}
.compare__grip svg { width: 20px; height: 20px; }
.compare:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ------------------------------------- Galerie avant / après (paires fixes) */
.ba-grid {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
}
.ba-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.ba-shot {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand);
  border: 1px solid var(--line);
}
.ba-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-tag {
  position: absolute; top: 0; left: 0;
  font-family: var(--sans); font-size: .64rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: rgba(21,18,14,.62); padding: .35rem .6rem; backdrop-filter: blur(3px);
}
.ba-tag--after { left: auto; right: 0; background: var(--accent-ink); }
.ba-pair figcaption {
  grid-column: 1 / -1; margin-top: .85rem;
  font-size: .88rem; color: var(--text-dim);
}
@media (max-width: 780px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ Savoir-faire (liste + image à gauche) */
.craft__layout {
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.craft__viewer {
  position: sticky; top: calc(var(--header-h) + 3rem);
  aspect-ratio: 4/5; overflow: hidden; background: var(--sand);
  border: 1px solid var(--line);
}
.craft__viewer img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.craft.is-hover .craft__viewer img { opacity: 1; transform: scale(1); }

.craft__list { border-top: 1px solid var(--line); }
.craft__row {
  display: grid; grid-template-columns: 3rem 1fr; gap: .4rem 1.25rem; align-items: baseline;
  padding: clamp(1.35rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease), color .4s var(--ease);
}
.craft__row:hover { padding-left: 1rem; }
.craft__idx { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; color: var(--stone-500); }
.craft__name { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.1; }
.craft__desc { grid-column: 2; font-size: .92rem; color: var(--text-dim); max-width: 46ch; }
.craft__row:hover .craft__name { color: var(--accent-ink); }

/* image inline pour mobile / fallback */
.craft__row-media { display: none; grid-column: 2; margin-top: 1rem; aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.craft__row-media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ Projets (grille éditoriale) */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.project { grid-column: span 6; }
.project:nth-child(4n+1) { grid-column: span 7; }
.project:nth-child(4n+2) { grid-column: span 5; align-self: end; }
.project:nth-child(4n+3) { grid-column: 2 / span 5; }
.project:nth-child(4n+4) { grid-column: span 6; align-self: end; }
.project__frame {
  position: relative; overflow: hidden; background: var(--paper-2);
  border: 1px solid var(--line); aspect-ratio: 4/3;
}
.project--tall .project__frame { aspect-ratio: 3/4; }
.project__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.project:hover .project__frame img { transform: scale(1.04); }
.project__coming {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: .5rem; text-align: center;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px; background-position: center;
  color: var(--stone-500);
}
.project__coming svg { width: 26px; height: 26px; margin: 0 auto; opacity: .6; }
.project__coming span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.project__meta { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: baseline; }
.project__name { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); }
.project__tags { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-500); }
.project__tags b { color: var(--terracotta); font-weight: 500; }
.project__desc { margin-top: .5rem; font-size: .92rem; max-width: 46ch; }

/* ------------------------------------------------------------------ Détails (bande horizontale) */
.details { background: var(--noir); color: var(--on-noir); overflow: hidden; }
.details__head { padding: var(--sp-section) var(--gutter) clamp(2rem,5vw,3.5rem); max-width: 900px; }
.details__viewport { }
.details__track {
  display: flex; gap: clamp(1rem, 3vw, 2.5rem); padding: 0 var(--gutter) var(--sp-section);
}
.details__item { position: relative; flex: 0 0 min(70vw, 640px); aspect-ratio: 4/3; overflow: hidden; background: var(--noir-2); }
.details__item img { width: 100%; height: 100%; object-fit: cover; }
.details__item figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-noir-dim);
}
/* mobile / fallback → carrousel natif */
html:not(.js-anim) .details__track,
@media (max-width: 900px) { .details__track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; } }
html:not(.js-anim) .details__item, .details__item { scroll-snap-align: start; }

/* ------------------------------------------------------------------ Entreprise */
.company { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.company__media { position: relative; }
.company__media .figure { aspect-ratio: 4/5; }
.company__list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.company__list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; font-size: .96rem; color: var(--ink-soft); }
.company__list svg { width: 18px; height: 18px; color: var(--accent); margin-top: .3rem; }

/* ------------------------------------------------------------------ Bloc service (savoir-faire détaillé) */
.svc {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center; padding-block: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc__media { order: -1; }
.svc__media .figure { aspect-ratio: 4/3; }
.svc__idx { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; color: var(--stone-500); }
.svc h2 { margin: .8rem 0 1.1rem; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.svc ul.ticks { margin-top: 1.4rem; display: grid; gap: .6rem; }
.svc ul.ticks li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); font-size: .96rem; }
.svc ul.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--accent); }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__media { order: 0; }
}

/* ------------------------------------------------------------------ CTA final */
.closing {
  position: relative; min-height: 92svh; display: flex; align-items: center;
  color: var(--paper); text-align: center; overflow: hidden; background: var(--noir);
}
.closing__bg { position: absolute; inset: 0; z-index: 0; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.closing__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,14,.55), rgba(21,18,14,.8)); }
.closing .wrap { position: relative; z-index: 2; }
.closing .display { color: var(--paper); max-width: 20ch; margin: 0 auto 1rem; }
.closing p { color: rgba(246,242,236,.8); margin-bottom: 2.5rem; }
.closing__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--noir); color: var(--on-noir-dim); padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-noir); }
.site-footer .brand__word { color: var(--paper); }
.site-footer__blurb { margin-top: 1.2rem; max-width: 34ch; font-size: .92rem; }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-noir); margin-bottom: 1.1rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { font-size: .92rem; transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--orange); }
.site-footer address { font-style: normal; display: grid; gap: .5rem; font-size: .92rem; }
.site-footer__bottom { padding-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; }

/* ------------------------------------------------------------------ Forms */
.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: grid; gap: .5rem; }
.field label { font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-600); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: .7rem .1rem; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .8rem; }
.field--check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--accent); }
.field--check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; color: var(--text-dim); line-height: 1.5; }
.form__note { font-size: .8rem; color: var(--stone-500); }
.form-status { display: none; padding: .95rem 1.1rem; font-size: .9rem; border: 1px solid; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: #2f6b3f; border-color: #b9d8c2; background: #eef6f0; }
.form-status.is-error { color: #9a3327; border-color: #e6c4bf; background: #f9ece9; }

/* ------------------------------------------------------------------ Contact */
.contact-cols { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-info { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.5rem; }
.contact-info__item { display: grid; gap: .3rem; }
.contact-info__item .label { margin-bottom: .2rem; }
.contact-info__item a, .contact-info__item p { font-size: 1.02rem; color: var(--ink); }
.contact-info__item a:hover { color: var(--accent-ink); }
@media (max-width: 900px) {
  .contact-cols { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}

/* Témoignage */
.quote { padding: clamp(1.75rem, 4vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.3; color: var(--ink); }
.quote figcaption { margin-top: 1.1rem; font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone-600); }
.quote figcaption span { color: var(--terracotta); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.3rem; color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1.4rem; font-size: .96rem; }

/* ------------------------------------------------------------------ Interior page hero */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 7rem));
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
  background: var(--noir); color: var(--paper);
}
.page-hero .breadcrumb { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-noir-dim); margin-bottom: 1.5rem; }
.page-hero .breadcrumb a:hover { color: var(--orange); }
.page-hero h1 { color: var(--paper); max-width: 16ch; }
.page-hero p { color: rgba(246,242,236,.78); margin-top: 1.4rem; max-width: 60ch; }

/* Prose */
.prose { max-width: var(--wrap-text); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }
.prose p + p { margin-top: 1rem; }
.prose a { color: var(--accent-ink); border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-color: var(--accent); }
.prose ul.ticks { margin: 1rem 0; display: grid; gap: .6rem; }
.prose ul.ticks li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--accent); }

/* ------------------------------------------------------------------ Reveal / anim states */
html.js-anim [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js-anim [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
html.js-anim [data-reveal="lines"] > * { opacity: 0; transform: translateY(24px); }
html.js-anim [data-reveal="lines"].is-in > * { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.js-anim [data-reveal="lines"].is-in > *:nth-child(2) { transition-delay: .08s; }
html.js-anim [data-reveal="lines"].is-in > *:nth-child(3) { transition-delay: .16s; }
html.js-anim [data-reveal="lines"].is-in > *:nth-child(4) { transition-delay: .24s; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .statement, .company { grid-template-columns: 1fr; }
  .company__media { order: -1; max-width: 460px; }
  .craft__layout { grid-template-columns: 0.9fr 1.1fr; gap: 2rem; }
  .projects { grid-template-columns: repeat(6, 1fr); }
  .project, .project:nth-child(4n+1), .project:nth-child(4n+2),
  .project:nth-child(4n+3), .project:nth-child(4n+4) { grid-column: span 6; align-self: auto; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .primary-nav, .header-actions .btn { display: none; }
  .burger { display: block; }
  .cursor { display: none; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__meta { text-align: left; }
  .craft__layout { grid-template-columns: 1fr; }
  .craft__viewer { display: none; }
  .craft__desc { display: block; }
  .craft__row-media { display: block; }
  .details__head { padding-block: clamp(3.5rem, 10vw, 6rem) 2rem; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .closing__btns .btn { width: auto; }
  .site-footer__top { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js-anim [data-reveal], html.js-anim [data-reveal="lines"] > * { opacity: 1 !important; transform: none !important; }
  .hero__scroll span::after { display: none; }
}
