/* Portfolio Alexandre Gil — mobile d'abord. Une encre, un blanc, un seul accent (vermillon) réservé aux repères. */
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: oklch(0.995 0.0015 265);
  --bg-2: oklch(0.966 0.004 265);
  --ink: oklch(0.19 0.022 265);
  --ink-2: oklch(0.44 0.016 265);
  --ink-3: oklch(0.53 0.014 265);
  --line: oklch(0.9 0.006 265);
  --night: oklch(0.17 0.022 265);
  --on-night: oklch(0.97 0.004 265);
  --on-night-2: oklch(0.74 0.012 265);
  --accent: oklch(0.63 0.2 32);
  --particle: 16,18,30;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wipe: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(20px, 5.2vw, 72px);
  --max: 1160px;
  --nav: 56px;
  --z-nav: 100;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav); }
body { font-family: "Geist", -apple-system, "Segoe UI", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; transition: top .2s var(--ease); }
.skip:focus { top: 10px; }
.ic { flex: none; }

.eyebrow { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow--light { color: var(--on-night-2); }
.h2 { font-size: clamp(2rem, 5.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.04em; }

/* ---------- boutons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; font-size: 1rem; letter-spacing: -.01em; transition: transform .16s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn .ic { transition: transform .3s var(--ease); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9375rem; }
.btn--sm::after { content: ""; position: absolute; inset: -5px; }
.btn--light { background: var(--on-night); color: var(--night); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px oklch(0.19 0.022 265 / .2); }
.btn--ghost { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1px oklch(0.97 0.004 265 / .28); }
@media (hover: hover) {
  .btn:hover { background: oklch(0.3 0.03 265); }
  .btn:hover .ic { transform: translate(2px, -2px); }
  .btn--light:hover { background: oklch(1 0 0); }
  .btn--line:hover { background: var(--bg-2); box-shadow: inset 0 0 0 1px oklch(0.19 0.022 265 / .34); }
  .btn--ghost:hover { background: oklch(0.97 0.004 265 / .08); box-shadow: inset 0 0 0 1px oklch(0.97 0.004 265 / .5); }
}

/* ---------- barre ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad); padding-top: env(safe-area-inset-top); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.nav.is-stuck { background: oklch(0.995 0.0015 265 / .94); box-shadow: 0 1px 0 var(--line); }
.nav__name { font-weight: 600; letter-spacing: -.02em; padding: 10px 0; white-space: nowrap; }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__in { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: oklch(1 0 0); box-shadow: 0 0 0 1px var(--line); transition: transform .16s var(--ease), box-shadow .25s var(--ease); }
.nav__in::after { content: ""; position: absolute; inset: -4px; }
.nav__in img { width: 18px; height: 18px; display: block; }
.nav__in:active { transform: scale(.95); }
@media (hover: hover) { .nav__in:hover { box-shadow: 0 0 0 1px oklch(0.19 0.022 265 / .28); } }
.nav__links { display: none; gap: 30px; font-size: .9375rem; color: var(--ink-2); }
.nav__links a { padding: 10px 0; transition: color .2s; }
.nav__links a[aria-current] { color: var(--ink); }
@media (hover: hover) { .nav__links a:hover { color: var(--ink); } }
@media (min-width: 860px) { .nav__links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 480px; display: grid; align-items: end; justify-items: center; overflow: clip; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
#face { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__cap { position: relative; z-index: 1; text-align: center; padding: 0 var(--pad) max(30px, calc(env(safe-area-inset-bottom) + 20px)); pointer-events: none; opacity: calc(1 - var(--hs, 0) * 2.4); transform: translateY(calc(var(--hs, 0) * -28px)); }
.hero__cap h1 { font-size: clamp(1.125rem, 2.2vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; }
.hero__cap p { font-size: .9375rem; color: var(--ink-3); margin-top: 2px; }
.js .hero__cap > * { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero.ready .hero__cap > *, .js .hero.no-gl .hero__cap > * { opacity: 1; transform: none; }
.js .hero.ready .hero__cap > :nth-child(1) { transition-delay: .5s; }
.js .hero.ready .hero__cap > :nth-child(2) { transition-delay: .6s; }
/* réseau lent : le titre n'attend pas le visage plus d'une seconde */
.js .hero.cap-on .hero__cap > * { opacity: 1; transform: none; }

/* ---------- apparitions ---------- */
/* titre qui s'allume mot après mot dès qu'il entre à l'écran (plus lié à la position de défilement : en bas de page il ne finissait jamais) */
.js [data-words] .w { opacity: .14; transition: opacity .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.js [data-words].in .w { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- pastilles : un logo aux couleurs d'origine, ou une icône au trait, dans un petit rond ---------- */
.bd { flex: none; display: inline-grid; place-items: center; width: var(--bd, 40px); height: var(--bd, 40px); border-radius: 50%; overflow: hidden; background: oklch(1 0 0); box-shadow: 0 0 0 1px oklch(0.19 0.022 265 / .1); vertical-align: middle; }
.bd img { display: block; width: 58%; height: 58%; object-fit: contain; }
.bd--fill img, .bd--right img { width: 100%; height: 100%; object-fit: cover; }
.bd--right img { object-position: 100% 50%; }
.bd--mark img { width: 82%; height: 82%; }
.bd--bleu { background: #4C6A85; box-shadow: none; }
.bd--bleu img { width: 70%; height: 70%; }
.bd--ag, .bd--ic { background: var(--ink); box-shadow: none; }
.bd--ag { color: var(--bg); font-size: calc(var(--bd, 40px) * .34); font-weight: 600; letter-spacing: -.02em; }
.bd--ic img { width: 52%; height: 52%; }
/* icône teintée : fond très clair et trait dans la couleur du groupe ou de l'outil lié */
.bd--tint { background: color-mix(in oklch, var(--tint) 12%, white); box-shadow: 0 0 0 1px color-mix(in oklch, var(--tint) 22%, white); }
.bd--tint img { width: 54%; height: 54%; }

/* ---------- lignes repliables (téléphone) : le titre est un bouton, le détail s'ouvre dessous ---------- */
.acc { appearance: none; margin: 0; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; cursor: default; }
@media (max-width: 899px) {
  .js .acc { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .js .acc::after { content: ""; flex: none; width: 11px; height: 11px; opacity: .5; background: linear-gradient(currentColor, currentColor) 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
  .js .acc[aria-expanded="true"]::after { transform: rotate(45deg); }
  .js .acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
  .js .acc__in { min-height: 0; overflow: hidden; opacity: 0; transition: opacity .35s var(--ease); }
  .js .is-open > .acc__body { grid-template-rows: 1fr; }
  .js .is-open > .acc__body > .acc__in { opacity: 1; }
}

/* ---------- California Collection : la carte de marque (photo du site, poinçon et logo, poste, maisons, lien) ---------- */
.cal { max-width: var(--max); margin-inline: auto; padding: 56px var(--pad) 72px; }
.exh { position: relative; isolation: isolate; overflow: hidden; display: grid; min-height: 440px; border-radius: clamp(24px, 3vw, 36px); background: var(--night); color: var(--on-night); }
.exh__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; transform-origin: 50% 50%; transition: transform 1.8s var(--ease); }
.exh__bg img { position: absolute; left: 0; top: -25%; display: block; width: 100%; height: 150%; object-fit: cover; object-position: 50% 50%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.exh::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, oklch(0.16 0.02 265 / .62) 0%, oklch(0.16 0.02 265 / .18) 30%, oklch(0.16 0.02 265 / .22) 58%, oklch(0.14 0.02 265 / .82) 100%),
  radial-gradient(120% 70% at 50% 46%, oklch(0.16 0.02 265 / 0) 40%, oklch(0.16 0.02 265 / .35) 100%); }
.exh__in { display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding: clamp(20px, 3vw, 40px); }
.exh__eye { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: oklch(0.97 0.004 265 / .82); }
.exh__brand { transform: translate3d(0, var(--by, 0px), 0); contain: layout style; will-change: transform; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 1.4vw, 16px); padding: 10px 0; }
.exh__mark { display: block; width: auto; height: clamp(34px, 3.4vw, 46px); }
.exh__brand h2 { margin: 0; line-height: 0; }
.exh__logo { display: block; width: min(70vw, 420px); height: auto; filter: drop-shadow(0 6px 22px oklch(0.1 0.02 265 / .35)); }
.exh__foot { display: grid; gap: 18px; }
.exh__role { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 600; letter-spacing: -.025em; }
.exh__houses { margin-top: 4px; max-width: 46ch; font-size: .9375rem; color: oklch(0.97 0.004 265 / .78); }
.exh__cta { display: grid; justify-items: start; gap: 12px; }
.exh__was { font-size: .875rem; color: oklch(0.97 0.004 265 / .78); }
.exh :focus-visible { outline-color: var(--on-night); }
/* arrivée : la photo se pose (léger recul), puis le poinçon, le logo et les textes apparaissent */
/* parallaxe sans JavaScript (téléphone, tablette) : la photo glisse de ±22 % de la hauteur de la carte, le logo de ±14 px,
   au rythme exact du défilement ; navigateurs sans animation-timeline : photo fixe */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .exh.px-css { view-timeline: --exh block; }
    .exh.px-css .exh__bg img { animation: exh-py linear both; animation-timeline: --exh; }
    .exh.px-css .exh__brand { animation: exh-by linear both; animation-timeline: --exh; }
  }
}
@keyframes exh-py { from { transform: translate3d(0, -14.667%, 0); } to { transform: translate3d(0, 14.667%, 0); } }
@keyframes exh-by { from { transform: translate3d(0, 14px, 0); } to { transform: translate3d(0, -14px, 0); } }
.js .exh .exh__bg { transform: scale(1.1); }
.js .exh.in .exh__bg { transform: none; }
.js .exh .exh__mark, .js .exh .exh__logo, .js .exh .exh__eye, .js .exh .exh__foot { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .exh .exh__mark { transition-delay: .25s; }
.js .exh .exh__logo { transition-delay: .4s; }
.js .exh .exh__eye { transition-delay: .55s; }
.js .exh .exh__foot { transition-delay: .65s; }
.js .exh.in .exh__mark, .js .exh.in .exh__logo, .js .exh.in .exh__eye, .js .exh.in .exh__foot { opacity: 1; transform: none; }
@media (min-width: 760px) {
  .cal { padding: clamp(72px, 13vh, 150px) var(--pad) clamp(80px, 14vh, 160px); }
  .exh { min-height: clamp(380px, 33vw, 450px); }
  .exh__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
  .exh__cta { justify-items: end; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .exh__bg img { transform: none; }
  .js .exh .exh__bg, .js .exh.in .exh__bg { transform: none; transition: none; }
  .exh__brand { transform: none; }
  .js .exh .exh__mark, .js .exh .exh__logo, .js .exh .exh__eye, .js .exh .exh__foot { opacity: 1; transform: none; transition: none; }
}

/* les missions : la liste et, à côté, le repère de la mission en cours dessiné en particules */
.cal__sub { display: flex; align-items: baseline; justify-content: space-between; margin-top: clamp(44px, 10vh, 104px); }
.cal__sub--sm { margin-top: clamp(32px, 7vh, 76px); }
.wks { margin-top: 12px; }
#fig { display: block; width: 100%; height: 92px; touch-action: pan-y; }
.wks__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 1.5em; margin: 6px 0 12px; font-size: .875rem; color: var(--ink-2); }
#fig-cap { transition: opacity .3s var(--ease); }
#fig-cap.out { opacity: 0; }
.wks__count { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.wks__count span { font-weight: 500; color: var(--ink); }
.works { border-bottom: 1px solid var(--line); }
.wk { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); }
.wk::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line); transform-origin: 0 50%; }
.wk__n { padding-top: 1.32rem; font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.wk h4 { font-size: clamp(1.1875rem, 2.5vw, 1.875rem); line-height: 1.15; letter-spacing: -.03em; }
.wk .acc { min-height: 58px; padding: 14px 0; }
.wk .acc > span:first-child { flex: 1; }
.wk__tag { flex: none; margin-left: 12px; font-style: normal; font-size: .875rem; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-2); }
.wk__k strong { font-weight: 600; color: var(--ink); white-space: nowrap; }
.wk .acc__body { grid-column: 2; }
.wk__d { max-width: 44ch; color: var(--ink-2); }
.wk__k { max-width: 44ch; margin-top: 6px; font-size: .9375rem; color: var(--ink-3); }
.wk__tools { display: flex; gap: 6px; margin-top: 10px; --bd: 30px; }
.wk .acc__in > :last-child { padding-bottom: 18px; }
.wk__ti { display: none; }
@media (max-width: 899px) {
  /* ligne repliée : titre, chiffre clé dessous, logos des outils à droite ; le détail ouvert ne les répète pas */
  .wk__t { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
  .wk__tag { margin: 3px 0 0; font-size: .8125rem; line-height: 1.2; }
  .wk__ti { display: flex; flex: none; align-items: center; --bd: 22px; }
  .wk__ti .bd + .bd { margin-left: -7px; }
  .wk .wk__tools { display: none; }
}
@media (max-width: 759px) {
  .wk h4 { font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.02em; }
  .wk .acc { min-height: 52px; padding: 12px 0; }
  .wk__n { padding-top: 1.12rem; }
}
.js .wk__k--sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .wk::before { transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0ms); }
.js .wk > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0ms) + 90ms); }
.js .wk > :nth-child(3) { transition-delay: calc(var(--d, 0ms) + 150ms); }
.js .wk.in::before, .js .wk.in > * { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .wks { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 72px; align-items: start; margin-top: 14px; }
  .works { grid-area: 1 / 1; }
  .wks__fig { grid-area: 1 / 2; position: sticky; top: max(96px, calc(50vh - 190px)); }
  #fig { --bx: 64px; --by: 56px; width: calc(100% + 2 * var(--bx)); height: calc(clamp(200px, 38vh, 330px) + 2 * var(--by)); margin: calc(-1 * var(--by)) calc(-1 * var(--bx)); }
  .wks__cap { position: relative; margin: 16px 0 0; font-size: .9375rem; }
  .wk { grid-template-columns: 3.25rem minmax(0, 1fr); padding: 30px 0 34px; }
  .wk__n { padding-top: .5rem; }
  .wk h4 { letter-spacing: -.035em; line-height: 1.12; }
  .wk__tag { margin-left: 16px; font-size: .9375rem; }
  .wk .acc { min-height: 0; padding: 0; }
  .wk .acc__body { margin-top: 8px; }
  .wk .acc__in > :last-child { padding-bottom: 0; }
  .js .wk { opacity: .36; transition: opacity .55s var(--ease); }
  .js .wk.is-cur { opacity: 1; }
}

/* et aussi : une pastille par ligne ; sur téléphone, des pastilles qui s'enchaînent, au-delà le nom et sa précision */
.more { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.more li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; border-radius: 999px; background: var(--bg-2); font-size: .875rem; letter-spacing: -.01em; --bd: 26px; }
.more b { font-weight: 500; }
.more li > span:last-child { display: none; }
@media (min-width: 900px) {
  .more { display: block; margin-top: 6px; }
  .more li { display: grid; grid-template-columns: auto 10rem minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); border-radius: 0; background: none; font-size: .9375rem; line-height: 1.4; --bd: 34px; }
  .more li:first-child { border-top: 0; }
  .more li > span:last-child { display: block; color: var(--ink-2); }
}

/* ---------- réalisations : une grille de projets alignée (chacun avec sa vignette de mini-captures), puis deux listes égales ---------- */
.rz { max-width: var(--max); margin-inline: auto; padding: 0 var(--pad) 72px; }
.pj { margin-top: 18px; display: grid; gap: 4px; }
.pj > li { display: grid; }
.pj__row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; margin-inline: -8px; padding: 10px 8px; border-radius: 18px; transition: background .25s var(--ease); -webkit-tap-highlight-color: transparent; }
.pj__txt { display: grid; gap: 1px; min-width: 0; }
.pj__ctx { font-size: .75rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.pj__txt b { margin-top: 1px; font-size: 1.0625rem; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.pj__kind { font-size: .8125rem; color: var(--ink-3); }
.pj__d { margin-top: 3px; font-size: .875rem; line-height: 1.38; color: var(--ink-2); }
.pj__go { display: grid; place-items: center; width: 32px; height: 32px; color: var(--ink-3); transition: transform .3s var(--ease), color .25s; }
a.pj__row:active { background: var(--bg-2); }
/* la vignette : jusqu'à trois mini-captures posées en éventail */
.fan { position: relative; display: block; width: 88px; height: 78px; }
.fan img { position: absolute; left: 50%; top: 5px; width: 50px; height: 67px; margin-left: -25px; border-radius: 7px; object-fit: cover; background: var(--bg-2); box-shadow: 0 0 0 1px oklch(0.19 0.022 265 / .1), 0 7px 14px -7px oklch(0.19 0.022 265 / .4); transition: transform .5s var(--ease); }
.fan--3 img:nth-child(1) { transform: translateX(-19px) rotate(-8deg) scale(.9); }
.fan--3 img:nth-child(2) { z-index: 1; }
.fan--3 img:nth-child(3) { transform: translateX(19px) rotate(8deg) scale(.9); }
.fan--2 img:nth-child(1) { transform: translateX(-11px) rotate(-7deg) scale(.94); }
.fan--2 img:nth-child(2) { transform: translateX(11px) rotate(5deg); }
@media (hover: hover) {
  a.pj__row:hover { background: var(--bg-2); }
  a.pj__row:hover .pj__go { color: var(--ink); transform: translateX(3px); }
  a.pj__row:hover .fan--3 img:nth-child(1) { transform: translateX(-25px) rotate(-12deg) scale(.92); }
  a.pj__row:hover .fan--3 img:nth-child(2) { transform: translateY(-3px) scale(1.05); }
  a.pj__row:hover .fan--3 img:nth-child(3) { transform: translateX(25px) rotate(12deg) scale(.92); }
}
.rz__lists { margin-top: 30px; display: grid; gap: 24px; }
/* très petits téléphones (moins de 360 px) : vignette plus étroite, le texte garde de la place */
@media (max-width: 359px) { .pj__row { grid-template-columns: 70px minmax(0, 1fr) auto; column-gap: 10px; } .fan { width: 70px; height: 64px; } .fan img { width: 42px; height: 56px; margin-left: -21px; } .pj__ctx { font-size: .6875rem; } }
@media (max-width: 759px) {
  .pj { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .pj__row { height: 100%; grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "fan go" "ctx ctx" "name name" "d d";
    grid-template-rows: auto auto auto 1fr; align-items: start; column-gap: 0; row-gap: 0; margin-inline: -6px; padding: 6px; }
  .pj__txt { display: contents; }
  .fan { grid-area: fan; margin: 2px 0 8px; }
  .pj__ctx { grid-area: ctx; font-size: .625rem; letter-spacing: .05em; }
  .pj__txt b { grid-area: name; }
  .pj__kind { display: none; }
  .pj__d { grid-area: d; margin-top: 4px; }
  .pj__go { grid-area: go; width: 24px; height: 24px; }
}
.rz__h { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (min-width: 900px) {
  .rz { padding-bottom: clamp(80px, 14vh, 160px); }
  .pj { margin-top: clamp(28px, 5vh, 44px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 8px; }
  .pj__row { grid-template-columns: 112px minmax(0, 1fr) auto; column-gap: 18px; margin-inline: -12px; padding: 14px 12px; }
  .pj__txt b { font-size: 1.1875rem; }
  .pj__d { display: block; font-size: .9375rem; }
  .fan { width: 112px; height: 96px; }
  .fan img { top: 6px; width: 62px; height: 83px; margin-left: -31px; border-radius: 8px; }
  .fan--3 img:nth-child(1) { transform: translateX(-24px) rotate(-8deg) scale(.9); }
  .fan--3 img:nth-child(3) { transform: translateX(24px) rotate(8deg) scale(.9); }
  .fan--2 img:nth-child(1) { transform: translateX(-14px) rotate(-7deg) scale(.94); }
  .fan--2 img:nth-child(2) { transform: translateX(14px) rotate(5deg); }
  .rz__lists { margin-top: clamp(40px, 7vh, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
}
@media (min-width: 900px) and (hover: hover) {
  a.pj__row:hover .fan--3 img:nth-child(1) { transform: translateX(-31px) rotate(-12deg) scale(.92); }
  a.pj__row:hover .fan--3 img:nth-child(3) { transform: translateX(31px) rotate(12deg) scale(.92); }
}

/* ---------- sous-page d'une étude de cas ---------- */
.art { max-width: 1040px; margin-inline: auto; padding: calc(var(--nav) + 28px) var(--pad) 72px; }
.art__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9375rem; color: var(--ink-2); }
.art__top { margin-top: 10px; }
.art__title { margin-top: 12px; max-width: 20ch; font-size: clamp(2rem, 5.2vw, 3.375rem); line-height: 1.04; letter-spacing: -.045em; }
.art__lead { margin-top: 18px; max-width: 54ch; font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.42; letter-spacing: -.01em; color: var(--ink-2); }
.facts { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 20px; overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.fact { display: grid; align-content: start; gap: 4px; padding: 16px 16px 18px; background: var(--bg); }
.fact b { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.fact span { font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.shots { margin-top: 28px; display: grid; gap: 14px; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px oklch(0.19 0.022 265 / .08), 0 30px 50px -36px oklch(0.19 0.022 265 / .4); }
.shot img { display: block; width: 100%; height: auto; }
.shot--tel { width: min(230px, 62%); justify-self: center; border-radius: 26px; }
.shots__row { display: grid; gap: 14px; }
.shots--gal { grid-template-columns: 1fr 1fr; align-items: center; }
.shot--por { border-radius: 16px; }
.art__top--app .shot--tel { margin: 28px auto 0; }
/* cadres d'appareil : capture fixe du haut du site, aux proportions de l'écran */
.dev { margin: 0; }
.dev__view { position: relative; overflow: hidden; background: var(--bg-2); }
.dev__view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev--mac .dev__lid { position: relative; margin: 0 6.5%; padding: 1.4% 1.4% 2.2%; border-radius: clamp(10px, 1.6vw, 18px) clamp(10px, 1.6vw, 18px) 0 0; background: oklch(0.21 0.012 265); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .09), 0 0 0 1px oklch(0.19 0.022 265 / .16); }
.dev--mac .dev__lid::before { content: ""; position: absolute; left: 50%; top: .55%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: oklch(0.34 0.012 265); }
.dev--mac .dev__view { aspect-ratio: 16 / 10; border-radius: 3px; }
.dev__base { position: relative; height: clamp(9px, 1.5vw, 17px); border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%; background: oklch(0.88 0.006 265); box-shadow: inset 0 1px 0 oklch(1 0 0 / .8), inset 0 -2px 3px oklch(0.19 0.022 265 / .12), 0 22px 34px -20px oklch(0.19 0.022 265 / .55); }
.dev__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 40%; transform: translateX(-50%); border-radius: 0 0 7px 7px; background: oklch(0.8 0.008 265); }
.dev--tel { position: relative; padding: 3.4%; border-radius: 15% / 7%; background: oklch(0.21 0.012 265); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .1), 0 0 0 1px oklch(0.19 0.022 265 / .18), 0 30px 46px -30px oklch(0.19 0.022 265 / .6); }
.dev--tel .dev__view { aspect-ratio: 390 / 844; border-radius: 11.5% / 5.3%; background: oklch(0.15 0.01 265); }
.dev--tel::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 3.1%; width: 28%; height: 3%; transform: translateX(-50%); border-radius: 99px; background: oklch(0.15 0.01 265); }
.dev--win { overflow: hidden; border-radius: 12px; background: oklch(1 0 0); box-shadow: 0 0 0 1px oklch(0.19 0.022 265 / .1), 0 30px 50px -36px oklch(0.19 0.022 265 / .4); }
.dev--win img { display: block; width: 100%; height: auto; }
.dev__bar { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; height: 30px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.dev__dots { display: flex; gap: 5px; }
.dev__dots i { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.86 0.008 265); }
.dev__url { justify-self: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 12px; border-radius: 99px; background: oklch(1 0 0); box-shadow: 0 0 0 1px var(--line); font-size: .75rem; color: var(--ink-3); }
.shots .dev--tel { width: min(210px, 54%); justify-self: center; margin-top: 8px; }
.shots--gal .dev--tel { width: 100%; }
@media (max-width: 759px) {
  .shots__row { grid-template-columns: minmax(0, 1fr) 31%; gap: 12px; align-items: center; }
  .shots .shots__row .dev--tel { width: 100%; margin-top: 0; }
  .dev--win .dev__bar { grid-template-columns: 24px minmax(0, 1fr) 12px; height: 24px; padding: 0 8px; }
  .dev--win .dev__dots { gap: 4px; }
  .dev--win .dev__dots i { width: 6px; height: 6px; }
  .dev--win .dev__url { padding: 1px 6px; font-size: .625rem; }
}
.art__body { margin-top: 44px; display: grid; gap: 34px; max-width: 760px; }
.art__body h2 { font-size: 1.375rem; letter-spacing: -.03em; }
.art__body p { margin-top: 10px; max-width: 62ch; color: var(--ink-2); }
.asteps { margin-top: 12px; counter-reset: s; border-bottom: 1px solid var(--line); }
.asteps li { counter-increment: s; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 2px 0; padding: 12px 0 13px; border-top: 1px solid var(--line); }
.asteps li::before { content: counter(s, decimal-leading-zero); grid-row: 1 / 3; padding-top: .2em; font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.asteps b { font-weight: 600; letter-spacing: -.015em; }
.asteps span { color: var(--ink-2); }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--bg-2); font-size: .9375rem; font-weight: 500; letter-spacing: -.01em; --bd: 28px; }
.art__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.art__more { margin-top: 56px; }
.art__more ul { margin-top: 10px; border-bottom: 1px solid var(--line); }
.art__more a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.art__more a span { grid-column: 1; font-size: .8125rem; color: var(--ink-3); }
.art__more a b { grid-column: 1; font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; }
.art__more a .ic { grid-area: 1 / 2 / 3 / 3; transition: transform .3s var(--ease); }
@media (hover: hover) { .art__back:hover { color: var(--ink); } .art__more a:hover .ic { transform: translateX(3px); } }
.foot__sig { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.foot__sig img { flex: none; width: 24px; height: 24px; }
.foot a { text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.foot .foot__legal { flex-basis: 100%; justify-content: center; margin-top: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px oklch(0.19 0.022 265 / .16); color: var(--ink-2); text-decoration: none; }
@media (min-width: 760px) { .foot .foot__legal { flex-basis: auto; margin: 0 0 0 auto; } }
@media (hover: hover) { .foot .foot__legal:hover { color: var(--ink); box-shadow: inset 0 0 0 1px oklch(0.19 0.022 265 / .34); } }
/* page introuvable : « 404 » en particules (mot.js) */
.nf { min-height: 100svh; display: grid; align-content: center; max-width: 1040px; margin-inline: auto; padding: 48px var(--pad) 64px; }
.nf__mot { display: block; width: calc(100% + 36px); height: clamp(150px, min(42vw, 40svh), 340px); margin: 0 -18px 10px; color: var(--ink); touch-action: pan-y; --align: left; }
/* mentions légales */
.legal__list { margin-top: 28px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.legal__list dt { padding-top: 16px; font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.legal__list dd { padding: 4px 0 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal__list a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .legal__list { grid-template-columns: 190px 1fr; } .legal__list dt, .legal__list dd { padding: 16px 0; border-bottom: 1px solid var(--line); } }
@media (min-width: 760px) {
  .art { padding-top: calc(var(--nav) + 48px); padding-bottom: 110px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { padding: 20px 20px 22px; }
  .shots { margin-top: 36px; gap: 18px; }
  .shots__row { grid-template-columns: minmax(0, 1fr) 216px; gap: 28px; align-items: center; }
  .shot--tel, .shots .dev--tel { width: 100%; }
  .shots--gal { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .art__top--app { display: grid; grid-template-columns: minmax(0, 1fr) 230px; column-gap: 56px; align-items: start; }
  .art__top--app .facts { grid-template-columns: 1fr 1fr; }
  .art__top--app .shot--tel { margin: 8px 0 0; }
  .asteps li { grid-template-columns: 2.5rem 11rem minmax(0, 1fr); gap: 0 16px; }
  .asteps li::before { grid-row: auto; }
}

/* ---------- téléphone : missions sans chiffre en particules, une ligne se dessine le long des numéros au défilement ---------- */
@media (max-width: 899px) {
  .wks__fig { display: none; }
  .works { position: relative; padding-left: 18px; }
  .works::before, .works::after { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: 1.5px; border-radius: 2px; background: var(--line); }
  .works::after { background: var(--ink); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .wk__n { transition: color .4s var(--ease); }
  .wk.is-hit .wk__n { color: var(--ink); font-weight: 600; }
  .st:not(:last-child)::after { background-size: 100% calc(var(--fill, 0) * 100%); transition: none; }
  .sg__list .skl.skl--pc { display: none; }
  /* grands titres : chaque ligne monte derrière un masque en arrivant à l'écran (une seule fois) */
  .tmask .tm { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
  .tmask .tm > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--l, 0) * 110ms + 60ms); }
  .tmask.in .tm > span { transform: none; }
  /* parcours : l'année et le numéro d'étape restent en haut et tournent pendant qu'on descend */
  .par__side { display: contents; }
  .par .par__yr { position: sticky; top: var(--nav); z-index: 2; display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; padding: 8px 0 14px; background: linear-gradient(var(--bg) 76%, oklch(0.995 0.0015 265 / 0)); }
  .par .par__yr .yr { font-size: 2.5rem; }
}

/* ---------- parcours ---------- */
.par { max-width: var(--max); margin-inline: auto; padding: 0 var(--pad) 72px; }
.par__yr { display: none; }
.yr { display: flex; font-weight: 600; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.yr__roll { display: block; height: 1em; overflow: hidden; padding-right: .1em; margin-right: -.1em; }
.yr__col { display: block; transform: translateY(calc(var(--k, 0) * -1em)); transition: transform .9s var(--ease); }
.yr__col i { display: block; height: 1em; font-style: normal; }
.par__count { font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.par__count span { font-weight: 500; color: var(--ink); }

.steps { margin-top: 18px; padding-left: 26px; --node: 10px; }
.st { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; padding-bottom: 20px; }
.st:last-child { padding-bottom: 0; }
.st::before { content: ""; position: absolute; z-index: 1; left: -26px; top: calc(var(--node) - 4.75px); width: 9.5px; height: 9.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.st:not(:last-child)::after { content: ""; position: absolute; left: -22px; top: calc(var(--node) + 7px); bottom: calc(7px - var(--node)); width: 1.5px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 0% no-repeat var(--line); transition: background-size .6s var(--ease); }
.st.is-past::before { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.st.is-past:not(.is-cur)::after { background-size: 100% 100%; }
.st.is-cur::before { transform: scale(1.35); }
.st--next.is-past::before { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 5px oklch(0.63 0.2 32 / .16); }
.st__top { display: contents; }
.st__when { grid-area: 1 / 1; font-size: .8125rem; line-height: 20px; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--ink-3); }
.st__logos { grid-area: 1 / 2 / 3 / 3; align-self: start; display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 74px; --bd: 34px; }
.st h3 { grid-area: 2 / 1; font-size: clamp(1.0625rem, 2.4vw, 1.75rem); line-height: 1.22; letter-spacing: -.025em; }
.st .acc { padding: 2px 0 4px; }
.st .acc__body { grid-column: 1 / -1; }
.st .acc__in p { max-width: 46ch; padding: 4px 0 2px; color: var(--ink-2); }
.js .st { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.js .st.in { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .par { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; padding-bottom: clamp(80px, 14vh, 160px); }
  .par__side { position: sticky; top: max(96px, 24vh); }
  .par__yr { display: block; margin-top: 14px; }
  .yr { font-size: clamp(6rem, 12.5vw, 10.5rem); margin-left: -.045em; }
  .par__count { margin-top: 16px; }
  .steps { margin-top: 0; padding-left: 44px; --node: 26px; }
  .st { display: block; padding: 4px 0 52px; }
  .st::before { left: -44px; top: 21px; }
  .st:not(:last-child)::after { left: -40px; top: 37px; bottom: -17px; }
  .st__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
  .st__when { font-size: .875rem; }
  .st__logos { gap: 8px; min-width: 0; --bd: 46px; }
  .st h3 { margin-top: 6px; line-height: 1.14; letter-spacing: -.032em; }
  .st .acc { padding: 0; }
  .st .acc__in p { padding: 6px 0 0; }
  .js .st.in { opacity: .38; }
  .js .st.in.is-cur { opacity: 1; }
}

/* ---------- compétences : chaque point porte le logo de l'outil, ou une icône au trait ---------- */
.skills { background: var(--bg-2); }
.skills__in { max-width: var(--max); margin-inline: auto; padding: 64px var(--pad); }
.sg { margin-top: 26px; display: grid; gap: 22px; }
.sg__list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.skl { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; border-radius: 999px; background: oklch(1 0 0); font-size: .875rem; font-weight: 500; letter-spacing: -.01em; --bd: 26px; }
.skl__ic { flex: none; display: flex; }
.skl__ic .bd + .bd { margin-left: -7px; }
.js .skl { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js .sg__card.in .skl { opacity: 1; transform: none; }
@media (max-width: 759px) {
  .sg { gap: 18px; }
  .sg__list { gap: 6px; }
  .skl { gap: 7px; padding: 4px 11px 4px 4px; font-size: .8125rem; --bd: 24px; }
}
.sg__note { margin-top: 18px; font-size: .9375rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .skills__in { padding: clamp(72px, 12vh, 130px) var(--pad); }
  .sg { margin-top: clamp(32px, 6vh, 56px); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .sg__card { padding: 24px 22px 12px; border-radius: 24px; background: oklch(1 0 0); }
  .sg__list { display: block; margin-top: 14px; }
  .skl { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); border-radius: 0; background: none; font-size: 1rem; line-height: 1.25; --bd: 36px; }
  .skl__ic .bd + .bd { margin-left: -10px; }
}

/* ---------- contact : « 2027 » en particules (mot.js), e-mail à copier, LinkedIn ----------
   téléphone : 2027, titre, rythme, puis les actions en pleine largeur (au pouce)
   ordinateur : titre à gauche, 2027 à droite sur la même ligne de base ; une barre sur toute la largeur porte les actions et le rythme */
.cta { padding: clamp(12px, 2vw, 24px); background: var(--bg-2); }
.cta__card { background: var(--night); color: var(--on-night); border-radius: clamp(24px, 3.4vw, 40px); padding: clamp(28px, 5vw, 88px) var(--pad) clamp(28px, 5vw, 72px); }
.cta__yrw { position: relative; height: clamp(110px, 35vw, 180px); margin-bottom: 6px; }
.cta__yr { position: absolute; top: 0; bottom: 0; left: -18px; width: calc(100% + 36px); height: 100%; color: var(--on-night); touch-action: pan-y; --align: left; --valign: center; }
.js .cta__y { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cta h2 { margin-top: 14px; max-width: 16em; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.03; letter-spacing: -.045em; }
.cta__bar { margin-top: 26px; }
.cta__sub { font-size: 1.0625rem; line-height: 1.45; color: var(--on-night-2); }
.cta__actions { margin-top: 26px; display: grid; gap: 10px; }
.cta__actions .btn { width: 100%; }
.cta__mail { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cta__mail .btn { flex: 1; min-width: 0; padding: 0 14px; font-size: min(1rem, 4.1vw); white-space: nowrap; }
.cta__copy { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1px oklch(0.97 0.004 265 / .28); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .16s var(--ease); }
.cta__copy:active { transform: scale(.94); }
.cta__copy .ic { grid-area: 1 / 1; transition: opacity .2s var(--ease), transform .3s var(--ease); }
.cta__i2 { opacity: 0; transform: scale(.6); }
.cta__mail.is-done .cta__i1 { opacity: 0; transform: scale(.6); }
.cta__mail.is-done .cta__i2 { opacity: 1; transform: none; }
.cta__mail.is-done .cta__copy, .cta__mail.is-done .btn { background: oklch(0.97 0.004 265 / .1); }
@media (hover: hover) { .cta__copy:hover { background: oklch(0.97 0.004 265 / .08); box-shadow: inset 0 0 0 1px oklch(0.97 0.004 265 / .5); } }
.cta :focus-visible { outline-color: var(--on-night); }
@media (min-width: 560px) {
  .cta__actions { display: flex; flex-wrap: wrap; }
  .cta__actions .btn { width: auto; }
  .cta__mail .btn { flex: none; padding: 0 22px; font-size: 1rem; }
}
@media (min-width: 900px) {
  .cta__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 34%); column-gap: clamp(24px, 4vw, 72px); align-items: end; }
  .cta__txt { grid-area: 1 / 1; }
  .cta__yrw { grid-area: 1 / 2; align-self: stretch; height: auto; min-height: 150px; margin: 0 0 -9px; }
  .cta__yr { --align: right; --valign: end; }
  .cta__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(36px, 5vh, 56px); padding-top: clamp(24px, 3.4vh, 32px); border-top: 1px solid oklch(0.97 0.004 265 / .14); }
  .cta__actions { order: -1; margin-top: 0; }
  .cta__sub { font-size: 1rem; }
}

.foot { background: var(--bg-2); padding: 22px var(--pad) max(26px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .8125rem; color: var(--ink-3); }

/* ---------- transitions entre pages (Chrome, Edge, Safari récents ; ailleurs, navigation normale) : un fondu court ---------- */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
::view-transition-old(root) { animation: vt-out .18s ease-out both; }
::view-transition-new(root) { animation: vt-in .32s ease-out .06s both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero__cap > *, .js .wk, .js .wk > *, .js .st, .js .st.in, .js .skl { opacity: 1; transform: none; transition: none; }
  .js [data-words] .w { opacity: 1; transition: none; }
  .js .wk::before { transform: none; transition: none; }
  .st::after, .yr__col, .js .acc__body, .js .acc__in { transition: none; }
  .hero__cap { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
