/* CP Studio · version sombre (28/10/2026), d'après les épingles Pinterest de Pierre (n° 8 en base,
   mot géant derrière le sujet 1 / 19, verre dépoli 18, prix 14). Titres en Mona Sans très grasse et large,
   un mot en Instrument Serif italique laiton par titre. Tout le site prend la couleur de l'accroche : le bleu nuit
   du ciel et du Mont-Blanc, photos comprises (demande de Pierre, 28/10). Versions précédentes :
   _source/versions/. Règles : _source/DESIGN.md */

/* CP Studio Sans = Mona Sans (GitHub, SIL OFL) réduite aux caractères latins, graisses 400 à 800, largeurs 100 à 125 % ;
   renommée comme l'exige l'OFL pour une version modifiée (nom réservé « Mona »). */
@font-face { font-family: "CP Studio Sans"; src: url("../fonts/CPStudioSans.woff2") format("woff2"); font-weight: 400 800; font-stretch: 100% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* charte CP Studio, version sombre : le bleu nuit de l'accroche (ciel 06070A à 1E2430), ivoire et laiton */
  --surface: #0d0f13;
  --surface-raised: #151922;
  --line: #272c36;
  --ink: #f2eee6;
  --ink-muted: #a8aeb8;
  --stone: #737a86;
  --brass: #c9a46a;
  --brass-text: #d4b27c;
  --night: #090a0d;
  --action-bg: #f2eee6;
  --action-fg: #0d0f13;
  --todo-bg: #3b2f1c;
  --todo-ink: #f0d39d;
  --glass: #f2eee60d;        /* verre dépoli : fond et filet */
  --glass-line: #f2eee624;

  --display: "CP Studio Sans", "Arial Black", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "CP Studio Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 97px;   /* rangée du logo 56 + filet 1 + menu 40 (resserré le 20/11, demande de Pierre) */
  --r-sm: 2px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-btn: 999px;            /* boutons arrondis en pilule (demande de Pierre, 25/10) */
  --shadow: 0 30px 60px -30px #000000cc;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

/* bande plus profonde : la même charte, un cran plus noir */
.on-night {
  --surface: #090a0d;
  --surface-raised: #12151c;
  --line: #232831;
  background: var(--night);
  color: var(--ink);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--surface); }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/26px var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-text); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); border-radius: var(--r-sm); }
.btn:focus-visible, .menu-btn:focus-visible { border-radius: var(--r-btn); }
::selection { background: var(--ink); color: var(--surface); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 60; background: var(--ink); color: var(--surface); padding: 12px 18px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 40px; }
mark.a-confirmer { background: var(--todo-bg); color: var(--todo-ink); padding: 0 4px; font-style: italic; font-family: var(--sans); font-weight: 400; letter-spacing: 0; text-transform: none; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- typographie (charte : display-xl, display-l, heading, lead, label) ---------- */
.display { font: 800 clamp(40px, 4.6vw, 68px)/1 var(--display); font-stretch: 112%; letter-spacing: -.035em; text-wrap: balance; }
.h1 { font: 800 clamp(40px, 5vw, 72px)/1.02 var(--display); font-stretch: 112%; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font: 780 clamp(34px, 4.2vw, 58px)/1.04 var(--display); font-stretch: 112%; letter-spacing: -.032em; text-wrap: balance; }
.h3 { font: 700 26px/32px var(--display); font-stretch: 108%; letter-spacing: -.02em; }
/* le mot en italique : Instrument Serif, en laiton (la signature de la charte, comme le « cotta » de l'épingle 19) */
.display em, .h1 em, .h2 em, .h3 em, .side-name em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: normal; letter-spacing: -.01em; font-size: 1.1em; line-height: 0; color: var(--brass); }
.lead { font-size: 20px; line-height: 30px; color: var(--ink-muted); max-width: 30em; text-wrap: pretty; }
.label { display: block; font: 600 12px/16px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); }
/* le carré laiton des annotations de l'accroche, devant chaque étiquette */
.label::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--brass); vertical-align: 1px; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.num { font-variant-numeric: lining-nums tabular-nums; }
.prose { max-width: 68ch; }
.prose h2 { font: 750 clamp(24px, 2.6vw, 32px)/1.15 var(--display); font-stretch: 108%; letter-spacing: -.02em; margin: 2em 0 .5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }

/* ---------- boutons (charte : 2 px, encre, 15 px semi-gras) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-btn);
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 15px/20px var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--surface); }
.btn--solid { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-fg); padding: 0 26px; }
.btn--solid:hover { background: var(--brass); border-color: var(--brass); color: #0d0f13; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; transition: transform .3s var(--ease); }
.btn--solid:hover svg { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/20px var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link:hover { color: var(--brass-text); }
.link svg { width: 15px; height: 15px; fill: currentColor; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.reassure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.reassure li { display: inline-flex; align-items: center; gap: 8px; }
.reassure svg { width: 14px; height: 14px; fill: var(--stone); }

/* ---------- en-tête ---------- */
/* disposition reprise d'evocars.fr (demande de Pierre, 25/10) : logo au centre, seul le bouton de devis à droite
   (e-mail et téléphone sont sur la page Contact), puis le menu sur toute la largeur ;
   posé sur la photo du haut, il prend le fond ivoire dès qu'on fait défiler */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; background: transparent; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.is-scrolled, .site-header.is-open { background: #0d0f13d6; -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 #f2eee614; }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 56px; }
.brand { grid-column: 2; display: block; line-height: 0; }
.brand img { height: 30px; width: auto; }
/* bouton de devis : fond transparent et auréole laiton qui le met en avant (demande de Pierre, 25/10) ;
   l'auréole respire trois fois à l'arrivée sur la page, puis reste fixe */
.header-cta { grid-column: 3; justify-self: end; min-height: 40px; padding: 0 20px; background: transparent; border-color: var(--brass); color: var(--ink); box-shadow: 0 0 0 4px #c9a46a1f, 0 0 26px 4px #c9a46a47; animation: halo 2.4s ease-in-out .8s 3; }
.header-cta:hover { background: var(--brass); border-color: var(--brass); color: #0d0f13; box-shadow: 0 0 0 4px #c9a46a33, 0 0 34px 8px #c9a46a73; }
@keyframes halo { 50% { box-shadow: 0 0 0 7px #c9a46a2e, 0 0 42px 12px #c9a46a73; } }
@media (prefers-reduced-motion: reduce) { .header-cta { animation: none; } }
.nav { border-top: 1px solid #f2eee61f; }
.nav ul { list-style: none; display: flex; justify-content: center; gap: 4px clamp(8px, 2vw, 28px); }   /* resserré au centre (20/11) au lieu d'occuper toute la largeur */
.nav a { display: block; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 20px; padding: 10px 14px; background: linear-gradient(var(--brass), var(--brass)) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; color: var(--ink); }
.nav .nav-cta, .menu-btn, .action-bar { display: none; }

@media (max-width: 1180px) { .nav a { padding-inline: 12px; } }
@media (max-width: 980px) {
  :root { --header-h: 72px; --bar-h: 64px; }
  .header-top { height: var(--header-h); }
  .brand img { height: 28px; }
  .header-cta { display: none; }
  /* bouton « Menu » à droite, comme evocars, en encre et en pilule */
  .menu-btn { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 15px; border: 0; border-radius: var(--r-btn); background: var(--ink); color: var(--surface); font: 600 12px/14px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
  .menu-btn svg { width: 18px; height: 18px; fill: currentColor; }
  .menu-btn .i-close { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--surface); padding: 12px var(--gutter) calc(var(--bar-h) + 40px); display: none; overflow-y: auto; border-top: 1px solid var(--line); }
  .nav ul { flex-direction: column; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { font: 750 28px/1.2 var(--display); font-stretch: 112%; letter-spacing: -.02em; padding: 16px 0; background: none; }
  .nav a[aria-current="page"] { font-style: italic; color: var(--brass-text); }
  .nav .nav-cta { display: block; border: 0; margin-top: 28px; }
  .nav .nav-cta a.btn { display: flex; padding: 0 26px; font: 600 15px/20px var(--sans); background: var(--action-bg); color: var(--action-fg); }
  .nav .nav-cta a.btn:hover { background: var(--brass-text); border-color: var(--brass-text); }
  .site-header.is-open .nav { display: block; }
  .site-header.is-open .i-open { display: none; }
  .site-header.is-open .i-close { display: block; }
  /* barre fixe en bas d'écran, comme evocars : e-mail, devis, appel */
  .action-bar { position: fixed; inset: auto 0 0; z-index: 31; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: var(--bar-h); color: var(--ink); text-decoration: none; font: 600 11px/14px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
  .action-bar a + a { border-left: 1px solid var(--line); }
  .action-bar svg { width: 20px; height: 20px; fill: var(--brass); }
  .action-bar a:hover { color: var(--brass-text); }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
}

/* ---------- vidéos de défilement des réalisations ----------
   posée sur la capture, qui reste visible tant que la vidéo n'est pas lancée (sans JS, mouvement réduit, chargement) */
.clip-box { position: relative; }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.clip-box.is-playing .clip { opacity: 1; }
.clip-toggle { display: none; position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0; border: 1px solid #f2eee64d; border-radius: var(--r-btn); background: #0d0f13bf; color: #f2eee6; cursor: pointer; transition: background-color .3s var(--ease); }
.js .clip-toggle { display: inline-flex; }
.clip-toggle:hover { background: #0d0f13; }
.clip-toggle:focus-visible { border-radius: var(--r-btn); box-shadow: 0 0 0 2px #0d0f13, 0 0 0 4px #f2eee6; }
.clip-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.clip-toggle .i-play, .clip-box.is-paused .clip-toggle .i-pause { display: none; }
.clip-box.is-paused .clip-toggle .i-play { display: block; }

/* ---------- fonds photo ---------- */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.bg { position: absolute; inset: 0; z-index: -2; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #0d0f13b8 0%, #0d0f138c 40%, #0d0f13eb 100%); }
.shade--side { background: linear-gradient(90deg, #0d0f13f2 0%, #0d0f13d1 38%, #0d0f1373 75%, #0d0f138c 100%), linear-gradient(180deg, #0d0f1300 55%, #0d0f13 100%); }
.shade--deep { background: linear-gradient(180deg, #0d0f13e6, #0d0f13cc 45%, #0d0f13f7); }

/* ---------- accueil : l'accroche ----------
   le Mont-Blanc de nuit en deux calques (images.py, accroche()) : le fond, le mot géant, puis les sommets détourés
   par-dessus. Les trois tiennent dans la même scène 1440 × 1000 (unités cqw) : la crête passe toujours au même
   endroit des lettres, quelle que soit la largeur. Sur téléphone, un recadrage portrait centré sur le Mont-Blanc. */
.hero { position: relative; padding-bottom: 96px; }
.hero-stage { position: relative; aspect-ratio: 1440 / 1000; container-type: inline-size; overflow: hidden; }
.hero-stage picture, .hero-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage img { object-fit: cover; object-position: top; }
.hero-word { position: absolute; left: 0; right: 0; bottom: 50.5%; margin: 0; text-align: center; white-space: nowrap; font: 800 15cqw/.8 var(--display); font-stretch: 125%; letter-spacing: -.02em; color: var(--ink); user-select: none; }
.hero-word span { display: inline-block; }
.hero-notes { position: absolute; inset: calc(var(--header-h) + 3.4cqw) 0 auto; display: flex; justify-content: space-between; gap: 24px; padding-inline: max(var(--gutter), calc((100cqw - var(--wrap)) / 2 + var(--gutter))); font: 600 11px/18px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.hero-notes span { display: flex; gap: 10px; }
.hero-notes span::before { content: ""; width: 6px; height: 6px; margin-top: 6px; background: var(--brass); flex: none; }
.hero-notes b { font-weight: inherit; }
.hero-notes span:last-child { flex-direction: row-reverse; text-align: right; }
.hero-body { position: relative; z-index: 2; margin-top: -24vw; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 64px; align-items: end; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text .lead { max-width: 32em; }
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-lg); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.hero-card { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.stats { list-style: none; display: grid; }
.stats li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--glass-line); }
.stats li:first-child { padding-top: 0; }
.stats strong { font: 800 30px/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; white-space: nowrap; }
.stats strong small { font: 500 14px/1 var(--sans); letter-spacing: 0; color: var(--ink-muted); }
.stats span { font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: right; }
@media (max-width: 1100px) { .hero-body { grid-template-columns: 1fr; margin-top: -20vw; } .hero-card { max-width: 520px; } }
@media (max-width: 760px) {
  .hero-stage { aspect-ratio: 903 / 1387; }
  .hero-word { bottom: 63.7%; font-size: 21cqw; font-stretch: 112%; line-height: .86; white-space: normal; }
  .hero-word span { display: block; }
  .hero-notes { display: none; }
  .hero-body { margin-top: -46vw; }
  .hero { padding-bottom: 64px; }
}

/* cadres de navigateur et téléphones (réalisations) */
.window-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface-raised); }
.window-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex: none; }
.window-bar b { margin-left: 10px; font-size: 11px; line-height: 14px; font-weight: 400; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone { position: absolute; border: 5px solid var(--night); border-radius: 26px; overflow: hidden; background: var(--night); box-shadow: var(--shadow); aspect-ratio: 390 / 844; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* index des projets, sous l'accroche : une carte par projet sur sa photo (épingle 8, « Featured work ») */
.proj-index { padding-bottom: 112px; }
.proj-index ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }   /* 2 projets affichés depuis le 19/11 */
.proj-index a { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 230px; padding: 22px; border: 1px solid var(--glass-line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); text-decoration: none; }
.proj-index a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0d0f1326 0%, #0d0f13e6 100%); }
.pi-img { position: absolute; inset: 0; z-index: -2; }
.pi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.proj-index a:hover .pi-img img { transform: scale(1.06); }
.pi-num { position: absolute; top: 18px; left: 22px; font: 600 12px/16px var(--sans); letter-spacing: .16em; color: var(--brass); }
.proj-index strong { font: 780 21px/26px var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.pi-sub { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
@media (max-width: 1024px) { .proj-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .proj-index ul { grid-template-columns: 1fr; } .proj-index a { min-height: 160px; } }

/* ---------- bandes et sections ---------- */
.section { padding-block: 120px; }
.section--white { background: var(--surface-raised); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 20px; flex: 1 1 480px; }
.section-head > p { flex: 1 1 340px; max-width: 34em; font-size: 18px; line-height: 28px; color: var(--ink-muted); margin: 0; }
.section-head--stack { flex-direction: column; align-items: flex-start; max-width: 760px; }
.section-head--stack > p, .section-head--stack > div { flex: none; }

/* réalisations : chaque projet sur sa photo */
.work-band .section-head { padding-top: 112px; margin-bottom: 0; padding-bottom: 72px; }
.work { padding-block: 72px 96px; border-top: 1px solid var(--line); }
.work .shade { background: linear-gradient(180deg, #0d0f13d6 0%, #0d0f13a8 40%, #0d0f13bf 75%, #0d0f13f2 100%); }
.work-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 40px; }
.work-title { display: flex; align-items: baseline; gap: 24px; }
.work-num { font: 600 13px/18px var(--sans); letter-spacing: .16em; color: var(--brass); font-variant-numeric: tabular-nums; }
.work-title h3 { font: 800 clamp(32px, 3.6vw, 50px)/1.02 var(--display); font-stretch: 112%; letter-spacing: -.035em; }
.work p.work-intro { font-size: 18px; line-height: 28px; color: var(--ink); }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.ticks li { display: flex; gap: 14px; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--brass); margin-top: 12px; }
.shot { background: var(--surface-raised); border: 1px solid var(--glass-line); border-radius: var(--r-md); overflow: hidden; margin: 0; box-shadow: var(--shadow); }
.shot .window-bar { height: 32px; padding: 0 14px; background: var(--surface-raised); }
.shot .window-bar span { width: 8px; height: 8px; }
.shot .window-bar b { font-size: 12px; line-height: 16px; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.shot--plain img { aspect-ratio: 16 / 10; }
/* .work-cols, .work-split--rev et .work-pair ne servent plus depuis le retrait de deux réalisations (19/11) :
   gardées pour pouvoir les remettre (_source/versions/avant-retrait-2026-11-19/) */
.work-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; margin-top: 40px; }
.work-cols > * { flex: 1 1 300px; min-width: 0; }
.work-cols figure { flex: .8 1 260px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.work-cols figure img { border-radius: var(--r-md); border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-cols figcaption { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.work-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.work-split > .work-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.work-split > .work-media { flex: 1.6 1 520px; min-width: 0; position: relative; }
.work-split--rev { flex-wrap: wrap-reverse; }
.work-split .work-head { margin-bottom: 0; flex-direction: column; align-items: flex-start; gap: 18px; }
.work-media--phone { padding-bottom: 64px; }
.work-media--phone .shot { width: 88%; }
.work-media--phone .phone { right: 0; bottom: 0; width: 26%; border-color: var(--line); background: var(--surface-raised); }
.work-pair { display: flex; gap: 16px; margin-top: 16px; }
.work-pair img { min-width: 0; border-radius: var(--r-md); border: 1px solid var(--line); object-fit: cover; object-position: top; }
.work-pair img:first-child { flex: 3 1 0; aspect-ratio: 16 / 9; }
.work-pair img:last-child { flex: 1 1 0; aspect-ratio: 9 / 16; height: 100%; }
.work-trip-head { display: flex; flex-wrap: wrap; gap: 24px 72px; align-items: flex-start; margin-bottom: 40px; }
.work-trip-head > div { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.work-trip-head > p { flex: 1 1 300px; margin: 0; }
.work-trip-head > ul { flex: 1 1 280px; }
.work-trip { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.work-trip > .clip-box { flex: 2 1 320px; min-width: 0; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.work-trip > .clip-box img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-trip > .phone { position: static; flex: .62 1 140px; min-width: 0; max-height: 420px; border-color: var(--line); background: var(--surface-raised); }
.work-more { padding-bottom: 112px; }

/* tarifs */
.tarifs { display: flex; flex-wrap: wrap; gap: 16px; }
.tarif { flex: 1 1 300px; display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--glass-line); background: linear-gradient(180deg, #f2eee610, #f2eee603); }
.tarif--main { border-color: #c9a46a66; background: linear-gradient(180deg, #c9a46a1a, #f2eee603); }
.tarif dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tarif dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tarif dl > div:first-child { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.tarif dt { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.tarif dd { margin: 0; font: 800 44px/1 var(--display); font-stretch: 112%; letter-spacing: -.035em; font-variant-numeric: lining-nums; }
.tarif dd small { font: 500 16px/1 var(--sans); letter-spacing: 0; color: var(--ink-muted); }
.tarif p { color: var(--ink-muted); }
.tarifs-note { margin-top: 48px; }

/* méthode */
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 40px 32px; }
.step { flex: 1 1 200px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.step-num { font: 800 44px/1 var(--display); font-stretch: 112%; color: var(--brass); font-variant-numeric: lining-nums; }
.step strong { font-weight: 600; font-size: 18px; line-height: 26px; }
.step span:last-child { font-size: 15px; line-height: 24px; color: var(--ink-muted); }

/* France / Suisse : deux volets sur photo */
.border { display: grid; grid-template-columns: 1fr 1fr; }
.side { min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; padding: 96px var(--gutter) 64px; }
.side .shade { background: linear-gradient(180deg, #0d0f1340 0%, #0d0f1366 40%, #0d0f13f0 100%); }
.side + .side { border-left: 1px solid #f2eee633; }
.side-name { font: 800 clamp(56px, 7.5vw, 116px)/.9 var(--display); font-stretch: 125%; letter-spacing: -.04em; margin-bottom: 26px; }
.side-list { list-style: none; max-width: 30em; }
.side-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f2eee633; }
.side-list li:first-child { border-top: 1px solid #f2eee633; }
.side-list .price { font: 780 24px/1 var(--display); font-stretch: 108%; letter-spacing: -.02em; color: var(--brass); white-space: nowrap; font-variant-numeric: lining-nums; }
@media (max-width: 860px) {
  .border { grid-template-columns: 1fr; }
  .side { min-height: 560px; }
  .side + .side { border-left: 0; border-top: 1px solid #f2eee633; }
}

.fs-head { padding-block: 120px 56px; display: flex; flex-direction: column; gap: 20px; max-width: calc(760px + 2 * var(--gutter)); margin-inline: 0 auto; }
@media (min-width: 1281px) { .fs-head { margin-inline: auto; max-width: var(--wrap); } .fs-head > * { max-width: 760px; } }
.side-list + .link { margin-top: 28px; align-self: flex-start; }
.side .link { color: var(--ink); }

/* questions */
.faq-layout { display: flex; flex-wrap: wrap; gap: 40px 96px; }
.faq-layout > div:first-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.faq { margin: 0; flex: 2 1 520px; }
.faq > div { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font: 700 20px/28px var(--display); font-stretch: 106%; letter-spacing: -.01em; }
.faq dd { margin: 0; color: var(--ink-muted); }

/* appel final */
.closing { padding-block: 128px 96px; }
.closing .wrap { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.closing .h2 { font-size: clamp(48px, 6vw, 84px); }
.big-tel { font: 800 clamp(40px, 7.4vw, 108px)/1 var(--display); font-stretch: 112%; color: var(--ink); text-decoration: none; letter-spacing: -.04em; font-variant-numeric: lining-nums; white-space: nowrap; }
.big-tel:hover { color: var(--brass); }
.closing-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.closing-row span { color: var(--ink-muted); }

/* ---------- pages intérieures ---------- */
.page-hero { padding-block: calc(var(--header-h) + 80px) 96px; min-height: 680px; display: flex; align-items: flex-end; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.page-hero .lead { color: var(--ink-muted); }
.page-hero--plain { min-height: 0; padding-block: calc(var(--header-h) + 48px) 48px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 13px/18px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.crumbs ol::before { content: ""; width: 6px; height: 6px; background: var(--brass); }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* étude de cas (page Réalisations) */
.case { padding-block: 112px; border-top: 1px solid var(--line); }
.case .shade { background: linear-gradient(180deg, #0d0f13f0, #0d0f13e0 50%, #0d0f13fa); }
.case-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.case:nth-of-type(even) .case-grid > :first-child { order: 2; }
.case-text { display: flex; flex-direction: column; gap: 16px; }
.case-meta { color: var(--ink-muted); }
.case-text dl { margin: 12px 0 0; }
.case-text dt { font-weight: 600; margin-top: 22px; }
.case-text dt:first-child { margin-top: 0; }
.case-text dd { margin: 6px 0 0; color: var(--ink-muted); }
.case-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px); gap: 16px; align-items: end; }
.case-media .frame:first-child { grid-column: 1 / -1; }
.case-media .frame:nth-child(2):last-child { grid-column: 1 / -1; }   /* LB Signature : deux images, sans téléphone (19/11) */
.frame { margin: 0; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-raised); }
@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
  .case:nth-of-type(even) .case-grid > :first-child { order: 0; }
  .case-media { grid-template-columns: minmax(0, 1fr) 110px; }
}

/* tarifs détaillés, deux colonnes, listes */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.plan { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--glass-line); background: linear-gradient(180deg, #f2eee610, #f2eee603); display: flex; flex-direction: column; gap: 10px; }
.plan .h3 { margin-bottom: 12px; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; color: var(--ink-muted); font-size: 14px; }
.price-line .price { white-space: nowrap; font: 800 32px/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: lining-nums; }
.plan h4 { font-weight: 600; font-size: 16px; margin: 22px 0 6px; }
.plan ul { list-style: none; display: grid; gap: 10px; }
.plan li { display: flex; gap: 14px; color: var(--ink-muted); }
.plan li svg { width: 14px; height: 14px; fill: var(--stone); flex: none; margin-top: 6px; }
.note { margin-top: 28px; }
.options { list-style: none; columns: 2; column-gap: 48px; }
.options li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-muted); }
.options li strong { color: var(--ink); font-weight: 600; }
.options-title { margin-bottom: 8px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .options { columns: 1; } }

.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts strong { display: block; font: 700 21px/28px var(--display); font-stretch: 106%; letter-spacing: -.01em; margin-bottom: 6px; }
.facts span { color: var(--ink-muted); }
.facts--dl { margin: 0; border-top: 1px solid var(--line); }
.facts--dl > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9rem 1fr; gap: 16px; }
.facts--dl dt { font-weight: 600; }
.facts--dl dd { margin: 0; color: var(--ink-muted); }
.figure-wide { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.placeholder-photo { aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 24px; margin: 0; text-align: center; background: var(--surface-raised); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts--dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-direct { display: grid; gap: 20px; }
.contact-direct .big-tel { font-size: clamp(40px, 4.4vw, 60px); }
.contact-line { display: flex; gap: 12px; align-items: baseline; margin: 0; }
.contact-line svg { width: 16px; height: 16px; fill: var(--stone); flex: none; transform: translateY(2px); }
.form { background: var(--surface-raised); border: 1px solid var(--glass-line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.hint { font-size: 14px; line-height: 22px; color: var(--ink-muted); margin: 0; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid #464c57; border-radius: 12px; padding: 12px 14px; min-height: 48px; caret-color: var(--brass-text); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--stone); border-radius: var(--r-btn); font-weight: 600; font-size: 15px; }
.choice input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.choice input:focus-visible + span { box-shadow: 0 0 0 2px var(--surface-raised), 0 0 0 4px var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-muted); }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; display: none; border-radius: 12px; }
.form-status.is-ok { display: block; background: var(--surface); border: 1px solid var(--ink); }
.form-status.is-error { display: block; background: var(--todo-bg); border: 1px solid var(--brass-text); color: var(--brass-text); }
.form .btn { justify-self: start; }
@media (max-width: 860px) { .contact-grid, .field-row { grid-template-columns: 1fr; } }

/* ---------- pied de page (dans la bande sombre) ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.site-footer img { height: 28px; width: auto; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .hero-text { gap: 22px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .section { padding-block: 72px; }
  .work-band .section-head { padding-top: 64px; padding-bottom: 40px; }
  .work { padding-block: 48px 64px; }
  .closing { padding-block: 72px 48px; }
  .page-hero { padding-block: calc(var(--header-h) + 56px) 56px; min-height: 480px; }
  .lead { font-size: 18px; line-height: 28px; }
  .proj-index { padding-bottom: 56px; }
}

/* ---------- mouvement (28/10, demande de Pierre : « des petites transitions entre les écritures, la montagne […]
   quand on descend ») ----------
   Un seul geste pour tout le site, celui de l'accroche : les mots montent de derrière une ligne d'horizon, comme
   « CP STUDIO » derrière le Mont-Blanc, puis le mot en italique s'écrit ; les photos défilent un peu moins vite
   que la page. La classe .motion est posée dans <head> (jamais en mouvement réduit), site.js découpe les titres. */

/* l'accroche à l'arrivée : les deux calques de la photo se posent ensemble (la crête reste alignée), le mot monte
   de derrière les sommets, puis les annotations */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage > picture { transform-origin: 50% 40%; animation: hero-settle 2.8s var(--ease-out) both; }
  .hero-word span { animation: hero-rise 1.8s var(--ease-out) .1s both; }
  .hero-word span + span { animation-delay: .24s; }
  .hero-notes > span { animation: hero-fade 1.2s var(--ease) 1.1s both; }
}
@keyframes hero-settle { from { scale: 1.08; } }
@keyframes hero-rise { from { translate: 0 .62em; opacity: 0; } 40% { opacity: 1; } }
@keyframes hero-fade { from { opacity: 0; translate: 0 10px; } }

/* au défilement (--hp, de 0 à 1 sur la hauteur de la scène, posé par site.js) : le ciel recule, le mot se couche
   derrière les sommets, les annotations s'effacent */
.motion .hero-stage > picture:first-child { transform: translate3d(0, calc(var(--hp, 0) * 16%), 0); }
.motion .hero-word { transform: translate3d(0, calc(var(--hp, 0) * 24cqw), 0); opacity: calc(1 - var(--hp, 0) * 1.15); }
.motion .hero-notes { transform: translate3d(0, calc(var(--hp, 0) * -6cqw), 0); opacity: calc(1 - var(--hp, 0) * 2.6); }

/* réalisations : la vidéo du site grandit quand on arrive dessus, le téléphone et la galerie montent un peu
   plus vite que la page (--z, posé par site.js, de 0 quand le bloc entre par le bas à 1) */
.motion .work-media .shot, .motion .work-trip > .clip-box, .motion .case-media > .clip-box { scale: calc(.8 + var(--z, 1) * .2); transform-origin: 50% 70%; will-change: scale; }
.motion .work-media--phone .phone, .motion .work-trip > .phone { transform: translate3d(0, calc((1 - var(--z, 1)) * 90px), 0); }
.motion .work-trip > img, .motion .case-media > .frame:not(.clip-box) { transform: translate3d(0, calc((1 - var(--z, 1)) * 60px), 0); }

/* défilement doux (Lenis 1.3.27, MIT) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* photos de fond : un peu moins vite que la page (--bp, de 1 en bas de l'écran à -1 en haut) */
.motion .has-bg > .bg { inset: -9% 0; transform: translate3d(0, calc(var(--bp, 0) * -7%), 0); }

/* blocs : chacun à son tour (--i), une fois dans l'écran ; cachés d'un coup, montrés en transition */
.motion .piece { opacity: 0; translate: 0 18px; }
.motion .is-in .piece, .motion .piece.is-in { opacity: 1; translate: 0 0; transition: opacity .9s var(--ease), translate 1.1s var(--ease); transition-delay: calc(var(--pd0, 0s) + var(--i, 0) * 90ms); }
.hero-body { --pd0: .45s; }

/* titres : chaque mot monte de derrière sa ligne, ligne après ligne (--l), puis le mot en italique s'écrit */
.motion .split .w { display: inline-block; clip-path: inset(-.4em -.3em -.3em -.3em); }
.motion .split .w > span { display: inline-block; transform: translate3d(0, 1.35em, 0); }
.motion .split .nw { white-space: nowrap; }
.motion .split em { display: inline-block; opacity: 0; clip-path: inset(-1em 100% -1em -.3em); }
.motion .is-in .split .w > span, .motion .split.is-in .w > span { transform: none; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--pd0, 0s) + var(--i, 0) * 90ms + var(--l, 0) * 90ms); }
.motion .is-in .split em, .motion .split.is-in em { opacity: 1; clip-path: inset(-1em -.4em -1em -.3em); transition: opacity .8s var(--ease), clip-path 1.2s var(--ease-out); transition-delay: calc(var(--pd0, 0s) + var(--i, 0) * 90ms + var(--l, 0) * 90ms + .35s); }
/* la ponctuation collée au mot en italique arrive avec lui */
.motion .is-in .split .nw .w > span, .motion .split.is-in .nw .w > span { transition-delay: calc(var(--pd0, 0s) + var(--i, 0) * 90ms + var(--l, 0) * 90ms + .75s); }

/* si site.js ne se charge pas : tout réapparaît au bout de 3 s */
.motion:not(.motion-ready) :is(.display, .h1, .h2, .side-name, .work-title h3, .reveal, .hero-body, .proj-index, .page-hero .wrap, .closing .wrap, .side > :not(.bg, .shade)) { opacity: 0; animation: failsafe .01s 3s forwards; }
@keyframes failsafe { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .btn, .link svg, .nav a, .proj-index strong { transition: none; }
}

/* ==========================================================================
   Formulaire « Demander un aperçu » (page Contact, #apercu), 18/11/2026
   Sans JS : les trois étapes l'une sous l'autre, séparées d'un filet. site.js pose .is-enhanced et .is-staged
   sur le formulaire, crée la barre de progression et les boutons Continuer / Retour, puis n'affiche qu'une
   étape à la fois. Couleur d'erreur : --todo-ink (12:1 sur --surface-raised), toujours avec un repère « ! ».
   ========================================================================== */
.apercu { min-width: 0; }
.anchor-alias { display: block; height: 0; }
.form--apercu { gap: 28px; }
.form-head { display: grid; gap: 8px; }
.form-head p { margin: 0; }
.form-pro { color: var(--ink); }
.req { color: var(--brass-text); font-weight: 600; }

/* étapes : un fieldset chacune ; la légende reste hors de la grille (rendu des légendes) */
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step + .form-step { padding-top: 28px; border-top: 1px solid var(--line); }
.form-step-title { padding: 0; font: 700 21px/28px var(--display); font-stretch: 106%; letter-spacing: -.01em; color: var(--ink); }
.form-step-body { display: grid; gap: 22px; padding-top: 18px; }
.form--apercu .field { align-content: start; }   /* dans une rangée, le champ le plus court ne s'étire pas */
/* bord des champs en --stone : 4:1 sur le fond du formulaire (le #464c57 de la règle générale n'atteint que 2:1) ;
   au focus, le bord reste en --ink, et les règles d'erreur plus bas passent devant les deux */
.form--apercu .field input, .form--apercu .field textarea { border-color: var(--stone); }
.form--apercu .field input:focus-visible, .form--apercu .field textarea:focus-visible { border-color: var(--ink); }
.form--apercu fieldset.field > legend { padding: 0 0 8px; }
.form--apercu .sub-label { font-weight: 500; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.service-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.form--apercu.is-staged .form-step:not(.is-current) { display: none; }
.form--apercu.is-staged .form-step + .form-step { padding-top: 0; border-top: 0; }
.form--apercu.is-enhanced [data-show-if]:not(.is-shown) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .form--apercu .form-step.is-entering { animation: form-step-in .45s var(--ease-out) both; }
}
@keyframes form-step-in { from { opacity: 0; translate: 0 14px; } }

/* barre de progression (créée par site.js, donc absente sans JS) */
.apercu-progress { display: none; gap: 14px; }
.js .apercu-progress { display: grid; }
.apercu-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.apercu-steps li { display: flex; align-items: center; gap: 10px; min-width: 0; font: 600 13px/18px var(--sans); color: var(--ink-muted); }
.apercu-steps .apercu-num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--stone); border-radius: 50%; font-variant-numeric: lining-nums tabular-nums; }
.apercu-steps li[aria-current="step"] { color: var(--ink); }
.apercu-steps li[aria-current="step"] .apercu-num { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.apercu-steps li.is-done .apercu-num { background: var(--brass); border-color: var(--brass); color: #0d0f13; }
.apercu-bar { height: 4px; border-radius: var(--r-btn); background: var(--line); overflow: hidden; }
.apercu-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brass); transition: width .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .apercu-bar span { transition: none; } }

/* choix multiples : une case dessinée devant le texte, cochée quand la pastille est choisie */
.choice--check span { position: relative; gap: 10px; padding-left: 14px; }
.choice--check span::before { content: ""; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--stone); border-radius: 4px; }
.choice--check input:checked + span::before { background: var(--surface); border-color: var(--surface); }
.choice--check input:checked + span::after { content: ""; position: absolute; left: 20px; top: 50%; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-65%) rotate(45deg); }
.form--apercu .choice input { min-height: 0; margin: 0; padding: 0; }   /* .field input leur donnait 48 px, plus que la pastille */
.choice span { cursor: pointer; }
.choice:hover input:not(:checked) + span { border-color: var(--ink-muted); }

/* style : cartes visuelles, chacune un vrai bouton radio ; l'aperçu est dessiné en CSS */
.style-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.style-card { position: relative; display: block; }
.style-card input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.style-card-body { position: relative; display: grid; gap: 10px; height: 100%; padding: 8px 8px 12px; border: 1px solid var(--stone); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color .2s var(--ease); }
.style-card-body::after { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border: 2px solid #f2eee6; border-radius: 50%; background: #0d0f13b3; }
.style-card-name { padding-inline: 4px; font-weight: 600; font-size: 14px; line-height: 20px; }
.style-card:hover .style-card-body { border-color: var(--ink-muted); }
.style-card input:checked + .style-card-body { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.style-card input:checked + .style-card-body::after { border-color: var(--brass); background: radial-gradient(circle, var(--brass) 0 4px, #0d0f13 4.5px); }
.style-card input:focus-visible + .style-card-body { box-shadow: 0 0 0 2px var(--surface-raised), 0 0 0 4px var(--ink); }
.style-card input:checked:focus-visible + .style-card-body { box-shadow: inset 0 0 0 1px var(--brass), 0 0 0 2px var(--surface-raised), 0 0 0 4px var(--ink); }
.style-viz { position: relative; display: block; height: 64px; border-radius: 8px; overflow: hidden; }
.style-viz > span { position: absolute; display: block; }
/* sobre : fond clair, filets fins, beaucoup d'air */
.style-viz--sobre { background: #f4f2ee; }
.style-viz--sobre > span:nth-child(1) { left: 12px; top: 16px; width: 44%; height: 5px; background: #24272d; }
.style-viz--sobre > span:nth-child(2) { left: 12px; top: 30px; width: 62%; height: 2px; background: #c3c0ba; }
.style-viz--sobre > span:nth-child(3) { left: 12px; top: 38px; width: 48%; height: 2px; background: #c3c0ba; }
/* chaleureux : crème, terre cuite, formes rondes */
.style-viz--chaleureux { background: #f1dfc6; }
.style-viz--chaleureux > span:nth-child(1) { right: -12px; bottom: -14px; width: 58px; height: 58px; border-radius: 50%; background: #c4673e; }
.style-viz--chaleureux > span:nth-child(2) { left: 12px; top: 16px; width: 42%; height: 8px; border-radius: 99px; background: #6b3b22; }
.style-viz--chaleureux > span:nth-child(3) { left: 12px; top: 32px; width: 30%; height: 14px; border-radius: 99px; background: #e2ac55; }
/* moderne : titres massifs, angles nets, une couleur vive */
.style-viz--moderne { background: #f6f7f9; }
.style-viz--moderne > span:nth-child(1) { left: 10px; top: 12px; width: 64%; height: 12px; background: #0d0f13; }
.style-viz--moderne > span:nth-child(2) { left: 10px; top: 28px; width: 40%; height: 12px; background: #0d0f13; }
.style-viz--moderne > span:nth-child(3) { left: 10px; bottom: 9px; width: 30px; height: 9px; background: #3d6bff; }
/* haut de gamme : noir profond, italique et filet laiton */
.style-viz--haut-de-gamme { background: #0a0a0b; box-shadow: inset 0 0 0 1px #2c2822; }
.style-viz--haut-de-gamme > span:nth-child(1) { left: 0; right: 0; top: 9px; text-align: center; font: italic 400 26px/1 var(--serif); color: var(--brass); }
.style-viz--haut-de-gamme > span:nth-child(2) { left: 30%; right: 30%; top: 42px; height: 1px; background: var(--brass); }
.style-viz--haut-de-gamme > span:nth-child(3) { left: 38%; right: 38%; top: 49px; height: 2px; background: #3a3833; }
/* je ne sais pas : un cadre en pointillé */
.style-viz--je-ne-sais-pas { display: grid; place-items: center; border: 1px dashed var(--stone); }
.style-viz--je-ne-sais-pas > span { position: static; font: 800 28px/1 var(--display); color: var(--ink-muted); }

/* cases à cocher seules : toute la ligne est cliquable, 44 px au moins */
.form--apercu .check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding-block: 10px; font-weight: 400; font-size: 15px; line-height: 24px; color: var(--ink); cursor: pointer; }
.form--apercu .check input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; border: 0; background: none; accent-color: var(--ink); cursor: pointer; }
.form--apercu .check--consent { color: var(--ink-muted); }
.consent-box { display: grid; gap: 2px; }
.consent-link { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; margin-left: 34px; }

/* photos et logo : le champ natif reste visible, site.js ajoute la liste, les vignettes et le total */
.form--apercu input[type="file"] { min-height: 64px; padding: 9px; border-style: dashed; font-size: 14px; line-height: 20px; color: var(--ink-muted); cursor: pointer; }
.form--apercu input[type="file"]::file-selector-button { min-height: 44px; margin-right: 14px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--r-btn); background: transparent; color: var(--ink); font: 600 14px/20px var(--sans); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.form--apercu input[type="file"]:hover::file-selector-button { background: var(--ink); color: var(--surface); }
.file-list { list-style: none; display: grid; gap: 8px; }
.file-list[hidden], .file-summary[hidden] { display: none; }
.file-item { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.file-thumb { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--surface-raised); }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb--doc { position: relative; border: 1px solid var(--stone); font: 700 11px/1 var(--sans); letter-spacing: .08em; color: var(--ink-muted); }
.file-thumb--doc::before { content: ""; position: absolute; top: -1px; right: -1px; width: 14px; height: 14px; background: linear-gradient(225deg, var(--surface) 50%, var(--stone) 50%); border-bottom-left-radius: 3px; }
.file-meta { flex: 1 1 auto; min-width: 0; display: grid; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 22px; }
.file-size { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.file-remove { flex: none; min-width: 44px; min-height: 44px; padding: 0 16px; border: 1px solid var(--stone); border-radius: var(--r-btn); background: transparent; color: var(--ink); font: 600 14px/20px var(--sans); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.file-remove:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.file-remove:focus-visible { border-radius: var(--r-btn); }
.file-summary { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); overflow-wrap: anywhere; }

/* erreurs : message lié au champ (aria-describedby), bordure et repère « ! » en plus de la couleur.
   overflow-wrap : un long nom de fichier sans espace se coupe au lieu d'élargir la page sur téléphone */
.field-error { display: flex; gap: 8px; margin: 0; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--todo-ink); white-space: pre-line; overflow-wrap: anywhere; }
.field-error::before { content: "!"; content: "!" / ""; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--todo-ink); color: var(--surface-raised); font: 800 12px/1 var(--sans); }
.form--apercu .field input[aria-invalid="true"], .form--apercu .field textarea[aria-invalid="true"] { border-color: var(--todo-ink); box-shadow: inset 0 0 0 1px var(--todo-ink); }
.form--apercu .field input[aria-invalid="true"]:focus-visible, .form--apercu .field textarea[aria-invalid="true"]:focus-visible { box-shadow: inset 0 0 0 1px var(--todo-ink), 0 0 0 2px var(--surface-raised), 0 0 0 4px var(--ink); }
.form--apercu .choice input[aria-invalid="true"] + span { border-color: var(--todo-ink); box-shadow: inset 0 0 0 1px var(--todo-ink); }
.form--apercu .check input[aria-invalid="true"] { outline: 2px solid var(--todo-ink); outline-offset: 2px; }
.form-status.is-info { display: block; background: var(--surface); border: 1px solid var(--line); color: var(--ink-muted); }
/* zone de message (créée par site.js sous la barre de progression) : toujours présente pour les lecteurs d'écran,
   qui annoncent ainsi chaque message ; vide, elle sort de la grille et ne prend aucune place (comme .sr-only) */
.form--apercu .form-status { display: block; overflow-wrap: anywhere; }
.form--apercu .form-status:empty { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* boutons d'étape et d'envoi */
.form-step-nav, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-step-nav { padding-top: 6px; }
.btn--quiet { border-color: var(--stone); }
.form--apercu .btn[disabled] { opacity: .7; cursor: progress; }
.form-note { margin: 0; max-width: 46em; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.form-step-title:focus:not(:focus-visible) { outline: none; }   /* légende focalisée par site.js au changement d'étape */

@media (max-width: 560px) {
  .service-row { grid-template-columns: 1fr; }
  /* les boutons prennent toute la largeur ; à l'envoi, « Recevoir mon aperçu » d'abord, « Retour » dessous */
  .form-step-nav .btn, .form-actions .btn { flex: 1 1 auto; padding-inline: 20px; }
  .apercu-steps li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .style-card-body, .file-remove, .form--apercu input[type="file"]::file-selector-button { transition: none; }
}
/* contraste forcé (thèmes de contraste de Windows) : le navigateur retire fonds, ombres et dégradés, donc le choix
   fait, l'étape en cours et le repère de focus (une ombre) ne se verraient plus ; ils passent ici par les couleurs
   du système */
@media (forced-colors: active) {
  /* pastille choisie : remplie comme une sélection du système ; la case des choix multiples garde sa coche */
  .choice input:checked + span { forced-color-adjust: none; background: Highlight; border-color: Highlight; color: HighlightText; }
  .choice--check input:checked + span::before { background: HighlightText; border-color: HighlightText; }
  .choice--check input:checked + span::after { border-color: Highlight; }
  /* carte de style choisie : contour épais et point plein */
  .style-card input:checked + .style-card-body { outline: 3px solid Highlight; outline-offset: 2px; }
  .style-card input:checked + .style-card-body::after { forced-color-adjust: none; border-color: Highlight; background: Highlight; }
  /* barre de progression : l'étape en cours et la part remplie */
  .apercu-steps li[aria-current="step"] .apercu-num { forced-color-adjust: none; background: Highlight; border-color: Highlight; color: HighlightText; }
  .apercu-bar span { forced-color-adjust: none; background: Highlight; }
  /* case de consentement à corriger : contour en tirets, plein quand elle a le focus */
  .form--apercu .check input[aria-invalid="true"] { outline-style: dashed; }
  /* focus : un contour plein à la place de l'ombre */
  .form--apercu :focus-visible, .form--apercu .check input:focus-visible, .choice input:focus-visible + span, .style-card input:focus-visible + .style-card-body { outline: 2px solid CanvasText; outline-offset: 2px; }
}
/* fin du formulaire « Demander un aperçu » */

@media print {
  .site-header, .bg, .shade, .closing { display: none !important; }
  body, .on-night { background: #fff; color: #000; }
}

/* page Contact (19/11) : la photo de fond reste derrière le titre ET le formulaire (elle suit l'écran pendant
   qu'on remplit), et l'espace entre « Parlons de votre site » et le numéro est resserré */
.contact-stage { overflow: clip; }
.contact-stage > .bg, .motion .contact-stage > .bg { inset: 0; transform: none; }
.contact-stage > .bg img { position: sticky; top: 0; height: 100vh; height: 100lvh; }
.shade--contact { background: linear-gradient(90deg, #0d0f13eb 0%, #0d0f13c7 45%, #0d0f1394 100%); }
.page-hero--contact { min-height: 0; padding-bottom: 8px; }
.contact-section { padding-top: 48px; }
@media (max-width: 760px) { .page-hero--contact { min-height: 0; } .contact-section { padding-top: 32px; } }

/* cartes des tarifs de l'accueil : phrase d'accroche (classe gardée pour plus tard) */
.tarif .tarif-lead { color: var(--ink); font: 700 20px/28px var(--display); font-stretch: 105%; letter-spacing: -.01em; }

/* Ecol'eaumur présenté comme LB Signature (19/11) : sur téléphone, le téléphone passe sous la vidéo, centré et plus petit */
@media (max-width: 760px) { .work-trip > .phone { flex: 0 0 52%; margin-inline: auto; max-height: none; } }

/* accueil : bouton doré au milieu de l'accroche, sur la photo, au-dessus du texte (20/11, d'après le croquis de
   Pierre) ; il reste à sa place quand on fait défiler, avec le halo lumineux du bouton de l'en-tête */
.float-cta { grid-column: 1 / -1; justify-self: center; margin-bottom: clamp(8px, 2vw, 32px);
  min-height: 52px; padding: 0 30px; background: var(--brass); border-color: var(--brass); color: #0d0f13; font-weight: 700;
  box-shadow: 0 0 0 4px #c9a46a33, 0 0 34px 8px #c9a46a73; animation: halo-cta 2.6s ease-in-out infinite; transition: background-color .3s var(--ease); }
.float-cta:hover { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-fg); }
@media (max-width: 980px) { .float-cta { min-height: 48px; padding: 0 24px; } }
@keyframes halo-cta { 50% { box-shadow: 0 0 0 7px #c9a46a3d, 0 0 46px 14px #c9a46a8c; } }
@media (prefers-reduced-motion: reduce) { .float-cta { animation: none; } }

/* À propos : « Qui fait votre site » sans photo (21/11) : titre puis texte, sur une colonne lisible */
.qui { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.qui .prose p { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
