/* ==========================================================
   MARIOL — feuille de style (v2)
   Papier, encre, un seul accent. Le travail apporte la couleur.
   ========================================================== */
:root {
  --paper: #eeece7;
  --paper-2: #e5e2db;
  --paper-3: #d9d5cc;
  --ink: #141414;
  --ink-2: #2b2b2b;
  --mute: #6f6b63;
  --line: rgba(20, 20, 20, 0.14);
  --accent: #ff4a1c;
  --night: #121212;
  --night-2: #1b1b1b;
  --night-line: rgba(255, 255, 255, 0.1);

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-text: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(16px, 3vw, 40px);
  --radius: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
.wrap { padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* petites étiquettes */
.lbl { font-family: var(--f-text); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0; }
.lbl b { color: var(--ink); font-weight: 600; }

/* titres */
.big {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 62;
  text-transform: uppercase; line-height: .86; letter-spacing: -0.005em; margin: 0;
}
.h-xl { font-size: clamp(64px, 11vw, 176px); }
.h-l { font-size: clamp(52px, 8vw, 132px); }
.h-m { font-size: clamp(40px, 5.4vw, 86px); }
.lede { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.3; letter-spacing: -0.01em; max-width: 36ch; margin: 0; font-weight: 500; }
.small { color: var(--mute); font-size: 15px; max-width: 44ch; margin: 12px 0 0; }

/* logo */
.logo {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 100;
  font-size: 22px; letter-spacing: -0.035em; line-height: 1; text-transform: none;
  display: inline-flex; align-items: flex-start;
}
/* le point du i = le voyant d'enregistrement */
.logo { letter-spacing: -0.04em; }
.logo .ld { position: relative; }
.logo .ld::after { content: ""; position: absolute; left: 52%; top: .03em; width: .22em; height: .22em; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.logo:hover .ld::after { animation: rec 1s steps(1) infinite; }
@keyframes rec { 50% { opacity: .15; } }

/* en-tête */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gut);
  transition: background .3s, transform .45s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.top.scrolled { background: rgba(238, 236, 231, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top.hide { transform: translateY(-100%); }
.top.on-dark { color: #ecebe6; }
.top.on-dark.scrolled { background: rgba(18,18,18,.82); border-bottom-color: rgba(255,255,255,.08); }
.top.on-dark .pill { background: #ecebe6; color: #111; }
.top.on-dark .pill:hover { background: var(--accent); color: #fff; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-a { font-size: 15px; font-weight: 500; position: relative; padding: 4px 0; }
.nav-a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-a:hover::after, .nav-a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: inline-flex; gap: 6px; font-size: 13px; font-weight: 600; }
.lang button { opacity: .35; }
.lang button.on { opacity: 1; }

/* boutons : un bloc net, la flèche dans un carré d'accent qui pivote au survol */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 18px; border-radius: 12px; min-height: 44px;
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: background .25s, transform .3s var(--ease);
}
.pill:not(:has(.arr)) { padding-right: 18px; }
.pill:hover { background: #000; transform: translateY(-1px); }
.pill .arr { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 0; transition: transform .45s var(--ease); }
.pill .arr::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 11.5 11.5 4.5M6 4.5h5.5V10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 11.5 11.5 4.5M6 4.5h5.5V10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }   /* flèche dessinée : jamais d'emoji sur iPhone */
.pill:hover .arr { transform: rotate(45deg); }
/* le second choix est un simple lien souligné */
.pill.ghost { background: none; color: var(--ink); box-shadow: none; padding: 12px 2px; min-height: 0; border-radius: 0; }
.pill.ghost > span:first-child { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease); }
.pill.ghost:hover { background: none; transform: none; }
.pill.ghost:hover > span:first-child { background-size: 0 1.5px; background-position: 100% 100%; }
.top .pill { padding: 5px 5px 5px 14px; min-height: 38px; font-size: 14px; }
.top .pill .arr { width: 28px; height: 28px; }
.lnk { font-size: 15px; font-weight: 500; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.lnk:hover { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.35); }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .top .pill { display: none; }
  .hide-s { display: none !important; }
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fbf5b; margin-right: 8px; vertical-align: 0; animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,191,91,.45);} 70%,100% { box-shadow: 0 0 0 8px rgba(47,191,91,0);} }

/* sections */
.sec { position: relative; padding-block: clamp(80px, 11vw, 160px) 0; }
.sec-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--ink); padding-top: 14px; }
/* repère de section : le numéro dans une pastille, l'intitulé en clair */
.lbl.mk { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: .07em; box-shadow: inset 0 0 0 1px var(--line); }
.lbl.mk b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--f-display); font-variation-settings: "wdth" 90; font-weight: 800; font-size: 14px; letter-spacing: 0; }
.night .lbl.mk { background: #1d1d1d; color: #ecebe6; box-shadow: inset 0 0 0 1px #333; }
.night .lbl.mk b { background: #ecebe6; color: #121212; }
.sec-title { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 24px 48px; align-items: end; margin: clamp(26px, 3.4vw, 48px) 0 clamp(28px, 3.6vw, 52px); }
.sec-side { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 860px) { .sec-title { grid-template-columns: 1fr; } }

/* médias */
.media { position: relative; overflow: hidden; background: var(--paper-3); border-radius: var(--radius); }
.media > video, .media > img { width: 100%; height: 100%; object-fit: cover; }
.r916 { aspect-ratio: 9 / 16; } .r169 { aspect-ratio: 16 / 9; } .r45 { aspect-ratio: 4 / 5; } .r11 { aspect-ratio: 1 / 1; }
.tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 9px; border-radius: 999px; background: rgba(20,20,20,.55); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ==========================================================
   HABILLAGES RÉSEAUX (téléphone, post, bannière)
   ========================================================== */
.phone { position: relative; aspect-ratio: 9 / 16; border-radius: 7% / 4%; overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.phone .scr { position: absolute; inset: 0; container-type: inline-size; }
.phone .scr > video, .phone .scr > img { width: 100%; height: 100%; object-fit: cover; }
.ui-reel { position: absolute; inset: 0; pointer-events: none; color: #fff; font-size: clamp(9px, 4cqw, 15px); line-height: 1.25; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.ui-reel::before { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); }
.ui-reel .r-top { position: absolute; top: 4%; left: 5%; right: 5%; display: flex; justify-content: space-between; font-weight: 600; font-size: 1.1em; }
.ui-reel .r-side { position: absolute; right: 3.5%; bottom: 7%; display: grid; gap: 1.1em; justify-items: center; }
.ui-reel .r-side svg { width: 1.9em; height: 1.9em; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.ui-reel .r-bot { position: absolute; left: 5%; right: 20%; bottom: 5.5%; display: grid; gap: .55em; }
.ui-reel .r-who { display: flex; align-items: center; gap: .55em; font-weight: 600; }
.ui-reel .r-who b { width: 2.1em; height: 2.1em; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: .85em; text-shadow: none; flex: none; }
.ui-reel .r-who em { font-style: normal; border: 1px solid rgba(255,255,255,.75); border-radius: .45em; padding: .15em .6em; font-size: .85em; }
.ui-reel p { margin: 0; font-size: .95em; }
.ui-reel small { font-size: .85em; opacity: .9; }

.post { background: #fff; color: #111; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); container-type: inline-size; font-size: clamp(10px, 2.6cqw, 14.5px); line-height: 1.25; }
.post .p-hd { display: flex; align-items: center; gap: .7em; padding: .85em 1em; font-weight: 600; }
.post .p-hd b { width: 2.3em; height: 2.3em; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: .85em; flex: none; }
.post .p-hd small { display: block; font-weight: 400; color: #777; font-size: .85em; }
.post .p-hd i { margin-left: auto; font-style: normal; letter-spacing: .1em; color: #555; }
.post .p-media { position: relative; overflow: hidden; background: #000; }
.post .p-media video, .post .p-media img { width: 100%; height: 100%; object-fit: cover; }
.post .p-cta { display: flex; justify-content: space-between; align-items: center; padding: .8em 1em; font-weight: 600; border-bottom: 1px solid #eee; }
.post .p-ft { display: flex; gap: 1em; align-items: center; padding: .75em 1em .85em; }
.post .p-ft svg { width: 1.7em; height: 1.7em; fill: none; stroke: #111; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post .p-ft svg:last-child { margin-left: auto; }

.banner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: minmax(0, 1fr); aspect-ratio: 16 / 9; background: #f4f1ea; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(0,0,0,.45); container-type: inline-size; }
.banner img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 30%; }
.banner .bn-txt { min-height: 0; padding: 8% 9%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.banner .bn-txt span { font-size: clamp(8px, 1.8cqw, 12px); letter-spacing: .12em; text-transform: uppercase; color: #777; }
.banner strong { font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 800; font-size: clamp(14px, 5.2cqw, 34px); line-height: .95; text-transform: uppercase; }
.banner em { font-style: normal; background: #1f3fbf; color: #fff; font-size: clamp(9px, 2cqw, 13px); font-weight: 600; padding: .55em .9em; border-radius: 4px; }
.banner small { position: absolute; right: 6px; top: 4px; font-size: 9px; color: #999; }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding-top: 84px; padding-bottom: 0; }
.hero-meta { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.hero-meta .lbl:first-child { color: var(--ink); }
.hero-t { margin: clamp(26px, 3.6vw, 52px) 0 clamp(22px, 3vw, 40px); font-weight: 500; }
.hero-t .big { display: inline-block; font-size: calc((100vw - 2 * var(--gut)) / 9.9); white-space: nowrap; }
.hero-sub { display: block; margin-top: clamp(14px, 1.6vw, 22px); font-size: clamp(20px, 2.15vw, 32px); line-height: 1.15; letter-spacing: -0.02em; max-width: 34ch; }
.hero-sub em { font-style: normal; color: var(--mute); }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 18px); }
.door {
  position: relative; display: block; height: clamp(380px, calc(100svh - 430px), 640px); border-radius: 16px; overflow: hidden;
  background: #111; color: #fff; isolation: isolate;
}
.door video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: -2; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.66) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.05) 70%, rgba(0,0,0,.2) 100%); }
.door:hover video { transform: scale(1.045); }
.door-n { position: absolute; left: 20px; top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.door-go { position: absolute; right: 18px; top: 16px; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 22px; transition: transform .5s var(--ease), background .3s, color .3s; }
.door:hover .door-go { transform: rotate(-45deg); background: var(--accent); color: #fff; }
.door-b { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 14px; }
.door-b strong { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; line-height: .86; font-size: clamp(46px, 5.6vw, 96px); }
.kw { font-size: 15px; font-weight: 500; opacity: .88; letter-spacing: .005em; }
@media (max-width: 760px) {
  .hero-t .big { white-space: normal; font-size: 17.5vw; line-height: .84; }
  .doors { grid-template-columns: 1fr; }
  .door { height: auto; aspect-ratio: 1 / 1.08; }
  .door-go { width: 46px; height: 46px; font-size: 19px; }
  .kw { font-size: 13.5px; }
}

/* ==========================================================
   DU BRIEF AU LIVRABLE — se joue tout seul, comme une vidéo
   ========================================================== */
.demo { display: grid; gap: 18px; }
.demo-stage {
  position: relative; height: clamp(440px, 68svh, 760px); border-radius: 20px; overflow: hidden;
  background-color: var(--paper-2); transition: background-color .9s var(--ease);
  background-image: radial-gradient(rgba(20,20,20,.1) 1px, transparent 1.2px); background-size: 20px 20px;
}
.demo-stage.dark { background-color: #111; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); }
.po { position: absolute; left: 0; top: 0; opacity: 0; visibility: hidden; transform-origin: 50% 50%; will-change: transform, opacity; margin: 0; }
.msg { width: 440px; background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.04); overflow: hidden; }
.msg-hd { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #eee; font-weight: 600; font-size: 15px; }
.msg-hd b { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; }
.msg-hd small { display: block; font-weight: 400; color: var(--mute); font-size: 12.5px; }
.msg-hd i { margin-left: auto; font-style: normal; font-weight: 400; color: var(--mute); font-size: 12px; }
.msg-body { padding: 18px; display: grid; gap: 8px; justify-items: start; min-height: 230px; align-content: start; }
.bub { margin: 0; background: #f1efe9; border-radius: 18px 18px 18px 6px; padding: 11px 15px; font-size: 15.5px; line-height: 1.35; max-width: 92%; }
.typing { display: inline-flex; gap: 5px; background: #f1efe9; border-radius: 18px; padding: 13px 15px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a958c; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.att { display: flex; align-items: center; gap: 10px; border: 1px solid #e7e4dd; border-radius: 14px; padding: 7px 14px 7px 7px; font-size: 14px; font-weight: 500; }
.att img { width: 46px; height: 46px; object-fit: cover; border-radius: 9px; }
.att small { display: block; color: var(--mute); font-weight: 400; font-size: 12px; }
[data-at] { opacity: 0; transform: translateY(10px) scale(.96); transform-origin: 0 100%; transition: opacity .35s, transform .5s var(--ease); }
[data-at].on { opacity: 1; transform: none; }
.typing[data-at]:not(.on) { position: absolute; }
.pk { width: 360px; }
.pk img, .gi img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.pk figcaption { margin-top: 10px; text-align: center; color: var(--ink); }
.gi { width: 280px; }
.film { width: 1100px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-l { position: absolute; left: 18px; top: 16px; color: #fff; }
.fm-story { width: 330px; display: grid; gap: 14px; justify-items: center; }
.fm-story .phone { width: 100%; }
.fm-feed { width: 420px; display: grid; gap: 14px; justify-items: center; }
.fm-feed .post { width: 100%; }
.demo-stage.dark .fm-story .lbl, .demo-stage.dark .fm-feed .lbl { color: rgba(255,255,255,.6); }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.demo-steps button { display: grid; gap: 4px; text-align: left; width: 100%; color: var(--mute); transition: color .3s; padding-top: 12px; position: relative; }
.demo-steps button::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.demo-steps .pg { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.demo-steps .n { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; }
.demo-steps b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.demo-steps .d { font-size: 14px; line-height: 1.35; }
.demo-steps li.on button, .demo-steps li.done button { color: var(--ink); }
.demo-steps li.on .d { color: var(--mute); }
@media (max-width: 860px) {
  .demo-stage { height: auto; aspect-ratio: 4 / 5; border-radius: 16px; }
  .demo-steps { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .demo-steps .d { display: none; }
  .demo-steps b { font-size: 12.5px; }
  .demo-steps li:not(.on) b { opacity: .55; }
}

/* ==========================================================
   LECTEURS (motion / vidéo) — un projet à la fois
   ========================================================== */
.stage-col { min-width: 0; }
.show { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.idx { display: grid; gap: 0; border-top: 1px solid var(--line); position: sticky; top: 90px; }
.idx .grp { padding: 22px 0 8px; }
.idx .grp:first-child { padding-top: 14px; }
.idx button { display: grid; grid-template-columns: 30px 1fr auto; align-items: baseline; gap: 2px 8px; width: 100%; text-align: left; padding: 14px 0 12px; border-bottom: 1px solid var(--line); color: var(--mute); transition: color .25s; position: relative; }
.idx button .n { font-size: 11.5px; font-weight: 600; }
.idx button .t { font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1; }
.idx button .ty2 { grid-column: 2 / -1; font-size: 13.5px; }
.idx button .d { font-size: 12px; font-variant-numeric: tabular-nums; }
.idx button .pg { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
/* chaque projet a son aperçu rond ; un anneau se remplit autour de celui qui joue */
.idx button { grid-template-columns: 56px 1fr auto; grid-template-areas: "tn t d" "tn ty d"; column-gap: 14px; align-items: center; padding: 10px 0; }
.idx button .pg { display: none; }
.tnw { grid-area: tn; position: relative; display: block; width: 56px; height: 56px; }
.tnw .tn { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border-radius: 50%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.tnw .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.tnw .ring circle { fill: none; stroke-width: 2.2; }
.tnw .ring .rb { stroke: var(--line); }
.tnw .ring .rp { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .3s linear; opacity: 0; }
.idx button.on .ring .rp { opacity: 1; }
.idx button.on .ring .rb { stroke: rgba(20,20,20,.22); }
.idx button:hover .tn { transform: scale(1.05); }
.idx button .n { display: none; }
.idx button .t { grid-area: t; font-size: 22px; align-self: end; }
.idx button .ty2 { grid-area: ty; align-self: start; }
.idx button .d { grid-area: d; }
@media (min-width: 861px) {
  .show[data-player="video"] .idx button { padding: 5px 0; grid-template-columns: 48px 1fr auto; }
  .show[data-player="video"] .tnw { width: 48px; height: 48px; }
  .show[data-player="video"] .idx button .t { font-size: 19px; }
}
.idx button.on { color: var(--ink); }
.idx button:hover { color: var(--ink); }
.stage2 {
  position: relative; height: clamp(420px, calc(100svh - 200px), 760px); border-radius: 18px; overflow: hidden; background-color: var(--paper-2);
  background-image: radial-gradient(rgba(20,20,20,.1) 1px, transparent 1.2px); background-size: 20px 20px;
}
.slot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s, visibility .55s; }
.slot.on { opacity: 1; visibility: visible; }
.amb-c { position: absolute; left: -15%; top: -15%; width: 130%; height: 130%; filter: blur(70px) saturate(1.5); opacity: .5; pointer-events: none; }
.vc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; border-radius: 14px; overflow: hidden; isolation: isolate; box-shadow: 0 50px 90px -45px rgba(0,0,0,.55); }
.vc video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; border-radius: 15px; }
.vc.v916 { height: 88%; aspect-ratio: 9 / 16; }
.vc.v169 { width: 84%; aspect-ratio: 16 / 9; max-height: 88%; }
.show-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.show-bar .now { font-size: 15px; font-weight: 500; }
.show-bar .now span { color: var(--mute); }
.show-bar .acts { display: flex; gap: 8px; }
.show-bar .acts button, .show-bar .acts a { padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .2s, color .2s; }
.show-bar .acts a { background: var(--ink); color: var(--paper); }
.show-bar .acts button:hover, .show-bar .acts a:hover { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.show-bar .acts button.on { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) {
  .show { grid-template-columns: 1fr; }
  .stage2 { height: auto; aspect-ratio: 4 / 5; transition: aspect-ratio .4s; }
  .show[data-r="169"] .stage2 { aspect-ratio: 16 / 11; }
  .vc.v169 { width: 94%; }
  .idx { position: static; display: flex; overflow-x: auto; gap: 6px; border: 0; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .idx::-webkit-scrollbar { display: none; }
  .idx .grp { display: none; }
  .idx button { display: inline-flex; align-items: center; gap: 8px; width: auto; flex: none; padding: 5px 14px 5px 5px; border: 1.5px solid var(--line); border-radius: 999px; }
  .tnw { width: 40px; height: 40px; }
  .tnw .tn { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
  .idx button .n, .idx button .ty2, .idx button .d { display: none; }
  .idx button .t { font-size: 18px; }
  .idx button.on { border-color: var(--ink); }
  .idx button .pg { left: 14px; right: 14px; bottom: 5px; }
}

/* social */
.social { display: grid; grid-template-columns: minmax(220px, 1fr) 2.4fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(70px, 9vw, 130px); }
.social-row { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
.social-row > div { min-width: 0; display: grid; gap: 12px; }
.social-row .s916 { flex: 0.5625 1 0; }
.social-row .s169 { flex: 1.45 1 0; }
.social-row .lbl { text-align: center; }
.social-row a { display: block; }
@media (max-width: 860px) {
  .social { grid-template-columns: 1fr; }
  .social-row { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding: 8px var(--gut) 12px; scrollbar-width: none; }
  .social-row::-webkit-scrollbar { display: none; }
  .social-row > div { flex: none !important; scroll-snap-align: center; }
  .social-row .s916 { width: 58vw; }
  .social-row .s169 { width: 84vw; }
}

/* ==========================================================
   IMAGE : source → déclinaisons
   ========================================================== */
.img-switch { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; gap: 2px; }
.img-switch button { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.img-switch button.on { background: var(--ink); color: var(--paper); }
.fan { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 2.4fr); gap: clamp(10px, 1.5vw, 20px); align-items: center; }
.fan .source { position: relative; }
.fan .source .media { aspect-ratio: 4/5; background: #fff; }
.fan .source .media img { object-fit: contain; padding: 6%; }
.stamp { position: absolute; top: -10px; right: -10px; background: var(--accent); color: #fff; padding: 6px 10px; border-radius: 4px; transform: rotate(4deg); z-index: 3; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.cap-line { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cap-line b { color: var(--ink); }
.fan .arrow svg { width: 100%; height: 60px; }
.fan .arrow path { stroke: var(--ink); fill: none; stroke-width: 1.4; }
.fan .outs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); }
.fan .outs .media { aspect-ratio: 4/5; animation: pop .6s var(--ease) both; }
.fan .outs .media img { transition: transform .8s var(--ease); }
.fan .outs .media:hover img { transform: scale(1.05); }
.fan .outs .media .tag { opacity: 0; transition: opacity .3s; }
.fan .outs .media:hover .tag { opacity: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 760px) {
  .fan { grid-template-columns: 1fr; }
  .fan .source { width: 56%; margin: 0 auto; }
  .fan .arrow { height: 44px; width: 44px; transform: rotate(90deg); margin: 0 auto; }
  .fan .outs { grid-template-columns: repeat(2, 1fr); }
}
.formats { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: minmax(220px, 1fr) 2.8fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.formats .row { display: flex; align-items: flex-end; gap: clamp(10px, 1.6vw, 22px); }
.formats .row > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.formats .f916 { flex: .9; } .formats .f45 { flex: 1.2; } .formats .f11 { flex: 1.25; } .formats .f169 { flex: 2.5; }
.ad { position: relative; overflow: hidden; border-radius: 12px; background: #111; color: #fff; box-shadow: 0 30px 60px -32px rgba(0,0,0,.5); container-type: inline-size; }
.ad img, .ad video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-story > video { position: absolute; inset: 0; }
.ad-clean::after { background: linear-gradient(to top, rgba(0,0,0,.35), transparent 25%); }
.ad-head { font-family: var(--f-display); font-variation-settings: "wdth" 66; font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -0.005em; }
.ad-story { aspect-ratio: 9 / 16; }
.ad-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%, transparent 75%, rgba(0,0,0,.35)); }
.ad-story .ad-bars { position: absolute; z-index: 2; top: 3%; left: 5%; right: 5%; display: flex; gap: 3px; }
.ad-story .ad-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.45); }
.ad-story .ad-bars i:first-child { background: #fff; }
.ad-story .ad-who { position: absolute; z-index: 2; top: 6.5%; left: 5%; display: flex; align-items: center; gap: 6px; font-size: clamp(8px, 5.5cqw, 12px); font-weight: 600; }
.ad-story .ad-who b, .ad-feed .ad-top b { width: 2em; height: 2em; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: .85em; }
.ad-story .ad-who small { font-weight: 400; opacity: .8; }
.ad-story .ad-head { position: absolute; z-index: 2; left: 6%; right: 6%; bottom: 17%; font-size: clamp(16px, 14cqw, 34px); }
.ad-story .ad-cta { position: absolute; z-index: 2; left: 6%; right: 6%; bottom: 5%; background: #fff; color: #111; border-radius: 999px; text-align: center; font-size: clamp(9px, 6cqw, 13px); font-weight: 600; padding: .6em; }
.ad-feed { background: #fff; color: #111; }
.ad-feed .ad-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: clamp(9px, 4.4cqw, 12.5px); font-weight: 600; }
.ad-feed .ad-top b { background: #111; color: #fff; }
.ad-feed .ad-top small { display: block; font-weight: 400; color: #777; font-size: .85em; }
.ad-feed .ad-pic { position: relative; aspect-ratio: 4 / 5; }
.ad-feed .ad-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 50%); }
.ad-feed .ad-head { position: absolute; z-index: 2; left: 7%; top: 7%; font-size: clamp(16px, 11cqw, 34px); color: #fff; }
.ad-feed .ad-brand { position: absolute; z-index: 2; right: 7%; bottom: 6%; font-family: var(--f-display); font-variation-settings: "wdth" 100; font-weight: 800; letter-spacing: .2em; font-size: clamp(9px, 5cqw, 14px); color: #fff; }
.ad-feed .ad-foot { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; font-size: clamp(9px, 4.4cqw, 12.5px); font-weight: 600; }
.ad-feed .ad-foot em { font-style: normal; background: #111; color: #fff; border-radius: 6px; padding: .45em .9em; }
.ad-sq { aspect-ratio: 1; }
.ad-sq::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,20,60,.45), transparent 55%); }
.ad-sq .ad-head { position: absolute; z-index: 2; left: 7%; bottom: 8%; font-size: clamp(16px, 11cqw, 36px); }
.ad-sq .ad-price { position: absolute; z-index: 2; right: 6%; top: 6%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: clamp(9px, 6cqw, 16px); transform: rotate(-10deg); }
.ad-sq .ad-logo { position: absolute; z-index: 2; left: 7%; top: 7%; font-family: var(--f-display); font-variation-settings: "wdth" 100; font-weight: 900; font-style: italic; font-size: clamp(11px, 7cqw, 20px); letter-spacing: -0.02em; }
.banner .bn-txt { padding: 7% 8% 8%; }
.banner strong { font-size: clamp(13px, 4.4cqw, 30px) !important; }
.banner em { white-space: nowrap; }
@media (max-width: 860px) {
  .formats { grid-template-columns: 1fr; }
  .formats .row { overflow-x: auto; padding: 8px var(--gut) 12px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(var(--gut) * -1); scrollbar-width: none; }
  .formats .row::-webkit-scrollbar { display: none; }
  .formats .row > div { scroll-snap-align: start; flex: none; }
  .formats .f916 { width: 42vw; } .formats .f45 { width: 56vw; } .formats .f11 { width: 60vw; } .formats .f169 { width: 86vw; }
}

/* ==========================================================
   WORKFLOW — toile de nœuds
   ========================================================== */
.night { background: var(--night); color: #ecebe6; margin-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(70px, 9vw, 130px); }
.night .sec-top { border-top-color: #ecebe6; }
.night .lbl { color: rgba(236,235,230,.55); }
.night .lbl b { color: #ecebe6; }
.canvas-wrap { position: relative; border: 1px solid var(--night-line); border-radius: 14px; overflow: hidden; background-color: #151515; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px); background-size: 22px 22px; }
.canvas-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--night-line); background: rgba(21,21,21,.85); color: rgba(236,235,230,.55); position: relative; z-index: 4; font-size: 13px; }
.canvas-bar .runs { display: flex; gap: 16px; }
.canvas-bar .runs b { color: #ecebe6; font-weight: 500; }
.canvas-bar .run { color: #111; background: #ecebe6; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.canvas-bar .run:hover { background: var(--accent); color: #fff; }
.canvas-scroll { overflow: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.canvas { position: relative; width: 1500px; height: 760px; transform-origin: 0 0; }
.canvas svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wires path { fill: none; stroke: rgba(236,235,230,.28); stroke-width: 1.5; }
.wires path.live { stroke: var(--accent); stroke-dasharray: 6 8; animation: flow 1s linear infinite; }
.wires path.hl { stroke: #ecebe6; }
@keyframes flow { to { stroke-dashoffset: -14; } }
.node { position: absolute; width: 230px; background: var(--night-2); border: 1px solid #2c2c2c; border-radius: 10px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.8); user-select: none; touch-action: none; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s, transform .4s var(--ease), border-color .25s; }
.node.in { opacity: 1; transform: none; }
.node.drag { cursor: grabbing; border-color: #ecebe6; z-index: 10; transition: none; }
.node:hover { border-color: #555; }
.node .nh { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-bottom: 1px solid #2c2c2c; cursor: grab; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: rgba(236,235,230,.6); }
.node .nh i { width: 8px; height: 8px; border-radius: 2px; background: var(--k, #888); flex: none; }
.node .nh b { color: #ecebe6; font-weight: 600; }
.node .nh .st { margin-left: auto; color: #6fd394; }
.node .nb { padding: 10px; font-size: 12.5px; line-height: 1.4; color: rgba(236,235,230,.86); }
.node .nt { margin-top: 7px; font-size: 11.5px; color: rgba(236,235,230,.55); }
.node .port { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #151515; border: 1.5px solid rgba(236,235,230,.5); transform: translateY(-50%); }
.node .port.in { left: -6px; } .node .port.out { right: -6px; }
.node .thumbs { display: grid; gap: 4px; }
.node .thumbs.t1 { grid-template-columns: 1fr; }
.node .thumbs.t2 { grid-template-columns: 1fr 1fr; }
.node .thumbs.t3 { grid-template-columns: repeat(3, 1fr); }
.node .thumbs img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.node .thumbs .x { position: relative; }
.node .thumbs .x::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #ff8a6b; font-size: 14px; border-radius: 4px; }
.node .thumbs .ok { outline: 2px solid #6fd394; outline-offset: -2px; border-radius: 4px; }
.node .vbox { border-radius: 5px; overflow: hidden; background: #000; }
.node .vbox video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.node .kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 10.5px; color: rgba(236,235,230,.5); text-transform: uppercase; letter-spacing: .05em; }
.node .kv b { color: #ecebe6; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.node .prompt { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10px; line-height: 1.5; color: rgba(236,235,230,.7); background: #111; border-radius: 4px; padding: 7px; margin-top: 8px; }
.node .wave { display: flex; align-items: center; gap: 2px; height: 34px; }
.node .wave i { flex: 1; background: #6fd394; border-radius: 1px; height: 20%; animation: wv 1.1s ease-in-out infinite alternate; }
@keyframes wv { to { height: var(--h, 80%); } }
.node .mini-tl { display: grid; gap: 3px; }
.node .mini-tl div { height: 9px; border-radius: 2px; }
.node .fmts { display: flex; gap: 6px; align-items: flex-end; }
.node .fmts div { background: #000; border-radius: 3px; overflow: hidden; position: relative; }
.node .fmts img { width: 100%; height: 100%; object-fit: cover; }
.node .fmts span { position: absolute; left: 3px; bottom: 2px; font-size: 8.5px; color: #fff; font-weight: 600; }
.node .slider { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 10px; color: rgba(236,235,230,.5); text-transform: uppercase; letter-spacing: .05em; }
.node .slider span { flex: 1; height: 3px; background: #333; border-radius: 3px; position: relative; }
.node .slider span::after { content: ""; position: absolute; left: var(--v, 50%); top: 50%; width: 9px; height: 9px; border-radius: 50%; background: #ecebe6; transform: translate(-50%, -50%); }
.wf-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(24px, 3vw, 40px); }
.wf-legend div { border-top: 1px solid var(--night-line); padding-top: 12px; }
.wf-legend .lbl { color: var(--accent); }
.wf-legend p { margin: 6px 0 0; color: rgba(236,235,230,.72); font-size: 15px; max-width: 34ch; }
.hint { display: none; }
@media (max-width: 860px) {
  .wf-legend { grid-template-columns: 1fr; gap: 12px; }
  .hint { display: inline; }
  .canvas-bar .runs span:not(:first-child) { display: none; }
}

/* ==========================================================
   PRODUCTION · RENFORT · PIED DE PAGE
   ========================================================== */
.prod { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(26px, 3.4vw, 48px); }
.prod-list { display: flex; flex-wrap: wrap; column-gap: .3em; font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.8vw, 42px); line-height: 1.05; margin: 0 0 24px; }
.prod-list span { white-space: nowrap; }
.prod-list span + span::before { content: "/"; color: var(--accent); font-weight: 400; margin-right: .3em; }
.prod-list span:nth-child(even) { color: var(--mute); }
.seo-p { margin-top: 26px; color: var(--mute); font-size: 15px; max-width: 62ch; }
.seo-p strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .prod { grid-template-columns: 1fr; } }

.reinf { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 90px); align-items: center; margin-top: clamp(26px, 3.4vw, 48px); }
.reinf-l { display: grid; gap: 24px; justify-items: start; }
.reinf ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); width: 100%; }
.reinf li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.reinf li .lbl { color: var(--accent); padding-top: 4px; }
.wl { background: #fbfaf7; border-radius: 22px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 50px 100px -50px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); display: grid; gap: 18px; transform: rotate(-1.2deg); }
.wl-top { display: flex; justify-content: space-between; align-items: center; }
.wl-badge { background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.wl-file { display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: center; }
.wl-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.wl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wl-thumb span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.wl-meta { display: grid; gap: 6px; min-width: 0; }
.wl-meta b { font-size: 15px; font-weight: 600; word-break: break-all; }
.wl-meta span { font-size: 13px; color: var(--mute); }
.wl-files { display: flex; flex-wrap: wrap; gap: 6px; }
.wl-files span { font-size: 12.5px; padding: 6px 10px; border-radius: 8px; background: #efece5; color: var(--ink-2); }
.wl-rows { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.wl-rows dt, .wl-rows dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.wl-rows dt { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); padding-right: 24px; }
.wl-rows dd { font-size: 15px; font-weight: 500; text-align: right; }
.wl-swap { display: inline-flex; gap: 10px; align-items: baseline; }
.wl-swap s { color: var(--mute); font-family: var(--f-display); font-variation-settings: "wdth" 100; font-weight: 800; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.wl-swap s i { font-style: normal; color: var(--accent); }
.wl-tg { display: inline-block; width: 46px; height: 26px; border-radius: 999px; background: #2fbf5b; position: relative; vertical-align: middle; }
.wl-tg i { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
@media (max-width: 860px) { .reinf { grid-template-columns: 1fr; } .wl { transform: none; } .wl-file { grid-template-columns: 1fr; } }

.foot { margin-top: clamp(80px, 11vw, 160px); padding: clamp(60px, 8vw, 110px) var(--gut) 24px; border-top: 1px solid var(--ink); }
.foot-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.foot-cta .big a { transition: color .25s; }
.foot-cta .big a:hover { color: var(--accent); }
.mail { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; }
.mail:hover { color: var(--accent); border-color: var(--accent); }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 7vw, 100px); align-items: center; }

/* ==========================================================
   PORTFOLIO
   ========================================================== */
.pf-head { padding-top: 110px; }
.pf-title { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 20px 48px; align-items: end; margin: 24px 0 clamp(26px, 3vw, 40px); }
.reel { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111; color: #fff; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .lbl { position: absolute; left: 20px; top: 18px; color: #fff; z-index: 2; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 25%); pointer-events: none; }
.filters { position: sticky; top: 58px; z-index: 20; display: flex; gap: 6px; padding: 14px 0; margin-top: clamp(30px, 4vw, 56px); overflow-x: auto; scrollbar-width: none; background: linear-gradient(var(--paper) 75%, transparent); }
.filters::-webkit-scrollbar { display: none; }
.filters button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; background: var(--paper); transition: background .2s, color .2s; }
.filters button sup { font-size: 10px; margin-left: 3px; opacity: .6; }
.filters button.on, .filters button:hover { background: var(--ink); color: var(--paper); }
.pf-sec { padding-top: clamp(40px, 5vw, 72px); }
.pf-sec[hidden] { display: none; }
.pf-sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 22px; }
.pf-sec-h h2 { font-family: var(--f-display); font-variation-settings: "wdth" 66; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 56px); line-height: .9; margin: 0; }
.pf-row { display: flex; gap: clamp(12px, 1.4vw, 20px); margin-bottom: clamp(20px, 2.4vw, 34px); align-items: flex-start; }
.card { display: block; min-width: 0; }
.card .media { border-radius: 12px; }
.card .media img, .card .media video { position: absolute; inset: 0; transition: transform 1s var(--ease), opacity .4s; }
.card .media video { opacity: 0; }
.card.playing .media video { opacity: 1; }
.card:hover .media img, .card:hover .media video { transform: scale(1.03); }
.card .play { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; font-weight: 500; transform: translateY(6px); opacity: 0; transition: .35s var(--ease); }
.card:hover .play { opacity: 1; transform: none; }
.card .meta { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.card .meta strong { font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 700; text-transform: uppercase; font-size: clamp(19px, 1.6vw, 24px); line-height: 1; }
.card .meta span { font-size: 13.5px; color: var(--mute); }
.card .badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 999px; }
@media (max-width: 760px) {
  .pf-title { grid-template-columns: 1fr; }
  .reel { aspect-ratio: 4 / 5; }
  .pf-row { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .pf-row::-webkit-scrollbar { display: none; }
  .pf-row .card { flex: none !important; scroll-snap-align: start; }
  .pf-row .card.c916 { width: 56vw; }
  .pf-row .card.c169 { width: 84vw; }
  .pf-row .card.c45 { width: 66vw; }
  .pf-row > i { display: none; }
  .card .meta { flex-direction: column; gap: 4px; }
  .card .meta span { text-align: left; }
}

/* fiche projet */
.sheet { position: fixed; inset: 0; z-index: 80; background: var(--paper); overflow-y: auto; transform: translateY(100%); transition: transform .6s var(--ease), visibility 0s .6s; visibility: hidden; }
.sheet.open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.sheet-top { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); background: rgba(238,236,231,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.sheet-top button { font-size: 15px; font-weight: 500; }
.sheet-body { padding: clamp(24px, 4vw, 56px) var(--gut) 80px; display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.sheet-info { position: sticky; top: 90px; display: grid; gap: 18px; }
.sheet-info .big { font-size: clamp(48px, 7vw, 110px); }
.sheet-info p { margin: 0; font-size: 17px; line-height: 1.45; max-width: 40ch; }
.sheet-info dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; margin: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.sheet-info dt { font-size: 11.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.sheet-info dd { margin: 0; font-size: 15px; }
.sheet-main { display: grid; gap: 18px; }
.player { position: relative; background: #000; border-radius: 12px; overflow: hidden; margin-inline: auto; width: 100%; }
.player.v916 { width: min(460px, 100%, calc(82svh * 9 / 16)); background: transparent; }
.player video { display: block; width: 100%; height: auto; max-height: 82svh; margin: 0 auto; }
.player.v916 video { max-height: none; }
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stills.s169 { grid-template-columns: repeat(2, 1fr); }
.stills .media { aspect-ratio: 4 / 5; }
.stills.s169 .media { aspect-ratio: 16 / 9; }
.stills .media img { object-position: 50% 0; }
.process { display: grid; gap: 12px; margin-top: 18px; }
.proc-row { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 10px; align-items: start; }
.proc-row figure { margin: 0; }
.proc-row figcaption { margin-top: 7px; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gal .media { aspect-ratio: 4/5; }
.gal .media.src { background: #fff; }
.gal .media.src img { object-fit: contain; padding: 6%; }
@media (max-width: 860px) {
  .sheet-body { grid-template-columns: 1fr; }
  .sheet-info { position: static; }
  .gal, .proc-row { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   CONTACT
   ========================================================== */
.ct { padding-top: 120px; padding-bottom: 40px; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.ct > * { min-width: 0; }
.ct-l { position: sticky; top: 100px; display: grid; gap: 26px; justify-items: start; }
.ct-l .lede { max-width: 30ch; }
.me { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: end; margin: 10px 0 0; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.me img { width: 150px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 12px; }
.me p { margin: 0; font-size: 15px; line-height: 1.45; max-width: 30ch; }
.me p b { font-weight: 600; display: block; margin-bottom: 4px; font-size: 16px; }
.ct-form { background: #f7f5f0; border-radius: 22px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.ct-form h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 22px; }
form.brief { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field > label, .field > legend { font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); }
.field input, .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 8px 0 10px; outline: none; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.opts label { cursor: pointer; position: relative; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 500; transition: .2s; }
.opts input:checked + span { background: var(--ink); color: var(--paper); }
.opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-msg { font-size: 14px; font-weight: 500; min-height: 1em; }
.form-msg.ok { color: #1d8f45; }
.form-msg.err { color: var(--accent); }
@media (max-width: 860px) {
  .ct { grid-template-columns: 1fr; padding-top: 100px; }
  .ct-l { position: static; }
  .me { grid-template-columns: 110px 1fr; }
  .me img { width: 110px; }
  .two { grid-template-columns: 1fr; }
}

/* révélations (une fois, sobres) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================
   HERO v7 — titre court, expertises avec un aperçu glissé dans les mots, créas
   ========================================================== */
.hero3 { padding: clamp(84px, 9vh, 104px) 0 clamp(28px, 4vw, 56px); }
.hero3-in { display: grid; grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr); gap: 28px clamp(28px, 3.6vw, 60px); align-items: start; }
.h3-l { display: grid; gap: 16px; justify-items: start; container-type: inline-size; padding-top: clamp(10px, 1vw, 15px); }
.h3-t { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; font-size: min(16cqi, 88px); line-height: .88; letter-spacing: -0.005em; }
.h3-t em { font-style: normal; color: var(--accent); }
/* le titre : une personne qui se présente, avec le duo qui salue */
.h3-me { text-transform: none; font-variation-settings: "wdth" 68; font-size: min(14.5cqi, 78px); line-height: .94; letter-spacing: -0.012em; }
.h3-me .h3-duo { width: .95em; height: .95em; vertical-align: -.12em; margin: 0 .12em 0 -.06em; }
/* le titre dit le métier, en clair, en minuscules (moins « bloc d'IA ») */
.h3-say { text-transform: none; font-variation-settings: "wdth" 70; font-size: min(12.4cqi, 66px); line-height: .96; letter-spacing: -0.012em; }
.h3-say span { color: var(--mute); }
.h3-avail { margin-top: -6px; font-size: 13.5px; font-weight: 500; color: var(--mute); }
.h3-avail::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.h3-t .h3-role { display: block; margin-bottom: 14px; font-family: var(--f-text); font-variation-settings: normal; font-size: 13px; font-weight: 600; letter-spacing: .09em; color: var(--mute); line-height: 1; }
.h3-t .h3-big { display: block; }
.h3-duo { width: .92em; height: .92em; vertical-align: -.06em; margin-left: .08em; }
.h3-k { display: inline-flex; align-items: center; gap: 8px; }
.h3-k .k-duo { width: 30px; height: 30px; margin: -6px 0 -6px -6px; }
.h3-sub { margin: 0; font-size: clamp(16px, 1.25vw, 19px); font-weight: 500; color: var(--mute); max-width: 30ch; }
.xp { display: grid; border-bottom: 1px solid var(--line); }
.xp > :is(a, button) { display: grid; grid-template-columns: 2.2em 1fr auto auto; grid-template-areas: "n t vg go" "n k vg go"; align-items: center; column-gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.xp .n { grid-area: n; align-self: start; padding-top: .7em; font-size: 12px; font-weight: 600; color: var(--mute); }
.xp > :is(a, button):first-child .n { color: var(--accent); }
.xp b { grid-area: t; display: flex; align-items: center; flex-wrap: wrap; gap: 0 .2em; font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 3.9vw, 66px); line-height: .9; transition: color .25s; }
/* l'aperçu glissé entre les deux mots */
.xv { display: inline-block; height: .78em; width: 1.56em; border-radius: 999px; overflow: hidden; background: var(--paper-3); transform: translateY(.02em); transition: width .6s var(--ease); }
.xv video { width: 100%; height: 100%; object-fit: cover; }
.xp > :is(a, button):hover .xv { width: 2.5em; }
.xp .k { grid-area: k; margin-top: 5px; font-size: 13.5px; color: var(--mute); }
.xp .go { grid-area: go; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 17px; transition: transform .45s var(--ease), background .25s, color .25s, box-shadow .25s; }
.xp > :is(a, button):hover b { color: var(--accent); }
.xp > :is(a, button):hover .go { background: var(--ink); color: var(--paper); box-shadow: none; transform: rotate(-45deg); }

/* vignettes : chaque expertise montre son métier */
.vg { grid-area: vg; position: relative; display: block; width: clamp(128px, 10vw, 170px); aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); transition: transform .5s var(--ease); }
.xp > a:hover .vg { transform: scale(1.06) rotate(-1.5deg); }
.vg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* motion : une petite timeline d'images clés sous l'animation */
.vg-m .tl { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; display: grid; align-content: center; gap: 3px; padding: 0 8px; background: rgba(255,255,255,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vg-m .tr { position: relative; height: 5px; border-radius: 3px; background: rgba(20,20,20,.08); }
.vg-m .tr i { position: absolute; top: 50%; width: 6px; height: 6px; background: var(--ink); transform: translate(-50%, -50%) rotate(45deg); border-radius: 1px; }
.vg-m .ph { position: absolute; top: 2px; bottom: 2px; left: 8px; width: 2px; border-radius: 2px; background: var(--accent); }
/* vidéo : bandes cinéma, timecode, barre de lecture */
.vg-v .lb { position: absolute; left: 0; right: 0; height: 15%; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 0 7px; background: #0e0e0e; color: rgba(255,255,255,.75); font-size: 8.5px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.vg-v .lb.t { top: 0; } .vg-v .lb.b { bottom: 0; }
.vg-v .sc { flex: 1; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; position: relative; overflow: hidden; }
.vg-v .sc i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
/* image : avant / après — la photo client, puis l'image produite */
.vg-i { --x: 50%; background: var(--paper-3); }
.vg-i .aft { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.vg-i .bef { position: absolute; inset: 0; background: #fff; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.vg-i .bef img { width: 100%; height: 100%; object-fit: contain; padding: 8% 10%; transition: opacity .25s; }
.vg-i .cut { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.vg-i .cut::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.vg-i .lab { position: absolute; top: 6px; padding: 3px 7px; border-radius: 4px; font-size: 9px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; }
.vg-i .lab.l { left: 6px; background: var(--ink); color: #fff; }
.vg-i .lab.r { right: 6px; background: #fff; color: var(--ink); opacity: 0; }

/* en-tête du défilé : titre, plateformes, flèches */
.mq-head { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: clamp(24px, 2.6vw, 40px); padding-bottom: 6px; }
.mq-t { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 66; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2vw, 32px); line-height: 1; }
.mq-plats { display: flex; flex-wrap: wrap; gap: 6px; }
.mq-plats span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; box-shadow: 0 1px 0 rgba(0,0,0,.04), inset 0 0 0 1px var(--line); }
.mq-plats svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mq-nav { margin-left: auto; display: flex; gap: 8px; }
.mq-nav button { width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 17px; transition: background .2s, color .2s; }
.mq-nav button:hover { background: var(--ink); color: var(--paper); }
.hero3 .marquee { --mh: clamp(280px, calc(100svh - 540px), 440px); }

@media (max-width: 900px) {
  .hero3 { padding-top: 88px; }
  .hero3-in { grid-template-columns: 1fr; gap: 22px; }
  .h3-l { gap: 14px; }
  .h3-l .ctas { display: none; }
  .h3-t { font-size: min(12vw, 84px); }
  .h3-say { font-size: min(8.4vw, 60px); }
  .h3-me { font-size: min(10vw, 72px); }
  .hero3 .marquee { --mh: clamp(340px, 100vw, 440px); }
}
@media (max-width: 600px) {
  .h3-t { font-size: 11.5vw; }
  .h3-say { font-size: 9.4vw; }
  .h3-me { font-size: 11vw; }
  .h3-l .h3-sub { display: block; }
  .h3-sub { display: none; }
  .xp b { font-size: 9vw; }
  .xp > a { grid-template-columns: 1.6em 1fr auto; grid-template-areas: "n t vg" "n k vg"; column-gap: 10px; }
  .xp > a .go { display: none; }
  .xp > button { grid-template-columns: 1.7em 1fr auto; column-gap: 8px; }
  .vg { width: 108px; }
  .xp .go { width: 34px; height: 34px; font-size: 15px; }
  .mq-plats { display: none; }
}
.hero-cta-m { display: none; }
@media (max-width: 900px) { .hero-cta-m { display: flex; margin-top: 22px; } }

/* ==========================================================
   PRÊTES À DIFFUSER — défilé continu
   ========================================================== */
.marquee { --mh: clamp(320px, 29vw, 440px); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mq-track { display: flex; align-items: center; gap: 12px; width: max-content; padding: 12px 0 20px; will-change: transform; }
.marquee { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.marquee.grabbing { cursor: grabbing; }
.marquee img, .marquee video { -webkit-user-drag: none; pointer-events: none; }
@keyframes mq { to { transform: translateX(-50%); } }
/* une bande serrée, toutes les créas à la même hauteur ; les deux formats larges partagent une colonne */
.mq { flex: none; margin: 0; position: relative; }
.mq .ad, .mq .banner { height: var(--mh); }
.mq .ad-story { width: calc(var(--mh) * 9 / 16); aspect-ratio: auto; }
.mq .ad-feed, .mq .ad-coll { width: calc(var(--mh) * .72); display: flex; flex-direction: column; }
.mq .ad-feed .ad-pic { flex: 1; aspect-ratio: auto; min-height: 0; }
.mq .ad-sq { width: var(--mh); aspect-ratio: auto; }
.mq-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; height: var(--mh); width: calc((var(--mh) - 12px) / 2 * 16 / 9); }
.mq-stack .mq-c { margin: 0; position: relative; min-height: 0; }
.mq-stack .ad, .mq-stack .banner { width: 100%; height: 100%; }
.mq-stack .ad-li .ad-copy { display: none; }
/* le format, discret, au survol */
.mq figcaption { position: absolute; z-index: 3; right: 8px; top: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(20,20,20,.8); color: #fff; font-size: 10.5px; opacity: 0; transform: translateY(-3px); transition: opacity .25s, transform .25s; pointer-events: none; }
.mq:not(.mq-stack):hover figcaption, .mq-c:hover figcaption { opacity: 1; transform: none; }
.ad-li { background: #fff; color: #111; display: flex; flex-direction: column; }
.ad-li .ad-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; font-size: clamp(10px, 2.4cqw, 13px); font-weight: 600; }
.ad-li .ad-top b { width: 2.2em; height: 2.2em; border-radius: 6px; background: #4a3df0; color: #fff; display: grid; place-items: center; }
.ad-li .ad-top small { display: block; font-weight: 400; color: #777; font-size: .85em; }
.ad-li .ad-copy { margin: 0; padding: 0 12px 10px; font-size: clamp(10px, 2.5cqw, 14px); line-height: 1.35; }
.ad-li .ad-pic { flex: 1; min-height: 0; }
.ad-li .ad-foot { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font-size: clamp(9px, 2.2cqw, 12.5px); color: #555; }
.ad-li .ad-foot em { font-style: normal; color: #4a3df0; border: 1.5px solid #4a3df0; border-radius: 999px; padding: .35em 1em; font-weight: 600; }


/* ==========================================================
   FLUX — palette de modules + voix off
   ========================================================== */
.palette { margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: 20px clamp(28px, 4vw, 64px); align-items: start; border-top: 1px solid var(--night-line); padding-top: 28px; }
.palette-h .small { color: rgba(236,235,230,.6); }
.palette-h .big { color: #ecebe6; }
.mods { display: flex; flex-wrap: wrap; gap: 10px; }
.mods span { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 10px; background: var(--night-2); border: 1px solid #2c2c2c; font-size: 16px; font-weight: 500; color: #ecebe6; }
.mods span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--k); }
.pal-r { display: grid; gap: 22px; }
.pal-row { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--night-line); }
.pal-row .lbl { color: rgba(236,235,230,.5); }
.plats { display: flex; flex-wrap: wrap; gap: 6px; }
.plats span { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid #333; color: rgba(236,235,230,.7); }
.palette .seo-p { margin: 0; font-size: 14.5px; color: rgba(236,235,230,.5); max-width: 60ch; }
.palette .seo-p strong { color: rgba(236,235,230,.85); }
.vo-line { margin: 0 0 8px; font-size: 13px; font-style: italic; color: #ecebe6; }
.node .wave.vo i { background: #f472b6; }
@media (max-width: 860px) { .palette { grid-template-columns: 1fr; } }

/* ==========================================================
   PORTFOLIO v4 — hauteur égale partout, pile verticale sur téléphone
   ========================================================== */
.pf-grid2 { --ch: clamp(260px, 29vw, 420px); display: flex; flex-wrap: wrap; gap: clamp(14px, 1.4vw, 20px); }
.pf-grid2 .card { flex: none; width: calc(var(--ar) * var(--ch)); }
.pf-grid2 .card .media { height: var(--ch); aspect-ratio: auto; }
@media (max-width: 760px) {
  .pf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .pf-grid2 .card { width: auto; }
  .pf-grid2 .card.c169 { grid-column: 1 / -1; }
  .pf-grid2 .card .media { height: auto; }
  .pf-grid2 .card.c916 .media { aspect-ratio: 9 / 16; }
  .pf-grid2 .card.c169 .media { aspect-ratio: 16 / 9; }
  .pf-grid2 .card.c45 .media { aspect-ratio: 4 / 5; }
}

/* ==========================================================
   FICHE — du brief au film (motion design)
   ========================================================== */
.case { padding: 0 var(--gut) 90px; display: grid; gap: clamp(28px, 3.4vw, 48px); }
.case-h { display: grid; gap: 10px; border-top: 1px solid var(--ink); padding-top: 18px; }
.case-h .big { font-size: clamp(40px, 5vw, 80px); }
.case-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.cs { display: grid; gap: 14px; align-content: start; }
.cs-n { font-size: 12px; font-weight: 600; color: var(--accent); }
.cs h3 { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 66; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 38px); line-height: .95; }
.cs p { margin: 0; font-size: 16px; line-height: 1.5; max-width: 60ch; }
.cs .cs-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.cs dl { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 10px 18px; margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
.cs dt { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.cs dd { margin: 0; font-size: 15px; line-height: 1.45; }
.sw { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sw span { display: grid; gap: 3px; }
.sw i { aspect-ratio: 1 / 1.15; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sw b { font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.sw small { font-size: 11px; color: var(--mute); font-variant-numeric: tabular-nums; }
.cs-type { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.cs .cs-note { color: var(--mute); font-size: 14.5px; padding-left: 14px; border-left: 2px solid var(--accent); }
.script { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.script li { border-bottom: 1px solid var(--line); }
.script button { width: 100%; display: grid; grid-template-columns: 200px 46px 1fr; gap: 18px; align-items: center; text-align: left; padding: 12px 0; transition: background .2s; border-radius: 8px; }
.script.s916 button { grid-template-columns: 74px 46px 1fr; }
.script button:hover { background: rgba(20,20,20,.04); }
.script .th { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-3); }
.script.s916 .th { aspect-ratio: 9 / 16; }
.script .th img { width: 100%; height: 100%; object-fit: cover; }
.script .tc { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mute); }
.script .tx { display: grid; gap: 4px; }
.script .tx b { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.script .tx span { font-size: 14.5px; color: var(--mute); line-height: 1.4; }
.script button:hover .tc { color: var(--accent); }
.cs-res { justify-items: start; border-top: 1px solid var(--line); padding-top: 22px; }
@media (max-width: 760px) {
  .case-2 { grid-template-columns: 1fr; }
  .script button { grid-template-columns: 112px 1fr; gap: 6px 12px; align-items: start; }
  .script.s916 button { grid-template-columns: 62px 1fr; }
  .script .th { grid-row: span 2; }
  .script .tc { align-self: end; }
  .script .tx b { font-size: 15.5px; }
  .script .tx span { font-size: 13.5px; }
  .sw b { font-size: 11px; }
}

/* créas : barre d'achat (carré), format collection, vidéo brute */
.ad-sq .ad-head { bottom: 25%; }
.ad-sq .ad-bar { position: absolute; z-index: 2; left: 4%; right: 4%; bottom: 4%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: .55em .6em .55em .9em; border-radius: 10px; background: rgba(255,255,255,.94); color: #111; font-size: clamp(9px, 3.6cqw, 13px); font-weight: 600; }
.ad-sq .ad-bar small { display: block; font-weight: 400; color: #666; font-size: .85em; }
.ad-sq .ad-bar em { font-style: normal; background: #111; color: #fff; border-radius: 7px; padding: .55em 1em; white-space: nowrap; }
.ad-coll { background: #fff; color: #111; display: flex; flex-direction: column; }
.ad-coll .ad-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: clamp(9px, 4.4cqw, 12.5px); font-weight: 600; }
.ad-coll .ad-top b { width: 2em; height: 2em; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: .85em; }
.ad-coll .ad-top small { display: block; font-weight: 400; color: #777; font-size: .85em; }
.ad-coll .ad-pic { position: relative; flex: 1; min-height: 0; }
.ad-coll .coll-tag { position: absolute; left: 8px; bottom: 8px; background: #fff; color: #111; font-size: clamp(9px, 3.8cqw, 12px); font-weight: 600; padding: .4em .7em; border-radius: 6px; }
.ad-coll .coll-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; }
.ad-coll .coll-row span { position: relative; aspect-ratio: 1; overflow: hidden; background: #f1f0ee; }
.ad-coll .coll-row img { object-position: 50% 40%; }
.ad-coll .coll-row small { position: absolute; left: 4px; bottom: 4px; background: rgba(255,255,255,.92); font-size: clamp(8px, 3.2cqw, 11px); font-weight: 600; padding: .15em .45em; border-radius: 4px; }
.ad-coll .ad-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px 10px; font-size: clamp(9px, 4.2cqw, 12.5px); font-weight: 600; }
.ad-coll .ad-foot em { font-style: normal; background: #111; color: #fff; border-radius: 6px; padding: .45em .9em; white-space: nowrap; }
.ad-raw::after { display: none; }

/* flux de production — téléphone : de haut en bas */
.canvas.vert .node { touch-action: pan-y; }
.canvas.vert .node .nh { cursor: default; }
.canvas.vert .node .port { top: auto; }
.canvas.vert .node .port.in { left: 50%; top: -6px; transform: translateX(-50%); }
.canvas.vert .node .port.out { left: 50%; right: auto; bottom: -6px; transform: translateX(-50%); }
@media (max-width: 700px) { .canvas-bar .hint { display: none; } .canvas-scroll { overflow: hidden; } }

/* portfolio : même en-tête que l'accueil, les expertises servent de filtres */
.pf-head { padding-top: clamp(96px, 11vh, 124px); }
.xp > button { width: 100%; text-align: left; color: var(--ink); }
.xp-f > button { color: var(--mute); }
.xp-f > button .n sup { font-size: 12px; font-weight: 600; }
.xp-f > button.on { color: var(--ink); }
.xp-f > button.on b { color: var(--ink); }
.xp-f > button.on .n { color: var(--accent); }
.xp-f > button.on .go { background: var(--accent); color: #fff; box-shadow: none; }
.xp-f > button:not(.on) .xv { filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s, width .6s var(--ease); }
.xp-f > button:hover .xv { filter: none; opacity: 1; }
.xp-f b { font-size: clamp(32px, 3.3vw, 56px); }
.pf-head .reel { margin-top: clamp(28px, 3.4vw, 48px); }
.reel[hidden] { display: none; }
@media (max-width: 600px) { .xp-f b { font-size: 8.2vw; } }

.ad-coll .coll-row .more { display: grid; place-items: center; }
.ad-coll .coll-row .more img { position: absolute; inset: 0; filter: brightness(.55); }
.ad-coll .coll-row .more b { position: relative; color: #fff; font-size: clamp(9px, 3.8cqw, 13px); line-height: 1.1; text-align: center; font-weight: 700; }

/* fiche projet : le film au centre, sur un halo de ses couleurs */
.sh-stage { position: relative; margin: 14px var(--gut) 0; border-radius: 20px; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; padding: clamp(18px, 3.4vw, 54px); min-height: min(76svh, 820px); }
.sh-stage .amb-c { opacity: .7; }
.sh-stage .player { position: relative; z-index: 1; width: min(1180px, 100%, calc((80svh - 110px) * 16 / 9)); background: #000; border-radius: 12px; box-shadow: 0 60px 100px -50px rgba(0,0,0,.6); }
.sh-stage.v916 .player { width: min(460px, 100%, calc((84svh - 110px) * 9 / 16)); background: transparent; }
.sh-stage .player video { width: 100%; height: auto; max-height: none; display: block; }
.st-acts { display: flex; align-items: center; gap: 18px; }
.sh-snd { padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; }
.sh-snd:hover { background: var(--accent); }
.sh-body { padding: clamp(28px, 4vw, 56px) var(--gut) clamp(30px, 4vw, 50px); display: grid; gap: clamp(26px, 3vw, 40px); }
.sh-info { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px clamp(28px, 5vw, 80px); align-items: start; }
.sh-t { display: grid; gap: 10px; }
.sh-t .big { font-size: clamp(56px, 8vw, 128px); }
.sh-d { display: grid; gap: 18px; }
.sh-d p { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; max-width: 46ch; font-weight: 500; }
.sh-d dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; margin: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.sh-d dt { font-size: 11.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.sh-d dd { margin: 0; font-size: 15px; }
@media (max-width: 760px) {
  .sh-stage { margin: 10px 10px 0; border-radius: 16px; min-height: 0; padding: 14px; }
  .sh-stage.v916 .player { width: min(100%, calc((78svh - 90px) * 9 / 16)); }
  .sh-info { grid-template-columns: 1fr; }
  .sh-snd { font-size: 13px; padding: 6px 12px; }
  .st-acts { gap: 12px; }
}

/* fiche d'un projet image : le film calé à gauche (9:16), la source et les déclinaisons en grille */
.sh-bento { --g: clamp(8px, 1vw, 14px); display: grid; gap: var(--g); margin: 14px var(--gut) 0; grid-template-columns: 2.1fr repeat(3, 1fr); }
.sh-bento.n3 { grid-template-columns: 1.42fr repeat(2, 1fr); }
.sh-bento figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.sh-bento figure img, .sh-bento figure video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-bento .b-film { grid-row: 1 / span 3; aspect-ratio: auto; background: #000; }
.sh-bento.n3 .b-film { grid-row: 1 / span 2; }
.sh-bento .b-src { background: #fff; }
.sh-bento .b-src img { object-fit: contain; padding: 7%; }
.sh-bento .tag { z-index: 2; }
.sh-bento figure:not(.b-film) img { transition: transform .6s var(--ease); }
.sh-bento figure:not(.b-film):hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .sh-bento, .sh-bento.n3 { grid-template-columns: 1fr 1fr; margin: 10px 10px 0; }
  .sh-bento .b-film, .sh-bento.n3 .b-film { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
}

/* ==========================================================
   LE DUO — l'identité : une silhouette pleine et son double en contour
   ========================================================== */
:root { --duo-fg: var(--ink); --duo-bg: var(--paper); }
[data-duo] { display: inline-block; flex: none; }
.duo { display: block; width: 100%; height: 100%; overflow: visible; }
.duo path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.duo .tr { stroke-width: 13; }
.duo .lb { stroke-width: 9.6; }
.duo .so path, .duo .tw .o path { stroke: var(--duo-fg); }
.duo .tw .o circle { fill: var(--duo-fg); }
/* le double : même forme, contour tracé à l'intérieur (il ne paraît jamais plus gros) */
.duo .tw .i path { stroke: var(--duo-bg); }
.duo .tw .i .tr { stroke-width: 7.6; }
.duo .tw .i .lb { stroke-width: 4.2; }
.duo .tw .i circle { fill: var(--duo-bg); transform-box: fill-box; transform-origin: center; }
.duo .so .hd { fill: var(--accent); }
.duo .tw, .duo .so { transform-box: view-box; transform-origin: 50% 50%; transition: transform .7s var(--ease); }
.duo .tw { transform: translate(11px, -1.5px); }
.duo .so { transform: translate(-7px, 0); }
/* en petit, le contour deviendrait illisible : le double devient une ombre claire de la silhouette */
:is(.logo-duo, .mk-ic, .duo-s, .kwc, .rf-duo, .pf-duo) .duo .tw { opacity: .28; }
:is(.logo-duo, .mk-ic, .duo-s, .kwc, .rf-duo, .pf-duo) .duo .tw .i { display: none; }
/* au survol, le double se glisse exactement sous la silhouette : il ne reste qu'elle */
:is(a, .mk, .foot-cta, .ct-t, .h3-t):hover .duo .tw { transform: translate(-7px, 0); }
.duo-live .duo .tw { animation: duo-follow 4.2s var(--ease) infinite; }
@keyframes duo-follow { 0%, 30% { transform: translate(11px, -1.5px); } 55%, 78% { transform: translate(-7px, 0); } 100% { transform: translate(11px, -1.5px); } }
@media (prefers-reduced-motion: reduce) { .duo-live .duo .tw { animation: none; } }

/* logo */
.logo { align-items: center; }
.logo-duo { width: 1.5em; height: 1.5em; margin: -.25em .12em -.25em -.2em; }
.top.on-dark .logo-duo, .night .logo-duo { --duo-fg: #ecebe6; --duo-bg: var(--night); }

/* repères de section : la pose dans la pastille */
.lbl.mk { padding-left: 4px; }
.lbl.mk .mk-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); padding: 3px 4px 4px 3px; --duo-fg: var(--paper); --duo-bg: var(--ink); }
.lbl.mk b { min-width: 0; height: auto; padding: 0; background: none; color: var(--ink); font-size: 15px; }
.night .lbl.mk .mk-ic { background: #ecebe6; --duo-fg: #121212; --duo-bg: #ecebe6; }
.night .lbl.mk b { background: none; color: #ecebe6; }

/* pied de page et contact : le salut */
.foot-cta { align-items: center; }
.foot-duo { width: clamp(84px, 9vw, 140px); height: clamp(84px, 9vw, 140px); margin-right: -8px; }
.foot-cta .big { flex: 1; }
.ct-t { display: flex; align-items: flex-end; gap: 10px; }
.ct-duo { width: clamp(90px, 9vw, 140px); height: clamp(90px, 9vw, 140px); margin-bottom: .1em; }

/* portfolio : la pose de chaque catégorie devant son titre */
.pf-sec-h h2 { display: flex; align-items: center; gap: .18em; }
.pf-duo { width: 1.15em; height: 1.15em; margin-left: -.12em; }

.lede.kw { font-size: clamp(18px, 1.5vw, 22px); }
.lede.kw b { font-weight: 600; }
.lede.kw i { font-style: normal; color: var(--accent); margin: 0 .15em; }

/* fiche « recherche » d'un film concept : une carte par époque */
.story-intro { max-width: 62ch; }
.eras { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.era { margin: 0; display: grid; gap: 12px; align-content: start; }
.era .media { aspect-ratio: 4 / 5; border-radius: 12px; }
.era figcaption { display: grid; gap: 4px; }
.era figcaption .lbl { color: var(--accent); }
.era figcaption b { font-family: var(--f-display); font-variation-settings: "wdth" 66; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 1.7vw, 26px); line-height: 1; }
.era figcaption p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 900px) { .eras { grid-template-columns: 1fr 1fr; } }

/* ==========================================================
   IMAGE — le flux : photo client → direction → visuels générés
   ========================================================== */
.iwf { position: relative; display: grid; grid-template-columns: minmax(170px, .95fr) minmax(150px, .8fr) 3.7fr; gap: clamp(40px, 5vw, 84px); align-items: center; padding: 10px 0; }
.iwf-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.iwf-wires path { fill: none; stroke: rgba(20,20,20,.3); stroke-width: 1.6; }
.iwf-wires path.live { stroke: var(--accent); stroke-dasharray: 5 7; animation: flow 1s linear infinite; }
.inode { position: relative; z-index: 1; display: block; background: #fff; border: 1px solid rgba(20,20,20,.1); border-radius: 12px; box-shadow: 0 18px 40px -26px rgba(0,0,0,.35); opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .5s var(--ease), box-shadow .3s; }
.iwf.on .inode { opacity: 1; transform: none; }
.iwf.on .i-dir { transition-delay: .35s; }
.iwf.on .i-out { transition-delay: .7s; }
.inode .ih { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-bottom: 1px solid rgba(20,20,20,.08); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.inode .ih i { width: 8px; height: 8px; border-radius: 2px; background: var(--k); flex: none; }
.inode .ih b { color: var(--ink); font-weight: 600; }
.inode .ih .tg { font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--mute); }
.inode .ih .st { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--mute); }
.inode .ib { padding: 8px; }
.inode .port { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(20,20,20,.45); }
.inode .port.in { left: -6px; } .inode .port.out { right: -6px; }
.isrc { aspect-ratio: 4 / 5; border-radius: 7px; background: #fff; }
.isrc img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.ichips { display: flex; flex-wrap: wrap; gap: 5px; }
.ichips span { padding: 5px 9px; border-radius: 999px; background: var(--paper); font-size: 12.5px; font-weight: 500; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .35s var(--ease); }
.ichips span.in { opacity: 1; transform: none; }
.i-outs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.i-out { color: inherit; }
.i-out:hover { box-shadow: 0 26px 50px -26px rgba(0,0,0,.45); transform: translateY(-3px) !important; }
.i-out .gen { position: relative; aspect-ratio: 4 / 5; border-radius: 7px; overflow: hidden; background: repeating-linear-gradient(135deg, var(--paper) 0 8px, var(--paper-2) 8px 16px); }
.i-out .gen img, .i-out .gen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); }
.i-out.run .gen img, .i-out.run .gen video { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.3, 0, .2, 1); }
.i-out.done .gen img, .i-out.done .gen video { clip-path: inset(0 0 0 0); }
.i-out .bar { display: block; height: 3px; margin-top: 7px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.i-out .bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.i-out.run .bar i { transform: scaleX(1); transition: transform 1.1s cubic-bezier(.3, 0, .2, 1); }
.i-out.done .bar i { transform: scaleX(1); background: #2fbf5b; }
.i-out.done .ih .st { color: #2fbf5b; }
@media (max-width: 759px) {
  .iwf { grid-template-columns: 1fr; gap: 44px; justify-items: center; }
  .i-src { width: 58%; }
  .i-dir { width: 86%; }
  .i-outs, .iwf.n4 .i-outs { width: 100%; grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .inode .port.in { left: 50%; top: -6px; margin: 0 0 0 -5px; }
  .inode .port.out { right: auto; left: 50%; top: auto; bottom: -6px; margin: 0 0 0 -5px; }
}

/* contact : le brief en phrase à compléter */
.ct-form { background: #fff; border-radius: 24px; padding: clamp(24px, 3.4vw, 46px); box-shadow: 0 30px 70px -40px rgba(0,0,0,.25); }
.ct-fh { margin-bottom: clamp(18px, 2vw, 26px); }
form.mad { gap: clamp(18px, 2vw, 26px); }
.mad-p { margin: 0; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.75; font-weight: 500; letter-spacing: -0.015em; }
.mad-p .mi { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid rgba(20,20,20,.22); border-radius: 0; padding: 0 2px 2px; margin: 0 .2em; outline: none; width: 10ch; min-width: 6ch; max-width: 100%; transition: border-color .2s; }
.mad-p .mi::placeholder { color: rgba(20,20,20,.32); }
.mad-p .mi:focus { border-bottom-color: var(--accent); }
.mad-opts { display: inline; }
.mad-opts label { position: relative; cursor: pointer; }
.mad-opts input { position: absolute; opacity: 0; pointer-events: none; }
.mad-opts span { display: inline-block; margin: 0 .12em .2em; padding: .05em .55em .12em; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(20,20,20,.18); line-height: 1.35; transition: background .2s, color .2s, box-shadow .2s; }
.mad-opts label:hover span { box-shadow: inset 0 0 0 2px var(--ink); }
.mad-opts input:checked + span { background: var(--accent); color: #fff; box-shadow: none; }
.mad-opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.mad-msg { display: grid; gap: 8px; }
.mad-msg > span { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.mad-msg textarea { font: inherit; font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--paper); border: 0; border-radius: 14px; padding: 14px 16px; min-height: 120px; resize: vertical; outline: none; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.mad-msg textarea:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.mad-send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mad-send .pill { padding: 9px 9px 9px 22px; font-size: 16.5px; }
.mad-send .pill .arr { width: 36px; height: 36px; }
.mad-note { margin: 0; font-size: 13.5px; color: var(--mute); }

/* haut de page épuré : un titre, des mots-clés, un aperçu propre ; la flèche n'apparaît qu'au survol */
.hero3 .xp > a { grid-template-columns: 1fr auto; grid-template-areas: "t vg" "k vg"; column-gap: 18px; padding: 12px 0; }
.hero3 .xp b::after { content: "→"; display: inline-block; margin-left: .25em; font-size: .6em; vertical-align: .25em; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.hero3 .xp > a:hover b::after { opacity: 1; transform: none; }
.hero3 .vg { box-shadow: none; border-radius: 10px; }
.vg-fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: vgfade 12s infinite; }
.vg-fade img:nth-child(2) { animation-delay: 3s; } .vg-fade img:nth-child(3) { animation-delay: 6s; } .vg-fade img:nth-child(4) { animation-delay: 9s; }
@keyframes vgfade { 0% { opacity: 0; } 4%, 25% { opacity: 1; } 29%, 100% { opacity: 0; } }
@media (max-width: 600px) { .hero3 .xp > a { grid-template-columns: 1fr auto; grid-template-areas: "t vg" "k vg"; } }

/* du brief au livrable : pas de texte, l'animation arrive tout de suite */
#process .demo { margin-top: clamp(20px, 2.4vw, 34px); }
.vg-fade img { object-position: 50% 30%; }

/* ==========================================================
   PRÊTES À DIFFUSER — la sortie du flux, sur la toile noire
   ========================================================== */
.ads-band { position: relative; margin-top: clamp(6px, 1vw, 14px); padding: clamp(26px, 3vw, 40px) 0 clamp(30px, 3.4vw, 46px); border-radius: 28px 28px 0 0; background-color: var(--night); background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px); background-size: 22px 22px; color: #ecebe6; }
.ab-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ab-k { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(236,235,230,.6); }
.ab-k i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.ab-t { margin: 6px 0 0; font-family: var(--f-display); font-variation-settings: "wdth" 66; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 54px); line-height: .92; }
.ads-band .mq-nav button { box-shadow: inset 0 0 0 1.5px rgba(236,235,230,.5); color: #ecebe6; }
.ads-band .mq-nav button:hover { background: #ecebe6; color: #121212; }
.ads-band .marquee { --mh: clamp(300px, 27vw, 420px); -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ads-band .mq-track { position: relative; align-items: flex-start; gap: 16px; padding: 6px 0 40px; }
/* le fil : une ligne pointillée orange qui court d'un nœud à l'autre */
.ads-band .mq-track::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,74,28,.85) 0 6px, transparent 6px 13px); animation: wire 1s linear infinite; z-index: 0; }
@keyframes wire { to { background-position: 13px 0; } }
.ads-band .mq, .ads-band .mq-c { display: flex; flex-direction: column; gap: 8px; z-index: 1; }
.ads-band .mq-stack { height: auto; gap: 8px; width: calc((var(--mh) - 46px) / 2 * 16 / 9); }
.ads-band .mq-stack .mq-c { height: calc((var(--mh) + 30px) / 2); }
.ads-band .mq-stack .mq-c > :not(figcaption) { flex: 1; min-height: 0; height: auto; }
/* l'en-tête de nœud au-dessus de chaque créa */
.ads-band .nh { position: static; opacity: 1; transform: none; order: -1; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 9px; background: var(--night-2); border: 1px solid #2c2c2c; color: rgba(236,235,230,.75); font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; pointer-events: auto; }
.ads-band .nh i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.ads-band .nh b { font-weight: 600; color: #ecebe6; overflow: hidden; text-overflow: ellipsis; }
.ads-band .nh .ok { margin-left: auto; color: #6fd394; }
/* chaque créa éclairée par sa propre couleur */
.ads-band .ad, .ads-band .banner { box-shadow: 0 40px 70px -34px rgba(var(--glow, 255,255,255), .55), 0 0 0 1px rgba(255,255,255,.06); }
.ads-band .mq-stack .mq-c:last-child .banner { box-shadow: 0 40px 70px -34px rgba(47,85,200,.55), 0 0 0 1px rgba(255,255,255,.06); }
.ads-band .mq-stack .mq-c:first-child .ad { box-shadow: 0 40px 70px -34px rgba(91,91,214,.55), 0 0 0 1px rgba(255,255,255,.06); }
@media (max-width: 900px) { .ads-band .marquee { --mh: clamp(330px, 96vw, 420px); } .ads-band { border-radius: 22px 22px 0 0; } }

/* ==========================================================
   RENFORT — court : trois points, et la carte de livraison
   ========================================================== */
.reinf-l { gap: 22px; }
.rf3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.rf3 div { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.rf3 b { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.rf3 b::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-bottom: 10px; }
.rf3 span { font-size: 14px; line-height: 1.4; color: var(--mute); }
.dl { background: #fff; border-radius: 22px; padding: clamp(16px, 2vw, 24px); box-shadow: 0 50px 100px -50px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); display: grid; gap: 14px; }
.dl-top { display: flex; align-items: center; gap: 12px; }
.dl-av { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.dl-top b { display: block; font-size: 15px; font-weight: 600; }
.dl-top small { font-size: 12.5px; color: var(--mute); }
.dl-st { margin-left: auto; font-size: 12.5px; font-weight: 600; color: #1d8f45; background: #e7f6ec; padding: 6px 11px; border-radius: 999px; opacity: 0; transition: opacity .4s; }
.dl.go .dl-st { opacity: 1; transition-delay: 1.9s; }
.dl-film { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; }
.dl-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dl-mark { position: absolute; left: 12px; bottom: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transform: translateY(8px); opacity: 0; transition: opacity .5s, transform .6s var(--ease); }
.dl.go .dl-mark { opacity: 1; transform: none; transition-delay: .9s; }
.dl-tc { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); padding: 3px 7px; border-radius: 5px; font-variant-numeric: tabular-nums; }
.dl-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dl-files li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--paper); font-size: 13.5px; }
.dl-files li:first-child { font-weight: 600; }
.dl-files i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--mute); text-align: center; border: 1.5px solid var(--line); border-radius: 6px; padding: 3px 0; }
.dl-files span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dl-files em { font-style: normal; color: #2fbf5b; font-weight: 700; opacity: 0; transform: scale(.5); transition: opacity .3s, transform .4s var(--ease); }
.dl.go .dl-files li:nth-child(1) em { opacity: 1; transform: none; transition-delay: 1.1s; }
.dl.go .dl-files li:nth-child(2) em { opacity: 1; transform: none; transition-delay: 1.3s; }
.dl.go .dl-files li:nth-child(3) em { opacity: 1; transform: none; transition-delay: 1.5s; }
.dl.go .dl-files li:nth-child(4) em { opacity: 1; transform: none; transition-delay: 1.7s; }
.dl-rows { display: grid; border-top: 1px solid var(--line); }
.dl-rows > div { display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.dl-rows .wl-swap { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.dl-rows .wl-swap s { opacity: .35; transition: opacity .5s; }
.dl-rows .wl-swap b { opacity: 0; transform: translateX(-6px); transition: opacity .5s, transform .5s var(--ease); }
.dl.go .wl-swap s { opacity: 1; transition-delay: .5s; }
.dl.go .wl-swap b { opacity: 1; transform: none; transition-delay: .7s; }
.dl-tg { width: 46px; height: 26px; border-radius: 999px; background: #d6d3cc; position: relative; transition: background .35s; }
.dl-tg i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .45s var(--ease); }
.dl.go .dl-tg { background: #2fbf5b; transition-delay: .25s; }
.dl.go .dl-tg i { transform: translateX(20px); transition-delay: .25s; }
.dl-foot { margin: 0; font-size: 15px; font-weight: 600; }
@media (max-width: 860px) {
  .rf3 { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .rf3 div { background: none; box-shadow: none; border-radius: 0; padding: 12px 0; border-bottom: 1px solid var(--line); grid-template-columns: auto 1fr; gap: 2px 10px; align-items: baseline; }
  .rf3 b::before { display: inline-block; margin: 0 8px 1px 0; }
  .rf3 span { grid-column: 1 / -1; }
}

/* carte de livraison compacte : le film et les fichiers côte à côte */
.dl { grid-template-columns: 1.25fr 1fr; column-gap: 14px; row-gap: 12px; align-items: center; }
.dl-top, .dl-rows, .dl-foot { grid-column: 1 / -1; }
.dl-files { gap: 5px; }
.dl-files li { grid-template-columns: 38px 1fr auto; padding: 6px 8px; font-size: 12.5px; }
.dl-rows { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.dl-rows > div { padding: 10px 2px; }
.reinf { align-items: center; }
.reinf .h-l { font-size: clamp(44px, 5.4vw, 86px); }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } .dl-rows { grid-template-columns: 1fr; } }

/* ==========================================================
   HAUT DE PAGE v9 — qui je suis, trois mots-clés, puis tout le travail en dessous
   ========================================================== */
.hero4 { padding: clamp(104px, 13vh, 150px) 0 clamp(34px, 4vw, 60px); }
.h4 { position: relative; display: grid; gap: clamp(16px, 1.8vw, 24px); justify-items: start; }
.h4-t { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 68; font-weight: 800; font-size: clamp(56px, 8.4vw, 144px); line-height: .9; letter-spacing: -0.015em; }
.h4-t em { font-style: normal; color: var(--accent); }
.h4-row { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(8px, 1.2vw, 18px); }
.kw3 { display: flex; flex-wrap: wrap; gap: 10px; }
.kwc { display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 800; text-transform: uppercase; font-size: clamp(19px, 1.8vw, 28px); line-height: 1; transition: background .25s, color .25s, transform .4s var(--ease), box-shadow .25s; }
.kwc i { width: 46px; height: 46px; padding: 5px; border-radius: 12px; background: var(--paper); --duo-bg: var(--paper); }
.kwc:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); box-shadow: none; }
.kwc:hover i { background: #2a2a2a; --duo-fg: #ecebe6; --duo-bg: #2a2a2a; }
.h4-side { display: grid; gap: 12px; justify-items: start; max-width: 430px; }
.h4-sub { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; font-weight: 500; color: var(--mute); }
/* survol d'un mot-clé : un aperçu du travail apparaît au-dessus */
.kw-pv { position: absolute; z-index: 5; left: 0; top: 0; width: 250px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .25s, transform .4s var(--ease); box-shadow: 0 34px 60px -26px rgba(0,0,0,.5); background: var(--paper-3); }
.kw-pv.on { opacity: 1; transform: none; }
.kw-pv video, .kw-pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kw-pv img { object-position: 50% 30%; }
@media (max-width: 760px) {
  .hero4 { padding-top: 96px; }
  .h4-t { font-size: 12.4vw; }
  .kwc { font-size: 18px; padding: 6px 14px 6px 6px; gap: 9px; }
  .kwc i { width: 36px; height: 36px; padding: 4px; }
  .kw-pv { display: none; }
}
@media (max-width: 600px) { .ab-k { font-size: 10px; letter-spacing: .06em; } .ab-head { align-items: center; } }

.sh-bento.nofilm { grid-template-columns: repeat(3, 1fr); }
.sh-bento.nofilm figure:not(.b-src) img { object-position: 50% 45%; }
@media (max-width: 760px) { .sh-bento.nofilm { grid-template-columns: 1fr 1fr; } }

/* plus de trait au-dessus des repères de section */
.sec-top { border-top: 0; padding-top: 0; }

/* haut de page : chaque mot-clé avec un petit aperçu du travail */
.kwc { padding: 7px 20px 7px 7px; }
.kth { position: relative; display: block; width: 72px; height: 46px; border-radius: 10px; overflow: hidden; background: var(--paper-3); flex: none; }
.kth video, .kth img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kfade img { opacity: 0; animation: vgfade 12s infinite; object-position: 50% 35%; }
.kfade img:nth-child(2) { animation-delay: 3s; } .kfade img:nth-child(3) { animation-delay: 6s; } .kfade img:nth-child(4) { animation-delay: 9s; }
.kwc:hover .kth { box-shadow: 0 0 0 2px var(--paper); }
@media (max-width: 760px) { .kth { width: 54px; height: 36px; border-radius: 8px; } }

/* image IA : le flux replié, un bouton pour l'ouvrir */
.iwf-box { position: relative; }
.iwf-box.closed { max-height: 470px; overflow: hidden; }
.iwf-box.closed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--paper) 78%); pointer-events: none; z-index: 2; }
.iwf-more { display: none; }
.iwf-box.closed .iwf-more { display: inline-flex; position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; }
.iwf-more i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 14px; }
@media (max-width: 759px) { .iwf-box.closed { max-height: 760px; } }

/* « comment ça marche » : un intermède entre deux expertises */
.interlude { margin-top: clamp(50px, 6vw, 90px); padding-top: clamp(26px, 3vw, 40px) !important; padding-bottom: clamp(26px, 3vw, 40px) !important; background: var(--paper-2); border-radius: 26px; margin-inline: var(--gut); padding-inline: clamp(16px, 2.4vw, 34px) !important; }

/* renfort : un personnage par point */
.rf3 .rf-duo { width: 46px; height: 46px; margin-bottom: 6px; --duo-bg: #fff; }
.rf3 b::before { display: none; }
@media (max-width: 860px) { .rf3 .rf-duo { width: 36px; height: 36px; grid-row: span 2; margin: 0; } .rf3 div { grid-template-columns: 36px 1fr; } .rf3 span { grid-column: 2; } }

.pf-sectors { max-width: 520px; }
.sh-bento.nofilm .b-src img { object-fit: cover; padding: 0; }
@media (max-width: 600px) { .sh-snd { white-space: nowrap; padding: 6px 10px; font-size: 12.5px; } .sheet-top .lbl { max-width: 42vw; } .st-acts button[data-close] { white-space: nowrap; } }

/* aperçu « Image IA » : les images se relaient en boucle (piloté par le script, ne s'arrête jamais) */
.kfade img { animation: none !important; opacity: 0; transition: opacity .7s ease !important; }
.kfade img.on { opacity: 1; }

/* ============ HERO 5 : le titre, l'accroche, puis trois aperçus vivants du travail ============ */
.hero5 { padding: clamp(96px, 12vh, 132px) 0 clamp(34px, 4vw, 56px); }
.h5 { display: grid; gap: clamp(26px, 3vw, 40px); }
.h5-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.h5-l { display: grid; gap: clamp(14px, 1.6vw, 20px); justify-items: start; }
.h5-t { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 68; font-weight: 800; font-size: clamp(52px, 7.2vw, 124px); line-height: .9; letter-spacing: -0.015em; }
.h5-t em { font-style: normal; color: var(--accent); }
.h5-side { padding-bottom: .4em; }
.h5-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.h5-tile { display: grid; gap: 12px; color: var(--ink); }
.h5-m { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--paper-3); isolation: isolate; }
.h5-m video, .h5-m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.h5-tile:hover .h5-m video, .h5-tile:hover .h5-m img { transform: scale(1.035); }
.h5-c { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px; row-gap: 3px; padding-inline: 2px; }
.h5-c b { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--mute); }
.h5-n { font-family: var(--f-display); font-variation-settings: "wdth" 70; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 30px); line-height: 1; }
.h5-c small { grid-column: 2 / -1; font-size: 14.5px; color: var(--mute); line-height: 1.35; }
.h5-go { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 15px; transition: transform .45s var(--ease), background .25s; }
.h5-tile:hover .h5-go { background: var(--accent); color: #fff; transform: rotate(45deg); }
/* l'image IA : les images se relaient en coupe franche, comme un montage */
.h5-m.kfade img { transition: transform .9s var(--ease) !important; }
@media (max-width: 760px) {
  .hero5 { padding-top: 92px; }
  .h5-t { font-size: 12.4vw; }
  .h5-head { gap: 18px; }
  /* téléphone : les trois aperçus défilent au doigt, le suivant dépasse */
  .h5-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .h5-tiles::-webkit-scrollbar { display: none; }
  .h5-tile { flex: 0 0 76%; scroll-snap-align: start; }
  .h5-m { border-radius: 14px; }
  .h5-n { font-size: 21px; }
  .h5-c small { font-size: 13.5px; }
}

/* bannière Google Display : texte encre sur fond crème (il héritait du blanc de la bande sombre) */
.banner { color: #141414; }
.banner .bn-txt span { color: #6f6b63; }

.ads-band .banner strong { font-size: clamp(15px, 7cqw, 30px) !important; }

/* flux Image IA, sans à-coups : les blocs apparaissent en fondu sur place (les fils sont tracés à leur
   position finale), l'image se révèle par un cache qui se replie (animé par la carte graphique, pas de
   clip-path), le pourcentage a une largeur fixe, et les fils ne s'animent qu'à l'écran */
.iwf .inode { transform: none; transition: opacity .45s, box-shadow .3s, transform .35s var(--ease); }
.i-out .gen img, .i-out .gen video { clip-path: none !important; }
.i-out .gen::after { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(135deg, var(--paper) 0 8px, var(--paper-2) 8px 16px); transform-origin: 50% 100%; transform: scaleY(1); }
.i-out.run .gen::after { transform: scaleY(0); transition: transform 1.1s cubic-bezier(.3, 0, .2, 1); }
.i-out.done .gen::after { transform: scaleY(0); }
.inode .ih .st { min-width: 3.2em; text-align: right; }
.iwf:not(.vis) .iwf-wires path.live { animation-play-state: paused; }

/* téléphone : les trois aperçus côte à côte, carrés, sans défilement de côté */
@media (max-width: 760px) {
  .h5-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .h5-tile { flex: none; gap: 8px; }
  .h5-m { aspect-ratio: 1; border-radius: 12px; }
  .h5-c { grid-template-columns: 1fr; padding: 0; }
  .h5-c b, .h5-go, .h5-c small { display: none; }
  .h5-n { font-size: 15px; line-height: 1.05; }
}


/* ============ haut de page : chaque aperçu porte l'habillage de son métier ============ */
.h5-m > .wipe, .h5-m > .stk, .h5-m > .brf, .h5-m > .src, .h5-m > .lbl2 { position: absolute; z-index: 3; pointer-events: none; }
/* motion design : chaque projet entre par un volet de sa couleur, son nom arrive en sticker */
.c-motion .wipe { inset: 0; background: #6b4eff; clip-path: circle(0% at 0% 100%); }
.c-motion .wipe.go { animation: wipe .62s cubic-bezier(.7, 0, .3, 1) both; }
@keyframes wipe { 0% { clip-path: circle(0% at 0% 100%); } 46% { clip-path: circle(142% at 0% 100%); } 54% { clip-path: circle(142% at 100% 0%); } 100% { clip-path: circle(0% at 100% 0%); } }
.c-motion .stk { z-index: 4; left: 12px; bottom: 12px; display: grid; gap: 1px; padding: 8px 12px 9px; border-radius: 12px; background: var(--c, #6b4eff); color: var(--t, #fff); transform-origin: 0 100%; box-shadow: 0 14px 28px -14px rgba(0,0,0,.55); opacity: 0; }
.c-motion .stk.go { animation: stkin .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.c-motion .stk.out { animation: stkout .25s ease-in both; }
.c-motion .stk b { font-family: var(--f-display); font-variation-settings: "wdth" 72; font-weight: 800; font-size: 22px; line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
.c-motion .stk span { font-size: 12px; font-weight: 500; opacity: .85; }
@keyframes stkin { 0% { opacity: 0; transform: scale(.3) rotate(-10deg); } 100% { opacity: 1; transform: scale(1) rotate(-3deg); } }
@keyframes stkout { from { opacity: 1; transform: scale(1) rotate(-3deg); } to { opacity: 0; transform: scale(.6) rotate(-6deg); } }
/* vidéo IA : le brief du client, puis le film qui y répond */
.c-video .brf { left: 10px; right: 10px; bottom: 10px; display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: rgba(18,18,18,.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 14px 30px -16px rgba(0,0,0,.6); color: #fff; }
.c-video .brf i { flex: none; font-style: normal; padding: 4px 8px; border-radius: 7px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.c-video .brf p { margin: 0; display: grid; gap: 1px; min-width: 0; }
.c-video .brf p b { font-size: 12px; font-weight: 600; opacity: .75; } .c-video .brf p b em { font-style: normal; }
.c-video .brf p span { font-size: 13.5px; font-weight: 500; line-height: 1.3; min-height: 1.3em; }
.c-video .brf p span::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #fff; animation: rec 1s steps(1) infinite; }
.c-video .brf p.go { animation: brfin .55s var(--ease) both; }
@keyframes brfin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* image IA : la photo envoyée par le client en petit tirage, le visuel IA en grand */
.h5-m.c-image > img.v { opacity: 0; }
.h5-m.c-image > img.v.on { opacity: 1; }
.c-image .src { left: 12px; bottom: 12px; width: 27%; padding: 5px; background: #fff; border-radius: 4px; transform: rotate(-5deg); box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); transition: transform .5s var(--ease); }
.h5-m .src img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; transform: none !important; }
.c-image .src span { display: block; padding: 4px 0 5px; text-align: center; font-size: 10px; font-weight: 600; color: #333; letter-spacing: .02em; white-space: nowrap; }
.c-image .src.flip { transform: rotate(-5deg) rotateY(90deg); transition: transform .22s ease-in; }
.c-image .lbl2 { right: 12px; top: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 600; color: var(--ink); }
.c-image .lbl2::before { content: "✦ "; color: var(--accent); }
@media (max-width: 760px) {
  .c-motion .stk { left: 6px; bottom: 6px; padding: 4px 7px 5px; border-radius: 7px; } .c-motion .stk b { font-size: 12px; } .c-motion .stk span { display: none; }
  /* téléphone : la marque en petit, les mots-clés du brief sur deux lignes */
  .c-video .brf { left: 5px; right: 5px; bottom: 5px; padding: 5px 6px; gap: 0; border-radius: 8px; }
  .c-video .brf i, .c-video .brf p b em { display: none; }
  .c-video .brf p b { font-size: 7.5px; letter-spacing: .03em; text-transform: uppercase; }
  .c-video .brf p span { font-size: 8.5px; line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .c-image .src { left: 5px; bottom: 5px; width: 36%; padding: 2px; }
  .c-image .lbl2 { display: none; }
}

/* « du brief au livrable » : un petit bouton Rejouer, jamais écrasé */
.interlude .sec-top > .lbl { min-width: 0; }
.replay { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; line-height: 1; transition: background .2s, color .2s; }
.replay i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 14px; transition: transform .6s var(--ease); }
.replay:hover { background: var(--ink); color: var(--paper); }
.replay:hover i { background: var(--accent); color: #fff; transform: rotate(-200deg); }

/* Bercail (LinkedIn) : sa phrase reste lisible dans la pile */
.ads-band .mq-stack .ad-li .ad-copy { display: block; padding: 0 12px 7px; font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* portfolio, Campagnes : les trois films horizontaux sur une même ligne */
@media (min-width: 761px) {
  .pf-sec.tri .pf-grid2 .card:nth-child(-n+3) { width: calc((100% - 2 * clamp(14px, 1.4vw, 20px)) / 3); }
  .pf-sec.tri .pf-grid2 .card:nth-child(-n+3) .media { height: auto; aspect-ratio: 16 / 9; }
}

/* portfolio, films social : habillage Reels / TikTok ; l'ascenseur, film concept, a son voyant d'étage */
.card .media.dressed { container-type: inline-size; }
.card .media .ui-reel { z-index: 1; font-size: clamp(8px, 4.2cqw, 13px); }
.card.c169 .media .ui-reel { font-size: clamp(8px, 2.2cqw, 13px); }
.card .media .ui-reel, .card .media .ui-concept { transition: opacity .35s; }
.card:hover .media .ui-reel .r-bot { opacity: .0; transition: opacity .3s; }
.ui-concept { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: #fff; }
.ui-concept::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 30%, transparent 62%, rgba(0,0,0,.6)); }
.ui-concept .floor { position: absolute; top: 5%; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5em; padding: .45em .8em; border-radius: .5em; background: rgba(12,12,12,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font: 600 clamp(10px, 5cqw, 15px)/1 "General Sans", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .06em; color: #ffb547; text-shadow: 0 0 8px rgba(255,181,71,.6); white-space: nowrap; }
.ui-concept .floor i { font-style: normal; font-size: .8em; }
.ui-concept .cpt { position: absolute; left: 6%; right: 6%; bottom: 5%; display: grid; gap: .35em; }
.ui-concept .cpt small { font: 600 clamp(8px, 3.4cqw, 11px)/1 "General Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.ui-concept .cpt b { font-family: var(--f-display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase; font-size: clamp(16px, 9cqw, 30px); line-height: .92; }

/* ============ mots-clés : le style des modules de « Une production complète », sur fond clair ============
   étiquettes aux coins doux, un petit carré de couleur par mot, les couleurs tournent */
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 36em; }
.chip { --k: #a78bfa; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(20,20,20,.08); border-radius: 10px; background: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.2; color: var(--ink); white-space: nowrap; }
.chip::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--k); }
.chip:nth-child(6n+2) { --k: #ff4a1c; }
.chip:nth-child(6n+3) { --k: #38bdf8; }
.chip:nth-child(6n+4) { --k: #f472b6; }
.chip:nth-child(6n+5) { --k: #6fd394; }
.chip:nth-child(6n+6) { --k: #f2b84b; }
.chip.etc { padding-left: 4px; border: 0; background: none; color: var(--mute); }
.chip.etc::before { display: none; }
.chips .sec-k { flex-basis: 100%; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pf-sectors { max-width: min(34em, 100%); }
@media (max-width: 600px) { .chips { gap: 6px; } .chip { padding: 8px 11px; font-size: 13.5px; gap: 8px; } .chip::before { width: 8px; height: 8px; } }

/* ============ portfolio : sans compteurs, chaque section a un numéro et une phrase ============ */
.xp-f > button { grid-template-columns: 1fr auto auto; grid-template-areas: "t vg go" "k vg go"; }
.pf-sec-h { display: grid; grid-template-columns: auto 1fr minmax(0, 26em); grid-template-areas: "n t d"; align-items: end; column-gap: 16px; row-gap: 6px; border-top: 0; padding-top: 0; margin-bottom: clamp(18px, 2vw, 26px); }
.pf-sec-h .pf-n { grid-area: n; align-self: start; padding-top: .35em; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--accent); }
.pf-sec-h h2 { grid-area: t; }
.pf-sec-h p { grid-area: d; margin: 0; justify-self: end; text-align: right; padding-bottom: .25em; font-size: 15.5px; line-height: 1.4; color: var(--mute); }
.pf-sec + .pf-sec { margin-top: clamp(56px, 6vw, 96px); }
@media (max-width: 760px) {
  .pf-sec-h { grid-template-columns: auto 1fr; grid-template-areas: "n t" "n d"; align-items: start; column-gap: 10px; }
  .pf-sec-h .pf-n { padding-top: .25em; }
  .pf-sec-h p { justify-self: start; text-align: left; font-size: 14.5px; }
}

/* pied de page : une phrase qui dit qui, quoi, pour qui (lisible par les gens comme par Google) */
.foot-seo { max-width: 62ch; margin: 0 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--mute); }

/* ============ contact : la confirmation après l'envoi ============ */
.sent { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(18px, 4vw, 44px) 0 clamp(8px, 2vw, 20px); }
.sent[hidden] { display: none; }
.sent-ic { position: relative; width: 88px; height: 88px; margin-bottom: 6px; }
.sent-ic svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.sent-ic circle { fill: var(--accent); stroke: none; transform-origin: 26px 26px; transform: scale(0); }
.sent-ic path { fill: none; stroke: #fff; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; }
.sent-ic i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 2px; background: var(--k); opacity: 0; }
.sent.go .sent-ic circle { animation: sent-pop .55s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.sent.go .sent-ic path { animation: sent-draw .4s .45s cubic-bezier(.6, 0, .3, 1) forwards; }
.sent.go .sent-ic i { animation: sent-burst 1s .35s cubic-bezier(.15, .8, .25, 1) forwards; }
.sent .sent-t, .sent .sent-p, .sent .sent-acts { opacity: 0; transform: translateY(14px); }
.sent.go .sent-t { animation: sent-up .6s .6s var(--ease) forwards; }
.sent.go .sent-p { animation: sent-up .6s .75s var(--ease) forwards; }
.sent.go .sent-acts { animation: sent-up .6s .9s var(--ease) forwards; }
.sent-t { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 50px); line-height: .95; letter-spacing: -0.01em; }
.sent-p { margin: 0; max-width: 38ch; font-size: 16.5px; line-height: 1.5; color: var(--mute); overflow-wrap: anywhere; }
.sent-acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-top: 8px; }
@keyframes sent-pop { to { transform: scale(1); } }
@keyframes sent-draw { to { stroke-dashoffset: 0; } }
@keyframes sent-up { to { opacity: 1; transform: none; } }
@keyframes sent-burst { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(1); } }
form.brief[hidden] { display: none; }

/* les autres flèches « ↗ » du site, dessinées elles aussi (jamais d'emoji, quel que soit le navigateur) */
.h5-go::before, .mail .ne::before { content: ""; display: block; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 11.5 11.5 4.5M6 4.5h5.5V10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 11.5 11.5 4.5M6 4.5h5.5V10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.mail .ne { display: inline-grid; place-items: center; vertical-align: .05em; }
.mail .ne::before { width: .7em; height: .7em; }
