/* DEZIGN PRODUCTION — v1 */

:root {
  --bg: #000000;
  --bg-2: #0a0908;
  --text: #f5f1ea;
  --text-dim: #807a72;
  --text-dimmer: #4a463f;
  --accent: #FF4F12;
  --accent-soft: #ff7a45;
  --accent-deep: #c93e0d;
  --line: #1a1815;
  --line-2: #26221e;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #000;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---- Focus visible (accessibility — keyboard nav) ---- */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.cta:focus-visible,
input:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 1px;
}
/* Remove default for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.cta:focus:not(:focus-visible) { outline: none; }

/* ---------- MOTION / REVEAL ON SCROLL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 520ms var(--ease-out),
    transform 520ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- HEADER scroll state ---------- */

.site-header.scrolled {
  padding: 14px 32px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0;
  transition:
    padding 260ms var(--ease-out),
    background 260ms ease,
    backdrop-filter 260ms ease;
}

.site-header.scrolled::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -24px;
  height: 24px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.55), transparent);
}

/* progression de lecture, reprise sur la barre de menu */
.header-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}

.site-header.scrolled .header-progress { opacity: 1; }

.header-progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header {
  transition:
    padding 260ms var(--ease-out),
    background 260ms ease,
    border-color 260ms ease;
}


.site-header.scrolled .brand-sub {
  opacity: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, height 0.3s ease;
}

@media (max-width: 900px) {
  .site-header.scrolled { padding: 12px 20px; }
}

/* ---------- NAV active section ---------- */

.nav-main a.is-active {
  color: var(--accent);
}

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

/* film grain overlay — subtle, atmospheric */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  mix-blend-mode: overlay;
  will-change: transform;
  contain: strict;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* ---------- TYPOGRAPHY ---------- */

.z-mark {
  color: var(--accent);
  font-style: normal;
}

.display {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
}

/* ---------- HEADER ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.brand-logo{display:block;height:30px;width:auto}

.brand-sub {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  font-weight: 500;
  line-height: 1.2;
}

.brand-sub-loc {
  color: var(--text-dimmer);
  letter-spacing: 0.45em;
  margin-top: 2px;
}

.nav-main {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-main a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.25s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-main a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease-out);
}

.nav-main a:hover { color: var(--text); }
.nav-main a:hover::after,
.nav-main a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: auto; height: 44px;
  margin-right: -4px;
  padding: 0 4px 0 12px;
  align-self: center;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 11px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle-label {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 200ms ease;
}

.site-header.nav-open .nav-toggle-label { color: var(--accent); }

.nav-toggle-bars { display: flex; flex-direction: column; gap: 6px; }

.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text);
  transition: transform 260ms var(--ease-out), opacity 200ms linear;
}

.site-header.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-stage { position: absolute; inset: 0; z-index: 0; }

/* atmospheric fonderie background */
.hero-bg {
  position: absolute;
  inset: 0;
  transition: opacity 900ms var(--ease-out);
  background:
    radial-gradient(ellipse 80% 60% at 50% 65%, rgba(80, 25, 5, 0.7) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, #0d0805 0%, #000 100%);
}

/* the forge mouth / central glow */
.hero-glow {
  will-change: opacity;
  transition: opacity 900ms var(--ease-out);
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(72vw, 880px);
  height: min(72vw, 880px);
  background:
    radial-gradient(circle at center,
      rgba(255, 200, 120, 0.95) 0%,
      rgba(255, 120, 40, 0.75) 8%,
      rgba(255, 79, 18, 0.55) 18%,
      rgba(255, 79, 18, 0.25) 32%,
      rgba(255, 79, 18, 0.08) 50%,
      transparent 70%);
  filter: blur(50px);
  animation: glowPulse 7s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.82; }
  35%      { opacity: 1; }
  65%      { opacity: 0.9; }
}

/* secondary off-center flicker for liveliness */
.hero-flicker {
  will-change: opacity;
  position: absolute;
  top: 45%;
  left: 38%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 160, 80, 0.4) 0%, transparent 65%);
  filter: blur(40px);
  animation: flicker 4.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes flicker {
  0%, 100% { opacity: 0.35; }
  20% { opacity: 0.7; }
  40% { opacity: 0.45; }
  60% { opacity: 0.85; }
  80% { opacity: 0.5; }
}

/* the hero video (user drops their Hephaistos file here) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
  pointer-events: none;
}

/* the poster is painted by the element itself, so fade it in as soon as it decodes */
.hero-video[poster] { opacity: 1; }

/* readability scrim — without it the white title breaks up over bright frames */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 48% at 50% 46%, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.32) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 26%, transparent 62%, rgba(0,0,0,0.72) 100%);
}

/* with footage behind, the painted forge would fight the image: pull it back */
.hero.has-video .hero-bg { opacity: 0.55; }
.hero.has-video .hero-glow { opacity: 0.34; animation-name: none; }
.hero.has-video .hero-flicker { opacity: 0.2; animation-name: none; }
.hero.has-video .hero-embers { opacity: 0.5; }

/* embers floating up */
.hero-embers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ember {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf2 0%, #ffc48a 34%, rgba(255,79,18,0) 100%);
  box-shadow: 0 0 var(--glow, 6px) rgba(255,140,55,0.7);
  bottom: -10px;
  opacity: 0;
  animation: emberRise linear infinite;
}

@keyframes emberRise {
  0%   { transform: translate(0, 0);                opacity: 0; }
  6%   { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translate(var(--drift, 30px), -110vh); opacity: 0; }
}

.ember-hot {
  background: radial-gradient(circle, #ffffff 0%, #ffd9a0 30%, #ff7a2a 58%, rgba(255,60,10,0) 100%);
  box-shadow: 0 0 var(--glow, 14px) rgba(255,110,30,0.85), 0 0 calc(var(--glow, 14px) * 2) rgba(255,70,15,0.4);
}

/* vignette to fade edges into black */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(ellipse 100% 80% at center, transparent 35%, rgba(0,0,0,0.55) 75%, #000 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  width: min(62vw, 620px);
  margin: 0 auto;
}

.hero-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.86;
  text-shadow: 0 4px 60px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  gap: 0.02em;
}

.hero-line { display: block; width: 100%; container-type: inline-size; }

.fit-line {
  display: inline-block;
  width: max-content;
  white-space: nowrap;
  /* --fit-size is measured by useFitLines; the calc fallback is deterministic
     from the line's character count, so an unfitted line still fits its box */
  font-size: var(--fit-size, calc(100cqw / (var(--chars, 10) * var(--k, 0.78))));
}

.hero-title .word-forge {
  color: var(--accent);
  position: relative;
}

.hero-title .word-light { font-weight: 400; }

.hero-title .word-forge::after {
  content: '';
  position: absolute;
  inset: -6% -3%;
  background: radial-gradient(ellipse, rgba(255, 79, 18, 0.38) 0%, transparent 70%);
  filter: blur(24px);
  z-index: -1;
}

.hero-ctas {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  font-family: 'Montserrat', system-ui, sans-serif;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-btn-primary {
  background: #0a0908;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.hero-btn-primary { transition: background 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hero-btn-primary:hover { background: var(--accent); color: #0a0908; }
}

.hero-btn-ghost {
  border: 1px solid rgba(245, 241, 234, 0.25);
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-loc {
  position: absolute;
  bottom: 36px;
  left: 32px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
}

.hero-loc-place { color: var(--text-dimmer); letter-spacing: 0.45em; }

.hero-scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  animation: scrollBob 2.6s ease-in-out infinite;
}

.hero-scroll-cue .line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--text-dim));
}

@keyframes scrollBob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 160px 64px;
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  position: relative;
}

.section-head {
  margin-bottom: 96px;
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* filet seul (Z retiré le 18/10) : centré sur la hauteur du titre */
.section-head > .section-eyebrow { align-self: center; }
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-eyebrow .z-mark {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0;
}

.section-eyebrow .num {
  color: var(--text-dim);
  letter-spacing: 0.15em;
}

.eyebrow-z { display: block; height: 15px; width: auto; }

/* mobile : le z se rapproche du titre pour former un seul bloc avec lui
   (bords gauches déjà à fleur, la distance de 24px le faisait flotter) */
@media (max-width: 760px) {
  .section-head { gap: 13px; }
  .eyebrow-z { height: 17px; }
  .section-eyebrow::after { width: 22px; }
}

.section-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 1.02;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  max-width: 1100px;
  flex: 1 1 100%;
}

/* ---------- APPROCHE / PILIERS ---------- */

/* Subgrid keeps the four rows aligned across all three columns,
   whatever the length of each description. */
.piliers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 0;
  row-gap: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

/* stagger lives in CSS so a React re-render cannot cancel it */
.piliers .pilier,
.methode-steps .methode-step {
  transition:
    opacity 520ms var(--ease-out),
    transform 520ms var(--ease-out),
    background 200ms ease;
}

.piliers.reveal:not(.is-visible) .pilier,
.methode-steps.reveal:not(.is-visible) .methode-step {
  opacity: 0;
  transform: translateY(28px);
}

.piliers.is-visible .pilier:nth-child(2),
.methode-steps.is-visible .methode-step:nth-child(2) { transition-delay: 80ms; }
.piliers.is-visible .pilier:nth-child(3),
.methode-steps.is-visible .methode-step:nth-child(3) { transition-delay: 160ms; }
.methode-steps.is-visible .methode-step:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .piliers .pilier,
  .methode-steps .methode-step {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .methode-meta::after { animation: none !important; display: none; }
}

.pilier {
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  background: var(--bg);
  padding: 56px 44px 64px;
  position: relative;
  cursor: pointer;
  transition: box-shadow 200ms ease;
}

.pilier.is-open { box-shadow: inset 0 0 0 1px var(--accent); }
.pilier:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.pilier-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

/* titre à droite, le + prend la gauche */
.pilier-foot .pilier-title { order: 2; text-align: right; }
.pilier-foot .pilier-plus { order: 1; }

.pilier-plus {
  flex: none;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-dimmer);
  transition: color 200ms ease;
}

.pilier.is-open .pilier-plus { color: var(--accent); }

.pilier-title { transition: color 200ms ease; }

@media (hover: hover) and (pointer: fine) {
  .pilier:hover .pilier-title { color: var(--accent); }
  .pilier:hover .pilier-plus { color: var(--accent); }
}

/* one-line reveal, same grammar as Méthode */
.pilier-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-out);
}

.pilier-panel.is-open { grid-template-rows: 1fr; }
.pilier-panel-inner { overflow: hidden; min-height: 0; }

.pilier-panel-content {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 18px 26px;
  background: var(--bg-2);
  border-left: 2px solid var(--accent);
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
}

.pilier-panel.is-open .pilier-panel-content {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

.pilier-panel-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  flex-shrink: 0;
}

.pilier-panel-why {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .pilier-panel-content { gap: 16px; padding: 16px 20px; }
}

.pilier + .pilier { border-left: 1px solid var(--line); }

@media (hover: hover) and (pointer: fine) {
  .pilier:hover { box-shadow: inset 0 0 0 1px var(--accent); }
  .pilier:hover .pilier-tag { color: var(--accent); }
}

.pilier-head {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-right: 26px;
}

.pilier-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  transition: color 200ms ease;
}

.pilier-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  align-self: end;
}

.pilier-desc {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  max-width: 320px;
}

.pilier-head { margin-bottom: 28px; }
.pilier-title { margin-top: 0; align-self: baseline; }

.pilier-listwrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}

.pilier-listwrap > .pilier-list {
  overflow: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
}

.pilier.is-open .pilier-listwrap { grid-template-rows: 1fr; }
.pilier.is-open .pilier-listwrap > .pilier-list { opacity: 1; transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .pilier-listwrap, .pilier-listwrap > .pilier-list, .pilier-plus { transition: none; }
}

.pilier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 28px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.05em;
}

.pilier-list li {
  padding-left: 22px;
  position: relative;
}

.pilier-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  /* braise : les tirets respirent, décalés les uns des autres */
  animation: pilierEmber 4200ms ease-in-out var(--ember-delay, 0ms) infinite;
  will-change: opacity, text-shadow;
}

.pilier-list li:nth-child(2)::before { --ember-delay: 700ms; }
.pilier-list li:nth-child(3)::before { --ember-delay: 1500ms; }
.pilier-list li:nth-child(4)::before { --ember-delay: 2200ms; }

@keyframes pilierEmber {
  0%, 100% { opacity: 0.85; text-shadow: 0 0 5px rgba(255, 79, 18, 0.35), 0 0 11px rgba(255, 79, 18, 0.15) }
  50% { opacity: 1; text-shadow: 0 0 8px rgba(255, 79, 18, 0.7), 0 0 18px rgba(255, 79, 18, 0.35) }
}

@media (prefers-reduced-motion: reduce) {
  .pilier-list li::before { animation: none; opacity: 1; text-shadow: none }
}

.approche-link {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
  align-self: flex-start;
}

.approche-link-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  transition: width 200ms var(--ease-out);
}

.approche-link-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.approche-link-arrow {
  font-size: 15px;
  color: var(--accent);
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .approche-link:hover .approche-link-line { width: 64px; }
  .approche-link:hover .approche-link-text { color: var(--accent); }
  .approche-link:hover .approche-link-arrow { transform: translateX(6px); }
}

/* ---------- TRAVAUX / PROJECTS ---------- */

.travaux .section-head { margin-bottom: 48px; }

/* rail header — hint + arrows */
.rail-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

.rail-hint {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  font-weight: 600;
}

.rail-nav { display: flex; gap: 8px; }

.rail-btn {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.rail-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-2);
}

.rail-btn:disabled {
  color: var(--text-dimmer);
  cursor: default;
  opacity: 0.4;
}

/* the rail itself */
.projects-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  /* fade the right edge so it reads as "more to come" */
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 60px), transparent 100%);
}

.projects-rail::-webkit-scrollbar { display: none; }

.projects-rail .project {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

.projects-rail .project image-slot { pointer-events: auto; }

/* progress track under the rail */
.rail-progress {
  margin-top: 20px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.rail-progress-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: margin-left 0.15s linear, width 0.25s ease;
}

@media (max-width: 900px) {
  .projects-rail .project { flex: 0 0 calc((100% - 24px) / 2); }
  .projects-rail { gap: 20px; }
}

.project {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #0c0a08;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.35s ease;
}

.project:hover .project-media {
  border-color: var(--accent);
}

.project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.project:hover .project-media::after { opacity: 1; }

.project image-slot {
  width: 100%;
  height: 100%;
  display: block;
  --is-bg: #0c0a08;
  --is-fg: #4a463f;
  --is-border: transparent;
  --is-accent: var(--accent);
}

/* état « en cours de production » — seulement quand aucune image n'est déposée */
.project-wip { display: none; }

.project-media:not(:has(image-slot[data-filled])) .project-wip {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.project-wip-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid color-mix(in oklab, var(--accent) 34%, transparent);
  box-shadow: inset 0 0 18px color-mix(in oklab, var(--accent) 7%, transparent);
}

.project-wip-frame::before,
.project-wip-frame::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid var(--accent);
}

.project-wip-frame::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.project-wip-frame::after { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

.project-wip-ticker {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  overflow: hidden;
  padding: 12px 0 11px;
  border-top: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  background: rgba(10, 9, 8, 0.72);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.project-wip-track {
  display: flex;
  width: max-content;
  animation: wipScroll 38s linear infinite;
  will-change: transform;
}

@keyframes wipScroll { to { transform: translateX(-50%); } }

/* la banderole ne s'arrête jamais, même carte survolée ou ouverte */

.project-wip-label {
  flex: none;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 0;
  background: linear-gradient(100deg, #7a2708 0%, #ff5a1f 18%, #ff8a3d 34%, #ffa855 46%, #ff8a3d 60%, #ff5a1f 76%, #7a2708 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wipHolo 6s linear infinite;
}

.project-wip-label i { font-style: normal; padding: 0 0.9em; opacity: 0.55; }

@keyframes wipHolo { to { background-position: 260% 0; } }

@media (prefers-reduced-motion: reduce) {
  .project-wip-track, .project-wip-label { animation: none; }
}

@media (max-width: 520px) {
  .project-wip-label { font-size: 11px; letter-spacing: 0.14em; }
  .project-wip-ticker { padding: 10px 0 9px; }
  .project-wip-frame { inset: 9px; }
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* le libellé métier, encadré, tient la place du titre */
.project-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  padding: 7px 10px 6px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.project:hover .project-title {
  background: var(--accent);
  color: #0a0908;
  border-color: var(--accent);
}

.project-year {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  font-weight: 500;
}

/* Foot — note about case studies coming */
.travaux-more {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 14px 22px 14px 18px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.travaux-more-sign {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
}

.travaux-more-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .travaux-more:hover { border-color: var(--accent); background: var(--bg-2); }
}

.projects-rail[data-grid] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
}

.projects-rail[data-grid] .project { flex: initial; }

/* the rail fits its 3 cards on desktop: dead arrows and a full progress bar
   would be noise, so they only exist where the rail can actually scroll */
[data-idle] { display: none; }

@media (min-width: 901px) {
  .travaux .rail-bar, .travaux .travaux-progress { display: none; }
  /* 3 cards fill the rail exactly: nothing is cut, so no edge fade */
  .projects-rail { mask-image: none; -webkit-mask-image: none; }
}

/* grid mode never scrolls */
.projects-rail[data-grid] { mask-image: none; -webkit-mask-image: none; }

@media (max-width: 900px) {
  .projects-rail[data-grid] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 560px) {
  .projects-rail .project { flex: 0 0 72%; }
  .projects-rail { gap: 16px; }
  .rail-hint { font-size: 9px; letter-spacing: 0.2em; }
}

@media (max-width: 560px) {
  .projects-rail[data-grid] { grid-template-columns: 1fr; }
}

.travaux-lede { margin: -24px 0 44px; }

.travaux-lede-key { color: var(--text); font-weight: 800; }

.travaux-lede-open {
  margin: 40px 0 0;
  animation: ledeIn 420ms var(--ease-out) both;
}

@keyframes ledeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) { .travaux-lede-open { animation: none; } }

.travaux-status {
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.travaux-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.travaux-status-main { color: var(--text); }

.travaux-status-rule {
  flex: 1 1 auto;
  max-width: 120px;
  height: 1px;
  background: var(--line-2);
}

.travaux-status-note { color: var(--text-dimmer); }

.travaux-status-key { color: var(--accent); }

@media (max-width: 900px) {
  .travaux-status {
    margin: 0 0 26px;
    gap: 10px;
    letter-spacing: 0.16em;
    font-size: 9.5px;
  }
  .travaux-status-rule { max-width: 100%; }
}

.travaux-foot {
  margin-top: 56px;
  padding-top: 0;
  border-top: 0;
}

.travaux-foot-legacy {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.travaux-foot-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-top: 11px;
  flex-shrink: 0;
}

.travaux-foot p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
}

.travaux-foot a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s ease;
}

.travaux-foot a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .projects-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- AUTEUR — portrait + écriture ---------- */

.section-auteur { padding-bottom: 180px; }

.auteur-lede {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(24px, 2.9vw, 42px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  margin-bottom: 72px;
  max-width: 1100px;
  text-wrap: pretty;
}

.auteur-lede-dim {
  color: var(--text-dim);
  font-weight: 600;
}

.auteur-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.4fr;
  gap: 64px;
  align-items: start;
}

/* LEFT — portrait + identity card */

.auteur-portrait {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.auteur-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #0c0a08;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.auteur-photo:hover { border-color: rgba(255, 79, 18, 0.5); }

.auteur-photo::before,
.auteur-photo::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  z-index: 3;
  pointer-events: none;
  transition: width 0.4s ease, height 0.4s ease;
}

.auteur-photo::before {
  top: 14px; left: 14px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.auteur-photo::after {
  bottom: 14px; right: 14px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .auteur-photo:hover::before,
  .auteur-photo:hover::after { width: 44px; height: 44px; }
}

.auteur-photo image-slot {
  width: 100%;
  height: 100%;
  display: block;
  --is-bg: #0c0a08;
  --is-fg: #4a463f;
  --is-border: transparent;
  --is-accent: var(--accent);
}

.auteur-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 29%;
}

.auteur-photo-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  padding: 5px 8px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-transform: uppercase;
}

/* identity card — fiche d'atelier */
.auteur-id-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.auteur-id-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.auteur-id-row dt {
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  font-weight: 700;
}

.auteur-id-row dd {
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.02em;
  margin: 0;
}

.auteur-id-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
}

.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 79, 18, 0.18);
  animation: dotLive 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotLive {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 79, 18, 0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 79, 18, 0.04); }
}

/* RIGHT — writing */

.auteur-writing {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 8px;
}

.auteur-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.auteur-body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.auteur-body p strong {
  color: var(--text);
  font-weight: 600;
}

.auteur-body p em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.auteur-quote {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--text);
  padding: 4px 0 4px 32px;
  border-left: 2px solid var(--accent);
  max-width: 540px;
  position: relative;
}

.auteur-quote-mark {
  position: absolute;
  left: 18px;
  top: -28px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}

.auteur-signature {
  display: grid;
  grid-template-columns: 32px auto 1fr;
  column-gap: 16px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 540px;
}

.auteur-sig-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.auteur-sig-name {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.auteur-sig-role {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  text-transform: uppercase;
  text-align: right;
  font-weight: 500;
}

@media (max-width: 900px) {
  .auteur-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .auteur-portrait { max-width: 300px; }
  .auteur-writing { gap: 24px; padding-top: 0; }
}

/* ---------- SECTEURS ---------- */

.secteurs .section-head { margin-bottom: 40px; }

.atelier-lede,
.travaux-lede,
.secteurs-lede,
.methode-lede {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.005em;
  color: var(--text-dim);
  text-transform: none;
  max-width: 26ch;
  margin: -24px 0 44px;
  text-wrap: pretty;
}

/* desktop : le sous-titre a toute la largeur, il ne casse plus en lignes courtes */
@media (min-width: 901px) {
  .atelier-lede,
  .travaux-lede,
  .secteurs-lede,
  .methode-lede { max-width: 900px; }
}
.atelier-lede .atelier-lede-key { color: var(--text); font-weight: 800; }

/* surlignage marqueur — orange plein, texte noir */
.atelier-lede-brand,
.atelier-lede .atelier-lede-brand,
.atelier-lede-brand *,
.claim-key {
  color: #0a0908;
  font-weight: 900;
  background: var(--accent);
  padding: 0.04em 0.16em 0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-decoration: none;
}
.atelier-lede .atelier-lede-key { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .atelier-lede .atelier-lede-key:hover { color: var(--accent); }
}

.secteurs-lede { margin: -24px 0 40px; }

.secteurs-lede-dim { color: var(--text-dim); font-weight: 600; }

.secteurs-rail {
  display: none;
}

/* Cover Flow — 3 cartes lisibles, centre en avant, voisines floutees */
.wheel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.wheel-count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dimmer);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.wheel-count strong { color: var(--accent); font-weight: 500; font-size: 15px; }
.wheel-count-sep { color: var(--line-2); }

.wheel-frame { position: relative; }

.wheel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 19px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.wheel-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-2);
}

.wheel-arrow-l { left: 0; }
.wheel-arrow-r { right: 0; }

.wheel-stage {
  position: relative;
  height: 372px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.wheel-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* the two vertical lines that frame the centre slot */
.wheel-guide {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 1px;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--line) 22%, var(--line) 78%, transparent);
  pointer-events: none;
}

.wheel-guide-l { left: calc(50% - 168px); }
.wheel-guide-r { left: calc(50% + 168px); }

.wheel-tile {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 268px;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  display: grid;
  place-items: center;
  padding: 26px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  will-change: transform, opacity, filter;
  transition:
    transform 280ms var(--ease-in-out),
    opacity 240ms ease,
    filter 240ms ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.wheel-tile.is-center {
  background: var(--bg-2);
  border-color: rgba(255, 79, 18, 0.55);
}

.wheel-tile.is-center:hover { border-color: var(--accent); }
.wheel-tile.is-open { border-color: var(--accent); }
.wheel-tile.is-center .secteur-num,
.wheel-tile.is-center .secteur-plus { color: var(--accent); }

@media (max-width: 980px) {
  .wheel-stage { height: 340px; }
  .wheel-tile { width: 240px; padding: 24px 24px 26px; }
  .wheel-guide-l { left: calc(50% - 150px); }
  .wheel-guide-r { left: calc(50% + 150px); }
  .wheel-tile .secteur-name { font-size: max(11px, min(20px, calc(105cqw / (var(--nl, 8) * 0.82)))); }
}

@media (max-width: 600px) {
  .wheel-stage { height: 280px; }
  .wheel-tile { width: 192px; padding: 20px 20px 22px; }
  .wheel-guide-l { left: calc(50% - 118px); }
  .wheel-guide-r { left: calc(50% + 118px); }
  .wheel-arrow { width: 46px; height: 46px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .wheel-tile { transition: none; }
}

.secteur-tile {
  flex: 0 0 208px;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding: 22px 22px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: 'Montserrat', system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.secteur-tile:hover { background: var(--bg-2); border-color: rgba(255, 79, 18, 0.45); }
.secteur-tile.is-open { background: var(--bg-2); border-color: var(--accent); }

.secteur-num {
  position: absolute;
  top: 20px; left: 22px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dimmer);
  transition: color 0.3s ease;
}

.wheel-tile .secteur-num { top: 24px; left: 26px; }
.wheel-tile .secteur-plus { top: 20px; right: 24px; }

/* type scales with the tile, but long names wrap over two lines instead of
   shrinking — keeps every word at a comparable size on the wheel.
   cqw resolves against the container's CONTENT box, hence the high coefficient. */
.wheel-tile .secteur-name {
  font-size: max(11px, min(26px, calc(105cqw / (var(--nl, 8) * 0.82))));
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: manual;
  color: var(--text);
  transition: color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .wheel-tile:hover .secteur-name { color: var(--accent); }
}

@media (max-width: 600px) {
  .wheel-tile .secteur-num { top: 18px; left: 18px; }
  .wheel-tile .secteur-plus { top: 14px; right: 16px; }
}

.secteur-tile:hover .secteur-num,
.secteur-tile.is-open .secteur-num { color: var(--accent); }

.secteur-plus {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-dimmer);
  transition: color 0.3s ease;
}

.secteur-tile:hover .secteur-plus,
.secteur-tile.is-open .secteur-plus { color: var(--accent); }

.secteur-body { display: flex; flex-direction: column; gap: 8px; }

.secteur-name {
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
}

.secteur-sub {
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 500;
}

/* the unfolding banner */
.secteur-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-out);
}

.secteur-panel.is-open { grid-template-rows: 1fr; }
.secteur-panel-inner { overflow: hidden; min-height: 0; }
.secteur-panel-content { margin-top: 20px; }

.secteur-panel-content {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1.3fr;
  gap: 48px;
  padding: 40px 44px 42px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}

.secteur-panel.is-open .secteur-panel-content {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

.secteur-panel-head { display: flex; flex-direction: column; gap: 12px; }

.secteur-panel-eyebrow {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  font-weight: 700;
}

.secteur-panel-title {
  color: var(--accent);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1;
}

.secteur-metiers {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 6px;
}

.secteur-metiers li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

.secteur-metiers li::before {
  content: '•';
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.45;
}

.secteur-metiers .secteur-metiers-more {
  color: var(--text-dimmer);
  letter-spacing: 0.2em;
  padding-left: 18px;
}

.secteur-metiers .secteur-metiers-more::before { display: none; }

.secteur-besoins {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-self: center;
}

.secteur-besoins li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
}

.secteur-besoin-label {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.secteur-besoin-label::after {
  content: ' : ';
  color: var(--text-dimmer);
  font-weight: 400;
}

.secteur-besoin-items { color: var(--text-dim); }

.secteur-besoins li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--accent);
}

.secteur-besoins .secteur-more {
  color: var(--text-dimmer);
  font-size: 20px;
  letter-spacing: 0.2em;
  line-height: 1;
  padding-top: 2px;
}

.secteur-besoins .secteur-more::before { content: ''; }

.secteur-idees {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.secteur-idees-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  padding-top: 4px;
  white-space: nowrap;
}

.secteur-idees-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}

.secteur-idee {
  position: relative;
  padding-left: 34px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
}

.secteur-idee-n {
  position: absolute;
  left: 0;
  top: 0.18em;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

@media (max-width: 900px) {
  .secteur-idees { grid-template-columns: 1fr; gap: 16px; }
  .secteur-idees-list { grid-template-columns: 1fr; gap: 16px; }
}

.secteur-panel-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.secteur-panel-foot p {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 560px;
}

.secteur-panel-foot .dot-live { align-self: center; }

.secteur-panel-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  transition: color 200ms ease;
}

.secteur-panel-cta span { color: inherit; }

@media (max-width: 900px) {
  .secteur-panel-cta {
    white-space: normal;
    letter-spacing: 0.12em;
    line-height: 1.6;
    max-width: 30ch;
  }
}

@media (hover: hover) and (pointer: fine) {
  .secteur-panel-cta:hover { color: var(--accent); }
}

.secteur-panel-cta span { transition: transform 200ms var(--ease-out); display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  .secteur-panel-cta:hover span { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .secteur-panel { transition: none; }
  .secteur-panel-content { animation: none; }
}

@media (max-width: 900px) {
  .secteur-panel-content { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px 34px; }
}

@media (max-width: 560px) {
  .secteur-tile { flex: 0 0 168px; padding: 18px 18px 20px; }
  .secteur-name { font-size: 18px; }
  .secteur-num { top: 17px; left: 18px; }
  .secteur-plus { top: 13px; right: 16px; }
  .secteurs-lede { margin-bottom: 40px; }

  /* échelle de lede unifiée sur mobile */
  .atelier-lede, .secteurs-lede, .auteur-lede, .travaux-lede, .methode-lede {
    font-size: clamp(21px, 5.4vw, 26px);
    line-height: 1.42;
    letter-spacing: 0;
  }
  .section-head { margin-bottom: 44px; }
  .travaux .section-head { margin-bottom: 36px; }
  .secteurs .section-head { margin-bottom: 32px; }
  .atelier-lede { margin: 0 0 40px; }
  .travaux-lede { margin: -16px 0 40px; }
  .secteurs-lede { margin-bottom: 40px; }
  .auteur-lede { margin-bottom: 48px; }
}

/* secteurs : lien de relance sous la roue — même principe que le lien Approche */
.secteurs-ask { margin-top: 40px; }

/* ---------- MÉTHODE ---------- */

.methode-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.methode-step {
  grid-row: span 3;
  display: grid;
  grid-template-rows: subgrid;
  gap: 12px;
  padding: 26px 26px 30px;
  position: relative;
}

.methode-step + .methode-step { border-left: 1px solid var(--line); }

.methode-title { transition: color 200ms ease; }

.methode-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.methode-num {
  font-family: 'Montserrat', 'Fira Sans', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0;
}

.methode-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.1;
}

.methode-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .methode-step { padding: 22px 20px 24px; }
  .methode-title { font-size: 18px; }
  .methode-desc { font-size: 13px; }
}

@media (max-width: 760px) {
  .section.methode { padding-top: 58px; padding-bottom: 58px; }
  .methode .section-head { margin-bottom: 20px; }
  .methode-lede { margin: 0 0 26px; }
  .methode-steps { grid-template-columns: 1fr; grid-template-rows: none; }
  .methode-step {
    grid-row: auto;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 34px 1fr;
    grid-template-areas: "num title" "num desc";
    column-gap: 14px;
    row-gap: 3px;
    align-items: center;
    padding: 13px 16px 14px;
  }
  .methode-top { grid-area: num; gap: 0; margin: 0 0 0 -4px; justify-content: center; }
  .methode-title { grid-area: title; font-size: 15px; }
  .methode-desc { grid-area: desc; font-size: 12.5px; line-height: 1.45; margin-top: 0; }
  .methode-num { font-size: 24px; }
  .methode-step + .methode-step { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- CONTACT ---------- */

.contact { text-align: left; }

.contact-lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 72px;
}

/* la phrase tient sur une seule ligne dès qu'il y a la place : la taille suit la
   largeur pour qu'elle ne casse jamais en deux sur desktop */
@media (min-width: 901px) {
  .contact-lede {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(16px, calc((100vw - 190px) / 47), 26px);
  }
}

.contact-ctas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  margin-bottom: 22px;
}

.cta {
  font-family: 'Montserrat', system-ui, sans-serif;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 44px 44px 40px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  gap: 24px;
  min-height: 168px;
}

/* Appel : plaque noire, inversion au survol */
.cta-primary { background: #0a0908; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cta-secondary { background: var(--bg); color: var(--text); }

.cta-primary .cta-eyebrow { color: var(--text); opacity: 0.6; }
.cta-primary .cta-arrow { color: var(--accent); }

@media (hover: hover) and (pointer: fine) {
  .cta-primary:hover { background: var(--accent); color: #0a0908; }
  .cta-primary:hover .cta-eyebrow { color: #0a0908; opacity: 0.7; }
  .cta-primary:hover .cta-arrow { color: #0a0908; }
}

.cta-secondary:hover { background: var(--bg-2); color: var(--accent); }
.cta-secondary:hover .z-mark { color: #fff; }
.cta-secondary:hover .cta-arrow { color: var(--accent); }

.cta-label {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cta-eyebrow {
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 500;
}

.cta-text {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1;
  letter-spacing: 0.005em;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.cta-primary .cta-text { text-transform: uppercase; }
/* l'adresse passe à la ligne au @, jamais au milieu d'un mot */
.cta-secondary .cta-text { text-transform: none; overflow-wrap: normal; font-size: clamp(18px, 4.8vw, 36px); }

.cta-arrow {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover .cta-arrow { transform: translateX(8px); }
}

.cta-primary .z-mark { color: #fff; }

.dzn-mark {
  color: #0a0908;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: var(--accent);
  padding: 0.04em 0.16em 0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.contact-foot {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ---------- PRESS FEEDBACK ---------- */

.hero-btn,
.rail-btn,
.wheel-arrow,
.cta,
.btn {
  transition-property: transform, background, color, border-color, opacity;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}

.hero-btn:active,
.rail-btn:active:not(:disabled),
.wheel-arrow:active,
.cta:active,
.btn:active { transform: scale(0.97); }

.wheel-arrow:active { transform: translateY(-50%) scale(0.94); }

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 32px 48px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 100px;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.footer-brand {
  display: block;
  width: auto;
  height: 22px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent); }

.footer-right {
  display: flex;
  gap: 32px;
  align-items: center;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .site-header {
    padding: 14px max(20px, env(safe-area-inset-right)) 14px max(20px, env(safe-area-inset-left));
    padding-top: calc(14px + env(safe-area-inset-top));
  }
  .site-header.scrolled {
    padding: 10px max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
    padding-top: calc(10px + env(safe-area-inset-top));
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .brand-logo { height: 26px; }
  .nav-toggle { display: flex; }
  .nav-main {
    position: fixed;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: calc(76px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-left)) 18px;
    background: #080808;
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
    z-index: -1;
  }
  .site-header.nav-open .nav-main { transform: translateY(0); }
  .nav-main a {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    min-height: 54px;
    padding: 0 0 0 16px;
    display: flex;
    align-items: center;
    color: var(--text);
    border-top: 1px solid var(--line);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-main a::after {
    left: 0; right: auto; top: 50%; bottom: auto;
    width: 2px; height: 18px;
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
  }
  .nav-main a.is-active { color: var(--accent); }
  .nav-main a.is-active::after { transform: translateY(-50%) scaleY(1); }
  .nav-main a:last-child { color: var(--accent); }

  /* animations allégées sur mobile : on garde les braises (transform seul, GPU),
     on coupe le flicker (grand calque repeint) */
  .hero-embers .ember:nth-child(n+23) { display: none; }
  .hero-flicker { display: none; }
  body::before { opacity: 0.03; }

  /* entrée décalée des liens du menu */
  .nav-main a {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  }
  .site-header.nav-open .nav-main a { opacity: 1; transform: translateY(0); }
  .site-header.nav-open .nav-main a:nth-child(1) { transition-delay: 60ms; }
  .site-header.nav-open .nav-main a:nth-child(2) { transition-delay: 90ms; }
  .site-header.nav-open .nav-main a:nth-child(3) { transition-delay: 120ms; }
  .site-header.nav-open .nav-main a:nth-child(4) { transition-delay: 150ms; }
  .site-header.nav-open .nav-main a:nth-child(5) { transition-delay: 180ms; }
  .site-header.nav-open .nav-main a:nth-child(6) { transition-delay: 210ms; }

  /* retour tactile : transform seul, aucun repaint */
  .hero-btn:active, .cta:active, .nav-toggle:active { transform: scale(0.97); }
  .nav-main a:active { background: rgba(255, 255, 255, 0.04); }
  .hero-btn, .cta { transition: transform 140ms var(--ease-out); }

  .hero-loc { left: max(20px, env(safe-area-inset-left)); bottom: calc(32px + env(safe-area-inset-bottom)); letter-spacing: 0.3em; gap: 5px; }
  .hero-scroll-cue { bottom: calc(22px + env(safe-area-inset-bottom)); }
  .section { padding: 84px max(24px, env(safe-area-inset-left)); }
  .section-head { margin-bottom: 44px; }
  .section-auteur { padding-bottom: 92px; }
  .contact-lede { margin-bottom: 44px; }
  .contact-ctas { margin-bottom: 18px; }
  .piliers { grid-template-columns: 1fr; grid-template-rows: none; }
  .pilier { grid-row: auto; display: flex; flex-direction: column; gap: 0; }
  .pilier + .pilier { border-left: none; border-top: 1px solid var(--line); }
  .contact-ctas { grid-template-columns: minmax(0, 1fr); }
  .cta { padding: 32px 28px; min-height: 140px; }
  .site-footer { padding: 28px max(24px, env(safe-area-inset-left)) calc(28px + env(safe-area-inset-bottom)); flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px 20px; }
  .footer-right { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
  .footer-links a { min-height: 32px; display: inline-flex; align-items: center; }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero-embers { display: none; }
  .nav-main a { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 520px) {
  .pilier { padding: 40px 28px; min-height: auto; }
  .pilier-title { font-size: 36px; }
  .site-header {
    padding: 12px max(14px, env(safe-area-inset-right)) 12px max(14px, env(safe-area-inset-left));
    padding-top: calc(12px + env(safe-area-inset-top));
  }
  .brand-logo { height: 24px; }
  .nav-main { padding-top: calc(72px + env(safe-area-inset-top)); }
  .hero-ctas { flex-direction: column; align-items: stretch; padding: 0 8px; }
  .hero-content { width: min(84vw, 420px); padding: 0 12px; }
  .hero-title { width: 90%; margin: 0 auto; }
  .hero-btn { min-height: 56px; }
}

/* ---------- RÉSEAUX ---------- */

.socials { display: flex; align-items: center; gap: 0; }

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--accent);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.social svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: currentColor;
  opacity: 1;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  a.social:hover svg { transform: scale(1.1); }
}

a.social:active svg { transform: scale(0.92); }

.hero-socials { position: absolute; bottom: 28px; right: 16px; z-index: 10; }
.hero-socials .social { width: 42px; height: 42px; }
.hero-socials svg { width: 23px; height: 23px; }

.contact-socials { margin: 0 auto 40px; justify-content: center; }

/* ---------- AUTEUR : citation sous le portrait ---------- */

.auteur-citation {
  display: flex;
  margin: 0;
}
.auteur-citation .incrust {
  max-width: none;
  width: 100%;
  background: none;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: none;
  font-size: clamp(16px, 4.2vw, 21px);
  line-height: 1.4;
  padding: 12px 0 0 24px;
}
.auteur-citation .incrust-q { left: 0; top: 6px; font-size: 1.9em; }

/* ---------- PILIERS : phrase de clôture ---------- */

.piliers-outro {
  margin-top: 40px;
  display: flex;
}

/* incrustation : citation incrustée, comme un sous-titre grayé sur l'image */
.incrust {
  position: relative;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: var(--text);
  max-width: 34ch;
  text-wrap: pretty;
  padding: 14px 20px 13px 46px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}

.incrust-q {
  position: absolute;
  left: 17px;
  top: 4px;
  font-style: normal;
  font-weight: 900;
  font-size: 2.2em;
  line-height: 1;
  color: var(--accent);
  text-shadow: none;
}

/* ---------- SECTEURS : texte + créations ---------- */

.secteur-texte { display: flex; flex-direction: column; gap: 10px; }

.secteur-texte p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  max-width: 48ch;
  text-wrap: pretty;
}

.secteur-texte p + p { color: var(--text-dim); }

.secteur-creations {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1.3fr;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.secteur-creations-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}

.secteur-creations .secteur-besoins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }

@media (max-width: 900px) {
  .secteur-creations { grid-template-columns: 1fr; gap: 14px; padding-top: 22px; }
  .secteur-creations .secteur-besoins { grid-template-columns: 1fr; }
  .secteur-texte p { font-size: 14.5px; }
}

/* ---------- AUTEUR / CONTACT : accroches ---------- */

.auteur-claim {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(17px, 5.6vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin-bottom: 40px;
  white-space: nowrap;
}

.claim-key { font-weight: 900; }

.contact-claim {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(17px, 5.6vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin-bottom: 18px;
  white-space: nowrap;
}

.lede-key { color: var(--text); font-weight: 800; }

/* ---------- FOOTER : identité ---------- */

.footer-identity { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }

.footer-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-place {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

@media (max-width: 900px) {
  .footer-identity { flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
  .footer-brand { margin: 0 auto 2px; }
}

@media (max-width: 520px) {
  .section { padding: 76px max(20px, env(safe-area-inset-left)); }
  .hero-socials { right: max(10px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); }
  .contact-socials { margin-bottom: 30px; }
  .piliers-outro { max-width: none; }
}

/* numéro retiré des piliers : la description prend le haut de la carte */
.pilier-desc { padding-top: 4px; }
