/* ============================================================
   FRENCH PLANS — France Architects SARL
   Concept: "From first sketch to finished build"
   Papier crème / encre graphite / bleu cote (blueprint)
   ============================================================ */

/* ---------- Fonts (self-hosted, latin subsets) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-italic-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F6F2EA;
  --paper-deep: #EFE9DB;
  --ink: #201F1C;
  --ink-soft: #4A4842;
  --blue: #2B4C9B;
  --terra: #C4674A;
  --terra-deep: #A34D31;
  --blue-soft: rgba(43, 76, 155, 0.09);
  --line: rgba(32, 31, 28, 0.22);
  --line-faint: rgba(32, 31, 28, 0.1);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Source Serif 4', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --measure: 62ch;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 420;
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
a { color: inherit; }
a:hover { color: var(--blue); }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 1px;
}
::selection { background: var(--blue); color: var(--paper); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
}
.skip-link:focus { left: 0.5rem; color: var(--paper); }

/* ---------- Mono labels / cartouches ---------- */
.cartouche {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.cartouche::after {
  content: '';
  flex: 0 0 3.5rem;
  height: 1px;
  background: var(--blue);
  opacity: 0.55;
}
.mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.fr-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.fr-label .en {
  color: var(--ink-soft);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.04em;
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-nav.nav-solid {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line-faint);
}
.site-nav.nav-hidden { transform: translateY(-100%); }
@media (max-width: 767.98px), (prefers-reduced-motion: reduce) {
  /* sans choréographie : nav toujours lisible */
  .site-nav {
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: var(--line-faint);
  }
}
.brand {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-decoration: none;
  white-space: nowrap;
}
.brand em {
  font-style: normal;
  color: var(--blue);
}
.site-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.site-nav ul a {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.4rem 0;
}
.nav-cta {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper) !important;
  background: var(--blue);
  padding: 0.62rem 1.1rem;
  border: 1px solid var(--blue);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--ink); border-color: var(--ink); }
@media (max-width: 900px) {
  .site-nav ul { display: none; }
}

/* ---------- HERO V2 : "From sketch to reality" en 3 actes ---------- */
.hero-scrub { position: relative; }
.hero-pin {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-dims {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-dims line {
  stroke: var(--blue);
  stroke-width: 1.5;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  padding: 5.2rem var(--gutter) 2.2rem;
  pointer-events: none;
  color: var(--ink);
}
.hero-phase {
  position: absolute;
  top: 5.4rem;
  left: var(--gutter);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
}
.hp-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  padding: 0.35rem 0.6rem;
  align-self: flex-start;
}
.hp-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  padding: 0.3rem 0.6rem;
  align-self: flex-start;
}
.concept-tag {
  position: absolute;
  bottom: 2.2rem;
  right: var(--gutter);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  padding: 0.3rem 0.55rem;
}
.hero-final-title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 15em;
  margin: 0 0 0.5rem;
  color: #fff;
  text-shadow: 0 1px 26px rgba(0, 0, 0, 0.5);
}
.hero-final {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 11vh;
  opacity: 0;
  pointer-events: none;
}
.hero-final.is-live { pointer-events: auto; }
.hero-baseline {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.3;
  max-width: 30em;
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.5);
}
.hero-mobile-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0.6rem 0 0;
}

/* ---------- Section preuve sous le hero ---------- */
.proof {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.proof-item { margin: 0; }
.proof-item figcaption {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.7rem;
}
@media (max-width: 800px) {
  .proof-grid { grid-template-columns: 1fr; }
}
.hero-rail {
  position: absolute;
  right: calc(var(--gutter) * 0.45);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.rail-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  writing-mode: vertical-rl;
  transition: color 0.3s;
}
.rail-label.active { color: var(--blue); font-weight: 600; }
.rail-track {
  position: relative;
  width: 1px;
  height: 11vh;
  background: var(--line);
}
.rail-fill {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: var(--gutter);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Hero mobile / reduced-motion / no-JS : croquis, titre, CTA */
.hero-mobile { display: none; }
.hero-mobile {
  padding: 6.5rem var(--gutter) 1.2rem;
}
.hero-mobile img {
  width: 100%;
  border: 1px solid var(--line);
  background: #FDFCF9;
}
.hero-mobile-title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2rem, 7.5vw, 2.9rem);
  line-height: 1.12;
  margin: 1.3rem 0 1.5rem;
}

/* Fallback comparateur. CSS pur pour mobile et reduced-motion
   (zéro layout shift), .no-scrub pour les échecs JS/chargement. */
.hero-fallback { display: none; }
.no-scrub .hero-mobile { display: block; }
.no-scrub .hero-fallback {
  display: block;
  padding: 2rem var(--gutter) 0;
  background: var(--paper);
}
.no-scrub .hero-pin { display: none; }
.no-scrub .hero-fallback .ba-slider { max-width: 900px; margin: 0 auto; }
@media (max-width: 767.98px), (prefers-reduced-motion: reduce) {
  .hero-pin { display: none; }
  .hero-mobile { display: block; }
  .hero-fallback {
    display: block;
    padding: 2rem var(--gutter) 0;
    background: var(--paper);
  }
  .hero-fallback .ba-slider { max-width: 900px; margin: 0 auto; }
}

/* ---------- Intro (après le pin) ---------- */
.intro {
  padding: clamp(4rem, 9vw, 7.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  position: relative;
}
.intro-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.intro h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 380;
  margin-bottom: 0.4em;
}
.intro h1 em {
  font-style: italic;
  color: var(--blue);
}
.intro-aside p {
  max-width: 36ch;
  color: var(--ink-soft);
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: transparent; color: var(--blue); border-color: var(--blue); }
.link-arrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
}
@media (max-width: 800px) {
  .intro-grid { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  position: relative;
  padding: 1.1rem var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-rule {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.trust-rule-top { top: 0; }
.trust-rule-bottom { bottom: 0; }
.trust-item { display: inline-block; }
.trust-bar::-webkit-scrollbar { display: none; }
.trust-bar p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .trust-bar p { white-space: normal; line-height: 2; }
}
.trust-bar span { color: var(--blue); padding: 0 0.45rem; }

/* ---------- Sections communes ---------- */
.section {
  padding: clamp(4rem, 9vw, 7.5rem) var(--gutter);
}
.section-inner { max-width: 1200px; margin: 0 auto; }
.section h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  max-width: 18em;
}
.section-intro {
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- What we do ---------- */
.wwd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 3rem;
}
.wwd-cell {
  padding: 2rem 1.8rem 2.4rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.wwd-cell:last-child { border-right: 0; }
.wwd-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  margin-bottom: 1.2rem;
}
.wwd-cell h3 { font-size: 1.45rem; }
.wwd-cell p { color: var(--ink-soft); font-size: 0.98rem; }
.wwd-terms {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.wwd-terms li {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  background: var(--blue-soft);
  color: var(--blue);
}
.wwd-figure {
  margin: 0;
  border-top: 1px solid var(--line);
}
.wwd-figure img { width: 100%; }
.wwd-figure figcaption {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.6rem 1.8rem;
  border-top: 1px solid var(--line-faint);
}
@media (max-width: 900px) {
  .wwd-grid { grid-template-columns: 1fr; }
  .wwd-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .wwd-cell:last-child { border-bottom: 0; }
}

/* ---------- Before/After slider ---------- */
.ba-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.ba-slider img {
  width: 100%;
  height: auto;
  pointer-events: none;
}
.ba-slider picture { display: block; }
.ba-after picture { height: 100%; }
.ba-after {
  position: absolute;
  inset: 0;
  /* l'état futur se révèle à droite de la ligne de coupe */
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
}
.ba-after img { height: 100%; width: 100%; object-fit: cover; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--blue);
}
.ba-grip {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  box-shadow: 0 1px 10px rgba(32, 31, 28, 0.25);
  cursor: ew-resize;
}
.ba-tag {
  position: absolute;
  bottom: 0.7rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(32, 31, 28, 0.62);
  color: #fff;
  padding: 0.32rem 0.6rem;
  pointer-events: none;
}
.ba-tag-before { left: 0.7rem; }
.ba-tag-after { right: 0.7rem; }
@media (max-width: 640px) {
  /* évite le chevauchement des deux tags sur petits écrans */
  .ba-tag-before { top: 0.7rem; bottom: auto; }
}

/* ---------- Gallery ---------- */
.gallery-list {
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
  margin-top: 3rem;
}
.project {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}
.project:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.project:nth-child(even) .project-media { order: 2; }
.project:nth-child(even) .project-meta { order: 1; text-align: right; }
.project:nth-child(even) .project-services { justify-content: flex-end; }
.project-meta .idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.project-meta h3 {
  font-size: 1.6rem;
  font-weight: 400;
}
.project-meta p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.project-services {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.project-services li + li::before {
  content: '·';
  padding: 0 0.5rem;
  color: var(--line);
}
@media (max-width: 800px) {
  .project, .project:nth-child(even) .project-meta { grid-template-columns: 1fr; text-align: left; }
  .project:nth-child(even) .project-media { order: 0; }
  .project:nth-child(even) .project-meta { order: 1; text-align: left; }
  .project:nth-child(even) .project-services { justify-content: flex-start; }
}

/* ---------- Process ---------- */
.process { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-strip {
  margin: 0 0 2.5rem;
  opacity: 0.85;
}
.process-strip img { width: 100%; }
.process-steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 1.35rem;
  left: 2.5rem;
  right: 2.5rem;
  border-top: 1px dashed var(--blue);
  opacity: 0.5;
}
.process-step { padding: 0 1.2rem 0 0; position: relative; }
.process-step .num {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--paper-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  margin-bottom: 1.1rem;
}
.process-step h3 { font-size: 1.18rem; }
.process-step p { font-size: 0.92rem; color: var(--ink-soft); }
.process-step .mono-note {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
@media (max-width: 767.98px) {
  .process-steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .process-steps::before {
    top: 1.5rem;
    bottom: 1.5rem;
    left: 1.35rem;
    right: auto;
    border-top: 0;
    border-left: 1px dashed var(--blue);
  }
  .process-step { padding-left: 4rem; }
  .process-step .num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Services & fees ---------- */
.fees-wrap { margin-top: 3rem; display: grid; gap: 3.5rem; }
.fees-table-wrap { overflow-x: auto; }
table.fees {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  min-width: 560px;
}
table.fees caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0 0 0.8rem;
}
table.fees th, table.fees td {
  text-align: left;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line-faint);
  vertical-align: top;
}
table.fees thead th {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}
table.fees td.fee {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--blue);
}
table.fees .svc { font-weight: 500; }
table.fees .fr {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
/* Tarifs en cartes empilées sur petit écran : lisible sans
   défilement horizontal */
@media (max-width: 640px) {
  .fees-table-wrap { overflow-x: visible; }
  table.fees { min-width: 0; border: 0; display: block; }
  table.fees tbody { display: block; }
  table.fees tr {
    display: block;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 1.1rem 1.2rem 1.2rem;
    margin-bottom: 0.9rem;
  }
  table.fees th, table.fees td {
    display: block;
    padding: 0;
    border-bottom: 0;
  }
  table.fees th.svc { font-size: 1.05rem; margin-bottom: 0.35rem; }
  table.fees td { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.5rem; }
  table.fees td.fee {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    white-space: normal;
    margin-bottom: 0;
  }
}

.fees-note {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}
.commercial {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper-deep);
  align-items: center;
}
.commercial h3 { font-size: 1.5rem; }
.commercial p { color: var(--ink-soft); font-size: 0.98rem; }
.commercial figure { margin: 0; border: 1px solid var(--line); background: #fff; }
.commercial figcaption {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.5rem 0.8rem;
  border-top: 1px solid var(--line-faint);
}
@media (max-width: 800px) {
  .commercial { grid-template-columns: 1fr; }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 3rem;
}
.team-card {
  padding: 1.8rem 1.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-card:last-child { border-right: 0; }
.team-avatar {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
  position: relative;
}
.team-avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px dashed var(--line);
  border-radius: 50%;
}
.team-card h3 { font-size: 1.12rem; margin-bottom: 0.15em; }
.team-card .role {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.4em;
}
.team-card .cred {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.team-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 1.6rem;
  max-width: 70ch;
}
@media (max-width: 640px) {
  .team-card { border-right: 0; }
}

/* ---------- Guides teaser ---------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.guide-card {
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem 2rem;
  position: relative;
  background: var(--paper);
  transition: border-color 0.2s;
}
.guide-card:hover { border-color: var(--blue); }
.guide-card .tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 0.25rem 0.55rem;
  position: absolute;
  top: -0.7rem;
  left: 1.4rem;
}
.guide-card h3 { font-size: 1.3rem; margin-top: 0.4rem; }
.guide-card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 800px) {
  .guides-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact .cartouche { color: #8FA6DC; }
.contact .cartouche::after { background: #8FA6DC; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contact h2 { color: #fff; }
.contact-email {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 242, 234, 0.35);
  transition: color 0.2s, border-color 0.2s;
  overflow-wrap: anywhere;
}
.contact-email:hover { color: #8FA6DC; border-color: #8FA6DC; }
.contact-side p { color: rgba(246, 242, 234, 0.78); font-size: 0.98rem; }
.france-map { margin: 2.2rem 0 0; max-width: 300px; }
.france-map svg { width: 100%; height: auto; display: block; }

.contact-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.4rem;
}
.field { display: grid; gap: 0.35rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.75);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--paper);
  background: rgba(246, 242, 234, 0.06);
  border: 1px solid rgba(246, 242, 234, 0.28);
  padding: 0.75rem 0.9rem;
  border-radius: 0;
  width: 100%;
}
.field select { appearance: none; cursor: pointer; }
.field select option { color: var(--ink); background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid #8FA6DC;
  outline-offset: 1px;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.contact-form .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  justify-self: start;
}
.contact-form .btn:hover { background: #8FA6DC; border-color: #8FA6DC; color: var(--ink); }
.form-hint {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: rgba(246, 242, 234, 0.55);
  margin: 0;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(246, 242, 234, 0.65);
  border-top: 1px solid rgba(246, 242, 234, 0.14);
  padding: 2.5rem var(--gutter) 3rem;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2rem;
}
.site-footer p { margin: 0 0 0.5em; }
.footer-legal {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  line-height: 1.9;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 242, 234, 0.8);
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { color: #8FA6DC; }
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Révélation au scroll (IntersectionObserver) ----------
   Volontairement PAS gaté derrière .js ou .gsap : le contenu caché
   est rendu visible par le noscript (sans JS) et par le filet de
   sécurité JS (IO cassé). Une animation n'est jamais une condition
   d'affichage. */
.reveal {
  clip-path: inset(0 0 0 0);
}
.fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade--left { transform: translateX(-40px); }
.fade--right { transform: translateX(40px); }
.fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { transition: none; }
}

/* ---------- Motifs cote / dimension lines ---------- */
.dim-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 2.6rem 0 0;
}
.dim-line::before, .dim-line::after {
  content: '';
  flex: 1;
  border-top: 1px dashed rgba(43, 76, 155, 0.55);
  position: relative;
}

/* ============================================================
   V2 — Choréographie scroll (GSAP desktop, CSS ailleurs)
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Cercle SVG injecté qui se dessine autour des repères What we do */
.wwd-num { position: relative; }
.wwd-num svg {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  transform: rotate(-90deg);
  pointer-events: none;
}
.wwd-num svg circle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 100;
}

/* Lisibilité du rail et des labels de repères sur photo (acte 3) */
.rail-label {
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  padding: 0.3rem 0.1rem;
}
.hm-label {
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  padding: 0.3rem 0.5rem;
}
.hero-final .btn { pointer-events: inherit; }

/* Repère de process allumé au passage du centre */
.process-step .num {
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.process-step .num.lit {
  background: var(--blue);
  color: #fff;
}

/* Process horizontal piné (la classe .proc-h n'est posée par le JS
   que si ScrollTrigger est chargé ET la piste dépasse la largeur ;
   sinon la grille verticale par défaut reste en place) */
@media (min-width: 768px) {
  .proc-h .process-track { position: relative; overflow: hidden; }
  .proc-h .process-steps {
    --trace: 0;
    display: flex;
    width: max-content;
    position: relative;
  }
  .proc-h .process-steps::before {
    left: 2.5rem;
    right: 2.5rem;
  }
  .proc-h .process-steps::after {
    content: '';
    position: absolute;
    top: calc(1.35rem - 1px);
    left: 2.5rem;
    right: 2.5rem;
    height: 2px;
    background: var(--blue);
    transform: scaleX(var(--trace));
    transform-origin: left;
  }
  .proc-h .process-step {
    flex: 0 0 clamp(300px, 30vw, 430px);
    padding-right: 3.5rem;
  }
}

/* Mobile : la ligne verticale du process se trace au scroll
   (CSS scroll-driven, enhancement progressif sans GSAP) */
@media (max-width: 767.98px) {
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .process-steps::before {
        transform-origin: top;
        animation: fp-trace linear both;
        animation-timeline: view();
        animation-range: entry 15% cover 65%;
      }
    }
  }
}
@keyframes fp-trace {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Sections sous la ligne de flottaison */
.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

@media print {
  .site-nav, .hero-pin, .contact-form { display: none; }
}


/* ============================================================
   V5 — Multi-pages, i18n, chaleur
   ============================================================ */

/* Bascule de langue */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1.2rem;
}
.lang-btn {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: none;
  border: 0;
  padding: 0.3rem 0.15rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.lang-btn.is-active { color: var(--blue); }
.lang-sep { color: var(--line); font-family: var(--mono); font-size: 0.72rem; }

/* Nav : état actif souligné + point terracotta */
.site-nav ul a { position: relative; }
.site-nav ul a.active {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.25rem;
}
.site-nav ul a.active::after {
  content: '';
  position: absolute;
  right: -0.65rem;
  top: 0.45rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
}
@media (max-width: 900px) {
  .lang-toggle { margin-left: auto; }
}

/* En-tête de page intérieure */
.page-head {
  padding: clamp(7rem, 12vw, 10rem) var(--gutter) clamp(2rem, 4vw, 3rem);
}
.page-head .section-inner { max-width: 1200px; margin: 0 auto; }
.page-head h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 380;
  max-width: 18em;
}
.pg-num {
  color: var(--terra-deep);
  font-weight: 600;
}
.pg-num::after { content: ' —'; color: var(--blue); }

/* Marquee vocabulaire officiel */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  background: var(--paper-deep);
}
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: fp-marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--blue);
  padding-right: 2rem;
}
@keyframes fp-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Teasers projets (index) */
.tease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: 2.6rem;
}
.tease-card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
}
.tease-card img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.tease-card:hover img { transform: scale(1.04); }
.tease-label {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  right: 0.8rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(32, 31, 28, 0.68);
  padding: 0.45rem 0.6rem;
}
.section-cta { margin-top: 2.2rem; }
@media (max-width: 800px) {
  .tease-grid { grid-template-columns: 1fr; }
}

/* Planches et badges (terracotta) */
.plate {
  margin: 0;
  border: 1px solid var(--line);
  background: #FDFCF9;
  position: relative;
}
.plate img { width: 100%; display: block; }
.badge {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--terra-deep);
  padding: 0.3rem 0.55rem;
}
.plate .badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
}
.ba-tag.badge { background: var(--terra-deep); }
.plate-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 640px) {
  .plate-duo { grid-template-columns: 1fr; }
}

/* Chapitres projets */
.chapter { border-top: 1px solid var(--line-faint); }
.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}
.chapter:nth-of-type(even) .chapter-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.chapter:nth-of-type(even) .chapter-media { order: 2; }
.chapter:nth-of-type(even) .chapter-meta { order: 1; text-align: right; }
.chapter-meta .idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.chapter-meta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; }
.chapter-meta p { color: var(--ink-soft); font-size: 0.96rem; }
.services-line {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 1rem;
}
@media (max-width: 800px) {
  .chapter-grid, .chapter:nth-of-type(even) .chapter-grid { grid-template-columns: 1fr; }
  .chapter:nth-of-type(even) .chapter-media { order: 0; }
  .chapter:nth-of-type(even) .chapter-meta { order: 1; text-align: left; }
}

/* Chapitres croquis : fond rosé + lavis bleu pâle */
.chapter-sketch { background: #F5EFE6; }
.chapter-sketch .chapter-media { position: relative; }
.chapter-sketch .wash::before {
  content: '';
  position: absolute;
  inset: -6% -4%;
  background: radial-gradient(ellipse at 50% 45%, rgba(43, 76, 155, 0.06), transparent 70%);
  pointer-events: none;
}

/* Voile chaud sur les photos, levé au hover / à l'entrée */
.warm img { filter: sepia(8%); transition: filter 0.6s ease; }
.warm:hover img, .warm.is-visible img { filter: none; }

/* Indication drag */
.drag-hint {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0.5rem 0 0;
}
figcaption .drag-hint { float: right; }

/* Bande CTA */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
}
.cta-band .section-inner { max-width: 1200px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.cta-band p { color: rgba(246, 242, 234, 0.8); max-width: 55ch; }
.cta-band .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  margin-top: 0.8rem;
}
.cta-band .btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* FAQ */
.faq-list { margin-top: 2.5rem; max-width: 70ch; }
.faq {
  border-top: 1px solid var(--line);
  padding: 0.4rem 0;
}
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 420;
  padding: 0.8rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  color: var(--blue);
}
.faq[open] summary::after { content: '−'; }
.faq p { color: var(--ink-soft); font-size: 0.98rem; padding-bottom: 0.9rem; margin: 0; }

/* Titres de tableaux (services) */
.table-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-top: 2.5rem;
}

/* Contact clair (fond crème) */
.contact-email-light {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.contact-email-light:hover { color: var(--blue); border-color: var(--blue); }
.contact-cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-form-light .field label { color: var(--ink-soft); }
.contact-form-light .field input,
.contact-form-light .field select,
.contact-form-light .field textarea {
  color: var(--ink);
  background: #FDFCF9;
  border: 1px solid var(--line);
}
.contact-form-light .field input:focus,
.contact-form-light .field select:focus,
.contact-form-light .field textarea:focus { outline: 2px solid var(--blue); }
.contact-form-light .field select option { color: var(--ink); }
.contact-form-light .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 800px) {
  .contact-cols { grid-template-columns: 1fr; }
}

/* Carte de France (practice) */
.map-section { background: var(--paper-deep); border-top: 1px solid var(--line); }
.map-wrap { max-width: 560px; margin: 2.5rem auto 0; }
.france-map svg { width: 100%; height: auto; display: block; }
.fr-outline {
  fill: #EFE9DB;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map-cote {
  stroke: var(--blue);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.map-marker circle {
  fill: var(--paper);
  stroke: var(--blue);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.map-marker text {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  fill: var(--blue);
  text-anchor: middle;
}
.map-caption {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
  padding-top: 1.2rem;
}


/* ============================================================
   V5.1 — Menu mobile plein écran (≤ 900px)
   ============================================================ */
.nav-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 120;
  flex: 0 0 auto;
}
.nb-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.nb-bar:nth-child(1) { top: 17px; }
.nb-bar:nth-child(2) { bottom: 17px; }
.nav-burger[aria-expanded="true"] .nb-bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nb-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: 6.5rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.open { opacity: 1; transform: none; }
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-menu ul a {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 8vw, 3rem);
  line-height: 1.25;
  text-decoration: none;
  padding: 0.35rem 0;
  min-height: 44px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.open ul li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-menu.open ul li:nth-child(2) a { transition-delay: 0.11s; }
.mobile-menu.open ul li:nth-child(3) a { transition-delay: 0.17s; }
.mobile-menu.open ul li:nth-child(4) a { transition-delay: 0.23s; }
.mobile-menu.open ul a { opacity: 1; transform: none; }
.lang-toggle-mobile { margin: 0; }
.lang-toggle-mobile .lang-btn {
  font-size: 1rem;
  min-width: 44px;
  min-height: 44px;
}
.mobile-menu .nav-cta {
  align-self: flex-start;
  padding: 1rem 1.6rem;
}
.mobile-menu[hidden] { display: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-burger { display: block; margin-left: auto; }
  .site-nav .lang-toggle { display: none; }
  .site-nav { background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom-color: var(--line-faint); }
}
@media (max-width: 640px) {
  .site-nav > .nav-cta { display: none; }
}
@media (min-width: 900.02px) {
  .mobile-menu { display: none; }
}
