/* ==========================================================================
   XP Marketing — système visuel « Le point »
   1. Jetons   2. Base   3. Grille & typo   4. Composants
   5. Sections (accueil)   6. États d'animation   7. Responsive
   ========================================================================== */

/* 1. Jetons
   ========================================================================== */
:root {
  --ivory: #F7F7F4;
  --ink: #151515;
  --mineral: #E9E8E3;
  --black: #0B0B0A;
  --accent: #D4875F; /* le point du logo — usage rare et volontaire */

  --bg: var(--ivory);
  --fg: var(--ink);

  --font-sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --margin: clamp(16px, 3.4vw, 56px);
  --gutter: clamp(12px, 1.5vw, 24px);
  --header-h: 76px;

  --fs-mega: min(14.2vw, 25svh, 17rem);
  --fs-display: clamp(2.9rem, 8.6vw, 10rem);
  --fs-h2: clamp(2.25rem, 5.4vw, 6rem);
  --fs-row: clamp(2rem, 5.5vw, 6.25rem);
  --fs-h3: clamp(1.45rem, 2.2vw, 2.15rem);
  --fs-lead: clamp(1.65rem, 3.35vw, 3.6rem);
  --fs-body: clamp(1rem, .95rem + .22vw, 1.15rem);
  --fs-small: .9375rem;
  --fs-label: .6875rem;

  --space-section: clamp(6.5rem, 14vw, 13.5rem);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --line: color-mix(in srgb, currentColor 16%, transparent);
  --soft: color-mix(in srgb, currentColor 64%, transparent);
}

/* 2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 500; font-size: inherit; }

::selection { background: var(--ink); color: var(--ivory); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: .7em 1.1em;
  background: var(--ink);
  color: var(--ivory);
  font-size: var(--fs-small);
  transform: translateY(-160%);
  transition: transform .4s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Thèmes de section — sans animation, chaque section porte sa propre couleur */
[data-theme="light"]   { --bg: var(--ivory);   --fg: var(--ink); }
[data-theme="mineral"] { --bg: var(--mineral); --fg: var(--ink); }
[data-theme="dark"]    { --bg: var(--black);   --fg: var(--ivory); }
[data-theme] { background: var(--bg); color: var(--fg); }

/* 3. Grille & typographie
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.section { padding: var(--space-section) var(--margin); }

.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.section-label { color: var(--soft); }

.pt {
  display: inline-block;
  width: .155em;
  height: .155em;
  margin-left: .035em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: baseline;
}

.accent { color: var(--accent); }

.todo {
  font-family: var(--font-mono);
  font-size: .8em;
  letter-spacing: .02em;
  color: var(--soft);
  border-bottom: 1px dashed var(--line);
}
.todo::before { content: "[ "; }
.todo::after { content: " ]"; }

/* Lien avec flèche — soulignement qui se trace */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-weight: 500;
  padding-bottom: .2em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.link-arrow .arrow { width: 1em; height: 1em; transition: transform .6s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .arrow { transform: translateX(.25em); }
.link-arrow--down:hover .arrow { transform: translateY(.2em); }

/* 4. Composants
   ========================================================================== */

/* En-tête -------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  color: var(--fg);
  transition: transform .7s var(--ease-out), color .5s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .5s, background-color .5s;
}
.site-header.is-scrolled::before { opacity: 1; }
html:not(.motion) .site-header.is-dark { --bg: var(--black); --fg: var(--ivory); }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header:focus-within { transform: none; }

.site-header__inner {
  position: relative;
  height: 100%;
  padding: 0 var(--margin);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}

.site-header__logo { grid-column: 1 / 4; justify-self: start; }
.site-header__logo img { width: 140px; height: auto; transition: filter .5s; }
.site-header.is-dark .site-header__logo img,
.site-footer .footer__logo { filter: invert(1) hue-rotate(180deg) brightness(1.08); }

.site-header__tag { grid-column: 4 / 7; color: var(--soft); }

.site-nav { grid-column: 6 / 10; justify-self: end; }
.site-nav ul { display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
.site-nav a {
  font-size: var(--fs-small);
  font-weight: 500;
  padding-block: .35em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background-size: 100% 1px; }

/* Bouton signature : le point s'étend pour remplir le bouton */
.btn-dot {
  grid-column: 10 / 13;
  justify-self: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: .65em;
  height: 42px;
  padding: 0 1.15rem 0 .95rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  white-space: nowrap;
  transition: color .5s var(--ease-out), border-color .5s;
}
.btn-dot__dot {
  position: relative;
  z-index: -1;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .75s var(--ease-out);
}
.btn-dot:hover { color: var(--ink); border-color: var(--accent); }
.btn-dot:hover .btn-dot__dot { transform: scale(60); }

.menu-toggle {
  display: none;
  grid-column: 9 / 13;
  justify-self: end;
  align-items: center;
  gap: .6em;
  height: 42px;
  font-size: var(--fs-small);
  font-weight: 500;
}
.menu-toggle::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .5s var(--ease-out);
}
.menu-toggle[aria-expanded="true"]::before { transform: scale(1.6); }

/* Menu mobile ---------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--margin) 2rem;
  background: var(--ivory);
  color: var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .8s var(--ease-io), visibility 0s 0s;
}
.menu__list li { border-top: 1px solid var(--line); overflow: hidden; }
.menu__list li:last-child { border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .5rem 0 .65rem;
  font-size: clamp(2.6rem, 11vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
  transform: translateY(105%);
  transition: transform .9s var(--ease-out);
}
.menu__list a .label { color: var(--soft); letter-spacing: .07em; transform: translateY(-.4em); }
.menu.is-open .menu__list a { transform: none; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .06s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .18s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .24s; }
.menu__foot { display: flex; justify-content: space-between; gap: 1rem; color: var(--soft); }

body.menu-open .site-header { --bg: var(--ivory); --fg: var(--ink); color: var(--ink); }
body.menu-open .site-header::before { opacity: 0; }
body.menu-open .site-header .site-header__logo img { filter: none; }

/* Rideau de transition ------------------------------------------------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  pointer-events: none;
}
html.is-entering .curtain { transform: scaleY(1); }

/* Curseur contextuel (portfolio seulement) ----------------------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  pointer-events: none;
  display: none;
}
.cursor__inner {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: -56px 0 0 -56px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  transform: scale(0);
  transition: transform .55s var(--ease-out);
}
.cursor__inner span { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.3; }
.cursor.is-active .cursor__inner { transform: scale(1); }
html.has-cursor .cursor { display: block; }
html.has-cursor [data-cursor] { cursor: none; }

/* 5. Sections — accueil
   ========================================================================== */

/* Hero ---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(1.25rem, 3vw, 2.5rem)) var(--margin) clamp(1.25rem, 2.4vw, 2rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: clamp(2rem, 4vw, 3rem);
}

.hero__meta { row-gap: .4rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.hero__meta-1 { grid-column: 1 / 4; }
.hero__meta-2 { grid-column: 4 / 7; color: var(--soft); }
.hero__meta-3 { grid-column: 7 / 10; color: var(--soft); }
.hero__meta-4 { grid-column: 10 / 13; text-align: right; font-variant-numeric: tabular-nums; }

.hero__composition {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: var(--gutter);
}

.hero__title {
  grid-column: 1 / -1;
  grid-row: 1 / 4;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  font-size: var(--fs-mega);
  font-weight: 500;
  letter-spacing: -.058em;
  line-height: .86;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding: .02em .06em .1em 0;
  margin-bottom: -.1em;
  white-space: nowrap;
}
.hero__line-inner { display: block; will-change: transform; }
.hero__line--1 { grid-column: 1 / -1; grid-row: 1; }
.hero__line--2 { grid-column: 5 / -1; grid-row: 2; }
.hero__line--3 { grid-column: 1 / -1; grid-row: 3; margin-left: -.045em; }
.hero__line--1 { margin-left: -.045em; }

.hero__intro {
  grid-column: 1 / 4;
  grid-row: 2;
  align-self: center;
  max-width: 30ch;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--soft);
}
.hero__intro strong { color: var(--fg); font-weight: 500; }

.hero__foot { align-items: center; row-gap: 1rem; }
.hero__scroll {
  grid-column: 1 / 4;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  justify-self: start;
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: var(--line);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: translateY(-100%);
  animation: scroll-line 2.4s var(--ease-io) infinite;
}
@keyframes scroll-line {
  0%   { transform: translateY(-100%); }
  45%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
.hero__foot-services { grid-column: 5 / 10; color: var(--soft); }
.hero__foot-link { grid-column: 10 / 13; justify-self: end; font-size: var(--fs-small); }

/* Studio --------------------------------------------------------------- */
.studio__head { row-gap: 2rem; }
.studio__head .section-label { grid-column: 1 / 3; padding-top: .9em; }
.studio__statement {
  grid-column: 3 / 13;
  font-size: var(--fs-lead);
  font-weight: 500;
  letter-spacing: -.032em;
  line-height: 1.08;
  text-indent: calc((100% - 9 * var(--gutter)) / 10 * 2 + var(--gutter) * 2);
  text-wrap: pretty;
}

.studio__principles {
  margin-top: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--line);
}
.principle {
  align-items: baseline;
  row-gap: .75rem;
  padding: clamp(1.5rem, 2.4vw, 2.25rem) 0;
  border-top: 1px solid var(--line);
}
.principle__index { grid-column: 3 / 4; color: var(--soft); }
.principle__title { grid-column: 4 / 8; font-size: var(--fs-h3); letter-spacing: -.025em; line-height: 1.1; }
.principle__text { grid-column: 8 / 12; color: var(--soft); max-width: 42ch; }

.studio { padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.work { padding-top: clamp(5rem, 10vw, 9rem); }
.studio__foot { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.studio__foot .link-arrow { grid-column: 3 / 8; }

/* Réalisations --------------------------------------------------------- */
.work__head { align-items: end; row-gap: 2rem; }
.work__head .section-label { grid-column: 1 / -1; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.work__title {
  grid-column: 1 / 10;
  font-size: var(--fs-display);
  letter-spacing: -.055em;
  line-height: .86;
  margin-left: -.04em;
}
.work__title sup {
  font-family: var(--font-mono);
  font-size: max(.11em, .75rem);
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: top;
  position: relative;
  top: .55em;
  margin-left: .35em;
}
.work__note {
  grid-column: 10 / 13;
  padding: .9rem 1rem;
  border: 1px dashed var(--line);
  color: var(--soft);
}
.work__note strong { display: block; margin-bottom: .35rem; color: var(--fg); font-weight: 400; }

.projects { display: grid; row-gap: clamp(6rem, 13vw, 12rem); margin-top: clamp(4.5rem, 9vw, 8rem); }

.project { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; }
.project__link { display: block; }
.project__media {
  position: relative;
  overflow: hidden;
  background: var(--panel, #2a2a28);
}
.project__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 1.4s var(--ease-out);
}
.project__shot {
  width: var(--shot-w, 76%);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 40px 80px -40px rgba(0, 0, 0, .35);
}
.project:hover .project__inner { transform: scale(1.035); }

.project__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .4rem .6rem;
  background: rgba(247, 247, 244, .9);
  color: var(--ink);
}

.project__meta { display: grid; grid-template-columns: subgrid; align-items: baseline; row-gap: .75rem; }
.project__num { color: var(--soft); }
.project__title {
  font-size: var(--fs-h3);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.project__title a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.project:hover .project__title a { background-size: 100% 1px; }
.project__facts { display: flex; flex-wrap: wrap; column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: .75rem; }
.project__facts dt { color: var(--soft); margin-bottom: .2rem; }
.project__facts dd { font-size: var(--fs-small); }

/* A — pleine largeur */
.project--a .project__link { grid-column: 1 / -1; }
.project--a .project__media { aspect-ratio: 16 / 8.4; --shot-w: 64%; }
.project--a .project__meta { grid-column: 1 / -1; }
.project--a .project__num { grid-column: 1 / 2; }
.project--a .project__title { grid-column: 2 / 6; }
.project--a .project__facts { grid-column: 7 / 13; }

/* B — décalé à gauche, mobile en superposition */
.project--b .project__link { grid-column: 1 / 9; grid-row: 1; }
.project--b .project__media { aspect-ratio: 5 / 4; --shot-w: 82%; }
.project--b .project__phone {
  grid-column: 8 / 10;
  grid-row: 1;
  align-self: end;
  z-index: 2;
  margin-bottom: -14%;
  pointer-events: none;
}
.project--b .project__meta { grid-column: 10 / 13; grid-row: 1; align-self: end; grid-template-columns: 1fr; }
.project--b .project__facts { flex-direction: column; }

.phone {
  width: 100%;
  max-width: 250px;
  padding: 7px;
  border-radius: clamp(22px, 2.6vw, 38px);
  background: #121211;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55);
}
.phone img { width: 100%; border-radius: clamp(16px, 2.1vw, 31px); }

/* C — texte à gauche, image à droite */
.project--c .project__meta { grid-column: 1 / 5; grid-row: 1; align-self: start; grid-template-columns: 1fr; padding-top: .25rem; }
.project--c .project__num {
  font-family: var(--font-sans);
  font-size: var(--fs-display);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .8;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.project--c .project__facts { flex-direction: column; }
.project--c .project__link { grid-column: 5 / 13; grid-row: 1; }
.project--c .project__media { aspect-ratio: 4 / 3; --shot-w: 80%; }

/* D — centré, format cinéma */
.project--d .project__link { grid-column: 3 / 11; }
.project--d .project__media { aspect-ratio: 16 / 10; --shot-w: 78%; }
.project--d .project__meta { grid-column: 3 / 11; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.project--d .project__num { grid-column: 1 / 2; }
.project--d .project__title { grid-column: 2 / 5; }
.project--d .project__facts { grid-column: 5 / 9; }

.work__foot {
  margin-top: clamp(6rem, 12vw, 11rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
}
.work__all {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}
.work__all .arrow { width: .7em; height: .7em; }

/* Expertise ------------------------------------------------------------ */
.services__head { align-items: end; row-gap: 2rem; }
.services__head .section-label { grid-column: 1 / -1; }
.services__title { grid-column: 1 / 8; font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; }
.services__intro { grid-column: 9 / 13; color: var(--soft); max-width: 38ch; }

.services__list { margin-top: clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.services__list li { border-top: 1px solid var(--line); }

.service {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: clamp(1.35rem, 2.6vw, 2.4rem) 0;
  transition: color .5s var(--ease-out);
}
.service::before {
  content: "";
  position: absolute;
  inset: -1px calc(var(--margin) * -1);
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .65s var(--ease-out);
}
.service__num { grid-column: 1 / 2; color: var(--soft); align-self: start; padding-top: .9em; }
.service__title {
  grid-column: 2 / 9;
  font-size: var(--fs-row);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .98;
  transition: transform .8s var(--ease-out);
}
.service__desc {
  grid-column: 9 / 12;
  max-width: 34ch;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--soft);
}
.service__arrow {
  grid-column: 12 / 13;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .7s var(--ease-out), background-color .5s, border-color .5s, color .5s;
}
.service__arrow .arrow { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .7s var(--ease-out); }

@media (hover: hover) {
  .service:hover { color: var(--ivory); }
  .service:hover::before { transform: scaleY(1); }
  .service:hover .service__title { transform: translateX(clamp(.5rem, 1.6vw, 1.75rem)); }
  .service:hover .service__arrow { background: var(--accent); border-color: var(--accent); color: var(--ink); }
  .service:hover .service__arrow .arrow { transform: rotate(0); }
}

/* Approche ------------------------------------------------------------- */
.approach__aside { grid-column: 1 / 6; }
.approach__sticky {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}
.approach__title { font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; }
.approach__intro { color: var(--soft); max-width: 34ch; }
.approach__counter {
  display: flex;
  align-items: flex-start;
  margin-top: clamp(1rem, 4vw, 4rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: .8;
}
.approach__counter-window { display: block; overflow: hidden; padding-bottom: .04em; }
.approach__counter-num {
  display: block;
  font-size: clamp(6rem, 14vw, 15rem);
  letter-spacing: -.06em;
}
.approach__counter-total { margin-left: .75rem; color: var(--soft); }
.approach__progress { height: 1px; background: var(--line); max-width: 420px; }
.approach__progress span { display: block; height: 100%; background: currentColor; transform: scaleX(.25); transform-origin: 0 50%; }

.approach__steps { grid-column: 7 / 13; }
.step {
  min-height: clamp(22rem, 62vh, 40rem);
  padding: 1.5rem 0 4rem;
  border-top: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 1.25rem;
}
.step .label:first-child { color: var(--soft); }
.step__title { font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; margin-top: clamp(1rem, 4vw, 3.5rem); }
.step__text { max-width: 44ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.3rem); line-height: 1.5; }
.step__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.step__tags li { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; }

/* Appel à l'action ----------------------------------------------------- */
.cta { padding-bottom: clamp(5rem, 10vw, 9rem); }
.cta__title {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  font-size: var(--fs-display);
  letter-spacing: -.056em;
  line-height: .88;
}
.cta__line { display: block; overflow: hidden; padding: 0 .05em .1em 0; margin-bottom: -.1em; margin-left: -.04em; white-space: nowrap; }
.cta__line-inner { display: block; }
.cta__line--2 { padding-left: calc((100% - 11 * var(--gutter)) / 12 * 3 + var(--gutter) * 3); }
.cta__bottom { margin-top: clamp(3.5rem, 7vw, 6rem); align-items: end; row-gap: 2rem; }
.cta__text { grid-column: 1 / 5; color: var(--soft); max-width: 36ch; }

.cta__button {
  grid-column: 6 / 13;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.4vw, 2.25rem) 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -.03em;
  transition: color .6s var(--ease-out), padding .8s var(--ease-out);
}
.cta__button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .8s var(--ease-io);
}
.cta__button-icon {
  display: grid;
  place-items: center;
  width: clamp(48px, 4.5vw, 64px);
  height: clamp(48px, 4.5vw, 64px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  flex: none;
  transition: transform .8s var(--ease-out);
}
.cta__button-icon .arrow { width: 40%; height: 40%; }
.cta__button:hover { color: var(--ivory); padding-inline: clamp(1rem, 2vw, 2rem); }
.cta__button:hover::before { transform: scaleX(1); }
.cta__button:hover .cta__button-icon { transform: rotate(-45deg); }

/* Pied de page --------------------------------------------------------- */
.site-footer { padding: clamp(5rem, 9vw, 8rem) var(--margin) 0; overflow: hidden; }
.footer__top { row-gap: 2.5rem; }
.footer__brand { grid-column: 1 / 5; display: grid; gap: 1.25rem; align-content: start; }
.footer__logo { width: 168px; }
.footer__brand p { color: var(--soft); max-width: 30ch; font-size: var(--fs-small); }
.footer__col { display: grid; gap: .6rem; align-content: start; font-size: var(--fs-small); }
.footer__col .label { color: var(--soft); margin-bottom: .4rem; }
.footer__col ul { display: grid; gap: .45rem; }
.footer__col a:not(.link-arrow) {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.footer__col a:not(.link-arrow):hover { background-size: 100% 1px; }
.footer__col--pages { grid-column: 6 / 8; }
.footer__col--write { grid-column: 8 / 10; }
.footer__col--follow { grid-column: 10 / 12; }
.footer__col--time { grid-column: 12 / 13; justify-items: end; text-align: right; white-space: nowrap; }

.footer__legal {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
}
.footer__legal p:first-child { grid-column: 1 / 5; }
.footer__legal p:last-child { grid-column: 9 / 13; text-align: right; }

.footer__giant {
  font-size: clamp(3.2rem, 16.2vw, 19rem);
  font-weight: 500;
  letter-spacing: -.062em;
  line-height: .8;
  white-space: nowrap;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0 -.05em;
  padding: .14em 0 .2em;
  overflow: hidden;
}
.footer__giant .char { display: inline-block; }

/* 6. États d'animation (JS + mouvement autorisé)
   ========================================================================== */
html.motion [data-theme] { background: transparent; color: inherit; --bg: inherit; --fg: inherit; }
/* Seul l'accueil masque l'en-tête pour l'animer avec le hero ; ailleurs il reste toujours visible. */
html.motion .hero,
html.motion body.home .site-header__inner { visibility: hidden; }
html.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
html.motion [data-split] { visibility: hidden; }
html.motion .footer__giant { visibility: hidden; }

/* 7. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .site-header__tag { display: none; }
  .site-nav { grid-column: 4 / 9; justify-self: end; }
  .btn-dot { grid-column: 9 / 13; }

  .service__title { grid-column: 2 / 13; }
  .service__desc { grid-column: 2 / 11; margin-top: .9rem; }
  .service__arrow { grid-column: 12 / 13; grid-row: 1; }

  .project--b .project__link { grid-column: 1 / 10; }
  .project--b .project__phone { grid-column: 8 / 11; }
  .project--b .project__meta { grid-column: 1 / -1; grid-row: 2; margin-top: 3rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .project--b .project__num { grid-column: 1 / 2; }
  .project--b .project__title { grid-column: 2 / 6; }
  .project--b .project__facts { grid-column: 7 / 13; flex-direction: row; }

  .footer__brand { grid-column: 1 / -1; }
  .footer__col--pages { grid-column: 1 / 4; }
  .footer__col--write { grid-column: 4 / 7; }
  .footer__col--follow { grid-column: 7 / 10; }
  .footer__col--time { grid-column: 10 / 13; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .site-nav, .btn-dot { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__logo img { width: 124px; }

  .hero__meta-1 { grid-column: 1 / 8; }
  .hero__meta-2, .hero__meta-3 { display: none; }
  .hero__meta-4 { grid-column: 8 / 13; }
  .hero__line--2 { grid-column: 4 / -1; }
  .hero__intro { grid-column: 1 / -1; grid-row: 4; margin-top: 2rem; max-width: 36ch; }
  .hero__foot-services { display: none; }
  .hero__scroll { grid-column: 1 / 7; }
  .hero__foot-link { grid-column: 7 / 13; }

  .studio__head .section-label { grid-column: 1 / -1; padding-top: 0; }
  .studio__statement { grid-column: 1 / -1; text-indent: 0; }
  .principle__index { grid-column: 1 / 2; }
  .principle__title { grid-column: 2 / 13; }
  .principle__text { grid-column: 2 / 13; }
  .studio__foot .link-arrow { grid-column: 1 / -1; }

  .work__title { grid-column: 1 / -1; }
  .work__note { grid-column: 1 / -1; }

  .project--a .project__media { aspect-ratio: 4 / 3; --shot-w: 84%; }
  .project--a .project__title { grid-column: 2 / 13; }
  .project--a .project__facts { grid-column: 2 / 13; }
  .project--b .project__link { grid-column: 1 / 11; }
  .project--b .project__phone { grid-column: 8 / 13; margin-bottom: -18%; }
  .project--b .project__title { grid-column: 2 / 13; }
  .project--b .project__facts { grid-column: 2 / 13; }
  .project--c .project__meta { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .project--c .project__num { grid-column: 1 / -1; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .07em; line-height: 1.45; color: var(--soft); margin: 0; }
  .project--c .project__title, .project--c .project__facts { grid-column: 1 / -1; }
  .project--c .project__link { grid-column: 1 / -1; }
  .project--c .project__num { grid-column: 1 / 2; }
  .project--c .project__title, .project--c .project__facts { grid-column: 2 / 13; }
  .project--c .project__facts { flex-direction: row; }
  .project--d .project__link, .project--d .project__meta { grid-column: 1 / -1; }
  .project--d .project__meta { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .project--d .project__title, .project--d .project__facts { grid-column: 2 / 13; }
  .project__shot { border-radius: 3px; }
  .work__foot { flex-direction: column; }

  .services__title, .services__intro { grid-column: 1 / -1; }
  .service__num { grid-column: 1 / 3; padding-top: 0; margin-bottom: .75rem; }
  .service__title { grid-column: 1 / 12; }
  .service__desc { grid-column: 1 / 12; }
  .service__arrow { grid-column: 12 / 13; grid-row: 2; width: 38px; height: 38px; }

  .approach__aside, .approach__steps { grid-column: 1 / -1; }
  .approach__sticky { position: static; padding-bottom: 3rem; }
  .approach__counter, .approach__progress { display: none; }
  .step { min-height: 0; padding-bottom: 3rem; }
  .step__title { margin-top: 1.5rem; }

  .cta__line--2 { padding-left: calc((100% - 11 * var(--gutter)) / 12 * 2 + var(--gutter) * 2); }
  .cta__text, .cta__button { grid-column: 1 / -1; }

  .footer__col--pages { grid-column: 1 / 7; }
  .footer__col--write { grid-column: 7 / 13; }
  .footer__col--follow { grid-column: 1 / 7; }
  .footer__col--time { grid-column: 7 / 13; justify-items: start; text-align: left; }
  .footer__legal p:first-child, .footer__legal p:last-child { grid-column: 1 / -1; text-align: left; }
  .footer__legal { row-gap: .5rem; }
}

@media (max-width: 520px) {
  :root { --fs-mega: 17.4vw; }
  .hero__break { display: block; }
  .hero { min-height: 92svh; }
  .footer__col--write, .footer__col--follow, .footer__col--time { grid-column: 1 / -1; }
  .hero__line--2 { grid-column: 3 / -1; }
  .project--b .project__phone { grid-column: 7 / 13; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__scroll-line::after { transform: none; }
}

/* ==========================================================================
   8. WordPress — portfolio, fiche projet, pages
   ========================================================================== */

/* Barre d'administration (connecté) */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

figure { margin: 0; }

/* Repli quand une réalisation n'a pas encore de capture */
.project__fallback {
  padding: 0 8%;
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .95;
  color: rgba(21, 21, 21, .55);
  text-align: center;
}
.work__empty a { text-decoration: underline; }

/* En-tête de page générique ------------------------------------------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 9rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero__title {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: var(--fs-display);
  letter-spacing: -.056em;
  line-height: .88;
  margin-left: -.04em;
}
.page-hero__title--long { font-size: var(--fs-h2); line-height: .95; letter-spacing: -.045em; max-width: 14ch; }
.page-hero__text { margin: 2rem 0 1.5rem; color: var(--soft); max-width: 40ch; }
.page-hero--404 { min-height: 80svh; }

.page-content { padding-top: 0; }
.prose { max-width: 68ch; margin-left: calc((100% - 11 * var(--gutter)) / 12 * 3 + var(--gutter) * 3); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h3); letter-spacing: -.025em; line-height: 1.15; margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

/* Portfolio ----------------------------------------------------------- */
.folio-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.folio-hero__meta { border-top: 1px solid var(--line); padding-top: .9rem; }
.folio-hero__meta .section-label { grid-column: 1 / 7; }
.folio-hero__count { grid-column: 7 / 13; text-align: right; }
.folio-hero__title {
  margin: clamp(3rem, 8vw, 7rem) 0 0 -.05em;
  font-size: clamp(3.4rem, 15.6vw, 18.5rem);
  letter-spacing: -.062em;
  line-height: .82;
  white-space: nowrap;
}
.folio-hero__bottom { margin-top: clamp(2.5rem, 5vw, 4rem); align-items: end; row-gap: 2.5rem; }
.folio-hero__intro { grid-column: 1 / 5; color: var(--soft); max-width: 36ch; }

.folio-filters { grid-column: 6 / 13; display: flex; justify-content: flex-end; align-items: baseline; gap: 1.5rem; }
.folio-filters__label { color: var(--soft); }
.folio-filters ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.6rem; }
.folio-filter {
  position: relative;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--soft);
  transition: color .4s;
}
.folio-filter sup { font-family: var(--font-mono); font-size: .55em; font-weight: 400; letter-spacing: 0; margin-left: .15em; }
.folio-filter::before {
  content: "";
  position: absolute;
  left: -.85em;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.folio-filter:hover { color: var(--fg); }
.folio-filter[aria-current="true"] { color: var(--fg); }
.folio-filter[aria-current="true"]::before { transform: scale(1); }

.folio { padding-top: clamp(2rem, 4vw, 3rem); }
.folio__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(4.5rem, 9vw, 8.5rem);
  align-items: start;
}
.folio-item { display: grid; gap: 1.1rem; }
.folio-item[hidden] { display: none; }
.folio-item__media { display: block; }
.folio-item .project__media { aspect-ratio: 4 / 3; }
.folio-item:hover .project__inner { transform: scale(1.035); }

.folio-item[data-slot="1"] { grid-column: 1 / 8; }
.folio-item[data-slot="2"] { grid-column: 9 / 13; margin-top: clamp(6rem, 16vw, 16rem); }
.folio-item[data-slot="2"] .project__media { aspect-ratio: 4 / 5; --shot-w: 88%; }
.folio-item[data-slot="3"] { grid-column: 3 / 11; }
.folio-item[data-slot="3"] .project__media { aspect-ratio: 16 / 9; --shot-w: 70%; }
.folio-item[data-slot="4"] { grid-column: 1 / 6; }
.folio-item[data-slot="4"] .project__media { aspect-ratio: 4 / 5; --shot-w: 88%; }
.folio-item[data-slot="5"] { grid-column: 7 / 13; margin-top: clamp(4rem, 10vw, 10rem); }
.folio-item[data-slot="6"] { grid-column: 1 / 13; }
.folio-item[data-slot="6"] .project__media { aspect-ratio: 21 / 9; --shot-w: 56%; }

.folio-item__meta {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  column-gap: 1rem;
  align-items: baseline;
}
.folio-item__num { color: var(--soft); }
.folio-item__title { font-size: var(--fs-h3); letter-spacing: -.03em; line-height: 1.05; }
.folio-item__title a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.folio-item:hover .folio-item__title a { background-size: 100% 1px; }
.folio-item__year { color: var(--soft); grid-column: 3; grid-row: 1; }
.folio-item__services { grid-column: 2 / 4; color: var(--soft); font-size: var(--fs-small); }
.folio__empty { color: var(--soft); padding: 4rem 0; }

/* Fiche projet -------------------------------------------------------- */
.case-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.case-hero__top { border-top: 1px solid var(--line); padding-top: .9rem; }
.case-hero__back { grid-column: 1 / 7; justify-self: start; font-weight: 400; }
.case-hero__kicker { grid-column: 7 / 13; text-align: right; color: var(--soft); }
.case-hero__title {
  margin: clamp(3rem, 8vw, 7rem) 0 0 -.05em;
  font-size: var(--fs-display);
  letter-spacing: -.058em;
  line-height: .86;
}
.case-hero__meta { margin-top: clamp(2.5rem, 5vw, 4.5rem); row-gap: 2.5rem; align-items: start; }
.case-hero__resume { grid-column: 1 / 6; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.4; letter-spacing: -.01em; max-width: 34ch; }
.case-hero__facts { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--gutter); }
.case-hero__facts dt { color: var(--soft); margin-bottom: .3rem; }
.case-hero__facts dd { font-size: var(--fs-small); }

.case-cover { padding: 0 var(--margin); }
.case-cover__media { aspect-ratio: 16 / 9; --shot-w: 74%; }

.case-block .section-label { grid-column: 1 / 4; padding-top: .7em; }
.case-block__lead {
  grid-column: 4 / 12;
  font-size: var(--fs-lead);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: pretty;
}
.case-block--goals { padding-top: 0; }
.case-goals { grid-column: 4 / 13; border-bottom: 1px solid var(--line); }
.case-goals li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: baseline;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-h3);
  letter-spacing: -.025em;
  line-height: 1.15;
}
.case-goals .label { color: var(--soft); }
.case-block__visit { grid-column: 4 / 12; margin-top: clamp(2.5rem, 5vw, 4rem); }

.case-art .grid { align-items: center; row-gap: 3rem; }
.case-art__text { grid-column: 1 / 6; display: grid; gap: 2rem; align-content: start; }
.case-art__body { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.5; max-width: 40ch; }
.case-art__caption { color: var(--soft); }
.case-art--text .case-art__text { grid-column: 1 / 11; }
.case-art--text .case-art__body {
  max-width: none;
  font-size: var(--fs-lead);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.case-art__device {
  grid-column: 7 / 13;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--panel);
}
.case-art__device .phone { width: 42%; max-width: 300px; }

.case-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(2rem, 4vw, 4rem); }
.case-gallery__item { grid-column: 1 / 13; }
.case-gallery__item .project__media { aspect-ratio: 16 / 9; --shot-w: 78%; }
.case-gallery__item:nth-child(3n + 2) { grid-column: 1 / 7; }
.case-gallery__item:nth-child(3n + 3) { grid-column: 7 / 13; }
.case-gallery__item:nth-child(3n + 2) .project__media,
.case-gallery__item:nth-child(3n + 3) .project__media { aspect-ratio: 4 / 5; --shot-w: 86%; }

.case-next { padding: 0 var(--margin); }
.case-next__link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  row-gap: 1rem;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.case-next__link .label { grid-column: 1 / -1; color: var(--soft); }
.case-next__title {
  font-size: var(--fs-display);
  font-weight: 500;
  letter-spacing: -.056em;
  line-height: .88;
  margin-left: -.04em;
  transition: transform .9s var(--ease-out);
}
.case-next__arrow {
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 96px);
  height: clamp(56px, 6vw, 96px);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .5s, border-color .5s, color .5s, transform .8s var(--ease-out);
}
.case-next__arrow .arrow { width: 36%; height: 36%; }
.case-next__link:hover .case-next__title { transform: translateX(clamp(.5rem, 2vw, 2rem)); }
.case-next__link:hover .case-next__arrow { background: var(--accent); border-color: var(--accent); color: var(--ink); }

@media (max-width: 860px) {
  .folio-hero__title { white-space: normal; }
  .folio-hero__intro, .folio-filters { grid-column: 1 / -1; }
  .folio-filters { justify-content: flex-start; flex-direction: column; gap: .75rem; }
  .folio-filters ul { justify-content: flex-start; padding-left: .9em; }
  .folio-item[data-slot] { grid-column: 1 / -1; margin-top: 0; }
  .folio-item[data-slot="2"], .folio-item[data-slot="4"] { grid-column: 1 / 11; }
  .folio-item[data-slot="5"] { grid-column: 3 / 13; }
  .folio-item[data-slot] .project__media { aspect-ratio: 4 / 3; --shot-w: 84%; }

  .prose { margin-left: 0; }
  .case-hero__back, .case-hero__kicker { grid-column: span 6; }
  .case-hero__resume, .case-hero__facts { grid-column: 1 / -1; }
  .case-cover__media { aspect-ratio: 4 / 3; --shot-w: 86%; }
  .case-block .section-label, .case-block__lead, .case-goals, .case-block__visit { grid-column: 1 / -1; }
  .case-block .section-label { margin-bottom: 1.5rem; }
  .case-goals li { grid-template-columns: 2.75rem 1fr; }
  .case-art__text, .case-art__device { grid-column: 1 / -1; }
  .case-art__device .phone { width: 52%; }
  .case-gallery__item:nth-child(n) { grid-column: 1 / -1; }
  .case-gallery__item:nth-child(n) .project__media { aspect-ratio: 4 / 3; --shot-w: 86%; }
}

/* ==========================================================================
   9. Pages Studio, Expertise, Contact
   ========================================================================== */

/* Titres d'ouverture partagés (lignes masquées, deuxième ligne en retrait) */
.studio-hero, .exp-hero, .contact-hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.studio-hero__meta, .exp-hero__meta, .contact-hero__meta { border-top: 1px solid var(--line); padding-top: .9rem; }
.studio-hero__meta .section-label, .exp-hero__meta .section-label, .contact-hero__meta .section-label { grid-column: 1 / 7; }
.studio-hero__place, .exp-hero__count, .contact-hero__place { grid-column: 7 / 13; text-align: right; font-variant-numeric: tabular-nums; }
.studio-hero__title, .exp-hero__title, .contact-hero__title {
  margin-top: clamp(3rem, 9vw, 8rem);
  font-size: clamp(3.2rem, 12.4vw, 15rem);
  letter-spacing: -.06em;
  line-height: .86;
  margin-left: -.045em;
}
.studio-hero__indent, .exp-hero__indent, .contact-hero__indent { padding-left: calc((100% - 11 * var(--gutter)) / 12 * 3 + var(--gutter) * 3); }
html.motion [data-hero-line] { visibility: hidden; }

/* Studio --------------------------------------------------------------- */
.studio-manifesto { padding-top: clamp(3rem, 6vw, 5rem); }
.studio-manifesto .section-label { grid-column: 1 / 3; padding-top: .9em; }
.studio-manifesto .studio__statement { text-indent: 0; }

.studio-story__aside { grid-column: 1 / 5; display: grid; gap: 1.5rem; align-content: start; }
.studio-story__title { font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; }
.studio-story__body { grid-column: 6 / 12; margin-left: 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.6; }
.studio-story__body p:first-child::first-letter {
  float: left;
  font-size: 4.2em;
  font-weight: 500;
  line-height: .78;
  letter-spacing: -.05em;
  margin: .06em .08em 0 0;
}
.studio-story__body .todo::first-letter { all: unset; }

.studio-independent .section-label { grid-column: 1 / 4; padding-top: .9em; }
.studio-independent__title { grid-column: 4 / 13; font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; }
.studio-independent__list { margin-top: clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.studio-independent__list li { padding: clamp(1.5rem, 2.6vw, 2.4rem) 0; border-top: 1px solid var(--line); align-items: baseline; row-gap: .75rem; }
.studio-independent__list .label { grid-column: 4 / 5; color: var(--soft); }
.studio-independent__list h3 { grid-column: 5 / 9; font-size: var(--fs-h3); letter-spacing: -.025em; line-height: 1.1; }
.studio-independent__list p { grid-column: 9 / 13; color: var(--soft); }

.studio-values__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.studio-values__head .section-label { grid-column: 1 / -1; }
.studio-values__list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(3rem, 7vw, 6rem); }
.value { display: grid; gap: 1.25rem; align-content: start; }
.value--1 { grid-column: 1 / 8; }
.value--2 { grid-column: 7 / 13; }
.value--3 { grid-column: 2 / 10; }
.value--4 { grid-column: 5 / 13; }
.value__word {
  font-size: clamp(3.2rem, 11vw, 12rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .85;
  margin-left: -.045em;
}
.value__text { max-width: 36ch; color: var(--soft); padding-left: .2em; }

.studio-collab .section-label { grid-column: 1 / 4; padding-top: .9em; }
.studio-collab__title { grid-column: 4 / 13; font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; }
.studio-collab__table {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.studio-collab__col:first-child { grid-column: 4 / 8; }
.studio-collab__col:last-child { grid-column: 9 / 13; }
.studio-collab__head { color: var(--soft); padding-bottom: 1rem; border-bottom: 1px solid currentColor; }
.studio-collab__col li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  letter-spacing: -.01em;
}

/* Expertise ------------------------------------------------------------ */
.exp-hero__bottom { margin-top: clamp(3rem, 6vw, 5rem); align-items: start; row-gap: 2.5rem; }
.exp-hero__intro { grid-column: 1 / 5; color: var(--soft); max-width: 36ch; }
.exp-index { grid-column: 7 / 13; }
.exp-index li { border-top: 1px solid var(--line); }
.exp-index li:last-child { border-bottom: 1px solid var(--line); }
.exp-index a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: .85rem 0;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -.02em;
  transition: padding .6s var(--ease-out);
}
.exp-index a .label { color: var(--soft); }
.exp-index a:hover { padding-left: .75rem; }

.exp-service { align-items: start; border-top: 1px solid var(--line); margin: 0 var(--margin); padding-left: 0; padding-right: 0; }
.exp-service__aside { grid-column: 1 / 6; align-self: stretch; }
.exp-service__sticky { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1rem; }
.exp-service__num {
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .8;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 1px var(--fg);
}
.exp-service__title { font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; max-width: 11ch; }
.exp-service__body { grid-column: 7 / 13; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.exp-service__lead { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.exp-service__facts { display: grid; gap: 1.75rem; }
.exp-service__facts > div { display: grid; grid-template-columns: minmax(8rem, 1fr) 2.4fr; gap: var(--gutter); padding-top: 1rem; border-top: 1px solid var(--line); }
.exp-service__facts dt { color: var(--soft); padding-top: .35em; }
.exp-service__list li { padding: .3rem 0 .3rem 1.25rem; position: relative; }
.exp-service__list li::before { content: ""; position: absolute; left: 0; top: .95em; width: .5rem; height: 1px; background: currentColor; }

/* Processus : piste horizontale épinglée */
.exp-process { overflow: hidden; }
.exp-process__pin { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr; padding: calc(var(--header-h) + 2rem) 0 clamp(2rem, 4vw, 3rem); }
.exp-process__head { padding: 0 var(--margin); align-items: end; row-gap: 1.5rem; }
.exp-process__head .section-label { grid-column: 1 / -1; }
.exp-process__title { grid-column: 1 / 8; font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; }
.exp-process__progress { grid-column: 9 / 13; height: 1px; background: var(--line); align-self: end; margin-bottom: .6rem; }
.exp-process__progress span { display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; }
.exp-process__track {
  display: flex;
  gap: var(--gutter);
  align-self: end;
  padding: clamp(3rem, 6vw, 5rem) var(--margin) 0;
  width: max-content;
}
.exp-step {
  width: clamp(280px, 30vw, 460px);
  min-height: clamp(20rem, 46vh, 30rem);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.25rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid currentColor;
}
.exp-step__num { font-size: clamp(3rem, 6vw, 6rem); font-weight: 500; letter-spacing: -.06em; line-height: .8; color: var(--accent); }
.exp-step:not(:first-child) .exp-step__num { color: inherit; }
.exp-step__title { font-size: var(--fs-h3); letter-spacing: -.03em; line-height: 1.05; }
.exp-step__text { color: var(--soft); max-width: 34ch; }
.exp-step__out { display: grid; gap: .4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.exp-step__out .label { color: var(--soft); }

/* FAQ */
.exp-faq__aside { grid-column: 1 / 5; display: grid; gap: 1.5rem; align-content: start; }
.exp-faq__title { font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; }
.exp-faq__more { color: var(--soft); }
.exp-faq__more .link-arrow { color: var(--fg); }
.exp-faq__list { grid-column: 6 / 13; border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.2rem, 2vw, 1.6rem) 0;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .4s, border-color .4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; margin: 0 0 0 -6px; background: currentColor; transition: transform .5s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.faq[open] .faq__icon::after { transform: rotate(0); }
.faq__q:hover .faq__icon { border-color: currentColor; }
.faq__a { padding: 0 3.5rem clamp(1.4rem, 2.4vw, 2rem) 0; color: var(--soft); max-width: 62ch; }

/* Contact -------------------------------------------------------------- */
.contact-hero__bottom { margin-top: clamp(2.5rem, 5vw, 4rem); }
.contact-hero__intro { grid-column: 7 / 12; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.5; }
.contact { padding-top: clamp(2rem, 4vw, 3rem); }
.contact__form-wrap { grid-column: 1 / 8; }
.contact__aside { grid-column: 9 / 13; display: grid; gap: 2.5rem; align-content: start; }

.contact-form { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: .5rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > .label { color: var(--soft); }
.field__opt { text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  width: 100%;
  padding: .35rem 0 .7rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 9rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 400; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--fg); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--accent); }
.field textarea::placeholder { color: color-mix(in srgb, currentColor 38%, transparent); }

.field--choices legend { margin-bottom: .9rem; color: var(--soft); }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  transition: background-color .35s, color .35s, border-color .35s;
}
.choice span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .4s var(--ease-out); }
.choice:hover span { border-color: currentColor; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.choice input:checked + span::before { transform: scale(1); }
.choice input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 3px; }

.contact-form__foot { display: grid; gap: 1.5rem; margin-top: .5rem; }
.contact-form__privacy { color: var(--soft); font-size: var(--fs-small); }
.contact-form__privacy a { text-decoration: underline; text-underline-offset: .2em; }
.contact-form__submit { grid-column: 1 / -1; width: 100%; font: inherit; font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.03em; color: inherit; background: none; border-left: 0; border-right: 0; cursor: pointer; text-align: left; }
.contact-form__submit[disabled] { opacity: .55; pointer-events: none; }

[data-focus]:focus { outline: none; }
.contact__error { padding: 1rem 1.25rem; margin-bottom: 2rem; border-left: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.contact__done { display: grid; gap: 1.5rem; justify-items: start; padding: clamp(2rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.contact__done-title { font-size: var(--fs-display); font-weight: 500; letter-spacing: -.056em; line-height: .88; margin-left: -.04em; }
.contact__done-text { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); max-width: 36ch; }

.contact__block { display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.contact__block .label { color: var(--soft); margin-bottom: .25rem; }
.contact__big { font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact__big a, .contact__block a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.contact__big a:hover, .contact__block a:hover { background-size: 100% 1px; }
.contact__note { color: var(--soft); font-size: var(--fs-small); }
.contact__steps { display: grid; gap: .9rem; }
.contact__steps li { display: grid; grid-template-columns: 2rem 1fr; font-size: var(--fs-small); }
.contact__steps .label { margin: 0; padding-top: .2em; }

@media (max-width: 860px) {
  .studio-hero__indent, .exp-hero__indent, .contact-hero__indent { padding-left: calc((100% - 11 * var(--gutter)) / 12 * 2 + var(--gutter) * 2); }
  .studio-hero__place, .exp-hero__count, .contact-hero__place { grid-column: 7 / 13; }
  .studio-manifesto .section-label { grid-column: 1 / -1; margin-bottom: 1.5rem; }
  .studio-story__aside, .studio-story__body { grid-column: 1 / -1; }
  .studio-story__body { margin-top: 2.5rem; }
  .studio-independent .section-label, .studio-collab .section-label { grid-column: 1 / -1; margin-bottom: 1.5rem; }
  .studio-independent__title, .studio-collab__title { grid-column: 1 / -1; }
  .studio-independent__list .label { grid-column: 1 / 2; }
  .studio-independent__list h3, .studio-independent__list p { grid-column: 2 / 13; }
  .value--1, .value--2, .value--3, .value--4 { grid-column: 1 / -1; }
  .value--2, .value--4 { padding-left: 12%; }
  .studio-collab__col:first-child, .studio-collab__col:last-child { grid-column: 1 / -1; }
  .studio-collab__col:last-child { margin-top: 3rem; }

  .exp-hero__intro, .exp-index { grid-column: 1 / -1; }
  .exp-service__aside, .exp-service__body { grid-column: 1 / -1; }
  .exp-service__sticky { position: static; margin-bottom: 2rem; }
  .exp-service__facts > div { grid-template-columns: 1fr; gap: .5rem; }
  .exp-process__title, .exp-process__progress { grid-column: 1 / -1; }
  .exp-process__progress { display: none; }
  .exp-faq__aside, .exp-faq__list { grid-column: 1 / -1; }
  .exp-faq__list { margin-top: 2.5rem; }
  .faq__a { padding-right: 0; }

  .contact-hero__intro, .contact__form-wrap, .contact__aside { grid-column: 1 / -1; }
  .contact__aside { margin-top: 4rem; }
}

/* Processus sans épinglage (mobile ou mouvement réduit) : défilement horizontal natif */
.exp-process:not(.is-pinned) .exp-process__track {
  width: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margin);
  scrollbar-width: none;
  padding-bottom: 1rem;
}
.exp-process:not(.is-pinned) .exp-process__track::-webkit-scrollbar { display: none; }
.exp-process:not(.is-pinned) .exp-step { flex: none; scroll-snap-align: start; }
.exp-process:not(.is-pinned) .exp-process__pin { min-height: 0; padding-top: var(--space-section); padding-bottom: var(--space-section); }
@media (max-width: 860px) { .exp-step { width: 78vw; min-height: 0; } }

/* 10. Vie privée — témoins, politique, formulaire
   ========================================================================== */
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

.footer__legal p.footer__privacy { grid-column: 5 / 9; display: flex; gap: 1.5rem; justify-content: center; }
.footer__privacy a, .footer__privacy .link-button { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.footer__privacy a:hover, .footer__privacy .link-button:hover { background-size: 100% 1px; color: var(--ivory); }

.consent {
  position: fixed;
  left: var(--margin);
  bottom: var(--margin);
  z-index: 140;
  width: min(30rem, calc(100vw - 2 * var(--margin)));
  max-height: calc(100svh - 2 * var(--margin));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 1.1rem;
  padding: 1.4rem 1.4rem 1.25rem;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  font-size: var(--fs-small);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.consent[hidden] { display: none; }
.consent.is-open { opacity: 1; transform: none; }
.consent__title { display: flex; align-items: baseline; }
.consent__title .pt { width: .55em; height: .55em; margin-left: .15em; }
.consent__text a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.consent__prefs { display: grid; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.consent__prefs[hidden] { display: none; }
.consent__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); cursor: pointer; }
div.consent__row { cursor: default; }
.consent__name { display: block; font-weight: 500; }
.consent__desc { display: block; color: color-mix(in srgb, var(--ink) 64%, transparent); font-size: .875rem; }
.consent__always { flex: none; color: color-mix(in srgb, var(--ink) 64%, transparent); }

.consent__switch {
  appearance: none;
  flex: none;
  position: relative;
  width: 2.5rem;
  height: 1.4rem;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background-color .35s;
}
.consent__switch::after {
  content: "";
  position: absolute;
  top: 50%; left: .2rem;
  width: .8rem; height: .8rem;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
  transition: transform .4s var(--ease-out), background-color .35s;
}
.consent__switch:checked { background: var(--ink); }
.consent__switch:checked::after { background: var(--accent); transform: translate(1.05rem, -50%); }
.consent__switch:focus-visible, .consent__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent__btn {
  flex: 1 1 auto;
  padding: .7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.consent__btn:hover { background: transparent; color: var(--ink); }
.consent__btn--ghost { background: transparent; color: var(--ink); }
.consent__btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.consent__btn[hidden] { display: none; }

@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100svh - 24px); }
  .consent__btn { flex-basis: calc(50% - .25rem); }
  .consent__btn--ghost, .consent__btn[data-consent-action="save"] { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { transition: none; transform: none; }
}

.consent-check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-small); cursor: pointer; }
.consent-check input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .15em; accent-color: var(--ink); }

.privacy-card { padding: 1.25rem 1.4rem; border-left: 2px solid var(--accent); background: color-mix(in srgb, currentColor 5%, transparent); }
.privacy-card a { text-decoration: underline; }
.privacy-table { overflow-x: auto; margin-top: 1.4em; border-top: 1px solid var(--line); }
.privacy-table:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.privacy-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.45; }
.privacy-table th, .privacy-table td { padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.privacy-table thead th { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .07em; text-transform: uppercase; color: var(--soft); }
.privacy-table tbody th { font-weight: 500; }
.prose .link-button { font-weight: 500; }

@media (max-width: 860px) {
  .footer__legal p.footer__privacy { grid-column: 1 / -1; justify-content: flex-start; }
}

/* 11. Carnet — index et articles
   ========================================================================== */
.journal-hero .folio-hero__title.journal-hero__title--long { font-size: clamp(2.8rem, 9vw, 10rem); white-space: normal; line-height: .9; }

.journal { padding-top: clamp(2rem, 4vw, 3rem); }

/* Article à la une */
.journal-feature { align-items: end; row-gap: 2rem; }
.journal-feature__media { grid-column: 1 / 8; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mineral); }
.journal-thumb { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.journal-feature__media:hover .journal-thumb { transform: scale(1.035); }
.journal-thumb--empty { position: relative; display: grid; align-content: space-between; padding: 1.25rem; color: var(--ink); background: var(--mineral); }
.journal-thumb--empty .label { color: color-mix(in srgb, var(--ink) 60%, transparent); }
.journal-thumb__dot { justify-self: end; width: clamp(18px, 2.4vw, 34px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.journal-feature__body { grid-column: 9 / 13; display: grid; gap: 1.4rem; }
.journal-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--soft); }
.journal-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .6em; border-radius: 50%; background: var(--accent); vertical-align: .1em; }
.journal-feature__title { font-size: clamp(1.9rem, 3.3vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.journal-feature__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.journal-feature__title a:hover { background-size: 100% 1px; }
.journal-feature__excerpt { color: var(--soft); max-width: 40ch; }
.journal-feature__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.journal-feature__foot .label { color: var(--soft); }

/* Liste */
.journal-list { margin-top: clamp(4.5rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.journal-list:first-child { margin-top: 0; }
.journal-row { position: relative; border-bottom: 1px solid var(--line); }
.journal-row__link {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: baseline;
  padding: clamp(1.4rem, 2.6vw, 2.2rem) 0;
}
.journal-row__date { grid-column: 1 / 2; color: var(--soft); }
.journal-row__topic { grid-column: 2 / 4; color: var(--soft); }
.journal-row__text { grid-column: 4 / 11; display: grid; gap: .55rem; }
.journal-row__title { font-size: clamp(1.4rem, 2.4vw, 2.4rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.06; max-width: 26ch; transition: transform .8s var(--ease-out); }
.journal-row__excerpt { color: var(--soft); font-size: var(--fs-small); max-width: 62ch; }
.journal-row__time { grid-column: 11 / 13; text-align: right; color: var(--soft); }
.journal-row__thumb {
  position: absolute;
  right: calc((100% - 11 * var(--gutter)) / 12 * 2 + var(--gutter) * 2);
  top: 50%;
  z-index: 2;
  width: clamp(150px, 15vw, 250px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scale(.92) rotate(-2deg);
  transition: opacity .4s, transform .7s var(--ease-out);
}
.journal-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .journal-row__link:hover .journal-row__title { transform: translateX(clamp(.4rem, 1.2vw, 1.25rem)); }
  .journal-row__link:hover .journal-row__thumb { opacity: 1; transform: translateY(-50%) scale(1) rotate(0); }
}
.journal-row__link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.journal-pages { margin-top: clamp(3rem, 6vw, 5rem); }
.journal-pages ul { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; }
.journal-pages .page-numbers { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .07em; text-transform: uppercase; color: var(--soft); }
.journal-pages a.page-numbers:hover, .journal-pages .page-numbers.current { color: var(--fg); }
.journal-pages .page-numbers.current::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .5em; border-radius: 50%; background: var(--accent); vertical-align: .1em; }
.journal-pages .prev { margin-right: auto; }
.journal-pages li:has(.next) { margin-left: auto; }

.journal--related { padding-top: var(--space-section); }
.journal-related__head { align-items: baseline; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.journal-related__head .section-label { grid-column: 1 / 7; }
.journal-related__all { grid-column: 7 / 13; justify-self: end; }
.journal--related .journal-list { margin-top: 0; }

/* Article */
.article-progress { position: fixed; inset: 0 0 auto; z-index: 61; height: 2px; pointer-events: none; }
.article-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.case-hero__kicker a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.article-hero__title {
  margin: clamp(3rem, 7vw, 6rem) 0 0 -.04em;
  max-width: 17ch;
  font-size: clamp(2.5rem, 6.4vw, 7rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .96;
  text-wrap: balance;
}
.article-cover { padding: 0 var(--margin); }
.article-cover__media { overflow: hidden; aspect-ratio: 16 / 9; background: var(--mineral); }
.article-cover__media img { width: 100%; height: 100%; object-fit: cover; }
.article-cover figcaption { margin-top: .8rem; color: var(--soft); }

.article-body {
  --col: calc((100vw - 2 * var(--margin) - 11 * var(--gutter)) / 12);
  padding-top: clamp(4rem, 8vw, 7rem);
}
.article-aside { grid-column: 1 / 4; }
.article-aside__sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 2.5rem; padding-right: var(--gutter); }
.article-toc .label, .article-share .label { color: var(--soft); }
.article-toc ol { display: grid; gap: .1rem; margin-top: .9rem; border-top: 1px solid var(--line); }
.article-toc a { position: relative; display: grid; grid-template-columns: 2rem 1fr; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.35; color: var(--soft); transition: color .3s; }
.article-toc a .label { padding-top: .2em; }
.article-toc a:hover, .article-toc a[aria-current] { color: var(--fg); }
.article-toc a[aria-current] .label { color: var(--accent); }
.article-share ul { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .9rem; font-size: var(--fs-small); }
.article-share a, .article-share .link-button { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

.article-content { grid-column: 4 / 11; min-width: 0; margin-left: 0; max-width: none; }

/* Contenu rédigé dans l'éditeur */
.entry { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 1.7; }
.entry > * { max-width: 68ch; }
.entry > * + * { margin-top: 1.25em; }
.entry h2 { margin-top: 2.4em; font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.entry h3 { margin-top: 2em; font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.entry h4 { margin-top: 1.8em; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .07em; text-transform: uppercase; }
.entry h2 + *, .entry h3 + *, .entry h4 + * { margin-top: .7em; }
.entry > :first-child { margin-top: 0; }
.entry strong { font-weight: 500; }
.entry li + li { margin-top: .45em; }
.entry li::marker { color: var(--soft); }
.entry blockquote:not(.wp-block-pullquote blockquote) { padding-left: 1.5rem; border-left: 2px solid var(--accent); font-size: 1.15em; line-height: 1.5; letter-spacing: -.01em; }
.entry blockquote cite, .entry .wp-block-pullquote cite { display: block; margin-top: .8rem; font-family: var(--font-mono); font-size: var(--fs-label); font-style: normal; letter-spacing: .07em; text-transform: uppercase; color: var(--soft); }
.entry .wp-block-pullquote { margin-block: 2.5em; padding: 2.5rem 0; border-block: 1px solid var(--line); text-align: left; }
.entry .wp-block-pullquote blockquote p { font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.entry figure, .entry .wp-block-image { margin-block: 2.2em; }
.entry img { height: auto; }
.entry figcaption, .entry .wp-element-caption { margin-top: .7rem; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .07em; text-transform: uppercase; color: var(--soft); text-align: left; }
.entry .alignwide { max-width: none; margin-right: calc(-2 * (var(--col) + var(--gutter))); }
.entry .alignfull { max-width: none; width: calc(12 * var(--col) + 11 * var(--gutter)); margin-left: calc(-3 * (var(--col) + var(--gutter))); }
.entry .wp-block-image.alignwide img, .entry .wp-block-image.alignfull img { width: 100%; }
.entry hr, .entry .wp-block-separator { margin-block: 3em; border: 0; border-top: 1px solid var(--line); opacity: 1; }
.entry code { padding: .1em .35em; font-family: var(--font-mono); font-size: .85em; background: color-mix(in srgb, currentColor 7%, transparent); }
.entry pre { overflow-x: auto; padding: 1.25rem 1.4rem; font-family: var(--font-mono); font-size: .85rem; line-height: 1.6; background: color-mix(in srgb, currentColor 6%, transparent); }
.entry pre code { padding: 0; background: none; font-size: inherit; }
.entry .wp-block-table { overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.45; }
.entry th, .entry td { padding: .8rem 1rem .8rem 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry thead th { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .07em; text-transform: uppercase; color: var(--soft); }
.entry .wp-block-buttons { margin-block: 2em; }
.entry .wp-block-button__link { padding: .85rem 1.4rem; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: var(--fs-small); font-weight: 500; text-decoration: none; }
.entry .wp-block-button__link:hover { background: var(--accent); color: var(--ink); }
.entry .wp-block-embed__wrapper iframe { width: 100%; }
.entry .wp-block-details { padding: 1rem 0; border-block: 1px solid var(--line); }
.entry .wp-block-details summary { font-weight: 500; cursor: pointer; }
.article-pages { margin-top: 2.5rem; display: flex; gap: 1rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3.5rem !important; padding: 1.5rem 0 0 !important; border-top: 1px solid var(--line); list-style: none !important; }
.article-tags li + li { margin-top: 0; }
.article-tags a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); text-decoration: none; transition: border-color .3s; }
.article-tags a:hover { border-color: currentColor; }

.case-next__title.article-next__title { font-size: clamp(2rem, 5.2vw, 5.5rem); line-height: .98; letter-spacing: -.045em; max-width: 20ch; text-wrap: balance; }

@media (max-width: 1100px) {
  .article-content { grid-column: 4 / 13; }
  .entry .alignwide { margin-right: 0; }
}
@media (max-width: 860px) {
  .journal-feature__media, .journal-feature__body { grid-column: 1 / -1; }
  .journal-row__link { row-gap: .6rem; }
  .journal-row__date { grid-column: 1 / 4; }
  .journal-row__topic { grid-column: 4 / 10; }
  .journal-row__time { grid-column: 10 / 13; }
  .journal-row__text { grid-column: 1 / -1; grid-row: 2; }
  .journal-row__thumb { display: none; }
  .journal-related__head .section-label, .journal-related__all { grid-column: 1 / -1; justify-self: start; }
  .journal-related__all { margin-top: 1rem; }

  .article-aside, .article-content { grid-column: 1 / -1; }
  .article-aside__sticky { position: static; padding: 0 0 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
  .entry .alignwide, .entry .alignfull { margin-inline: 0; width: auto; }
  .entry .alignfull { margin-inline: calc(-1 * var(--margin)); width: auto; }
}

/* 12. Création de sites Web à Québec (page de service)
   ========================================================================== */
.web-h2 { font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .95; text-wrap: balance; }
.web-head { row-gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.web-head .section-label { grid-column: 1 / 4; padding-top: .9em; }
.web-head .web-h2 { grid-column: 4 / 12; }

/* Hero */
.web-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.web-hero__title {
  margin-top: clamp(3rem, 8vw, 7rem);
  font-size: clamp(2.4rem, 8.4vw, 10rem);
  letter-spacing: -.055em;
  line-height: .9;
  margin-left: -.04em;
}
.web-hero__indent { padding-left: calc((100% - 11 * var(--gutter)) / 12 * 4 + var(--gutter) * 4); }
.web-hero__bottom { margin-top: clamp(3rem, 6vw, 5rem); align-items: start; row-gap: 2rem; }
.web-hero__lead { grid-column: 1 / 6; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.web-hero__text { grid-column: 7 / 12; display: grid; gap: 1.1rem; color: var(--soft); max-width: 46ch; }
.web-hero__text strong { color: var(--fg); font-weight: 500; }
.web-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 1rem; color: var(--fg); }
.web-btn { height: 52px; padding: 0 1.4rem 0 1.15rem; font-size: 1rem; }
.web-hero__media {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  aspect-ratio: 16 / 8.4;
  background: var(--mineral);
}
.web-hero__media--panel { background: var(--panel); --shot-w: 64%; }
.web-hero__img { width: 100%; height: 100%; object-fit: cover; }

/* Accroche */
.web-hook { padding-top: clamp(4rem, 8vw, 7rem); }
.web-hook__label { grid-column: 1 / 4; padding-top: .9em; }
.web-hook__body { grid-column: 4 / 12; display: grid; gap: 1.5rem; }
.web-hook__body .web-h2 { margin-bottom: clamp(1rem, 2vw, 2rem); }
.web-hook__lead { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; max-width: 30ch; }
.web-hook__body > p:not(.web-hook__lead):not(.label) { color: var(--soft); max-width: 52ch; }
.web-hook__quotes { display: grid; gap: .5rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.web-hook__quotes li {
  font-size: var(--fs-h3);
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--soft);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent);
}
.web-hook__quotes q { quotes: "«\00a0" "\00a0»"; }
.web-hook__zero { color: var(--fg); }
.web-hook__turn { margin-top: clamp(5rem, 10vw, 9rem); align-items: end; row-gap: 2rem; }
.web-hook__statement {
  grid-column: 1 / 9;
  font-size: var(--fs-display);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .9;
  margin-left: -.04em;
}
.web-hook__close { grid-column: 9 / 13; display: grid; gap: 1rem; color: var(--soft); }
.web-hook__close p:first-child { color: var(--fg); font-weight: 500; }

/* Proposition de valeur */
.web-pillars__list { border-bottom: 1px solid var(--line); }
.web-pillar { align-items: start; row-gap: 1rem; padding: clamp(2rem, 3.5vw, 3rem) 0; border-top: 1px solid var(--line); }
.web-pillar__num { grid-column: 1 / 4; font-size: clamp(3rem, 6vw, 6rem); font-weight: 500; letter-spacing: -.06em; line-height: .8; }
.web-pillar:first-child .web-pillar__num { color: var(--accent); }
.web-pillar__title { grid-column: 4 / 8; font-size: var(--fs-h3); letter-spacing: -.025em; line-height: 1.1; }
.web-pillar__body { grid-column: 8 / 13; display: grid; gap: .9rem; color: var(--soft); max-width: 46ch; }
.web-pillar__result { color: var(--fg); font-weight: 500; padding-top: .9rem; border-top: 1px solid var(--line); }

/* Types de sites */
.web-types__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.web-type { display: grid; grid-template-rows: auto auto auto auto 1fr; gap: 1.1rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid currentColor; }
.web-type__num { color: var(--soft); }
.web-type__title { font-size: var(--fs-h3); letter-spacing: -.03em; line-height: 1.05; max-width: 12ch; min-height: 2.1em; }
.web-type__text { color: var(--soft); max-width: 38ch; }
.web-type__label { color: var(--soft); padding-top: 1rem; border-top: 1px solid var(--line); }

/* Processus : l'étape et la semaine au-dessus du titre */
.web-step__when { display: block; margin-bottom: .75rem; color: var(--soft); letter-spacing: .07em; }

/* Pourquoi XP Marketing */
.web-why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(2.5rem, 5vw, 4.5rem); }
.web-reason { display: grid; gap: .9rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.web-reason__num { color: var(--soft); }
.web-reason__title { font-size: var(--fs-h3); letter-spacing: -.025em; line-height: 1.1; max-width: 14ch; }
.web-reason__text { color: var(--soft); max-width: 38ch; }
.web-reason__text:first-of-type { margin-top: .25rem; }

/* Cas clients */
.web-work .work__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.web-work .work__empty { margin-top: 2rem; }

/* FAQ : réponses en plusieurs paragraphes */
.web-faq__a { display: grid; gap: .8rem; }
.web-faq__a ul li { position: relative; padding: .15rem 0 .15rem 1.25rem; }
.web-faq__a ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: .5rem; height: 1px; background: currentColor; }
.web-faq__a a { color: var(--fg); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.web-faq__dl { display: grid; gap: .6rem; }
.web-faq__dl dt { display: inline; color: var(--fg); font-weight: 500; }
.web-faq__dl dd { display: inline; margin: 0; }

/* Appel à l'action final */
.web-cta__text { display: grid; gap: .8rem; }
.web-cta__direct { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); row-gap: 1.25rem; align-items: baseline; }
.web-cta__direct .section-label { grid-column: 1 / 4; }
.web-cta__lines { grid-column: 4 / 10; display: flex; flex-wrap: wrap; gap: 1rem clamp(2rem, 5vw, 4rem); }
.web-cta__lines li { display: grid; gap: .3rem; }
.web-cta__lines .label { color: var(--soft); }
.web-cta__lines a { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.web-cta__lines a:hover { background-size: 100% 1px; }
.web-cta__promise { grid-column: 10 / 13; justify-self: end; font-weight: 500; }

@media (max-width: 1100px) {
  .web-types__list, .web-why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .web-head .section-label, .web-head .web-h2,
  .web-hook__label, .web-hook__body, .web-hook__statement, .web-hook__close,
  .web-hero__lead, .web-hero__text,
  .web-pillar__num, .web-pillar__title, .web-pillar__body,
  .web-cta__direct .section-label, .web-cta__lines, .web-cta__promise { grid-column: 1 / -1; }
  .web-hero__title .hero__line-inner { white-space: normal; }
  .web-hero .web-btn { display: inline-flex; }
  .web-hero__indent { padding-left: calc((100% - 11 * var(--gutter)) / 12 * 2 + var(--gutter) * 2); }
  .web-hero__media { aspect-ratio: 4 / 3; }
  .web-hero__media--panel { --shot-w: 84%; }
  .web-hook__body { margin-top: 1.5rem; }
  .web-pillar__num { font-size: 2.6rem; }
  .web-types__list, .web-why__list { grid-template-columns: 1fr; }
  .web-type__title { min-height: 0; }
  .web-cta__promise { justify-self: start; }
}

/* 13. Plan du site
   ========================================================================== */
.sitemap { padding-top: 0; }
.sitemap__group { padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--line); row-gap: 1rem; }
.sitemap__group:last-child { border-bottom: 1px solid var(--line); }
.sitemap__title { grid-column: 1 / 4; color: var(--soft); padding-top: .55em; }
.sitemap__title span { margin-left: .35em; }
.sitemap__list { grid-column: 4 / 13; columns: 2; column-gap: var(--gutter); }
.sitemap__list li { break-inside: avoid; padding: .3rem 0; }
.sitemap__list a {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -.015em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.sitemap__list a:hover { background-size: 100% 1px; }
@media (max-width: 860px) {
  .sitemap__title, .sitemap__list { grid-column: 1 / -1; }
  .sitemap__list { columns: 1; }
}
