/* ============================================================
   TIMO — portfolio : styles propres à la page
   ============================================================ */
[hidden] { display: none !important; }
main { overflow-x: clip; }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; z-index: 120; inset: 0 0 auto 0; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--neon), var(--copper)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Barre du haut ---------- */
.topbar {
  position: fixed; z-index: 110; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad);
  transition: transform .45s var(--ease);
}
.topbar.is-hidden { transform: translateY(-120%); }
.topbar__brand {
  display: inline-flex; align-items: center; flex: none;
  padding: 10px 18px; border-radius: 999px; transition: transform .3s var(--ease);
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.topbar__brand:hover { transform: translateY(-2px); }
.topbar__logo { display: block; height: 30px; width: auto; max-width: none; }
.topbar__logo--on-light { display: none; }
:root[data-theme="light"] .topbar__logo--on-light { display: block; }
:root[data-theme="light"] .topbar__logo--on-dark { display: none; }
.topbar__nav, .topbar__actions {
  display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 14px 40px -20px rgba(0, 0, 0, .5);
}
.topbar__nav a { padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .25s var(--ease), color .25s; }
.topbar__nav a:hover, .topbar__nav a.is-current { background: var(--ink); color: var(--on-ink); }
.topbar__lang, .topbar__theme { display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .04em; transition: background .25s; }
.topbar__lang:hover, .topbar__theme:hover { background: var(--line); }
.topbar__theme { padding: 0; width: 40px; min-width: 40px; }
.topbar__theme .icon { width: 19px; height: 19px; }
.topbar__theme .i-sun { display: none; }
:root[data-theme="dark"] .topbar__theme .i-sun, :root:not([data-theme]) .topbar__theme .i-sun { display: block; }
:root[data-theme="dark"] .topbar__theme .i-moon, :root:not([data-theme]) .topbar__theme .i-moon { display: none; }
.topbar__cv { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--neon); color: var(--on-neon); font-weight: 700; font-size: 14px; transition: transform .25s var(--ease), box-shadow .25s; }
.topbar__cv:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -6px var(--neon-glow); }
.topbar__cv .icon { width: 18px; height: 18px; }

/* ---------- 1. Ouverture affiche ---------- */
/* Scène collante : site.js lit la progression une fois par image, la lisse, puis écrit
   uniquement des transform / opacity sur les éléments ci-dessous. */
.hero { position: relative; z-index: 0; height: 250vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__name {
  position: absolute; z-index: 1; left: 0; right: 0; top: 33%;
  display: flex; justify-content: center; white-space: nowrap; pointer-events: none;
  transform: translateY(-50%);
}
.hero__track {
  display: block; font-family: var(--display); font-weight: 800; line-height: .82;
  font-size: var(--name-fs, min(16.5vw, 52vh)); letter-spacing: -.04em; padding-right: .04em;
  color: var(--hero-name);
  text-shadow: 0 0 calc(var(--glow-k, 0) * 80px) rgba(63, 217, 192, .35);
}
.hero__track > span { display: inline-block; will-change: transform, opacity; }
.js .hero__name .hero__track { animation: name-in 1.4s var(--ease) both; }
@keyframes name-in { from { opacity: 0; translate: 0 18%; } to { opacity: 1; translate: 0 0; } }

.hero__portrait {
  position: absolute; z-index: 2; left: 50%; bottom: 0; margin: 0; height: 90%;
  transform: translate3d(-50%, 0, 0);
  transform-origin: 50% 100%; will-change: transform, opacity;
}
.hero__portrait::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 2%; width: 124%; aspect-ratio: 1; margin-left: -62%;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 42%, var(--halo-1, rgba(63, 217, 192, .32)), var(--halo-2, rgba(208, 138, 69, .11)) 40%, transparent 68%);
  animation: halo-breathe 5.5s ease-in-out infinite alternate; will-change: transform, opacity;
}
@keyframes halo-breathe { from { transform: scale(.94); opacity: .78; } to { transform: scale(1.06); opacity: 1; } }
:root[data-theme="light"] .hero__portrait::before { --halo-1: rgba(255, 250, 242, .5); --halo-2: rgba(63, 217, 192, .08); }
.hero__portrait img {
  height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 98%); mask-image: linear-gradient(to bottom, #000 76%, transparent 98%);
}
.js .hero__portrait img { animation: portrait-in 1.3s .15s var(--ease) both; }
@keyframes portrait-in { from { opacity: 0; translate: 0 6%; } to { opacity: 1; translate: 0 0; } }

.hero__text {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 9vh;
  display: grid; grid-template-columns: 1fr min(38vw, 520px) 1fr; align-items: end; gap: 24px;
}
.hero__text, .hero__intro, .hero__role { will-change: transform, opacity; }
.hero__intro {
  position: relative; grid-column: 1; margin: 0; max-width: 360px;
  font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; font-weight: 500;
}
.hero__role {
  grid-column: 3; justify-self: end; text-align: right; margin: 0; max-width: 460px; text-wrap: balance; hyphens: manual;
  font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.55vw, 25px); line-height: 1.2; letter-spacing: -.02em;
}
.hero__role small { display: block; margin-top: 12px; font-family: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.hero__scroll {
  position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fffaf2;
}
.hero__scroll i { width: 2px; height: 34px; border-radius: 2px; background: linear-gradient(var(--neon), transparent); animation: scroll-cue 1.8s var(--ease) infinite; transform-origin: 50% 0; }
@keyframes scroll-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* machine à écrire : le texte complet réserve la place, la copie tapée s'écrit par-dessus */
.tw-ghost { visibility: hidden; }
.tw-live { position: absolute; inset: 0; }
.tw-live.is-typing::after, .is-typing-caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--neon-ink); animation: caret .7s steps(1) infinite; }

/* ---------- 2. Manifeste ---------- */
/* la section qui suit l'ouverture glisse par-dessus la fin de la scène (fondu enchaîné) */
.hero + .section { position: relative; z-index: 1; margin-top: -80vh; }
.manifesto__grid { display: grid; grid-template-columns: minmax(240px, .72fr) 1.6fr; gap: clamp(36px, 7vw, 110px); align-items: center; perspective: 1400px; }
.manifesto__card {
  margin: 0; padding: 12px 12px 16px; border-radius: var(--r-lg); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform-origin: 30% 90%;
}
.js .manifesto__card[data-anim="straighten"] { opacity: calc(.25 + var(--in) * .75); rotate: calc((1 - var(--in)) * -14deg); translate: calc((1 - var(--in)) * -60px) calc((1 - var(--in)) * 80px); }
.manifesto__card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); }
.manifesto__card figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.manifesto__body .eyebrow { margin-bottom: 26px; }
.manifesto__text { margin: 0; font-family: var(--text); font-weight: 600; font-size: clamp(25px, 3vw, 46px); line-height: 1.22; letter-spacing: -.025em; }
.mw { white-space: nowrap; transition: opacity .35s var(--ease); }
.js .mw { opacity: var(--mw-off); }
.js .mw.is-on { opacity: 1; }
.mw em { font-style: normal; color: var(--neon-ink); background: linear-gradient(transparent 70%, rgba(63, 217, 192, .35) 70%); }
.mw.is-hl:nth-of-type(odd) em { color: var(--copper); background: linear-gradient(transparent 70%, rgba(184, 111, 43, .22) 70%); }

/* ---------- 3. Parcours ---------- */
.tl { position: relative; }
.tl__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tl__base { stroke: var(--line-strong); stroke-width: 3; stroke-dasharray: .1 12; stroke-linecap: round; }
.tl__ink { stroke: var(--ink); stroke-width: 4.5; stroke-dasharray: .1 12; stroke-linecap: round; }
.tl__head { fill: var(--neon); stroke: var(--paper); stroke-width: 3; filter: drop-shadow(0 0 10px rgba(63, 217, 192, .8)); }
.no-js .tl__head { display: none; }
.tl__steps { list-style: none; margin: 0; padding: 30px 0 10px; display: grid; gap: clamp(36px, 6vw, 90px); }
.tl__step { position: relative; width: calc(50% - 64px); }
.tl__step--left { justify-self: start; }
.tl__step--right { justify-self: end; }
.tl__dot { position: absolute; top: 36px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); border: 3px solid var(--line-strong); transition: background .4s, border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.tl__step--left .tl__dot { right: -74px; }
.tl__step--right .tl__dot { left: -74px; }
.tl__step.is-reached .tl__dot { background: var(--neon); border-color: var(--ink); transform: scale(1.25); box-shadow: 0 0 0 8px rgba(63, 217, 192, .18); }
.tl__card { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); }
.tl__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.tl__logo { display: grid; place-items: center; width: 64px; height: 64px; padding: 8px; border-radius: 16px; background: var(--logo-bg); border: 1px solid var(--line); }
.tl__logo img { width: 100%; height: 100%; object-fit: contain; }
.tl__initials { font-family: var(--display); font-weight: 800; font-size: 17px; color: #b0661f; }
.tl__years { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -.02em; color: var(--copper); white-space: nowrap; }
.tl__org { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.9vw, 27px); letter-spacing: -.025em; line-height: 1.15; }
.tl__org span { font-family: var(--text); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--ink-soft); }
.tl__role { margin: 8px 0 0; font-weight: 600; color: var(--neon-ink); line-height: 1.35; }
.tl__text { margin: 10px 0 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- 4. Émissions & projets ---------- */
.projects__hint { margin: 0; max-width: 300px; font-size: 15px; }
.hint-touch { display: none; }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.prow {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1.25fr) minmax(0, 1fr) 46px;
  align-items: center; gap: 24px; padding: clamp(18px, 2vw, 28px) 10px;
  border-bottom: 1px solid var(--line-strong);
  transition: opacity .35s var(--ease);
}
.prow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.prow__num { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--copper); }
.prow__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 46px); line-height: 1.06; letter-spacing: -.035em; overflow-wrap: break-word; transition: transform .5s var(--ease); }
.prow__btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-align: left; line-height: inherit; }
.prow__btn::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 10px; }
.prow__btn:focus-visible { outline: none; }
.prow__btn:focus-visible::after { outline: 2px solid var(--neon-ink); outline-offset: -2px; }
.prow__sub { display: block; text-align: left; unicode-bidi: isolate; margin-top: 8px; font-family: var(--text); font-weight: 500; font-size: 16px; letter-spacing: 0; color: var(--ink-soft); }
.prow__info p { margin: 0; }
.nb { white-space: nowrap; }
.prow__role { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--neon-ink); }
.prow--global .prow__role { color: var(--copper); }
.prow__meta { margin-top: 4px !important; font-size: 14px; color: var(--ink-soft); }
.prow__play { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.prow__play .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }
.prow__na { grid-column: 4; font-size: 12px; line-height: 1.2; color: var(--ink-soft); text-align: right; }
.prow__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .plist:hover .prow:not(:hover) { opacity: .42; }
  .prow:not(.is-static):hover::before { transform: scaleY(1); }
  .prow:not(.is-static):hover .prow__title { transform: translateX(18px); }
  .prow:not(.is-static):hover .prow__play { background: var(--neon); border-color: var(--neon); color: var(--on-neon); box-shadow: 0 0 22px var(--neon-glow); transform: rotate(-12deg) scale(1.1); }
}
.pfloat {
  position: fixed; z-index: 60; left: 0; top: 0; width: clamp(260px, 24vw, 380px); aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden; pointer-events: none; background: #17120e;
  box-shadow: var(--shadow-lg); opacity: 0; scale: .5;
  transition: opacity .3s var(--ease), scale .45s var(--ease);
  will-change: transform;
}
.pfloat.is-on { opacity: 1; scale: 1; }
.pfloat img, .pfloat video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pfloat video { opacity: 0; transition: opacity .3s; }
.pfloat.has-video video { opacity: 1; }

/* ---------- Bande cinétique ---------- */
.kinetic { padding-block: clamp(10px, 3vw, 40px) clamp(40px, 6vw, 80px); }

/* ---------- 5. Chiffres ---------- */
.stats-sec { border-radius: clamp(28px, 4vw, 56px); margin-inline: clamp(8px, 1.4vw, 20px); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); perspective: 1400px; }
.stat { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); background: rgba(255, 250, 242, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stat p { margin: 0; }
.stat__num { display: flex; align-items: baseline; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.4vw, 70px); line-height: 1; letter-spacing: -.03em; text-shadow: 0 0 28px rgba(63, 217, 192, .3); color: var(--neon); font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--copper); }
.stat__unit { font-size: .42em; font-weight: 600; margin-left: .35em; letter-spacing: 0; text-transform: uppercase; }
.stat__prefix { font-size: .38em; letter-spacing: .02em; margin-right: .3em; color: var(--copper); vertical-align: .35em; }
.stat__label { margin-top: 14px !important; font-weight: 600; font-size: 18px; line-height: 1.3; }
.stat__note { margin-top: 4px !important; font-size: 14px; color: rgba(255, 250, 242, .58); }
.stat:last-child:nth-child(3n+1) { grid-column: 1 / -1; }

/* ---------- 6. Clients ---------- */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logos > li { flex: 0 1 clamp(150px, 17%, 230px); }
.logo { display: grid; place-items: center; height: clamp(100px, 9vw, 128px); padding: 20px; border-radius: var(--r-md); background: var(--logo-bg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.logo img { max-height: 70px; width: auto; max-width: 100%; height: auto; object-fit: contain; filter: grayscale(1); opacity: .82; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.clients__more { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.clients__more-label { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.chips { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--glass); font-size: 15px; font-weight: 500; }

/* ---------- 7. Distinctions ---------- */
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); perspective: 1400px; }
.award__card { height: 100%; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-lg); background: var(--dark-card); color: #f3ead9; border: 1px solid rgba(243, 234, 217, .1); box-shadow: var(--shadow-lg); overflow: hidden; }
.award__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--neon); color: #0d0b09; box-shadow: 0 0 24px rgba(63, 217, 192, .4); }
.award__icon .icon { width: 26px; height: 26px; }
.award__card p, .award__card h3 { margin: 0; }
.award__year { margin-top: 28px !important; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.2vw, 70px); line-height: .95; letter-spacing: -.05em; color: var(--neon); }
.award__event { margin-top: 18px !important; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.award__title { margin-top: 12px !important; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
.award__text { margin-top: 12px !important; color: rgba(255, 250, 242, .68); font-size: 16px; }

/* ---------- 8. Outils ---------- */
.tools { padding-bottom: clamp(40px, 6vw, 90px); }
.tools__families { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.tools__family { display: grid; gap: 10px; }
.tools__label { margin: 0; padding-inline: var(--pad); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.tools__family--ai .tools__track li { border-color: rgba(63, 217, 192, .35); }
.tools__rows { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tools__track { list-style: none; margin: 0; padding: 6px 0; display: flex; width: max-content; gap: 14px; will-change: transform; }
.tools__track li { flex: none; padding: 16px 30px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); font-family: var(--display); font-weight: 600; font-size: clamp(16px, 1.8vw, 27px); letter-spacing: -.02em; white-space: nowrap; }
.tools__track--rev li { background: transparent; box-shadow: none; border-color: var(--line-strong); color: var(--ink-soft); }
.tools__track li:nth-child(3n + 1) { color: var(--neon-ink); }
.tools__track--rev li:nth-child(3n + 2) { color: var(--copper); }

/* ---------- 9. Fin ---------- */
.outro { padding-bottom: 0; }
.outro__inner { display: grid; justify-items: center; text-align: center; }
.outro__title { margin-top: 22px; max-width: 16ch; font-size: clamp(32px, 6.6vw, 112px); letter-spacing: -.045em; }
.outro__lead { margin-inline: auto; }
.outro__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.outro__actions .btn small { font-weight: 500; opacity: .7; }
.outro__extra { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 22px; }
.outro__studio { display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; text-align: left; transition: transform .3s var(--ease); }
.outro__studio:hover { transform: translateY(-3px); }
.outro__studio img { width: 48px; height: 48px; padding: 4px; border-radius: 50%; background: var(--logo-bg); }
.outro__studio strong { display: block; font-size: 15px; }
.outro__studio small { display: block; max-width: 300px; font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.outro__studio .icon { color: var(--neon-ink); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(70px, 9vw, 130px); padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.footer p { margin: 0; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.footer__top .icon { transition: transform .3s var(--ease); }
.footer__top:hover .icon { transform: translateY(-3px); }

/* ---------- Lecteur ---------- */
.lightbox { width: min(1100px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; color: #fffaf2; }
.lightbox::backdrop { background: rgba(12, 9, 6, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox__box { position: relative; padding-top: 58px; }
.lightbox__title { position: absolute; top: 10px; left: 0; right: 60px; margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); }
.lightbox__close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fffaf2; color: #1e1812; transition: transform .3s var(--ease); }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__frame { aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); margin-inline: auto; border-radius: 18px; overflow: hidden; background: #000; }
.lightbox__frame video, .lightbox__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.lightbox[open] .lightbox__box { animation: lb-in .45s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .topbar__nav { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; }
  .projects__hint { max-width: none; }
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__card { width: min(320px, 78%); justify-self: center; }
  .awards { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 40px minmax(0, 1fr) 46px; }
  .prow__info { grid-column: 2; }
  .prow__play, .prow__na { grid-column: 3; grid-row: 1; }
}
@media (max-width: 760px) {
  .hero { height: 225vh; }
  .hero + .section { margin-top: -62vh; }
  .hero__name { top: 31%; }
  .hero__track { text-align: center; }
  .hero__portrait { height: 70%; }
  .hero__text {
    left: 16px; right: 16px; bottom: 16px; grid-template-columns: 1fr; gap: 10px;
    padding: 18px 18px 20px; border-radius: 22px;
    background: var(--glass-strong); border: 1px solid var(--glass-line);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow-lg);
  }
  .hero__intro, .hero__role { grid-column: 1; justify-self: start; text-align: left; max-width: none; }
  .hero__intro { font-size: 16px; }
  .hero__role { font-size: 17px; }
  .hero__role small { margin-top: 8px; font-size: 11.5px; }
  .hero__scroll { display: none; }
  .topbar { padding: 12px 16px; }
  .topbar__brand { padding: 9px 13px; }
  .topbar__logo { height: 27px; }
  .tl__step { width: 100%; padding-left: 46px; }
  .tl__step--left .tl__dot, .tl__step--right .tl__dot { left: 6px; right: auto; top: 30px; }
  .tl__card { padding: 20px; }
  .tl__logo { width: 54px; height: 54px; }
  .hint-hover { display: none; }
  .hint-touch { display: inline; }
  .prow { grid-template-columns: minmax(0, 1fr) 46px; gap: 12px 14px; padding: 22px 0; }
  .prow__num { display: none; }
  .prow__title { grid-column: 1; grid-row: 1; font-size: clamp(21px, 6.4vw, 30px); }
  .prow__play, .prow__na { grid-column: 2; grid-row: 1; align-self: start; }
  .prow__info { grid-column: 1 / -1; }
  .prow__thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #17120e center / cover no-repeat; }
  .prow__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .stats { gap: 12px; }
  .stat { padding: 20px; }
  .stat__num { font-size: clamp(34px, 10vw, 50px); }
  .stat__label { font-size: 16px; }
  .award__year { font-size: 8.6vw; }
  .logos > li { flex-basis: calc(50% - 7px); }
  .chips li { font-size: 14px; padding: 7px 13px; }
  .outro__actions .btn small { display: none; }
  .footer { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
  .topbar__cv span { display: none; }
  .topbar__cv { width: 40px; padding: 0; justify-content: center; }
}
@media (hover: none), (pointer: coarse) { .pfloat { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; }
  .hero + .section { margin-top: 0 !important; }
  .hero__portrait::before { animation: none; }
  .js .mw { opacity: 1; }
  .manifesto__card { rotate: none !important; translate: none !important; }
  .pfloat { display: none; }
}

/* ============================================================
   CV vivant : quatre métiers, musique, formation
   ============================================================ */
.crafts__lead { margin: 0; max-width: 420px; }
.crafts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); perspective: 1600px; }
.craft__card {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.8vw, 40px); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass)); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.craft__card::before { content: ""; position: absolute; right: -20%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--craft-glow, rgba(63, 217, 192, .18)), transparent 65%); }
.craft__card > * { position: relative; }
.craft--sound .craft__card, .craft--director .craft__card { --craft-glow: rgba(208, 138, 69, .18); }
.craft__top { display: flex; align-items: center; justify-content: space-between; }
.craft__num { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--neon); }
.craft__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--neon); color: var(--on-neon); box-shadow: 0 0 26px var(--neon-glow); }
.craft--sound .craft__icon, .craft--director .craft__icon { background: var(--copper); box-shadow: 0 0 26px rgba(208, 138, 69, .35); }
.craft__icon .icon { width: 24px; height: 24px; }
.craft__title { margin: 6px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.1vw, 31px); line-height: 1.12; letter-spacing: -.03em; }
.craft__hook { margin: 0; color: var(--ink-soft); font-size: 16.5px; }
.craft__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.craft__label { margin: 4px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.craft__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.craft__chips li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; line-height: 1.3; }
.craft__chips--tools li { border-color: rgba(63, 217, 192, .4); color: var(--neon-ink); }
.craft__projects { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.cproj {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) 36px; align-items: center; gap: 14px; width: 100%;
  padding: 7px 10px 7px 7px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); text-align: left;
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.cproj:hover { border-color: var(--neon); transform: translateX(6px); }
.cproj__thumb { display: block; aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; background: #17120e; }
.cproj__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.cproj__thumb img.is-loaded { opacity: 1; }
.cproj__txt { display: grid; gap: 2px; min-width: 0; }
.cproj__txt strong { font-size: 15px; font-weight: 700; line-height: 1.25; }
.cproj__txt small { font-size: 12.5px; color: var(--neon-ink); line-height: 1.3; }
.cproj__play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .3s, color .3s; }
.cproj__play .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; margin-left: 2px; }
.cproj:hover .cproj__play { background: var(--neon); color: var(--on-neon); border-color: var(--neon); }

/* ---------- Musique ---------- */
.music__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.music__intro .lead { max-width: 520px; }
.music__note { margin: 18px 0 0; font-size: 14px; color: var(--ink-soft); }
.player { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); display: grid; gap: 16px; }
.player__now { position: relative; display: grid; align-items: start; min-height: 168px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 140% at 20% 100%, rgba(63, 217, 192, .22), transparent 60%), radial-gradient(90% 120% at 100% 0%, rgba(208, 138, 69, .2), transparent 60%), #0f0c0a; }
.player__viz { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58%; }
.player__meta { position: relative; padding: 16px 18px; color: #f3ead9; }
.player__meta p { margin: 0; }
.player__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #3fd9c0; }
.player__title { margin-top: 4px !important; font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.2; }
.player__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.player__seek { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --pp: 0%; }
.player__seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--neon) var(--pp), var(--line-strong) var(--pp)); }
.player__seek::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
.player__seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--neon); }
.player__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--neon-glow); }
.player__seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--neon); }
.player__time { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-soft); min-width: 86px; text-align: right; }
.player__controls { display: flex; justify-content: center; align-items: center; gap: 14px; }
.player__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); transition: transform .25s var(--ease), background .25s; }
.player__btn:hover { transform: scale(1.08); background: var(--line); }
.player__btn .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.player__play { width: 64px; height: 64px; border: 0; background: var(--neon); color: var(--on-neon); box-shadow: 0 0 30px var(--neon-glow); }
.player__play:hover { background: var(--neon); }
.player__play .icon { width: 24px; height: 24px; }
.player__play .i-pause { display: none; stroke: currentColor; stroke-width: 3; fill: none; }
.player.is-playing .player__play .i-play { display: none; }
.player.is-playing .player__play .i-pause { display: block; }
.player__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.player__track { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); text-align: left; transition: background .25s; }
.player__track:hover { background: var(--line); }
.player__track[aria-current="true"] { background: rgba(63, 217, 192, .12); }
.player__track[aria-current="true"] .player__n { color: var(--neon); }
.player__n { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--copper); }
.player__t { display: grid; min-width: 0; }
.player__t strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.player__t small { font-size: 12.5px; color: var(--ink-soft); }
.player__d { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- Formation ---------- */
.edus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.edu { position: relative; padding: clamp(24px, 2.8vw, 38px); padding-left: clamp(30px, 3.4vw, 46px); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); }
.edu::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: linear-gradient(var(--neon), var(--copper)); }
.edu p, .edu h3 { margin: 0; }
.edu__years { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 44px); letter-spacing: -.04em; color: var(--neon-ink); white-space: nowrap; }
.edu__title { margin-top: 12px !important; font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.25; letter-spacing: -.02em; }
.edu__school { margin-top: 8px !important; color: var(--ink-soft); font-size: 15px; }

@media (max-width: 960px) {
  .crafts__grid, .edus, .music__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .craft__cols { grid-template-columns: 1fr; }
  .cproj { grid-template-columns: 80px minmax(0, 1fr) 32px; gap: 10px; }
  .player__time { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cproj:hover { transform: none; }
}

/* ============================================================
   Réalisations : une signature visuelle par section
   ============================================================ */

/* ---------- Raccord « coupe de montage » entre sections ---------- */
.cut { position: relative; height: 70px; margin-block: clamp(-30px, -2vw, -10px); display: grid; place-items: center; overflow: hidden; pointer-events: none; --in: 1; }
.cut__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--neon) 20%, var(--copper) 80%, transparent); transform-origin: 0 50%; }
.js .cut__line { transform: scaleX(var(--in)); }
.cut__tc { position: relative; padding: 4px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line-strong); font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cut::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 50%, rgba(243, 234, 217, .5), transparent 70%); opacity: 0; }
.js .cut::before { opacity: calc(var(--in) * (1 - var(--in)) * 1.1); }
.js .cut[data-anim] { opacity: 1; }

/* ---------- Carte média commune ---------- */
.mcard {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden;
  border-radius: var(--r-lg); background: #0f0c0a; color: #f3ead9; text-align: left; cursor: pointer;
  box-shadow: var(--shadow-lg); isolation: isolate;
}
.mcard__media { position: absolute; inset: 0; z-index: -1; }
.mcard__media img, .mcard__pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mcard__media img { opacity: 0; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.mcard__media img.is-loaded { opacity: 1; }
.mcard[data-kind="youtube"] .mcard__media img { scale: 1.34; }
.mcard__pv { opacity: 0; transition: opacity .4s; }
.mcard--lb .mcard__pv { scale: 1.2; }   /* extraits en format cinéma : on masque les bandes noires */
.mcard.is-pv .mcard__pv { opacity: 1; }
.mcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 6, 5, .92) 0%, rgba(8, 6, 5, .35) 42%, transparent 70%); }
.mcard__scan { position: absolute; inset: 0; opacity: 0; mix-blend-mode: overlay; transition: opacity .4s;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 3px); }
.mcard:hover .mcard__scan, .mcard:focus-visible .mcard__scan { opacity: 1; }
.mcard:hover .mcard__media img { transform: scale(1.06); }
.mcard__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: clamp(16px, 1.8vw, 24px); }
.mcard__title { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.6vw, 24px); line-height: 1.12; letter-spacing: -.02em; }
.mcard__sub { font-size: 14px; color: rgba(243, 234, 217, .75); text-align: left; unicode-bidi: isolate; }
.mcard__meta { font-size: 13px; color: rgba(243, 234, 217, .72); }
.mcard__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #d08a45; color: #0d0b09; }
.mcard__badge--global { background: #3fd9c0; }
.mcard__play { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(13, 11, 9, .55); border: 1px solid rgba(243, 234, 217, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .4s var(--ease), background .3s; }
.mcard__play .icon { width: 15px; height: 15px; fill: #f3ead9; stroke: none; margin-left: 2px; }
.mcard:hover .mcard__play { transform: scale(1.12) rotate(-10deg); background: #3fd9c0; }
.mcard:hover .mcard__play .icon { fill: #0d0b09; }
.mcard:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

/* ---------- 6. TV : timeline de montage + affiches ---------- */
.nle { position: relative; margin-bottom: clamp(22px, 3vw, 40px); padding: 12px 14px 14px; border-radius: 18px; background: #0f0c0a; border: 1px solid rgba(243, 234, 217, .1); color: #f3ead9; overflow: hidden; --nle: 0; }
.nle__ruler { position: relative; height: 22px; margin-left: 34px; border-bottom: 1px solid rgba(243, 234, 217, .12);
  background: repeating-linear-gradient(90deg, rgba(243, 234, 217, .35) 0 1px, transparent 1px 10%), repeating-linear-gradient(90deg, rgba(243, 234, 217, .15) 0 1px, transparent 1px 2%);
  background-size: 100% 9px, 100% 5px; background-repeat: no-repeat; background-position: bottom, bottom; }
.nle__tc { position: absolute; right: 0; top: 0; font-family: var(--display); font-size: 11px; font-weight: 700; color: #3fd9c0; font-variant-numeric: tabular-nums; }
.nle__track { display: grid; grid-template-columns: 34px 1fr; align-items: center; margin-top: 6px; }
.nle__track b { font-size: 11px; font-weight: 800; color: rgba(243, 234, 217, .5); }
.nle__lane { display: flex; gap: 3px; height: 30px; }
.nle__clip { flex: 1; display: flex; align-items: center; min-width: 0; padding: 0 8px; border-radius: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 11.5px; font-weight: 700; color: #0d0b09; background: #d08a45; opacity: .55; transition: opacity .3s, box-shadow .3s; }
.nle__clip--global { background: #3fd9c0; }
.nle__clip.is-live { opacity: 1; box-shadow: 0 0 18px rgba(63, 217, 192, .5); }
.nle__track--a .nle__lane { height: 22px; }
.nle__wave { border-radius: 6px; background-color: rgba(63, 217, 192, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 11h2v-4h2v8h2v-10h2v12h2v-6h2v3h2v-9h2v14h2v-11h2v6h2v-3h2v8h2v-12h2v9h2v-5h2v3h2v-8h2v10h2v-4h2v6h2v-11h2v13h2v-7h2v4h2v-9h2v12h2v-5h2v2h2v-7h2v10h2v-12h2v8h2v-3h2v5h2v-9h2v11h2v-6h2v4h2v-10h2v13h2v-4h2v2h2v-8h2v9h2v-12h2v7h2v-2h2v5h2v-9h2v12h2v-6h2v3' fill='none' stroke='%233fd9c0' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 120px 22px; }
.nle__wave--2 { background-color: rgba(208, 138, 69, .12); filter: hue-rotate(155deg); background-position: 37px 0; }
.nle__head { position: absolute; top: 8px; bottom: 8px; left: calc(48px + (100% - 62px) * var(--nle)); width: 2px; background: #ff4d4d; box-shadow: 0 0 10px rgba(255, 77, 77, .7); }
.nle__head::before { content: ""; position: absolute; top: -2px; left: -6px; border: 7px solid transparent; border-top: 9px solid #ff4d4d; }
.tvgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); perspective: 1600px; }
.tvc { aspect-ratio: 4 / 5; }
.tvc.is-live .mcard { box-shadow: 0 0 0 2px #3fd9c0, 0 30px 60px -20px rgba(63, 217, 192, .35); }
.tvc--sound.is-live .mcard { box-shadow: 0 0 0 2px #d08a45, 0 30px 60px -20px rgba(208, 138, 69, .35); }
.tvc .mcard__title { font-size: clamp(20px, 2vw, 30px); }
.tv__more-label { margin: clamp(40px, 5vw, 64px) 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.plist--compact .prow__title { font-size: clamp(20px, 2.3vw, 34px); }
.plist--compact .prow { padding-block: clamp(12px, 1.4vw, 18px); }

/* ---------- 7. Musique & radio : VU-mètres, formes d'onde ---------- */
.vu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; width: min(260px, 100%); margin-top: 26px; }
.vu > span { display: block; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(243, 234, 217, .08); }
:root[data-theme="light"] .vu > span { background: rgba(30, 24, 18, .1); }
.vu i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(.04);
  background: linear-gradient(90deg, #3fd9c0 0 60%, #e8c547 60% 82%, #ff5a4d 82%); }
.vu small { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--ink-soft); }
.radio { margin-top: clamp(50px, 7vw, 100px); }
.radio__head { display: grid; grid-template-columns: auto 1fr; gap: 10px 30px; align-items: end; margin-bottom: 22px; }
.radio__head .lead { margin: 0; font-size: 16px; }
.spots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.spot__btn { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto auto; align-items: center; gap: 12px 12px; width: 100%; height: 100%; padding: 16px 16px 18px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--glass); color: var(--ink); text-align: left; transition: border-color .3s, transform .35s var(--ease); }
.spot__btn:hover { border-color: var(--neon); transform: translateY(-3px); }
.spot__wave { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; height: 34px; }
.spot__wave i { flex: none; width: 3px; height: 100%; border-radius: 2px; background: var(--line-strong); transform-origin: 50% 50%; transform: scaleY(calc(.18 + var(--h, .3)));
  transition: background .3s; }
.spot__wave i:nth-child(3n) { --h: .55; } .spot__wave i:nth-child(4n + 1) { --h: .15; } .spot__wave i:nth-child(5n + 2) { --h: .7; } .spot__wave i:nth-child(7n) { --h: .4; }
.spot__btn.is-playing .spot__wave i { background: var(--neon); animation: wave .9s ease-in-out infinite alternate; animation-delay: calc(var(--h, .3) * -1.6s); }
@keyframes wave { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.spot__txt { display: grid; min-width: 0; }
.spot__txt strong { font-size: 15px; font-weight: 700; line-height: 1.25; }
.spot__txt small { font-size: 12.5px; color: var(--neon-ink); }
.spot__d { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.spot__play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--neon); color: var(--on-neon); }
.spot__play .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.spot__play .i-pause { display: none; fill: none; stroke: currentColor; stroke-width: 3; }
.spot__btn.is-playing .i-play { display: none; }
.spot__btn.is-playing .i-pause { display: block; }

/* ---------- 8. Institutionnel : défilement horizontal, volets, triptyque ---------- */
.inst { overflow: hidden; }
.marquee-scroll { margin-bottom: clamp(20px, 3vw, 40px); white-space: nowrap; pointer-events: none; }
.marquee-scroll__track { display: inline-flex; gap: .45em; font-family: var(--display); font-weight: 800; font-size: clamp(46px, 8vw, 132px); line-height: 1; letter-spacing: -.045em; will-change: transform; }
.marquee-scroll__track span { color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); }
.marquee-scroll__track span:nth-of-type(3n + 1) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee-scroll__track b { color: var(--neon); font-weight: 800; }
.inst__sub { display: flex; align-items: center; gap: 12px; margin: clamp(30px, 4vw, 56px) 0 16px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -.02em; }
.inst__sub span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--neon); color: var(--on-neon); font-size: 14px; }
.inst__text { margin: -6px 0 16px; color: var(--ink-soft); }
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 15vw, 240px); gap: clamp(12px, 1.4vw, 18px); }
.ifilm--0 { grid-column: span 2; grid-row: span 2; }
.ifilm--3 { grid-column: span 2; }
.ifilm--0 .mcard__title { font-size: clamp(22px, 2.6vw, 38px); }
.islots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.islot { display: grid; gap: 10px; }
.islot__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px dashed var(--line-strong); background: #0f0c0a; }
.islot__bars { position: absolute; inset: 22% 10%; display: flex; gap: 4px; opacity: .35; filter: saturate(.6); }
.islot__bars i { flex: 1; border-radius: 3px; animation: bars 2.4s ease-in-out infinite alternate; }
.islot__bars i:nth-child(1) { background: #e8e1d3; } .islot__bars i:nth-child(2) { background: #e8c547; animation-delay: -.3s; }
.islot__bars i:nth-child(3) { background: #3fd9c0; animation-delay: -.6s; } .islot__bars i:nth-child(4) { background: #5ec26a; animation-delay: -.9s; }
.islot__bars i:nth-child(5) { background: #c45ac9; animation-delay: -1.2s; } .islot__bars i:nth-child(6) { background: #d04a3c; animation-delay: -1.5s; }
.islot__bars i:nth-child(7) { background: #3c63d0; animation-delay: -1.8s; }
@keyframes bars { from { opacity: .5; transform: scaleY(.85); } to { opacity: 1; transform: scaleY(1); } }
.islot__tc { position: absolute; left: 12px; bottom: 10px; font-family: var(--display); font-size: 11px; font-weight: 700; color: #3fd9c0; }
.islot__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.screens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); perspective: 1200px; }
.ievent { aspect-ratio: 16 / 10; }
.ievent .mcard { transition: transform .7s var(--ease), box-shadow .5s; box-shadow: 0 30px 70px -26px rgba(63, 217, 192, .45); }
.ievent:nth-child(1) .mcard { transform: rotateY(16deg); transform-origin: 100% 50%; }
.ievent:nth-child(3) .mcard { transform: rotateY(-16deg); transform-origin: 0 50%; }
.ievent .mcard:hover { transform: none; }

/* ---------- 9. Création IA : glitch, aberration chromatique ---------- */
.aifilms__title { position: relative; }
.aifilms__title::before, .aifilms__title::after { content: attr(data-glitch); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.js .aifilms__title.is-in::before { color: #3fd9c0; animation: glitch 4.5s steps(1) infinite; mix-blend-mode: screen; }
.js .aifilms__title.is-in::after { color: #ff4d6d; animation: glitch 4.5s steps(1) infinite reverse; mix-blend-mode: screen; }
@keyframes glitch { 0%, 88%, 100% { opacity: 0; transform: none; } 90% { opacity: .8; transform: translate(3px, -1px); clip-path: inset(10% 0 55% 0); } 93% { opacity: .8; transform: translate(-3px, 1px); clip-path: inset(60% 0 8% 0); } 96% { opacity: .6; transform: translate(2px, 0); clip-path: inset(30% 0 40% 0); } }
.aigrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: .8fr 1fr 1fr; grid-auto-rows: clamp(180px, 17vw, 270px); gap: clamp(12px, 1.4vw, 18px); }
.aic--0 { grid-row: span 2; }
.aic .mcard__media::before, .aic .mcard__media::after { content: ""; position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none; background: var(--img, none) center / cover; mix-blend-mode: screen; }
.aic .mcard__media::before { background-color: #f00; background-blend-mode: multiply; }
.aic .mcard__media::after { background-color: #0ff; background-blend-mode: multiply; }
.aic .mcard:hover .mcard__media::before { animation: ca .6s var(--ease); }
.aic .mcard:hover .mcard__media::after { animation: ca2 .6s var(--ease); }
@keyframes ca { 0% { opacity: .7; transform: translateX(-7px); } 100% { opacity: 0; transform: none; } }
@keyframes ca2 { 0% { opacity: .7; transform: translateX(7px); } 100% { opacity: 0; transform: none; } }

/* ---------- 10. IA & vibe coding : graphe de nœuds + terminal ---------- */
.code__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.ng { position: relative; aspect-ratio: 100 / 60; border-radius: var(--r-lg); background: radial-gradient(80% 90% at 50% 50%, rgba(63, 217, 192, .08), transparent 70%), #0f0c0a; border: 1px solid rgba(243, 234, 217, .1); --ng: 0;
  background-image: radial-gradient(rgba(243, 234, 217, .08) 1px, transparent 1px), radial-gradient(80% 90% at 50% 50%, rgba(63, 217, 192, .08), transparent 70%); background-size: 22px 22px, 100% 100%; }
.ng__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ng__link { fill: none; stroke: #3fd9c0; stroke-width: .32; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - clamp(0, var(--ng) * 15 - var(--k), 1)); filter: drop-shadow(0 0 4px rgba(63, 217, 192, .6)); opacity: .9; }
.ng__node { position: absolute; transform: translate(-50%, -50%); padding: 7px 12px; border-radius: 10px; white-space: nowrap; font-size: clamp(10.5px, .95vw, 13px); font-weight: 700; color: rgba(243, 234, 217, .55);
  background: #18130f; border: 1px solid rgba(243, 234, 217, .16); transition: color .4s, border-color .4s, box-shadow .4s, background .4s; }
.ng__node::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: rgba(243, 234, 217, .3); transition: background .4s, box-shadow .4s; vertical-align: 1px; }
.ng__node.is-on { color: #f3ead9; border-color: #3fd9c0; box-shadow: 0 0 22px rgba(63, 217, 192, .35); }
.ng__node.is-on::before { background: #3fd9c0; box-shadow: 0 0 8px #3fd9c0; }
.term { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: #0f0c0a !important; color: #f3ead9; }
.term__bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(243, 234, 217, .1); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; } .term__bar i:nth-child(3) { background: #28c840; }
.term__body { display: grid; align-content: start; gap: 10px; padding: 18px 18px 22px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: clamp(12.5px, 1vw, 14.5px); line-height: 1.5; }
.term__line { min-height: 1.5em; color: rgba(243, 234, 217, .85); }
.term__line:first-child { color: #3fd9c0; }
.term__line:last-child { color: #28c840; }
.term__line.is-typing::after { content: ""; display: inline-block; width: 8px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #3fd9c0; animation: caret .7s steps(1) infinite; }
.proofs { list-style: none; margin: clamp(20px, 2.6vw, 34px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.8vw, 24px); perspective: 1400px; }
.proof__card { display: grid; gap: 8px; height: 100%; padding: 12px 12px 22px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transition: border-color .3s; }
.proof__card:hover { border-color: var(--neon); }
.proof__shot { display: block; aspect-ratio: 16 / 10; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; background: #0f0c0a; margin-bottom: 8px; }
.proof__shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform .9s var(--ease); }
.proof__shot img.is-loaded { opacity: 1; }
.proof__card:hover .proof__shot img { transform: scale(1.04); }
.proof__badge { justify-self: start; margin-inline: 10px; padding: 5px 11px; border-radius: 999px; background: var(--neon); color: var(--on-neon); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.proof__title { margin-inline: 10px; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.02em; }
.proof__text { margin-inline: 10px; color: var(--ink-soft); font-size: 15.5px; }
.proof__cta { display: inline-flex; align-items: center; gap: 6px; margin-inline: 10px; font-weight: 700; color: var(--neon-ink); }

/* ---------- Curseur personnalisé (souris uniquement) ---------- */
.cursor-ring { position: fixed; z-index: 130; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(63, 217, 192, .7); opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; will-change: transform; }
.cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(63, 217, 192, .12); border-color: #3fd9c0; }
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) { .topbar__nav { display: none; } }
@media (max-width: 960px) {
  .tvgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spots, .islots, .screens { grid-template-columns: 1fr 1fr; }
  .code__grid, .proofs { grid-template-columns: 1fr; }
  .aigrid { grid-template-columns: 1fr 1fr; }
  .aic--0 { grid-row: span 2; }
  .ievent:nth-child(n) .mcard { transform: none; }
  .radio__head { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tvgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tvc .mcard__title { font-size: 16px; }
  .tvc .mcard__meta { display: none; }
  .mcard__badge { top: 8px; left: 8px; padding: 4px 8px; font-size: 9.5px; }
  .mcard__play { width: 34px; height: 34px; top: 8px; right: 8px; }
  .spots, .islots, .screens { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento > li { aspect-ratio: 16 / 10; }
  .ifilm--0, .ifilm--3 { grid-column: auto; grid-row: auto; }
  .aigrid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .aic--0 { grid-column: 1; grid-row: span 2; }
  .aic--4 { grid-column: 1 / -1; }
  .nle__clip { font-size: 0; padding: 0; }
  .ng__node { padding: 4px 6px; font-size: 9px; }
  .ng__node::before { display: none; }
  .cut__tc { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ng { --ng: 1 !important; }
  .js .cut::before { opacity: 0; }
  .js .aifilms__title::before, .js .aifilms__title::after, .islot__bars i, .spot__btn.is-playing .spot__wave i { animation: none !important; }
  .cursor-ring { display: none; }
}

/* ============================================================
   Structure définitive des réalisations
   ============================================================ */
.mcard__year { position: absolute; top: 14px; right: 62px; padding: 5px 10px; border-radius: 999px; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: rgba(13, 11, 9, .6); color: #f3ead9; border: 1px solid rgba(243, 234, 217, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mcard__detail { margin-top: 6px; max-width: 62ch; font-size: 14.5px; line-height: 1.45; color: rgba(243, 234, 217, .82); }
.mcard__badge--sound_music { background: linear-gradient(90deg, #d08a45, #3fd9c0); }
.mcard__badge--director, .mcard__badge--director_corp { background: #d08a45; }
.mcard__badge--event, .mcard__badge--internal { background: #f3ead9; }

/* ---------- Post-production : timeline + deux grandes affiches ---------- */
.ppgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(14px, 1.6vw, 22px); perspective: 1600px; }
.ppc { aspect-ratio: 16 / 11; }
.ppc--1 { aspect-ratio: auto; }
.ppc .mcard__title { font-size: clamp(24px, 2.6vw, 40px); }
.postprod .nle__clip { justify-content: center; font-size: 12px; letter-spacing: .04em; }

/* ---------- Post-production son : carte vedette + grille + vumètres ---------- */
.son { position: relative; overflow: hidden; }
.son__meters { position: absolute; left: 0; right: 0; top: 0; height: 120px; display: flex; align-items: flex-end; gap: 4px; padding-inline: 4px; opacity: .22; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.son__meters i { flex: 1; height: 100%; border-radius: 2px; background: linear-gradient(to top, #3fd9c0, #e8c547 70%, #ff5a4d); transform-origin: 50% 0; transform: scaleY(var(--m, .2)); }
.sgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); perspective: 1600px; }
.sfeat { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
.sfeat .mcard__title { font-size: clamp(30px, 4vw, 64px); }
.sfeat .mcard__sub { font-size: clamp(16px, 1.6vw, 22px); }
.sfeat .mcard::after { background: linear-gradient(90deg, rgba(8, 6, 5, .94) 0%, rgba(8, 6, 5, .6) 45%, transparent 80%), linear-gradient(to top, rgba(8, 6, 5, .8), transparent 50%); }
.sfeat .mcard__body { right: 30%; padding: clamp(20px, 3vw, 44px); }
.sgc { aspect-ratio: 3 / 4; }

/* ---------- Composition musicale : pochette + tracklist ---------- */
.player--album { padding: clamp(18px, 2.4vw, 34px); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: clamp(20px, 2.6vw, 34px); }
.album { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.album__cover { position: relative; aspect-ratio: 1; }
.album__disc { position: absolute; inset: 4% 0 4% 22%; border-radius: 50%; background:
  radial-gradient(circle, #0d0b09 0 6%, #3fd9c0 6.5% 7.5%, #0d0b09 8% 18%, transparent 18.5%),
  repeating-radial-gradient(circle, #15110e 0 2px, #1d1814 2px 3px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  transition: transform .9s var(--ease); }
.album__disc i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255, 255, 255, .08) 25%, transparent 30% 70%, rgba(255, 255, 255, .06) 75%, transparent 80%); }
.player--album.is-playing .album__disc { transform: translateX(14%); }
.player--album.is-playing .album__disc i { animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.album__sleeve { position: absolute; inset: 0 22% 0 0; display: grid; align-content: end; gap: 4px; padding: 20px; border-radius: 16px; overflow: hidden; color: #f3ead9;
  background: radial-gradient(120% 90% at 0% 100%, rgba(63, 217, 192, .55), transparent 55%), radial-gradient(90% 90% at 100% 0%, rgba(208, 138, 69, .6), transparent 60%), #120e0b;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.album__sleeve::before { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255, 255, 255, .04) 14px 15px); }
.album__sleeve b { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.4vw, 64px); line-height: .9; letter-spacing: -.05em; }
.album__sleeve small { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #3fd9c0; }
.album__sleeve em { position: relative; font-style: normal; font-size: 12px; color: rgba(243, 234, 217, .7); }
.player__deck { display: grid; gap: 14px; }
.player--album .vu { margin-top: 4px; }
.player__groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.player__glabel { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.player__gtext { margin: -2px 0 10px; font-size: 14px; color: var(--ink-soft); }
.player__feature { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 12px; align-items: center; width: 100%; padding: 10px; margin-bottom: 6px;
  border: 1px solid rgba(63, 217, 192, .35); border-radius: 14px; background: rgba(63, 217, 192, .07); color: var(--ink); text-align: left; transition: border-color .3s, transform .35s var(--ease); }
.player__feature:hover { border-color: var(--neon); transform: translateX(4px); }
.player__fthumb { grid-row: span 2; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #0f0c0a; }
.player__fthumb img { width: 100%; height: 100%; object-fit: cover; scale: 1.4; opacity: 0; transition: opacity .5s; }
.player__fthumb img.is-loaded { opacity: 1; }
.player__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--neon-ink); }
.player__cta .icon { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.player__soon { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px dashed var(--line-strong); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.player__soonbar { flex: none; width: 40px; height: 14px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 2px, transparent 2px 5px); }
.music__note { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Production radio : console « on air » ---------- */
.player--radio { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.radio__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.radio__head .lead { max-width: 640px; }
.onair { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line-strong); background: #0f0c0a; color: rgba(243, 234, 217, .45);
  font-family: var(--display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; transition: color .4s, box-shadow .4s, border-color .4s; }
.onair__lamp { width: 12px; height: 12px; border-radius: 50%; background: #4a1d1a; transition: background .3s, box-shadow .3s; }
.player--radio.is-playing .onair { color: #ff5a4d; border-color: rgba(255, 90, 77, .6); box-shadow: 0 0 30px rgba(255, 90, 77, .25); }
.player--radio.is-playing .onair__lamp { background: #ff5a4d; box-shadow: 0 0 14px #ff5a4d; animation: lamp 1.2s ease-in-out infinite alternate; }
@keyframes lamp { to { opacity: .55; } }
.radio__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: s; }
.radio__steps li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); font-weight: 700; font-size: 15px; }
.radio__steps span { font-family: var(--display); font-size: 12px; color: var(--copper); }
.radio__deck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 18px; align-items: center; padding: 14px 18px; border-radius: 18px; background: #0f0c0a; border: 1px solid rgba(243, 234, 217, .1); color: #f3ead9; }
.radio__deck .player__title { font-size: 16px; }
.radio__deck .player__time { color: rgba(243, 234, 217, .6); }
.radio__deck .player__btn { width: 50px; height: 50px; border: 0; background: #3fd9c0; color: #0d0b09; }
.radio__deck .player__btn .i-pause { display: none; stroke: currentColor; stroke-width: 3; fill: none; }
.player--radio.is-playing .radio__deck .i-play { display: none; }
.player--radio.is-playing .radio__deck .i-pause { display: block; }
.spots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spot__btn { grid-template-columns: minmax(0, 1fr) auto auto; }
.spot__lang { grid-column: 1 / -1; justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(208, 138, 69, .16); color: var(--copper); }

/* ---------- Institutionnel : emplacement « bientôt » dans la mosaïque ---------- */
.ifilm--soon { display: grid; }
.ifilm--soon .islot__frame { height: 100%; aspect-ratio: auto; }
.bento .islot { gap: 0; position: relative; }
.bento .islot .islot__label { position: absolute; left: 16px; top: 14px; }
.screens { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ievent:nth-child(1) .mcard { transform: rotateY(14deg); transform-origin: 100% 50%; }
.ievent:nth-child(3) .mcard { transform: none; }
.ievent:nth-child(4) .mcard { transform: rotateY(-14deg); transform-origin: 0 50%; }

/* ---------- Réseaux sociaux : mur de formats qui défile au scroll ---------- */
.social { overflow-x: clip; }
.social__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.social__head { position: sticky; top: 14vh; }
.social__tags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social__tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(63, 217, 192, .4); color: var(--neon-ink); font-size: 14px; font-weight: 600; }
.feedwall { position: relative; }
.feedwall__track { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 12px; will-change: transform; }
.feed { break-inside: avoid; margin-bottom: 12px; }
.feed__card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #0f0c0a; color: #f3ead9; text-align: left; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(243, 234, 217, .08), 0 20px 40px -20px rgba(0, 0, 0, .8); transition: transform .4s var(--ease), box-shadow .4s; }
.feed__card:hover { transform: scale(1.03); box-shadow: 0 0 0 2px #3fd9c0, 0 20px 50px -18px rgba(63, 217, 192, .45); }
.feed__screen { position: relative; display: block; aspect-ratio: 16 / 9; }
.feed--reel .feed__screen { aspect-ratio: 9 / 16; border-radius: 20px; }
.feed--reel .feed__card { border-radius: 26px; box-shadow: 0 0 0 5px #1b1612, 0 0 0 6px rgba(243, 234, 217, .14), 0 22px 44px -20px rgba(0, 0, 0, .8); }
.feed--reel .feed__card::before { content: ""; position: absolute; z-index: 3; top: 8px; left: 50%; width: 34%; height: 5px; margin-left: -17%; border-radius: 5px; background: rgba(0, 0, 0, .6); }
.feed--dooh .feed__screen { aspect-ratio: 16 / 9; }
.feed__screen img, .feed__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed__screen img { opacity: 0; transition: opacity .5s; }
.feed__screen img.is-loaded { opacity: 1; }
.feed__card.is-pv .mcard__pv { opacity: 1; }
.feed__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 6, 5, .85), transparent 45%); pointer-events: none; }
.feed__fmt { position: absolute; z-index: 2; top: 18px; left: 12px; padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; background: #3fd9c0; color: #0d0b09; }
.feed--yt .feed__fmt { background: #ff4d4d; color: #fff; }
.feed--dooh .feed__fmt { background: #d08a45; }
.feed__title { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; font-family: var(--display); font-size: 14px; font-weight: 700; line-height: 1.2; }
.feed__year { position: absolute; z-index: 2; top: 18px; right: 12px; font-size: 11px; font-weight: 700; }

/* ---------- Outils : icônes par famille ---------- */
.toolfams { display: grid; grid-template-columns: 1.15fr .85fr 1.4fr; gap: clamp(16px, 2vw, 28px); }
.toolfam { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); }
.toolfam__label { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.toolfam__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 16px 10px; }
.tool { display: grid; justify-items: center; gap: 8px; text-align: center; }
.tool__mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line-strong);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.tool__mark svg { width: 30px; height: 30px; fill: var(--brand); }
:root:not([data-theme="light"]) .tool__mark--logo { background: #f4ecdf; }
.tool__mark--initials { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--neon-ink);
  background: linear-gradient(150deg, rgba(63, 217, 192, .14), rgba(208, 138, 69, .12)), var(--paper); }
.tool:hover .tool__mark { transform: translateY(-6px) rotate(-4deg); border-color: var(--neon); box-shadow: 0 0 0 4px rgba(63, 217, 192, .12), 0 14px 30px -10px var(--neon-glow); }
.tool__name { font-size: 13px; font-weight: 700; line-height: 1.25; }
.tool small { margin-top: -4px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; }
.js .toolfam .tool { opacity: clamp(0, calc(var(--in, 1) * 6 - var(--n) * .7), 1); translate: 0 calc((1 - clamp(0, calc(var(--in, 1) * 6 - var(--n) * .7), 1)) * 24px); }
.js .toolfam[data-anim] { opacity: 1; translate: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player__groups { grid-template-columns: 1fr; }
  .spots, .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolfams { grid-template-columns: 1fr 1fr; }
  .toolfam--ai { grid-column: 1 / -1; }
  .social__grid { grid-template-columns: 1fr; }
  .social__head { position: static; }
}
@media (max-width: 760px) {
  .ppgrid { grid-template-columns: 1fr; }
  .ppc, .ppc--1 { aspect-ratio: 16 / 11; }
  .sfeat { aspect-ratio: 4 / 5; }
  .sfeat .mcard__body { right: 0; }
  .sfeat .mcard::after { background: linear-gradient(to top, rgba(8, 6, 5, .95) 0%, rgba(8, 6, 5, .5) 60%, transparent 85%); }
  .sfeat .mcard__detail { font-size: 13px; }
  .album { grid-template-columns: 1fr; }
  .album__cover { width: min(300px, 86%); justify-self: center; }
  .radio__head { grid-template-columns: 1fr; }
  .radio__steps { grid-template-columns: 1fr 1fr; }
  .radio__deck { grid-template-columns: minmax(0, 1fr) auto; }
  .radio__deck .player__bar { grid-column: 1 / -1; grid-row: 2; }
  .spots, .screens { grid-template-columns: 1fr; }
  .toolfams { grid-template-columns: 1fr; }
  .feedwall__track { columns: 2; }
  .mcard__year { right: 50px; top: 9px; }
  .ievent:nth-child(n) .mcard { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .player--album.is-playing .album__disc i, .player--radio.is-playing .onair__lamp { animation: none; }
  .js .toolfam .tool { opacity: 1; translate: none; }
}
.son__meters i { animation: meter 1.6s ease-in-out infinite alternate; }
.son__meters i:nth-child(2n) { animation-duration: 1.1s; animation-delay: -.4s; }
.son__meters i:nth-child(3n) { animation-duration: 1.9s; animation-delay: -1s; }
.son__meters i:nth-child(5n + 1) { animation-duration: .9s; animation-delay: -.2s; }
.son__meters i:nth-child(7n + 2) { animation-duration: 2.3s; animation-delay: -1.4s; }
@keyframes meter { from { transform: scaleY(.12); } to { transform: scaleY(.9); } }
@media (prefers-reduced-motion: reduce) { .son__meters i { animation: none; } }
/* badges longs : retour à la ligne, place réservée à l'année et au bouton lecture */
.mcard__badge { max-width: calc(100% - 140px); line-height: 1.3; white-space: normal; }
.mcard:not(:has(.mcard__year)) .mcard__badge { max-width: calc(100% - 80px); }
@media (max-width: 600px) { .mcard__badge { max-width: calc(100% - 110px); } }

/* ---------- Icônes d'outils flottantes (ouverture) ---------- */
.hero__orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; will-change: opacity; }
.orb { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.orb .tool__mark { position: absolute; left: -35px; top: -35px; width: 70px; height: 70px; border-radius: 20px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0; transform: scale(.4); animation: orb-in .8s var(--ease) both; animation-delay: calc(.5s + var(--k) * .07s);
  transition: border-color .25s, box-shadow .25s; }
.orb.is-hot .tool__mark { border-color: var(--neon); box-shadow: 0 0 0 4px rgba(63, 217, 192, .18), 0 0 34px -4px var(--neon-glow); }
.orb .tool__mark svg { width: 35px; height: 35px; }
.orb .tool__mark--initials { font-size: 24px; }
.orb em { position: absolute; left: 50%; top: 46px; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 999px;
  font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; background: rgba(13, 11, 9, .82); color: #f3ead9;
  opacity: 0; transition: opacity .2s; }
.orb.is-hot em { opacity: 1; }
@keyframes orb-in { to { opacity: 1; transform: scale(1); } }
@media (max-width: 760px) {
  .orb .tool__mark { left: -25px; top: -25px; width: 50px; height: 50px; border-radius: 15px; }
  .orb .tool__mark svg { width: 25px; height: 25px; }
  .orb .tool__mark--initials { font-size: 17px; }
  .orb em { top: 34px; }
  .orb[data-m="0"] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .orb .tool__mark { animation: none; opacity: 1; transform: none; } }

/* ---------- Mes outils : les icônes tombées de l'ouverture s'empilent ---------- */
.toolpile { position: relative; max-width: 760px; height: clamp(300px, 36vw, 360px); margin: 0 auto clamp(26px, 3vw, 44px);
  border-radius: var(--r-lg); overflow: hidden; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 100%, rgba(63, 217, 192, .10), transparent 70%);
  border-bottom: 1px solid var(--line-strong); }
.toolpile .orb { opacity: 0; }
.toolpile .orb .tool__mark { left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 21px; animation: none; opacity: 1; transform: none; }
.toolpile .orb .tool__mark svg { width: 36px; height: 36px; }
.toolpile .orb .tool__mark--initials { font-size: 24px; }
.toolpile .orb em { top: -62px; }
@media (max-width: 760px) {
  .toolpile .orb .tool__mark { left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 18px; }
  .toolpile .orb .tool__mark svg { width: 30px; height: 30px; }
  .toolpile .orb .tool__mark--initials { font-size: 20px; }
}

.feed__desc { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 44px; font-size: 12.5px; line-height: 1.4; color: rgba(243, 234, 217, .88); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.feed:has(.feed__desc) .feed__card::after { background: linear-gradient(to top, rgba(8, 6, 5, .94), rgba(8, 6, 5, .5) 45%, transparent 70%); }

/* ---------- Clients : chaînes sur une ligne, partenaires & clients en défilement ---------- */
.clients__group { margin: clamp(26px, 3vw, 40px) 0 16px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.logos--channels { flex-wrap: nowrap; gap: clamp(8px, 1.2vw, 16px); }
.logos--channels > li { flex: 1 1 0; min-width: 0; }
.logos--channels .logo { height: clamp(70px, 8vw, 112px); padding: clamp(10px, 1.4vw, 20px); }
.lmarqs { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lmarq { overflow: hidden; }
.lmarq__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; gap: 14px; animation: lmarq 48s linear infinite; }
.lmarq--rev .lmarq__track { animation-direction: reverse; animation-duration: 56s; }
.lmarqs:hover .lmarq__track { animation-play-state: paused; }
.lmarq .logo { flex: none; width: clamp(150px, 14vw, 210px); height: clamp(84px, 8vw, 112px); }
@keyframes lmarq { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .logos--channels .logo img { max-height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .lmarq__track { animation: none; } .lmarq { overflow-x: auto; } }

/* Dernier projet (Emarat Essaada) */
.sfeat { position: relative; }
.sfeat__latest { position: absolute; z-index: 4; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #0d0b09; background: var(--neon);
  box-shadow: 0 0 0 4px rgba(63, 217, 192, .2), 0 10px 30px -8px var(--neon-glow); pointer-events: none; }
.sfeat__latest::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0d0b09; animation: latest-pulse 1.6s ease-in-out infinite; }
@keyframes latest-pulse { 50% { transform: scale(.45); opacity: .5; } }

/* Cartes d'émissions avec affiche + bande-annonce */
.sgc .mcard__detail { max-width: none; margin-top: 4px; font-size: 12.5px; line-height: 1.4; }
.sgc .mcard::after { background: linear-gradient(to top, rgba(8, 6, 5, .95) 0%, rgba(8, 6, 5, .8) 38%, rgba(8, 6, 5, .15) 62%, transparent 78%); }
.mcard__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--neon); }
.mcard__cta svg { width: 14px; height: 14px; }
.sgc .mcard:has(.mcard__cta) .mcard__meta { display: none; }

/* Hook VFX : la vidéo seule + son paragraphe */
.hookshow { padding-block: clamp(40px, 6vw, 90px); }
.hookshow__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; justify-content: center; max-width: 960px; }
.hookshow__video { list-style: none; margin: 0; padding: 0; }
.hookshow .feed { width: min(300px, 72vw); margin: 0; }
.hookshow .feed__card::after { display: none; }
.hookshow__p { margin: 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.55; color: var(--ink); }
@media (max-width: 760px) { .hookshow__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.hookshow--rev .hookshow__grid { grid-template-columns: minmax(0, 1fr) auto; }
.hookshow--rev .hookshow__video { order: 2; }
@media (max-width: 760px) { .hookshow--rev .hookshow__grid { grid-template-columns: 1fr; } .hookshow--rev .hookshow__video { order: 0; } }

/* Emarat Essaada : l'affiche et la vidéo côte à côte */
.sfeat--duo { grid-column: 1 / -1; aspect-ratio: auto; position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 34px); align-items: start;
  padding: clamp(16px, 2vw, 28px); border-radius: var(--r-lg); background: rgba(255, 250, 242, .05); border: 1px solid rgba(63, 217, 192, .3); }
.sfeat--duo .sfeat__latest { top: -14px; right: 24px; }
.sfeat__poster { align-self: center; margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 495 / 619; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .8); }
.sfeat__poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.sfeat__poster img.is-loaded { opacity: 1; }
.sfeat__main { display: grid; gap: clamp(14px, 1.6vw, 22px); min-width: 0; }
.sfeat__video { position: relative; aspect-ratio: 16 / 9; width: 100%; padding: 0; }
.sfeat__text { display: grid; gap: 8px; }
.sfeat__text p, .sfeat__title { margin: 0; }
.sfeat__badge { justify-self: start; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0d0b09; background: linear-gradient(90deg, #d08a45, #3fd9c0); }
.sfeat__title { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.sfeat__title span { display: inline-block; margin-inline-start: .4em; font-size: .55em; font-weight: 600; color: rgba(243, 234, 217, .7); }
.sfeat__meta { font-size: 13.5px; color: rgba(243, 234, 217, .7); }
.sfeat__detail { max-width: 70ch; font-size: clamp(14.5px, 1.2vw, 16.5px); line-height: 1.55; color: rgba(243, 234, 217, .88); }
@media (max-width: 760px) { .sfeat--duo { grid-template-columns: 1fr; } .sfeat__poster { max-width: 280px; justify-self: center; } }
.mcard__badge--motion { background: #3fd9c0; }
.aic--5 { grid-column: 1 / -1; }
.aic .mcard:has(.mcard__detail)::after { background: linear-gradient(to top, rgba(8, 6, 5, .94) 0%, rgba(8, 6, 5, .6) 55%, rgba(8, 6, 5, .1) 85%, transparent); }
@media (max-width: 760px) { .aic--5 { grid-column: auto; } }

/* Mes outils : quatre bacs ouverts en haut, les icônes y tombent */
.tool__mark--img { background: #f4ecdf; }
.tool__mark--img img { width: 64%; height: 64%; object-fit: contain; display: block; }
.toolbins { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: clamp(14px, 2vw, 28px); margin-top: clamp(70px, 9vw, 130px); }
.toolbin { min-width: 0; }
.toolbin__well { position: relative; height: clamp(250px, 24vw, 320px); border: 2px solid var(--line-strong); border-top: 0; border-radius: 0 0 28px 28px;
  background: linear-gradient(to top, rgba(63, 217, 192, .10), transparent 65%); pointer-events: none; }
.toolbin__well::before, .toolbin__well::after { content: ""; position: absolute; top: -2px; width: 18px; height: 2px; background: var(--line-strong); }
.toolbin__well::before { left: -2px; } .toolbin__well::after { right: -2px; }
.toolbin__label { margin: 16px 0 0; text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.toolbin .orb { opacity: 0; }
.toolbin .orb .tool__mark { left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 17px; animation: none; opacity: 1; transform: none; }
.toolbin .orb .tool__mark--initials { font-size: 19px; }
.toolbin .orb em { top: -50px; }
@media (max-width: 860px) { .toolbins { grid-template-columns: 1fr 1fr; } .toolbin--dev { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .toolbin .orb .tool__mark { left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 13px; }
  .toolbin .orb .tool__mark--initials { font-size: 15px; }
}

/* Mes outils : les icônes flottent autour du titre, la liste par famille reste lisible dessous */
.toolsky { position: relative; min-height: clamp(460px, 46vw, 580px); display: grid; align-content: center; }
.toolsky__head { position: relative; z-index: 1; pointer-events: none; }
.toolsky__orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.toolsky .orb { opacity: 0; }
.toolsky .orb .tool__mark { left: -32px; top: -32px; width: 64px; height: 64px; border-radius: 19px; animation: none; opacity: 1; transform: none; }
.toolsky .orb em { top: 42px; }
.toolfams { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(10px, 2vw, 30px); }
@media (max-width: 760px) {
  .toolsky { min-height: 500px; }
  .toolsky .orb .tool__mark { left: -24px; top: -24px; width: 48px; height: 48px; border-radius: 14px; }
  .toolsky .orb em { top: 34px; }
  .toolfams { grid-template-columns: 1fr; }
}
/* Un seul projet par métier : grand extrait en bas de la carte */
.cproj--big { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0; }
.cproj--big .cproj__thumb { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--r-md); overflow: hidden; }
.cproj--big .cproj__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cproj--big .cproj__txt { padding-inline: 4px; }

/* Emarat Essaada : affiche | vidéo (plus petite) | texte ; badge « Dernier projet » entier */
@media (min-width: 1000px) {
  .sfeat--duo { grid-template-columns: 240px minmax(0, 520px) minmax(0, 1fr); align-items: center; }
  .sfeat--duo .sfeat__main { display: contents; }
  .sfeat--duo .sfeat__video { grid-column: 2; }
  .sfeat--duo .sfeat__text { grid-column: 3; align-self: center; }
  .sfeat--duo .sfeat__title { font-size: clamp(24px, 2.4vw, 38px); }
}
.sfeat--duo .sfeat__latest { top: 14px; right: 14px; }
.sfeat--duo { padding-top: clamp(22px, 2.6vw, 34px); }
.ppc .mcard__cta { margin-top: 10px; }

/* Emarat Essaada : affiche | texte | vidéo à droite ; thème clair lisible ; pastilles espacées */
@media (min-width: 1000px) {
  .sfeat--duo { grid-template-columns: 240px minmax(0, 1fr) minmax(0, 500px); }
  .sfeat--duo .sfeat__text { grid-column: 2; grid-row: 1; }
  .sfeat--duo .sfeat__video { grid-column: 3; grid-row: 1; }
}
.sfeat--duo { background: var(--glass); border-color: rgba(63, 217, 192, .4); }
.sfeat--duo .sfeat__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sfeat--duo .sfeat__latest { position: static; }
.sfeat__title { color: var(--ink); }
.sfeat__title span { color: var(--ink-soft); }
.sfeat__meta { color: var(--ink-soft); }
.sfeat__detail { color: var(--ink); }

/* Pas de pastilles de catégorie sur les miniatures (répétitif) ; Aziz Bouderbala en paysage */
.mcard__badge, .feed__fmt { display: none !important; }
.aic--0 { grid-row: auto; }
@media (max-width: 760px) { .aic--0 { grid-row: auto; } }
.aic--5 { grid-column: auto; }

/* Logos d'outils sans noms écrits dessous (le nom reste dans l'infobulle et pour les lecteurs d'écran) */
.toolfam__list { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 14px; justify-items: center; }
/* Ordinateur : le nom est placé au-dessus de la tête pour que toutes les lettres se lisent */
@media (min-width: 761px) {
  .hero__name { top: 19%; }
  .hero__portrait { height: 72%; }
}
@media (min-width: 761px) {
  .hero__name { top: 21%; }
  .hero__portrait { height: 69%; }
}
@media (min-width: 761px) { .hero__name { top: 27%; } }
/* Nom élargi (étiré en largeur sans le rendre plus haut) */
.hero__track { scale: 1.28 1; transform-origin: 50% 50%; }
@media (max-width: 760px) { .hero__track { scale: 1.2 1; } }
/* Nom aux proportions naturelles (plus d'étirement) : plus grand, tête devant le bas des lettres */
.hero__track { scale: 1 1 !important; }
@media (min-width: 761px) { .hero__name { top: 24%; } }
@media (min-width: 761px) { .hero__name { top: 31%; } }
/* Retour au niveau d'origine du nom (comme TIMO) et à la taille d'origine de la silhouette */
@media (min-width: 761px) { .hero__name { top: 47%; } .hero__portrait { height: 90%; } }
@media (min-width: 761px) { .hero__name { top: 41%; } }
/* Post-production : trois cartes côte à côte */
.ppgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ppc, .ppc--1 { aspect-ratio: 4 / 5; }
@media (max-width: 1000px) { .ppgrid { grid-template-columns: 1fr; } .ppc, .ppc--1 { aspect-ratio: 16 / 11; } }

/* ============================================================
   Sélecteur de langue du CV (FR / EN)
   Le CV existe en deux langues. Le bouton garde son libellé ; un
   panneau s'ouvre au survol et au focus (et au premier appui sur
   écran tactile, via .is-open posé par site.js).
   Aucun JavaScript n'est requis pour télécharger : le href d'origine
   reste la première option, la seconde pointe vers l'autre fichier.
   ============================================================ */
.lang-cv { position: relative; display: inline-flex; align-items: center; }
.lang-cv__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 30;
  display: flex; flex-direction: column; gap: 2px; min-width: 168px; padding: 6px;
  border-radius: 16px; background: var(--glass-strong); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.lang-cv:hover .lang-cv__menu,
.lang-cv:focus-within .lang-cv__menu,
.lang-cv.is-open .lang-cv__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-cv__item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-cv__item:hover { background: var(--line); }
.lang-cv__item.is-current { background: var(--ink); color: var(--on-ink); }
.lang-cv__code { font-family: var(--display); font-weight: 700; letter-spacing: .06em; font-size: 12px; opacity: .75; }
.lang-cv__item.is-current .lang-cv__code { opacity: 1; }
/* le bloc de contact est en bas de page : le panneau s'ouvre vers le haut */
.outro .lang-cv__menu { top: auto; bottom: calc(100% + 8px); transform: translateY(6px); }
.outro .lang-cv:hover .lang-cv__menu,
.outro .lang-cv:focus-within .lang-cv__menu,
.outro .lang-cv.is-open .lang-cv__menu { transform: translateY(0); }
/* écran tactile : le survol n'est pas fiable, seul .is-open ouvre le panneau */
@media (hover: none) {
  .lang-cv:hover .lang-cv__menu,
  .lang-cv:focus-within .lang-cv__menu { opacity: 0; visibility: hidden; transform: translateY(-6px); }
  .outro .lang-cv:hover .lang-cv__menu,
  .outro .lang-cv:focus-within .lang-cv__menu { opacity: 0; visibility: hidden; transform: translateY(6px); }
  .lang-cv.is-open .lang-cv__menu,
  .outro .lang-cv.is-open .lang-cv__menu { opacity: 1; visibility: visible; transform: translateY(0); }
}
