@charset "UTF-8";
/* ==========================================================================
   LightFactor — feuille de style unique
   Quand la lumière prend un sens
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fontes auto-hébergées (aucun appel réseau externe)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/Archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Jetons
   -------------------------------------------------------------------------- */

:root {
  /* Fond nuit — un noir bleuté, jamais un noir pur */
  --bg: #070a0f;
  --surface: #10151d;
  --well: #04060a;

  /* Encre sur nuit */
  --fg: #f2f5f9;        /* 18.2:1 sur --bg */
  --muted: #9aa5b4;     /*  7.9:1 sur --bg */
  --faint: #77828f;     /*  5.0:1 sur --bg */
  --border: #1e2530;

  /* La bande papier — une seule par page, au plus */
  --paper: #f5f6f8;
  --paper-ink: #0b0f16;
  --paper-muted: #4a5563; /* 7.0:1 sur --paper */
  --paper-line: #dfe3e9;

  /* Le bleu. Beam sur fond sombre, Beam profond sur papier. Pas de troisième. */
  --accent: #5b8cff;
  /* validation only; 6.4:1 on Night */
  --danger: #ff9b8a;      /* 6.3:1 sur --bg */
  --accent-deep: #004cc5; /* 6.7:1 sur --paper */

  /* Fontes */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Échelle typographique */
  --t-display: clamp(2.5rem, 6.4vw, 5.25rem);
  --t-h1: clamp(2.5rem, 5.2vw, 4.25rem);
  --t-h2: clamp(2.5rem, 3.9vw, 3.5rem);
  --t-h3: clamp(1.3125rem, 1.7vw, 1.5rem);
  --t-lead: clamp(1.125rem, 1.45vw, 1.375rem);
  --t-body: clamp(1rem, 1.05vw, 1.125rem);
  --t-small: 0.875rem;
  --t-cap: 0.75rem;

  /* Grille de 8 px */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --gutter: clamp(20px, 4.2vw, 64px);
  --content: 1440px;
  --section-y: clamp(72px, 9vw, 144px);
  --header-h: 76px;

  /* Mouvement : 200 ms au maximum, opacité et transformations 2D seulement */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --fast: 140ms;
  --slow: 200ms;
}

/* --------------------------------------------------------------------------
   3. Réinitialisation
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

[hidden] { display: none !important; }

::selection { background: var(--accent); color: var(--bg); }

/* --------------------------------------------------------------------------
   4. Anneau de focus — visible sur chaque élément interactif
   -------------------------------------------------------------------------- */

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.paper :focus-visible { outline-color: var(--accent-deep); }

.skip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  transform: translateY(-120%);
  background: var(--fg);
  color: var(--bg);
  font-size: var(--t-small);
  font-weight: 550;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  text-decoration: none;
  transition: transform var(--fast) var(--ease);
}

.skip:focus-visible {
  transform: translateY(0);
  outline-offset: -4px;
  outline-color: var(--bg);
}

/* --------------------------------------------------------------------------
   5. Mise en page
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.section--top { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 112px)); }

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

.bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   6. Typographie
   -------------------------------------------------------------------------- */

.display,
.h1,
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

.display { font-size: var(--t-display); }
.h1 { font-size: var(--t-h1); line-height: 1.05; }
.h2 { font-size: var(--t-h2); letter-spacing: -0.015em; line-height: 1.07; }

.h3 {
  font-family: var(--font-ui);
  font-size: var(--t-h3);
  font-weight: 550;
  letter-spacing: -0.005em;
  line-height: 1.25;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: var(--s3);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--plain::before { display: none; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}

.prose p {
  max-width: 62ch;
  color: var(--muted);
  text-wrap: pretty;
}

.prose p + p { margin-top: var(--s3); }

.prose strong { color: var(--fg); font-weight: 550; }

.is-caps { letter-spacing: 0.06em; }

.num { font-variant-numeric: tabular-nums; }

/* Lien courant : souligné discret, pas d'accent gaspillé */
.link {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--faint);
  padding-bottom: 2px;
  transition: border-color var(--fast) var(--ease);
}

.link:hover { border-bottom-color: var(--accent); }

/* --------------------------------------------------------------------------
   7. Appel à l'action
   -------------------------------------------------------------------------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
  padding: 14px 20px 14px 24px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--fg);
  font-size: var(--t-small);
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--slow) var(--ease),
              transform var(--fast) var(--ease);
}

.cta__icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  transition: transform var(--slow) var(--ease);
}

.cta:hover { background: var(--surface); }
.cta:hover .cta__icon { transform: translateX(3px); }
.cta:active { transform: translateY(1px); }

.cta--ghost { border-color: var(--faint); }
.cta--ghost .cta__icon { color: var(--fg); }
.cta--ghost:hover { border-color: var(--fg); }

.paper .cta {
  border-color: var(--accent-deep);
  color: var(--paper-ink);
}
.paper .cta__icon {
  border-color: var(--paper-line);
  background: var(--paper);
  color: var(--accent-deep);
}
.paper .cta:hover { background: var(--paper); }

/* Lien fléché en texte */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--fg);
  font-size: var(--t-small);
  font-weight: 550;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.arrow-link span { border-bottom: 1px solid var(--faint); padding-bottom: 2px; transition: border-color var(--fast) var(--ease); }
.arrow-link svg { transition: transform var(--slow) var(--ease); flex: none; }
.arrow-link:hover span { border-bottom-color: var(--fg); }
.arrow-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   8. En-tête
   -------------------------------------------------------------------------- */

.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transition: opacity var(--slow) var(--ease);
}

.site-header.is-stuck::before { opacity: 1; }

.site-header > .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.brand {
  display: block;
  flex: none;
  color: var(--fg);
  transform-origin: left center;
  transition: transform var(--slow) var(--ease);
}

.site-header.is-stuck .brand { transform: scale(0.88); }

.brand svg { width: 146px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.nav__link:hover { color: var(--fg); border-bottom-color: var(--faint); }

.nav__link[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

.nav__sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--faint);
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}

.lang:hover { color: var(--fg); }

/* Bouton menu — deux traits qui pivotent en croix */
.burger {
  display: none;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 1.5px;
  background: var(--fg);
  transition: transform var(--slow) var(--ease), opacity var(--fast) var(--ease);
}

.burger span:nth-child(1) { top: 20px; }
.burger span:nth-child(2) { top: 27px; }

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Panneau mobile plein écran */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--bg);
  padding: calc(var(--header-h) + 32px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.nav-panel__list { display: flex; flex-direction: column; }

.nav-panel__list a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding-block: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.nav-panel__list a[aria-current="page"] { color: var(--accent); }

.nav-panel__foot {
  margin-top: 40px;
  color: var(--muted);
  font-size: var(--t-small);
}

.nav-panel__foot a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--faint); }

.js .nav-panel__item {
  opacity: 0;
  transform: translateY(14px);
}

.nav-panel.is-open .nav-panel__item {
  opacity: 1;
  transform: none;
  transition: opacity var(--slow) var(--ease) var(--d, 0ms),
              transform var(--slow) var(--ease) var(--d, 0ms);
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  height: clamp(560px, 88svh, 940px);
  overflow: hidden;
  background: var(--well);
}

.hero__stack { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--slow) var(--ease), visibility 0s linear var(--slow);
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--slow) var(--ease), visibility 0s;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Voile ancré au bas, nuit à alpha partiel — jamais une teinte colorée.
   Atteint 0,94 là où le texte se pose : ≥ 13:1 même sur une photo blanche. */
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(7, 10, 15, 0.58) 0%,
    rgba(7, 10, 15, 0.16) 22%,
    rgba(7, 10, 15, 0.30) 48%,
    rgba(7, 10, 15, 0.82) 74%,
    rgba(7, 10, 15, 0.96) 100%
  );
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(32px, 4vw, 56px);
}

.hero__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s5);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 16ch;
  text-wrap: balance;
}

.hero__title em { font-style: italic; }

.hero__sub {
  margin-top: var(--s3);
  max-width: 40ch;
  color: var(--fg);
  font-size: var(--t-small);
  letter-spacing: 0.02em;
}

/* Sélecteur manuel — rien ne défile tout seul */
.hero__switch {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  max-width: 340px;
}

.hero__caption {
  text-align: right;
  font-size: var(--t-cap);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.hero__caption b { display: block; font-weight: 550; }
.hero__caption span { color: var(--muted); }

.hero__dots { display: flex; gap: 8px; }

.hero__dot {
  min-width: 48px;
  min-height: 44px;
  padding: 10px 12px;
  background: rgba(4, 6, 10, 0.72);
  border: 1px solid var(--faint);
  color: var(--fg);
  font-size: var(--t-cap);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease),
              border-color var(--fast) var(--ease);
}

.hero__dot:hover { background: var(--surface); border-color: var(--fg); }

.hero__dot[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

/* --------------------------------------------------------------------------
   10. Bande papier — une seule par page
   -------------------------------------------------------------------------- */

.paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.paper .h2, .paper .h1, .paper .display { color: var(--paper-ink); }
.paper .prose p, .paper .lead { color: var(--paper-muted); }
.paper .eyebrow { color: var(--paper-muted); }
.paper .rule { background: var(--paper-line); }
.paper .link { color: var(--paper-ink); border-bottom-color: var(--paper-muted); }
.paper .link:hover { border-bottom-color: var(--accent-deep); }
.paper .arrow-link { color: var(--paper-ink); }
.paper .arrow-link span { border-bottom-color: var(--paper-muted); }
.paper .arrow-link:hover span { border-bottom-color: var(--accent-deep); }
.paper .accent { color: var(--accent-deep); }
.paper .num-badge { color: var(--paper-muted); border-color: var(--paper-line); }

/* --------------------------------------------------------------------------
   11. Grilles de réalisations
   -------------------------------------------------------------------------- */

.grid-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 4.4vw, 72px) clamp(24px, 2.6vw, 40px);
}

.grid-thumbs {
  display: grid;
  /* Two columns, not three: THE PHOTOGRAPH IS THE PRODUCT, and three columns
     held these at 28.4% of the viewport, under the one-third floor. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 3.4vw, 52px) clamp(24px, 2.6vw, 40px);
}

.work {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.work__frame {
  display: block;
  overflow: hidden;
  background: var(--surface);
  border: 0;
}

.work__frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}

.work--thumb .work__frame { max-width: none; }
.work--thumb .work__frame img { aspect-ratio: 16 / 9; }

.work__link { text-decoration: none; color: inherit; display: block; }
.work__link:hover .work__frame img { transform: scale(1.02); }

.work__type {
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.work__title {
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-wrap: balance;
}

.work--thumb .work__title { font-size: clamp(1.125rem, 1.3vw, 1.25rem); }

.work__facts {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  color: var(--muted);
  font-size: var(--t-small);
}

.work__facts .dot { color: var(--faint); }
.work__facts .yr { font-variant-numeric: tabular-nums; color: var(--faint); }

.work__more {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.work__link:hover .work__more { color: var(--accent); }

/* Réalisation en pleine largeur (accueil) */
.feature {
  display: block;
  text-decoration: none;
  color: inherit;
}

.feature__frame { overflow: hidden; background: var(--surface); }

.feature__frame img {
  width: 100%;
  height: clamp(320px, 52vw, 720px);
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}

.feature:hover .feature__frame img { transform: scale(1.015); }

.feature__meta {
  margin-top: var(--s3);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   12. Barre de filtre
   -------------------------------------------------------------------------- */

.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--faint);
  border-radius: 999px; /* le seul contrôle arrondi du système */
  background: transparent;
  color: var(--fg);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease),
              border-color var(--fast) var(--ease);
}

.chip:hover { background: var(--surface); border-color: var(--fg); }

.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.chip[aria-pressed="true"]:hover { background: oklch(from var(--accent) calc(l + 0.06) c h); border-color: oklch(from var(--accent) calc(l + 0.06) c h); }

.chip .count {
  margin-left: 8px;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
}

.chip[aria-pressed="true"] .count { color: rgba(7, 10, 15, 0.88); }

.filter-shell { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

.filter-status {
  margin-top: var(--s3);
  color: var(--muted);
  font-size: var(--t-small);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   13. Listes documentaires
   -------------------------------------------------------------------------- */

.docs { border-top: 1px solid var(--border); }

.docs li {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr) minmax(0, 1fr) minmax(6rem, 8rem) 4.5rem;
  gap: var(--s3);
  align-items: baseline;
  padding-block: 22px;
  border-bottom: 1px solid var(--border);
}

.docs .d-type {
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.docs .d-title { font-size: 1.0625rem; font-weight: 550; color: var(--fg); }
.docs .d-venue { color: var(--muted); font-size: var(--t-small); }
.docs .d-city { color: var(--muted); }
.d-year { color: var(--faint); font-size: var(--t-small); font-variant-numeric: tabular-nums; text-align: right; }

/* --------------------------------------------------------------------------
   14. Services
   -------------------------------------------------------------------------- */

.svc {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 80px);
  padding-block: clamp(48px, 5.5vw, 88px);
  border-top: 1px solid var(--border);
}

.svc:first-of-type { border-top: 0; padding-top: 0; }

.num-badge {
  display: inline-block;
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  border: 1px solid var(--border);
  padding: 6px 12px;
  margin-bottom: var(--s3);
}

.svc__list li {
  display: flex;
  gap: 18px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  text-wrap: pretty;
}

.svc__list li:first-child { padding-top: 0; }
.svc__list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin-top: 0.85em;
  background: var(--border);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   15. Nouvelles
   -------------------------------------------------------------------------- */

.news { border-top: 1px solid var(--border); }

.news__item {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 80px);
  padding-block: clamp(40px, 4.5vw, 72px);
  border-bottom: 1px solid var(--border);
}

.news__tag {
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.news__note {
  margin-top: var(--s3);
  font-size: var(--t-small);
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 96px);
}

.coords { border-top: 1px solid var(--border); }

.coords > div {
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
}

.coords dt {
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

.coords dd {
  margin: 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 500;
}

.coords a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: border-color var(--fast) var(--ease); }
.coords a:hover { border-bottom-color: var(--accent); }

.field { margin-bottom: var(--s4); }

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--t-small);
  font-weight: 550;
  letter-spacing: 0.03em;
  color: var(--fg);
}

.field .opt { color: var(--faint); font-weight: 400; letter-spacing: 0.02em; }

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--faint); /* 5.1:1 — contraste de composant respecté */
  border-radius: 0;
  color: var(--fg);
  transition: border-color var(--fast) var(--ease);
}

.field textarea { min-height: 168px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

.field input:hover,
.field textarea:hover { border-color: var(--fg); }

.field input:focus-visible,
.field textarea:focus-visible { border-color: var(--accent); outline-offset: 1px; }

.field .hint { margin-top: 8px; font-size: var(--t-small); color: var(--faint); }

.form-note {
  margin-top: var(--s3);
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--t-small);
  text-wrap: pretty;
}

.form-status {
  margin-top: var(--s3);
  color: var(--accent);
  font-size: var(--t-small);
  font-weight: 500;
}

.form-status:empty { margin: 0; }

/* --------------------------------------------------------------------------
   17. Page projet
   -------------------------------------------------------------------------- */

.facts { border-top: 1px solid var(--border); }

.facts > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: var(--s3);
  padding-block: 18px;
  border-bottom: 1px solid var(--border);
}

.facts dt {
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.facts dd { margin: 0; color: var(--fg); font-weight: 500; }
.facts dd .num { color: var(--fg); }

.plate { margin-bottom: clamp(24px, 3vw, 48px); }
.plate:last-child { margin-bottom: 0; }

.plate img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface);
}

.plate figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: var(--t-small);
  letter-spacing: 0.02em;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s5);
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   18. Pied de page
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--well);
  border-top: 1px solid var(--border);
  padding-block: clamp(56px, 6vw, 88px) 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
}

.footer-word {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.footer-word span { color: var(--faint); display: block; font-family: var(--font-ui); font-size: 0.875rem; letter-spacing: 0.02em; letter-spacing: 0.02em; margin-top: 12px; }

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
}

.footer-col__title, .footer-cols h2 {
  font-size: var(--t-cap);
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.footer-cols li + li { margin-top: 2px; }

.footer-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
  font-size: var(--t-small);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.footer-cols a:hover { color: var(--fg); border-bottom-color: var(--faint); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: var(--t-small);
}

.footer-bottom p { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   19. Utilitaires de composition
   -------------------------------------------------------------------------- */

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.split--cta { align-items: end; }

.sec-head { margin-bottom: clamp(32px, 4vw, 64px); }

.work__title--lg { font-size: clamp(1.5rem, 2.6vw, 2.125rem); }

.group-h {
  margin: clamp(40px, 4vw, 64px) 0 clamp(24px, 2.6vw, 40px);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.back-link { margin-bottom: 0; }

.arrow-link--back svg { order: -1; }
.arrow-link--back:hover svg { transform: translateX(-3px); }

/* Bande photographique pleine largeur */
.band-photo { background: var(--bg); }

.band-photo img {
  width: 100%;
  height: clamp(300px, 44vw, 640px);
  object-fit: cover;
}

.band-photo figcaption {
  padding-top: 14px;
  color: var(--faint);
  font-size: var(--t-small);
  letter-spacing: 0.02em;
}

.band-photo .dot { color: var(--faint); }

/* Engagement d'indépendance — sur la bande papier */
.pledge {
  margin-top: var(--s4);
  border-top: 1px solid var(--paper-line);
}

.pledge li {
  display: flex;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--paper-line);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 500;
  color: var(--paper-ink);
  text-wrap: pretty;
}

.pledge li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin-top: 0.85em;
  background: var(--accent-deep);
}

/* Institutions */
.role {
  margin-top: 12px;
  color: var(--faint);
  font-size: var(--t-small);
  letter-spacing: 0.04em;
}

.clients {
  margin-top: var(--s4);
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.clients li { color: var(--muted); font-size: var(--t-small); }

.clients li:not(:last-child)::after {
  content: "·";
  color: var(--border);
  margin-inline: 10px;
}

.clients-note { margin-top: 12px; font-size: var(--t-cap); color: var(--faint); letter-spacing: 0.02em; }

.paper .prose strong { color: var(--paper-ink); }

/* --------------------------------------------------------------------------
   20. Apparition au défilement — opacité + translation, 200 ms
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--slow) var(--ease) var(--d, 0ms),
              transform var(--slow) var(--ease) var(--d, 0ms);
}

/* --------------------------------------------------------------------------
   21. Adaptatif
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .docs li { grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr) minmax(0, 1fr) minmax(6rem, 8rem) 4.5rem; }
  .docs .d-venue { grid-column: 2; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .grid-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 1025px) {
  .nav-panel { display: none !important; }
}

@media (max-width: 860px) {
  /* The scrim's stops are percentages; at 390 the hero shortens and the
     wrapped headline rides up to ~52%, where the desktop ramp is only 0.32
     and slides 1 and 2 have bright glass there. Steepen it for small screens
     rather than lifting the text off --fg. */
  .hero__scrim {
    background: linear-gradient(to bottom,
      rgba(7, 10, 15, 0.58) 0%,
      rgba(7, 10, 15, 0.20) 18%,
      rgba(7, 10, 15, 0.62) 44%,
      rgba(7, 10, 15, 0.92) 70%,
      rgba(7, 10, 15, 0.97) 100%);
  }

  :root { --header-h: 64px; }

  .brand svg { width: 122px; }

  .hero { height: clamp(480px, 76svh, 700px); }
  .hero__bar { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .hero__switch { align-items: flex-start; max-width: none; width: 100%; }
  .hero__caption { text-align: left; }

  .split { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .split > div + div { padding-top: 0 !important; }

  .grid-work { grid-template-columns: minmax(0, 1fr); }
  .svc,
  .news__item { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }

  .facts > div { grid-template-columns: 140px minmax(0, 1fr); }

  .feature__meta { flex-direction: column; align-items: flex-start; gap: var(--s2); }
}

@media (max-width: 620px) {
  .docs li {
    grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr) minmax(0, 1fr) minmax(6rem, 8rem) 4.5rem;
    gap: 4px var(--s2);
    padding-block: 18px;
  }
  .docs .d-type { grid-column: 1 / -1; }
  .docs .d-title { grid-column: 1; }
  .docs .d-venue { grid-column: 1; }
  .docs .d-year { grid-column: 2; grid-row: 2 / span 2; align-self: start; }

  .grid-thumbs { grid-template-columns: minmax(0, 1fr); }
  .work--thumb .work__frame { max-width: 100%; }

  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }

  .nav-panel__list a { font-size: 2.5rem; min-height: 52px; }

  .footer-top { flex-direction: column; gap: var(--s5); }
}

/* --------------------------------------------------------------------------
   22. Mouvement réduit — tout est retiré
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .brand { transform: none !important; }
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .nav-panel__item { opacity: 1 !important; transform: none !important; }
  .work__link:hover .work__frame img,
  .feature:hover .feature__frame img { transform: none; }
}

/* --------------------------------------------------------------------------
   23. Impression
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .nav-panel, .skip, .hero__dots { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Inline validation: the form declares `required`, so it must say which field
   failed and why, next to the field, in a colour that passes on Night. */
.field-error {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--danger, #ff9b8a);
}
[aria-invalid="true"] { border-color: var(--danger, #ff9b8a); }

/* The hero names the type before the title, the same order the cards use. */
.hero__kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

/* Only the card that navigates advertises it. The other twelve declare a
   hover transform that can never fire, which makes the one live link
   invisible as the exception it is. */
.work__frame img { transition: none; }
.work__link .work__frame img { transition: transform 180ms ease; }
.work__link:hover .work__frame img { transform: scale(1.02); }
