/* Direction « Signature » : noir profond, ivoire, une touche champagne.
   Titres en Instrument Serif (l’italique pour appuyer), texte en Geist, repères en Geist Mono.
   Une seule feuille pour toutes les pages : l’accueil et les pages Demain Solutions, SchematiX, Buildtogether. */
:root {
  --noir: #0A0A0B;
  --noir-2: #0E0E10;
  --panneau: #141416;
  --ivoire: #EDE7DD;
  --sable: #B9B3A9;      /* texte secondaire, paragraphes */
  --pierre: #A8A39B;     /* étiquettes, légendes */
  --or: #C9A96E;         /* la touche champagne, avec parcimonie */
  --or-clair: #ECD9AC;
  --or-fonce: #8C6F3E;
  --trait: rgba(237, 231, 221, .14);
  --bleu: #041a52;       /* le bleu du studio, sur l’ouverture */
  --bleu-nuit: #010b2e;
  --pad: clamp(20px, 4vw, 56px);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .75, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color .3s; }
a:hover { color: var(--or); }
a:focus-visible, summary:focus-visible, .strip:focus-visible { outline: 1px solid var(--or); outline-offset: 4px; }
::selection { background: var(--or); color: var(--noir); }
em { font-style: italic; }
.or { color: var(--or); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; padding: 10px 14px; background: var(--ivoire); color: var(--noir); }
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pierre);
}
.title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 108px);
  line-height: .92;
  letter-spacing: -.02em;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--trait);
}
.lead { font-size: clamp(21px, 2vw, 28px); font-weight: 300; line-height: 1.42; }
.prose p { margin: 18px 0 0; max-width: 34em; color: var(--sable); }
.prose p strong { color: var(--ivoire); font-weight: 500; }

/* Le monogramme QD : le dessin de Quentin, coulé en champagne. */
.qd {
  display: block;
  aspect-ratio: 2235 / 2030;
  background: linear-gradient(135deg, var(--or-clair) 0%, var(--or) 48%, var(--or-fonce) 100%);
  -webkit-mask: url(img/logos/qd.svg) center / contain no-repeat;
  mask: url(img/logos/qd.svg) center / contain no-repeat;
}

/* Apparitions au défilement (seulement si le JavaScript tourne). */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Menu ---------- */
.top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.brand { display: block; width: 50px; text-decoration: none; transition: opacity .3s, transform .5s var(--ease); }
.brand:hover { transform: scale(1.06); }
.top ul { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; font-size: 14px; letter-spacing: .02em; }
.top ul a { text-decoration: none; }
.top ul a[aria-current="page"] { color: var(--or); }
.clock { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pierre); white-space: nowrap; }
.clock time { color: var(--ivoire); font-variant-numeric: tabular-nums; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 0 10px 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " +"; color: var(--or); }
.menu[open] summary::after { content: " –"; }
.menu ul { position: absolute; right: 0; top: 100%; display: flex; flex-direction: column; gap: 0; min-width: 220px; padding: 8px 0; background: var(--noir); border: 1px solid var(--trait); }
.menu ul a { display: block; padding: 12px 20px; font-size: 16px; }

/* ---------- Accueil : ouverture ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(760px, min(100svh, 1000px));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0) 62%, var(--noir) 100%),
    radial-gradient(110% 95% at 78% 30%, #0a2a78 0%, var(--bleu) 46%, var(--bleu-nuit) 100%);
}
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(0deg, transparent 0%, #000 26%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(0deg, transparent 0%, #000 26%);
  mask-composite: intersect;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: zoom 3.6s var(--ease) both; }
.grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .2;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grain 1.1s steps(6) infinite;
}
.hero .top { animation: fade 1.2s ease .1s both; }
.hero-text {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(16px, 3vw, 48px);
  padding-bottom: 150px;
}
.kicker { display: inline-flex; align-items: center; gap: 14px; animation: fade 1.4s ease .2s both; }
.kicker::before { content: ""; width: 44px; height: 1px; background: var(--or); }
.hero h1 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(76px, 12.6vw, 200px);
  line-height: .86;
  text-shadow: 0 2px 40px rgba(1, 11, 46, .5);
  letter-spacing: -.025em;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero h1 .line > span { display: block; animation: rise 1.3s var(--ease) .15s both; }
.hero h1 .line + .line > span { animation-delay: .32s; font-style: italic; padding-left: .9em; }
.hero-sub { display: flex; flex-wrap: wrap; gap: 24px 64px; max-width: 740px; margin-top: 40px; animation: fade 1.6s ease .9s both; }
.hero-sub p { margin: 0; flex: 1 1 260px; }
.hero-sub .lead { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; font-weight: 400; }
.hero-sub .small { font-size: 15px; line-height: 1.65; color: var(--pierre); }
.hero-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-bottom: 28px; }
.hero-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: flex-end; gap: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--pierre); }
.scroll { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--ivoire); text-decoration: none; }
.scroll::after { content: ""; display: block; width: 1px; height: 56px; background: var(--or); animation: scrollline 2.4s ease-in-out infinite; }

/* ---------- Manifeste ---------- */
.manifeste { padding-block: clamp(96px, 12vw, 180px); }
.manifeste-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.manifeste .big { margin: 40px 0 0; max-width: 14em; font-family: var(--serif); font-size: clamp(40px, 5.2vw, 82px); line-height: 1.03; letter-spacing: -.015em; text-wrap: balance; }
.manifeste .big em { color: var(--or); }
.manifeste .sign { display: flex; align-items: center; gap: 18px; margin: 48px 0 0; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--pierre); }
.manifeste .sign .qd { width: 54px; }
.tall-photo { position: relative; margin: 0; overflow: hidden; background: #101014; }
.tall-photo img { width: 100%; height: auto; aspect-ratio: 9 / 15; object-fit: cover; transition: transform 1.8s var(--ease); }
.tall-photo:hover img { transform: scale(1.03); }
.framed-img, .tall-photo img, .p-visual.framed img { outline: 1px solid rgba(201, 169, 110, .9); outline-offset: -14px; }

/* ---------- À propos ---------- */
.apropos { padding-bottom: clamp(96px, 12vw, 180px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; margin-top: 56px; align-items: start; }
.about-photo { margin: 0; }
.about-photo div { overflow: hidden; background: #101014; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; transition: transform 1.6s var(--ease); }
.about-photo:hover img { transform: scale(1.03); }
.about-photo figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .16em; }
.about-intro { margin: 0; max-width: 28em; }
.timeline { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.timeline li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.timeline .when { padding-top: 9px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--or); }
.timeline .what { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.timeline h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.timeline p { margin: 2px 0 0; font-size: 15px; color: var(--pierre); }
.timeline .thumb { width: 64px; height: 64px; flex: none; object-fit: cover; background: var(--ivoire); }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 72px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.numbers li { min-width: 0; padding: 28px 24px 0 0; }
.numbers b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 8vw, 120px); line-height: .9; }
.numbers b em { color: var(--or); }
.numbers .eighty { font-style: italic; color: var(--or); }
.numbers span { display: block; margin-top: 10px; font-size: 14px; color: var(--pierre); }

.micro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; margin-top: clamp(80px, 9vw, 128px); padding-top: clamp(56px, 6vw, 80px); border-top: 1px solid var(--trait); }
.micro h3 { margin: 18px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 60px); line-height: 1; letter-spacing: -.015em; }
.micro p { margin: 20px 0 0; max-width: 30em; color: var(--sable); }
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 600px; justify-self: end; width: 100%; }
.clips figure { margin: 0; min-width: 0; }
.clips video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--panneau); border: 1px solid var(--trait); }
.clips figcaption { margin-top: 12px; font-family: var(--serif); font-size: 24px; line-height: 1.1; }

/* ---------- Paris ---------- */
.paris { position: relative; overflow: hidden; padding-block: clamp(96px, 12vw, 170px); background: var(--noir-2); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.paris-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.paris-photo { position: relative; z-index: 1; margin: 0; }
.paris-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5.6; object-fit: cover; object-position: 50% 35%; }
.paris-photo figcaption { margin-top: 14px; }
.paris-text { position: relative; z-index: 1; }
.paris-text .title { margin-top: 22px; }
.paris-text .lead { margin: 32px 0 0; max-width: 24em; }
.ghost {
  position: absolute;
  z-index: 0;
  right: -.04em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(220px, 34vw, 560px);
  line-height: .8;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 110, .16);
  pointer-events: none;
  user-select: none;
}
.quote { margin: 40px 0 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--or); font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.15; max-width: 18em; }
.quote cite { display: block; margin-top: 16px; font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--pierre); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 48px 0 0; border-top: 1px solid var(--trait); }
.facts div { min-width: 0; padding: 18px 16px 0 0; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--pierre); }
.facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }

/* ---------- Matthieu ---------- */
.duo { padding-bottom: clamp(96px, 12vw, 170px); }
.duo-banner { position: relative; height: clamp(440px, 50vw, 760px); overflow: hidden; background: #08080c; }
.duo-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.duo-banner::before, .duo-banner::after { content: ""; position: absolute; left: 0; right: 0; height: 44px; background: var(--noir); z-index: 1; }
.duo-banner::before { top: 0; }
.duo-banner::after { bottom: 0; }
.duo-banner .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 11, .78) 0%, rgba(10, 10, 11, 0) 46%); }
.duo-name { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 70px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; }
.duo-name h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 8vw, 128px); line-height: .9; letter-spacing: -.02em; }
.duo-name h2 em { color: var(--or); }
.duo-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.duo-grid .lead { margin: 0; max-width: 26em; }
.duo-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo-photos figure { margin: 0; min-width: 0; }
.duo-photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid rgba(201, 169, 110, .9); outline-offset: -10px; }
.duo-photos figure:nth-child(2) { margin-top: 64px; }
.duo-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.duo-steps li { position: relative; min-width: 0; padding: 26px 20px 0 0; }
.duo-steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--or); }
.duo-steps b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
.duo-steps span { display: block; margin-top: 6px; font-size: 14px; color: var(--pierre); }

/* ---------- Entreprises ---------- */
.entreprises { background: var(--noir-2); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding-block: clamp(96px, 12vw, 168px); }
.entreprises .section-head { border-bottom: 0; padding-bottom: 0; }
.entreprises .intro { max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.entreprises .intro p { margin: 0; font-size: 16px; color: var(--sable); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 680px;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid rgba(237, 231, 221, .16);
  text-decoration: none;
  color: var(--ivoire);
  overflow: hidden;
  transition: border-color .6s, background-color .6s;
}
.card:hover { color: var(--ivoire); border-color: var(--or); background-color: var(--panneau); }
.card-top { display: flex; justify-content: space-between; gap: 16px; }
.emblem { display: grid; place-items: center; flex: 1; min-height: 240px; }
.emblem img, .emblem svg { width: auto; height: clamp(150px, 15vw, 220px); transition: transform 1.2s var(--ease); overflow: visible; }
.card:hover .emblem img, .card:hover .emblem svg { transform: scale(1.06); }
.card h3 { margin: 0; line-height: 1; }
.card h3 img { height: clamp(30px, 3vw, 44px); width: auto; }
.card p { margin: 0; max-width: 30em; color: var(--sable); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.tags li { padding: 6px 12px; border: 1px solid rgba(237, 231, 221, .22); }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--trait); font-size: 15px; }
.arrow { display: inline-block; font-size: 24px; color: var(--or); transition: transform .45s var(--ease); }
.card:hover .arrow, .big-link:hover .arrow, .next:hover .arrow { transform: translateX(6px); }

/* Mot-symbole SchematiX (dessin du logo officiel, en ivoire et champagne). */
.sx { display: inline-flex; align-items: baseline; font-family: "Inter", var(--sans); font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--ivoire); white-space: nowrap; }
.sx svg { display: inline-block; width: .72em; height: 1em; overflow: visible; }
.card h3 .sx { font-size: clamp(36px, 3.6vw, 52px); }

/* ---------- Buildtogether ---------- */
.club { padding-block: clamp(80px, 10vw, 140px); border-bottom: 1px solid var(--trait); overflow: hidden; }
.club-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.soon { display: inline-flex; align-items: center; gap: 10px; color: var(--or); animation: pulse 2.4s ease-in-out infinite; }
.soon::before { content: ""; width: 7px; height: 7px; background: var(--or); }
.marquee { margin-top: 36px; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: clamp(60px, 9vw, 140px); line-height: 1.1; white-space: nowrap; }
.marquee-track span { padding-right: .4em; }
.marquee-track i { font-style: normal; color: var(--or); }
.club-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-top: 36px; }
.club-foot p { margin: 0; max-width: 34em; color: var(--sable); }
.club-links { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }

/* Lien appuyé, avec flèche */
.big-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--or); font-size: 18px; text-decoration: none; }

/* ---------- Le week-end ---------- */
.pilot-banner { position: relative; height: clamp(520px, 54vw, 780px); overflow: hidden; background: #101014; }
.pilot-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 32%; }
.pilot-banner::before, .pilot-banner::after { content: ""; position: absolute; left: 0; right: 0; height: 44px; background: var(--noir); z-index: 1; }
.pilot-banner::before { top: 0; }
.pilot-banner::after { bottom: 0; }
.pilot-num {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 64px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(160px, 22vw, 340px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--or);
}
.pilot-card { position: absolute; z-index: 2; left: var(--pad); bottom: 76px; max-width: 480px; padding: 28px 32px; background: var(--noir); }
.pilot-card h2 { margin: 12px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4.4vw, 66px); line-height: 1; }
.pilot-card h2 em { color: var(--or); }
.pilot-card p { margin: 14px 0 0; color: var(--sable); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; padding: 0; list-style: none; border-bottom: 1px solid var(--trait); }
.stats li { min-width: 0; padding: 32px 24px 36px 0; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; }
.stats b small { font-size: 28px; font-style: italic; color: var(--or); }
.stats b sup { font-size: .4em; }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--pierre); }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(96px, 12vw, 180px) 36px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.contact-grid h2 { font-size: clamp(64px, 8.4vw, 128px); }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }
.emblem-panel { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--panneau); outline: 1px solid rgba(201, 169, 110, .9); outline-offset: -14px; }
.p-visual.emblem-panel { overflow: hidden; }
.p-visual.emblem-panel img { width: auto; height: 46%; }
.contact h2 { margin: 32px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(72px, 12.4vw, 190px); line-height: .88; letter-spacing: -.025em; }
.contact h2 em { color: var(--or); }
.dm { display: inline-flex; align-items: center; gap: 18px; margin-top: 52px; padding-bottom: 10px; border-bottom: 1px solid var(--or); font-size: clamp(24px, 2.8vw, 40px); font-weight: 300; text-decoration: none; }
.dm svg { width: .9em; height: .9em; flex: none; color: var(--or); }
.dm .arrow { font-size: 1em; }
.dm:hover .arrow { transform: translate(5px, -5px); }
.dm-note { margin: 18px 0 0; color: var(--pierre); font-size: 15px; }
.elsewhere { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 48px 0 0; padding: 0; list-style: none; font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: clamp(72px, 9vw, 128px); padding-top: 22px; border-top: 1px solid var(--trait); font-size: 11px; }
.foot .qd { width: 34px; }
.foot time { color: var(--ivoire); font-variant-numeric: tabular-nums; }

/* ---------- Pages projet ---------- */
.page-top { border-bottom: 1px solid var(--trait); }
.back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.p-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 120px) clamp(72px, 9vw, 128px); border-bottom: 1px solid var(--trait); }
.p-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.p-hero .crumbs { display: flex; flex-wrap: wrap; gap: 8px 18px; animation: fade 1.2s ease .1s both; }
.p-hero .crumbs a { text-decoration: none; }
.p-logo { margin-top: 44px; animation: fade 1.2s ease .25s both; }
.p-logo img { height: clamp(44px, 5vw, 72px); width: auto; }
.p-logo .sx { font-size: clamp(56px, 6.6vw, 96px); }
.p-hero h1 { margin: 40px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 7.4vw, 116px); line-height: .92; letter-spacing: -.022em; text-wrap: balance; animation: fade 1.4s ease .4s both; }
.p-hero h1 em { color: var(--or); }
.p-hero .lead { margin: 36px 0 0; max-width: 30em; animation: fade 1.4s ease .6s both; }
.p-visual { position: relative; margin: 0; animation: fade 1.6s ease .5s both; }
.p-visual img { width: 100%; height: auto; }
.p-visual.framed img { aspect-ratio: 4 / 5; object-fit: cover; }
.p-visual figcaption { margin-top: 14px; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--trait); }
.meta div { min-width: 0; padding: 20px 20px 0 0; }
.meta dt { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--pierre); }
.meta dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; overflow-wrap: anywhere; }
.meta dd a { text-decoration: none; }

.block { padding-block: clamp(88px, 11vw, 160px); border-bottom: 1px solid var(--trait); }
.block.alt { background: var(--noir-2); }
.block .section-head + * { margin-top: 56px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split .lead { margin: 0; }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--trait); }
.offers > li, .offers > div { min-width: 0; padding: 32px 32px 36px 0; border-bottom: 1px solid var(--trait); }
.offers > * + * { padding-left: 32px; border-left: 1px solid var(--trait); }
.offers { margin: 0; padding: 0; list-style: none; }
.offers .n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--or); }
.offers h3 { margin: 18px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 44px); line-height: 1.02; }
.offers p { margin: 14px 0 0; color: var(--sable); font-size: 16px; }
.offers ul { margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--sable); }
.offers ul li { padding: 8px 0; border-top: 1px solid var(--trait); }
.offers ul li::before { content: "— "; color: var(--or); }

.offers.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offers.two > *:nth-child(odd) { padding-left: 0; border-left: 0; }
.offers.two > *:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--trait); }
.offers blockquote { margin: 16px 0 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.25; color: var(--ivoire); }
.offers .who { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.offers .who img { width: 104px; height: 104px; object-fit: cover; object-position: 50% 25%; }
.note { margin: 28px 0 0; color: var(--pierre); font-size: 15px; }
.engagements { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.engagements li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--trait); }
.engagements li::before { content: "✦"; color: var(--or); }
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.sites a { display: block; text-decoration: none; }
.sites figure { margin: 0; }
.sites .shot { overflow: hidden; border: 1px solid var(--trait); background: var(--panneau); }
.sites img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease); }
.sites a:hover img { transform: scale(1.04); }
.sites figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.sites figcaption b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.sites figcaption span { font-size: 14px; color: var(--pierre); text-align: right; }
.sites .wide { grid-column: span 2; }
.sites .wide img { aspect-ratio: 2.2 / 1; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { min-width: 0; padding: 26px 24px 30px; border: 1px solid var(--trait); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--or); }
.steps h3 { margin: 18px 0 0; font-size: 18px; font-weight: 500; }
.steps p { margin: 8px 0 0; font-size: 15px; color: var(--sable); }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { width: 100%; height: auto; border: 1px solid var(--trait); background: var(--panneau); }
.gallery figcaption { margin-top: 12px; }
.g-6 { grid-column: span 6; }
.g-4 { grid-column: span 4; }
.g-8 { grid-column: span 8; }
.g-12 { grid-column: span 12; }
.paper img { background: #F4F1EA; }

.pull { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.8vw, 58px); line-height: 1.04; letter-spacing: -.015em; max-width: 18em; text-wrap: balance; }
.pull em { color: var(--or); }
.pull-cite { display: block; margin-top: 28px; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta .title { font-size: clamp(48px, 6vw, 92px); }
.cta-links { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

.next { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: clamp(56px, 7vw, 96px); text-decoration: none; }
.next .title { transition: color .4s; }
.next:hover .title { color: var(--or); }
.next .arrow { font-size: clamp(40px, 5vw, 72px); }

/* ---------- Animations ---------- */
@keyframes rise { from { transform: translateY(112%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -2%); } 60% { transform: translate(-2%, -4%); } 80% { transform: translate(4%, 2%); } }
@keyframes scrollline { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
  .about-grid, .micro, .paris-grid, .duo-grid, .split, .p-hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .emblem-panel { max-width: 420px; aspect-ratio: 1 / 1; }
  .manifeste-grid { grid-template-columns: minmax(0, 1fr); }
  .manifeste .tall-photo { max-width: 460px; }
  .about-photo, .paris-photo { max-width: 460px; }
  .p-visual { max-width: 520px; }
  .clips { justify-self: start; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .offers, .offers.two { grid-template-columns: minmax(0, 1fr); }
  .offers > * + *, .offers.two > *:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta div { padding-bottom: 18px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 860px) {
  .top > ul { display: none; }
  .menu { display: block; }
  .clock { display: none; }
  .hero .top { position: absolute; top: 0; left: 0; right: 0; }
  .hero { min-height: 0; }
  .hero { background: linear-gradient(180deg, var(--bleu) 0%, var(--bleu-nuit) 70%, var(--noir) 100%); }
  .hero-photo { position: relative; order: -1; width: 100%; height: min(76svh, 640px); -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 34%); mask-image: linear-gradient(0deg, transparent 0%, #000 34%); }
  .hero-photo img { object-position: 42% 30%; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 11, 46, .55) 0%, rgba(1, 11, 46, 0) 22%); }
  .hero-text { margin-top: calc(-1 * clamp(52px, 15vw, 96px)); padding-top: 0; padding-bottom: 88px; }
  .scroll { display: none; }
  .hero h1 { margin-top: 0; font-size: clamp(64px, 19vw, 120px); }
  .kicker { display: none; }
  .hero-foot .coords { display: none; }
  .brand { width: 42px; }
  .pilot-banner { overflow: visible; height: auto; }
  .pilot-banner img { height: clamp(380px, 90vw, 560px); }
  .pilot-banner::after { bottom: auto; top: calc(clamp(380px, 90vw, 560px) - 44px); }
  .pilot-num { bottom: auto; top: calc(clamp(380px, 90vw, 560px) - 44px - .86em); }
  .pilot-card { position: relative; left: auto; bottom: auto; max-width: none; padding: 32px var(--pad) 8px; }
  .duo-banner { height: auto; overflow: visible; background: none; }
  .duo-banner img { height: clamp(260px, 64vw, 440px); }
  .duo-banner::before, .duo-banner::after { height: 20px; }
  .duo-banner::after { bottom: auto; top: calc(clamp(260px, 64vw, 440px) - 20px); }
  .duo-banner .shade { display: none; }
  .duo-name { position: relative; left: auto; right: auto; bottom: auto; padding: 28px var(--pad) 0; }
  .duo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; border-top: 0; }
  .duo-steps li { border-top: 1px solid var(--trait); }
  .ghost { top: auto; bottom: 0; transform: none; font-size: 46vw; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .sites { grid-template-columns: minmax(0, 1fr); }
  .sites .wide { grid-column: auto; }
  .g-6, .g-4, .g-8, .g-12 { grid-column: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); }
  .timeline .when { padding-top: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats li { padding: 24px 0; border-top: 1px solid var(--trait); }
  .clips figcaption { font-size: 20px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { padding: 14px 0; border-bottom: 1px solid var(--trait); }
    .steps, .steps.three { grid-template-columns: minmax(0, 1fr); }
  .meta { grid-template-columns: minmax(0, 1fr); }
  .dm { font-size: 22px; gap: 12px; }
  .duo-photos figure:nth-child(2) { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
