/* =====================================================================
   TESSARAE ARCHITECTURE — Design system (site multi-pages)
   ===================================================================== */
:root {
  --ink: #17170f;
  --ink-soft: #55534a;
  --ink-faint: #8a887d;
  --line: #e6e3da;
  --line-strong: #d3cfc3;
  --paper: #fbfaf6;
  --paper-2: #f2efe7;
  --paper-3: #ece8dd;
  --accent: #7a6a4f;
  --accent-2: #5c6b4d;
  --white: #fff;
  --max: 1560px;
  --wrap: 1180px;
  --read: 720px;
  --gutter: clamp(20px, 5vw, 80px);
  --header-h: 72px;
  --e: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --r: 3px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.serif {
  font-family: var(--serif);
}
.serif-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 300;
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background 0.45s var(--e),
    border-color 0.45s var(--e),
    color 0.45s var(--e);
  border-bottom: 1px solid transparent;
  color: var(--ink);
}
.site-header.on-hero {
  color: #fff;
  text-shadow: 0 1px 8px rgba(10, 10, 8, 0.45);
}
.site-header.on-hero .brand__logo--white {
  filter: drop-shadow(0 1px 5px rgba(10, 10, 8, 0.45));
}
.site-header.scrolled {
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 38px;
}
.brand__logo {
  height: 41px;
  width: 41px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand__logo--white {
  display: none;
}
.site-header.on-hero .brand__logo--color {
  display: none;
}
.site-header.on-hero .brand__logo--white {
  display: block;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.brand .name {
  font-size: 1.5555rem;
  letter-spacing: 0.32em;
  font-weight: 700;
  text-transform: uppercase;
}
.brand .sub {
  font-size: 0.765rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.72;
  padding-left: 0.14em;
}
.site-footer .brand {
  gap: 10px;
}
.site-footer .brand__logo {
  height: 26px;
  width: 26px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 38px);
}
.nav-links a {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.35s var(--e);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  border: 1px solid currentColor;
  border-radius: 40px;
  padding: 9px 18px !important;
  opacity: 1 !important;
}
.nav-cta:hover {
  background: currentColor;
}
.nav-cta:hover span {
  color: var(--paper);
}
.burger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 130;
}
.burger span {
  position: absolute;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition:
    transform 0.4s var(--e),
    opacity 0.3s,
    top 0.3s;
}
.burger span:nth-child(1) {
  top: 1px;
}
.burger span:nth-child(2) {
  top: 9px;
}
.burger span:nth-child(3) {
  top: 17px;
}
body.menu-open .burger span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}
body.menu-open .burger span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}
@media (max-width: 940px) {
  .burger {
    display: block;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    transform: translateY(-100%);
    transition: transform 0.55s var(--e);
    pointer-events: none;
    overflow-y: auto;
    padding-block: calc(var(--header-h) + 16px) 24px;
  }
  body.menu-open .nav-links {
    transform: translateY(0);
    pointer-events: auto;
  }
  body.menu-open {
    overflow: hidden;
  }
  .nav-links a {
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    opacity: 1;
  }
  .nav-cta {
    border-color: #fff;
  }
  body.menu-open .site-header {
    color: #fff;
  }
  /* Bandeau : texte de marque réduit pour aérer, sans toucher au T ni à la hauteur du bandeau */
  .brand .name {
    font-size: 1.15rem;
    letter-spacing: 0.2em;
  }
  .brand .sub {
    font-size: 0.6rem;
    letter-spacing: 0.28em;
  }
  .nav-inner .brand {
    min-width: 0;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 30px;
  border: 1px solid currentColor;
  border-radius: 40px;
  transition:
    background 0.35s var(--e),
    color 0.35s var(--e),
    transform 0.2s var(--e);
}
.btn:hover {
  background: #fff;
  color: var(--ink);
}
.btn--dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--dark:hover {
  background: var(--ink);
  color: #fff;
}
.btn--solid {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--light {
  border-color: #fff;
  color: #fff;
}
.btn--light:hover {
  background: #fff;
  color: var(--ink);
}
.btn .arrow {
  transition: transform 0.35s var(--e);
}
.btn:hover .arrow {
  transform: translateX(5px);
}
.btn--ghost {
  padding: 0;
  border: none;
  border-radius: 0;
  color: var(--accent);
}
.btn--sm {
  padding: 11px 22px;
  font-size: 0.72rem;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #0f0f0c;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.7s var(--e);
}
.hero__slide.is-active {
  opacity: 1;
  animation: kb 9s ease-out forwards;
}
@keyframes kb {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.13);
  }
}
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 14px rgba(10, 10, 8, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  padding-bottom: clamp(52px, 10vh, 120px);
  max-width: var(--max);
  margin: 0 auto;
  left: 0;
  right: 0;
}
.hero__content .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}
.display {
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(2.3rem, 6vw, 5.2rem);
}
.hero h1 {
  margin: 0.32em 0 0.5em;
  max-width: 15ch;
}
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.4;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}
.hero__scroll .line {
  width: 1px;
  height: 40px;
  background: #fff;
  transform-origin: top;
  animation: sl 2.4s var(--e) infinite;
}
@keyframes sl {
  0% {
    transform: scaleY(0);
  }
  45% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
.hero__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.hero__arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(23, 23, 15, 0.15);
  backdrop-filter: blur(3px);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.hero__arrow--prev {
  padding-right: 2px;
}
.hero__arrow--next {
  padding-left: 2px;
}
.hero__arrow:hover {
  background: rgba(23, 23, 15, 0.4);
  border-color: #fff;
  transform: scale(1.06);
}
@media (max-width: 940px) {
  .hero__arrows {
    padding-inline: 14px;
  }
  .hero__arrow {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}
.reveal-words span {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.reveal-words span i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(110%);
  transition: transform 0.9s var(--e);
}
.reveal-words.in span i {
  transform: translateY(0);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(40px, 8vh, 86px));
  padding-bottom: clamp(30px, 5vh, 56px);
  border-bottom: 1px solid var(--line);
}
.page-hero.dark {
  background: var(--ink);
  color: #f2efe6;
  border-bottom: none;
}
.page-hero .eyebrow {
  margin-bottom: 16px;
}
.page-hero.dark .eyebrow {
  color: #b7a98a;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.page-hero p {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 58ch;
}
.page-hero.dark p {
  color: #c7c2b5;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--ink);
}
.breadcrumb .sep {
  opacity: 0.5;
}
.page-hero.dark .breadcrumb {
  color: #9a9686;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(72px, 11vh, 148px);
}
.section--warm {
  background: var(--paper-2);
}
.section--ink {
  background: var(--ink);
  color: #efece3;
}
.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 7vh, 76px);
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-top: 0.3em;
}
.section-head p {
  margin-top: 1.05em;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
}
.section--ink .section-head p {
  color: #b9b5a9;
}

/* ---------- Intro split ---------- */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
}
.intro-split .col-text p {
  color: var(--ink-soft);
  margin-top: 1.15em;
}
.intro-split .serif-quote {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  color: var(--ink);
  line-height: 1.32;
  display: block;
}
.intro-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
}
.intro-figure img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
@media (max-width: 860px) {
  .intro-split {
    grid-template-columns: 1fr;
  }
  .intro-figure {
    order: -1;
    aspect-ratio: 4/3;
  }
  .intro-figure img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2b2a20;
  border-block: 1px solid #2b2a20;
}
.stat {
  background: var(--ink);
  padding: clamp(26px, 3.4vw, 46px) clamp(18px, 2vw, 30px);
}
.stat .big {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  font-family: var(--serif);
}
.stat .lab {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #b9b5a9;
  max-width: 24ch;
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Services ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.service {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 48px);
  transition: background 0.4s var(--e);
}
.service:hover {
  background: var(--paper-3);
}
.service .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
}
.service h3 {
  margin: 0.5em 0 0.5em;
  font-size: 1.3rem;
  font-weight: 500;
}
.service p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.service .stags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.service .stags span {
  font-size: 0.72rem;
  color: var(--accent-2);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: 5px 12px;
}
@media (max-width: 720px) {
  .grid-services {
    grid-template-columns: 1fr;
  }
}
.grid-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value {
  background: var(--paper-2);
  padding: clamp(26px, 3vw, 40px);
}
.value .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent);
}
.value h3 {
  margin: 0.5em 0 0.4em;
  font-size: 1.12rem;
  font-weight: 500;
}
.value p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  background: var(--paper);
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 40px;
  animation: marq 38s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--ink-soft);
}
.marquee b {
  color: var(--accent);
  font-style: normal;
  font-weight: 400;
  margin-right: 40px;
}
@keyframes marq {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Project grid ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.filters button {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  color: var(--ink-soft);
  transition: all 0.3s var(--e);
}
.filters button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filters button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
}
@media (max-width: 940px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  position: relative;
  display: block;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--e),
    transform 0.7s var(--e);
}
.card.reveal {
  opacity: 1;
  transform: none;
}
.card__media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4/3;
  border-radius: var(--r);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.1s var(--e),
    filter 0.6s;
  filter: saturate(0.97);
}
.card:hover .card__media img {
  transform: scale(1.07);
  filter: saturate(1.06);
}
.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(251, 250, 246, 0.94);
  color: var(--ink);
  padding: 5px 11px;
  border-radius: 40px;
}
.card__plus {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s var(--e);
  backdrop-filter: blur(3px);
}
.card:hover .card__plus {
  opacity: 1;
  transform: scale(1);
  background: rgba(23, 23, 15, 0.35);
}
.card__meta {
  padding: 16px 2px 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.card__meta h3 {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.card__loc {
  font-size: 0.76rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.card__prog {
  font-size: 0.76rem;
  color: var(--accent);
  margin-top: 2px;
}
.card.hidden {
  display: none;
}

/* ---------- PROJECT DETAIL ---------- */
.proj-hero {
  padding-top: calc(var(--header-h) + clamp(28px, 5vh, 54px));
}
.proj-hero .breadcrumb {
  margin-bottom: 18px;
}
.proj-hero .eyebrow {
  margin-bottom: 14px;
}
.proj-hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  max-width: 20ch;
}
.proj-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--ink);
  max-width: 52ch;
  margin-top: 22px;
  line-height: 1.35;
}
.proj-cover {
  margin-top: clamp(26px, 4vh, 44px);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 16/9;
}
.proj-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding-block: clamp(46px, 7vh, 84px);
}
@media (max-width: 940px) {
  .proj-body {
    grid-template-columns: 1fr;
  }
}
.prose {
  max-width: 66ch;
  color: #2c2b23;
}
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 1.6em 0 0.5em;
  color: var(--ink);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.2rem;
  margin: 1.3em 0 0.4em;
}
.prose p {
  margin-bottom: 1.15em;
  font-size: 1.06rem;
  line-height: 1.72;
}
.prose ul,
.prose ol {
  margin: 0 0 1.2em 1.2em;
}
.prose li {
  margin-bottom: 0.5em;
  padding-left: 0.2em;
}
.prose ul li {
  list-style: disc;
}
.prose ol li {
  list-style: decimal;
}
.prose a {
  color: var(--accent);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s;
}
.prose a:hover {
  border-color: var(--accent);
}
.prose strong {
  font-weight: 600;
  color: var(--ink);
}
.prose .ctx {
  margin: 0 0 26px;
  padding: 18px 22px;
  background: var(--paper-2);
  border-left: 2px solid var(--accent-2);
  color: var(--ink);
  font-size: 0.98rem;
  border-radius: 0 var(--r) var(--r) 0;
}
.proj-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 940px) {
  .proj-aside {
    position: static;
  }
}
.spec-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper);
}
.spec-card h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 16px 20px 0;
}
.spec-table {
  width: 100%;
  font-size: 0.88rem;
  padding: 8px 20px 12px;
}
.spec-table div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table div:last-child {
  border-bottom: none;
}
.spec-table dt {
  color: var(--ink-soft);
  flex-shrink: 0;
}
.spec-table dd {
  text-align: right;
  font-weight: 500;
  max-width: 62%;
}
.mission-list {
  padding: 4px 20px 18px;
}
.mission-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--ink);
}
.mission-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 600;
}
.mat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 20px 18px;
}
.mat-tags span {
  font-size: 0.72rem;
  color: var(--accent-2);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: 5px 11px;
}
.mini-map {
  height: 220px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  position: relative;
}
.mini-map .mm-loc {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 500;
  background: rgba(251, 250, 246, 0.94);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 500;
}
.aside-cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 24px 22px;
}
.aside-cta p {
  font-size: 0.95rem;
  color: #cbc7bb;
  margin-bottom: 16px;
}
.proj-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-block: clamp(20px, 3vh, 40px);
}
.proj-gallery img {
  width: 100%;
  border-radius: var(--r);
  background: var(--paper-2);
}
.proj-gallery img:only-child,
.proj-gallery img.wide {
  grid-column: 1/-1;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media (max-width: 600px) {
  .proj-gallery {
    grid-template-columns: 1fr;
  }
}
.proj-credit {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 6px;
}
.proj-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 10px;
  gap: 16px;
}
.proj-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.proj-nav a:hover {
  color: var(--ink);
}
.proj-nav small {
  display: block;
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-faint);
  font-weight: 400;
  margin-top: 3px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding-block: clamp(56px, 9vh, 120px);
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto;
}
.cta-band p {
  color: #c7c2b5;
  margin: 18px auto 32px;
  max-width: 52ch;
}
.cta-band .btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.6vw, 42px);
}
@media (max-width: 940px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
.post {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--e),
    transform 0.7s var(--e);
}
.post.reveal {
  opacity: 1;
  transform: none;
}
.post__media {
  overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: 16/10;
  background: var(--paper-2);
}
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--e);
}
.post:hover .post__media img {
  transform: scale(1.06);
}
.post__cat {
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.post h3 {
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.post p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.post__foot {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-faint);
  display: flex;
  gap: 12px;
}

/* ---------- ARTICLE ---------- */
.article-hero {
  padding-top: calc(var(--header-h) + clamp(28px, 5vh, 56px));
}
.article-hero .breadcrumb {
  margin-bottom: 18px;
}
.article-metaline {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.article-hero .deck {
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 60ch;
}
.article-cover {
  margin-top: clamp(24px, 4vh, 42px);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 16/8;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  padding-block: clamp(40px, 6vh, 80px);
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
@media (max-width: 900px) {
  .toc {
    position: static;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px 20px;
    background: var(--paper-2);
    margin-bottom: 10px;
  }
}
.toc b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.toc b::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--accent);
}
.toc a {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--line);
  transition: all 0.3s;
  line-height: 1.35;
}
.toc a:hover {
  color: var(--ink);
  border-color: var(--accent-2);
}
.toc a.active {
  color: var(--ink);
  border-color: var(--accent);
  font-weight: 500;
}
.article-body {
  max-width: var(--read);
}
.article-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 1.8em 0 0.55em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body h3 {
  font-size: 1.25rem;
  margin: 1.4em 0 0.4em;
}
.article-body p {
  margin-bottom: 1.3em;
  font-size: 1.14rem;
  line-height: 1.78;
  color: #2c2b23;
}
.article-body p:first-of-type {
  font-size: 1.28rem;
  color: var(--ink);
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.4em 1.3em;
}
.article-body li {
  margin-bottom: 0.6em;
  font-size: 1.1rem;
  line-height: 1.7;
}
.article-body ul li {
  list-style: disc;
}
.article-body ol li {
  list-style: decimal;
}
.article-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-weight: 500;
  transition: opacity 0.3s;
}
.article-body a:hover {
  opacity: 0.65;
}
.article-body strong {
  font-weight: 600;
  color: var(--ink);
}
.article-body em {
  font-style: italic;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.article-tags span {
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  padding: 6px 14px;
}
.article-sources {
  margin-top: 26px;
  background: var(--paper-2);
  border-radius: var(--r);
  padding: 20px 24px;
}
.article-sources b {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 10px;
}
.article-sources a {
  color: var(--accent);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line-strong);
  display: inline-block;
  margin-bottom: 5px;
}
.author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
}
.author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-box b {
  display: block;
  font-size: 1.05rem;
}
.author-box span {
  font-size: 0.86rem;
  color: var(--accent);
}
.author-box p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 4px;
}
.article-cta {
  margin-top: 32px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 30px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-cta b {
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 24ch;
}
.article-related {
  border-top: 1px solid var(--line);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.accroche-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.accroche-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--ink);
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.accroche-list li::before {
  content: "—";
  color: var(--accent);
  font-style: normal;
  font-family: var(--sans);
}
.contact-info {
  margin-top: 32px;
  font-size: 0.98rem;
}
.contact-info a {
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s;
}
.contact-info a:hover {
  border-color: var(--ink);
}
.contact-info .row {
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}
.contact-info .row span:first-child {
  color: var(--ink-soft);
  min-width: 96px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 3px;
}
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r);
}
.form .fs {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 26px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.form .fs:first-child {
  margin-top: 0;
}
.form .note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 15px;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122, 106, 79, 0.1);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .field--row {
    grid-template-columns: 1fr;
  }
}
.form small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  margin-top: 14px;
}
.form-ok {
  background: var(--accent-2);
  color: #fff;
  border-radius: var(--r);
  padding: 16px 18px;
  font-size: 0.92rem;
  margin-bottom: 18px;
  display: none;
}

/* ---------- Trust ---------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.trust div {
  font-size: 0.86rem;
  color: #cfccc0;
}
.trust b {
  color: #fff;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #e9e7de;
  padding-block: clamp(54px, 8vh, 90px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 940px) {
  .footer-top > div {
    min-width: 0;
  }
  .site-footer a {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}
.site-footer .brand .name {
  color: #fff;
}
.site-footer h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #94917f;
  margin-bottom: 16px;
  font-weight: 600;
}
.site-footer a {
  opacity: 0.85;
  transition: opacity 0.3s;
  font-size: 0.94rem;
}
.site-footer a:hover {
  opacity: 1;
}
.site-footer li {
  margin-bottom: 9px;
}
.site-footer .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  max-width: 28ch;
  line-height: 1.4;
  margin-top: 16px;
  color: #cbc8bc;
}
.footer-blog small {
  color: #8b8877;
  font-size: 0.76rem;
  display: block;
}
.footer-bottom {
  border-top: 1px solid #34332a;
  margin-top: 52px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #8b8877;
}

/* ---------- Reveal ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--e),
    transform 0.8s var(--e);
}
.reveal-up.in {
  opacity: 1;
  transform: none;
}
.reveal-up.d1 {
  transition-delay: 0.08s;
}
.reveal-up.d2 {
  transition-delay: 0.16s;
}
.reveal-up.d3 {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .card,
  .post,
  .reveal-words span i {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__slide.is-active {
    animation: none;
  }
  .marquee__track {
    animation: none;
  }
}

/* ---------- Leaflet tweaks ---------- */
.leaflet-container {
  font-family: var(--sans) !important;
  background: var(--paper-2) !important;
}
.tess-pin {
  background: var(--ink);
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid var(--paper);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.leaflet-popup-content-wrapper {
  border-radius: var(--r) !important;
}
.leaflet-popup-content {
  margin: 12px 14px !important;
  font-family: var(--sans) !important;
}
.pop b {
  font-size: 0.98rem;
  display: block;
  margin-bottom: 2px;
}
.pop small {
  color: var(--ink-soft);
}
.pop a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-top: 6px;
}

/* ---------- Logo walls (clients & affiliations) ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.logo {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 20px 18px;
  text-align: center;
  transition: background 0.3s;
}
.logo:hover {
  background: var(--paper-3);
}
.section--warm .logo {
  background: var(--paper-2);
}
.logo img {
  max-height: 48px;
  max-width: 82%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition:
    filter 0.3s,
    opacity 0.3s;
}
.logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.logo--text span {
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: color 0.3s;
}
.logo--text:hover span {
  color: var(--ink);
}

.mono-count {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin: 16px 0 26px;
}
.center-cta {
  text-align: center;
  margin-top: 52px;
}
[hidden] {
  display: none !important;
}

/* ===================== AJOUTS (contraste, services, frise, phases, devis, form) ===================== */
:root {
  --ink-soft: #4b4940;
  --ink-faint: #6b695e;
  --accent: #6d5d42;
}
.marquee span {
  color: #4b4940;
}
.site-header.on-hero {
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.5),
    0 2px 14px rgba(0, 0, 0, 0.3);
}
.hero__scroll {
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.5),
    0 2px 14px rgba(0, 0, 0, 0.3);
}

/* Bouton Contact plus visible */
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.nav-cta span {
  color: #fff;
}
.nav-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.nav-cta:hover span {
  color: #fff;
}
.site-header.on-hero .nav-cta {
  background: #fff;
  border-color: #fff;
}
.site-header.on-hero .nav-cta span {
  color: var(--ink);
}
.site-header.on-hero .nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.site-header.on-hero .nav-cta:hover span {
  color: #fff;
}

/* Bandeau image plein cadre */
.imgband {
  position: relative;
  min-height: clamp(320px, 50vh, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #111;
}
.imgband__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.imgband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 12, 0.5), rgba(15, 15, 12, 0.64));
}
.imgband__in {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 44px var(--gutter);
}
.imgband .eyebrow {
  color: #d3bf98;
}
.imgband h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0.3em 0 0.5em;
  color: #fff;
}
.imgband p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  margin-bottom: 26px;
}

/* Frise chronologique */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 6px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.section--warm .timeline::before {
  background: var(--line-strong);
}
.tl-item {
  position: relative;
  padding: 0 0 32px 54px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--accent);
}
.section--warm .tl-item::before {
  background: var(--paper-2);
}
.tl-item .yr {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
}
.tl-item h3 {
  font-size: 1.18rem;
  font-weight: 500;
  margin: 2px 0 6px;
}
.tl-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 60ch;
}

/* Phases chantier */
.phases {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.phase {
  background: var(--paper);
  padding: clamp(22px, 2.6vw, 32px);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
}
.section--warm .phase {
  background: var(--paper-2);
}
.phase .no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}
.phase h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.phase p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.phase .ph-role {
  font-size: 0.9rem;
  color: var(--ink);
  margin-top: 9px;
  background: var(--paper-3);
  border-radius: var(--r);
  padding: 9px 12px;
}
.section--warm .phase .ph-role {
  background: var(--paper);
}
.phase .ph-role b {
  color: var(--accent);
}
@media (max-width: 560px) {
  .phase {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
@media (max-width: 760px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}
.svc {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.svc:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(23, 23, 15, 0.06);
}
.svc .k {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1.1rem;
}
.svc h3 {
  font-size: 1.32rem;
  font-weight: 500;
  margin: 6px 0 8px;
}
.svc > p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.svc ul {
  margin: 0 0 20px;
}
.svc li {
  font-size: 0.9rem;
  color: var(--ink);
  padding: 5px 0 5px 20px;
  position: relative;
}
.svc li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.svc .svc-cta {
  margin-top: auto;
}

/* Devis */
.devis {
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  padding: clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 720px) {
  .devis {
    grid-template-columns: 1fr;
  }
}
.devis .eyebrow {
  color: #efe6d4;
}
.devis h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 300;
  margin-top: 0.2em;
}
.devis p {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 10px;
}
.devis .btn {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.devis .btn:hover {
  background: #fff;
  color: var(--accent);
}

/* Formulaire dynamique */
.form-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding: 6px 0;
  margin: 2px 0 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.form-toggle:hover {
  border-color: var(--accent);
}
.form-more {
  border-top: 1px dashed var(--line-strong);
  padding-top: 14px;
  margin-top: 2px;
}
.sujet-note {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 12px 16px;
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.sujet-note b {
  color: var(--accent);
}
.field.hide {
  display: none;
}

/* ===== Ajustements finaux (chiffres, parallax, révélations Apple-like) ===== */
.stats {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 430px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
.imgband__bg {
  top: -10%;
  bottom: auto;
  height: 120%;
  will-change: transform;
}
[data-parallax] {
  will-change: transform;
}
.reveal-up {
  opacity: 0;
  transform: translateY(34px) scale(0.986);
  transition:
    opacity 0.9s var(--e),
    transform 0.9s var(--e);
}
.reveal-up.in {
  opacity: 1;
  transform: none;
}
.svc:hover,
.card:hover .card__media img {
  will-change: transform;
}

/* ===== FAQ ===== */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 2px;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--accent);
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 2px 22px;
  color: var(--ink-soft);
  max-width: 72ch;
}

/* ---------- Projet — mise en page façon Dubuisson (image 2/3 non recadrée + colonne info 1/3) ---------- */
.proj-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(20px, 3vh, 40px);
}
.proj-media {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.proj-media__item {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--paper-2);
  overflow: hidden;
}
.proj-media__item img {
  max-width: 100%;
  max-height: 82vh;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.proj-info {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
.proj-info h1 {
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0.35em 0 0.7em;
  max-width: 26ch;
}
.proj-info .eyebrow {
  color: var(--accent);
}
.proj-desc__short {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 8px;
}
.proj-desc__more {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 8px 0;
}
.proj-desc__more h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.1em 0 0.35em;
}
.proj-desc__more .ctx {
  margin-bottom: 1em;
}
.proj-desc__toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 2px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
}
.proj-desc__toggle:hover {
  color: var(--ink);
}
.proj-status {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 12px;
  margin: 2px 0 14px;
}
.proj-fields {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.92rem;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.proj-fields div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.proj-fields dt {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.proj-fields dd {
  color: var(--ink-soft);
  margin: 0;
}
.proj-info .proj-credit {
  margin-top: 22px;
  color: #9a9686;
  font-size: 0.76rem;
}
@media (max-width: 860px) {
  .proj-layout {
    grid-template-columns: 1fr;
  }
  .proj-info {
    position: static;
  }
}
