/* SOLILO FILMS — Accueil V3.2, fidèle à Accueil V1 sans médias inventés */

.home-page .site-header { position: absolute; inset: 0 0 auto; background: transparent; border: 0; backdrop-filter: none; }
.home-page .header-inner { max-width: 1360px; min-height: 148px; align-items: flex-start; padding-top: 34px; }
.home-page .desktop-nav { padding-top: 9px; }

.reveal { opacity: 1; transform: none; }

.hero { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 0; display: flex; align-items: center; overflow: hidden; background: var(--color-night); }
/* Vidéo showreel en boucle en fond du hero */
.hero-video { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* Le cadre et le master partagent le même ratio, sans recadrage. */
.hero-video video, .hero-poster, .hero-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video-toggle { position: absolute; z-index: 6; bottom: 18px; right: 18px; padding: .6rem .9rem; color: var(--color-ivory); background: rgba(6,21,37,.8); border: 1px solid var(--color-mist); border-radius: 4px; cursor: pointer; font: 500 .75rem var(--font-sans); }
.hero-video-toggle:focus-visible { outline: 3px solid var(--logo-blue); outline-offset: 4px; }
@media (max-width: 767px) { .hero { aspect-ratio: 9 / 16; } .hero-vortex { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .hero-vortex, .hero-scroll, .hero-copy * { animation: none !important; transition: none !important; } }
/* Voile pour la lisibilité du titre par-dessus la vidéo.
   Le centre reste clair : la vidéo se voit. La lisibilité passe désormais par
   une vignette de bord, des bandes haut/bas et une ombre portée sur le titre
   (l'ancien disque sombre central assombrissait toute la vidéo). */
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  radial-gradient(ellipse 92% 84% at 50% 50%, transparent 44%, rgba(6,21,37,.32) 100%),
  linear-gradient(180deg, rgba(6,21,37,.44), rgba(6,21,37,.10) 46%, rgba(6,21,37,.48)); }
.hero-vortex { z-index: 2; }
.hero-frame { z-index: 3; }
.hero-inner { position: relative; z-index: 4; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .34; pointer-events: none; background-image:
  radial-gradient(1px 1px at 21% 16%, rgba(220,232,239,.42) 50%,transparent 55%),
  radial-gradient(1px 1px at 34% 31%, rgba(220,232,239,.3) 50%,transparent 55%),
  radial-gradient(1px 1px at 78% 14%, rgba(220,232,239,.35) 50%,transparent 55%),
  radial-gradient(1px 1px at 88% 38%, rgba(220,232,239,.28) 50%,transparent 55%); }
/* Voie lactée abstraite : bande diagonale de halos lumineux diffus (dégradés, pas d'image) */
.hero-milkyway { position: absolute; inset: 0; pointer-events: none; opacity: .5; background:
  radial-gradient(38% 22% at 18% 30%, rgba(220,232,239,.10), transparent 70%),
  radial-gradient(30% 18% at 34% 44%, rgba(175,198,214,.08), transparent 70%),
  radial-gradient(42% 24% at 52% 58%, rgba(220,232,239,.09), transparent 70%),
  radial-gradient(34% 20% at 70% 40%, rgba(175,198,214,.07), transparent 70%),
  radial-gradient(40% 22% at 86% 62%, rgba(220,232,239,.08), transparent 70%); filter: blur(1px); }
.hero-horizon { position: absolute; inset: 40% 0 0; overflow: hidden; opacity: .62; }
.hero-horizon::before { content: ""; position: absolute; left: -8%; right: -8%; top: 47%; height: 1px; background: linear-gradient(90deg,transparent,rgba(216,171,118,.25),rgba(243,240,233,.72),rgba(216,171,118,.25),transparent); box-shadow: 0 0 22px rgba(216,171,118,.22); }
.hero-horizon::after { content: ""; position: absolute; left: 50%; top: calc(47% - 70px); width: 1px; height: 140px; background: linear-gradient(transparent,rgba(243,240,233,.75),transparent); box-shadow: 0 0 20px rgba(216,171,118,.52); }
/* Flare anamorphique horizontal (objectif de cinéma) */
.hero-flare { position: absolute; left: 50%; top: 47%; transform: translate(-50%,-50%); width: 46vw; height: 1px; pointer-events: none; opacity: .5;
  background: linear-gradient(90deg, transparent, rgba(220,232,239,.9) 18%, rgba(220,232,239,.15) 30%, transparent 42%, rgba(220,232,239,.5) 50%, transparent 58%, rgba(220,232,239,.15) 70%, rgba(220,232,239,.9) 82%, transparent);
  filter: blur(.4px); box-shadow: 0 0 30px rgba(220,232,239,.35); }
.hero-flare::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 18px 4px rgba(220,232,239,.8); }
/* Vortex / trou noir : anneaux concentriques aux couleurs du logo (ivoire + bleu royal).
   Le disque noir d'origine (rgba(2,8,15,.9) à 30 %) est remplacé par un halo très
   diffus et plus large : le cercle se glisse dans la vidéo au lieu de la masquer. */
.hero-vortex { position: absolute; inset: 0; pointer-events: none; opacity: .38; background:
  radial-gradient(circle at 50% 50%, rgba(2,8,15,.15) 0%, rgba(2,8,15,.09) 36%, transparent 70%),
  radial-gradient(circle at 50% 50%, rgba(65,105,225,.10) 0%, transparent 12%),
  radial-gradient(circle at 50% 50%, rgba(245,235,220,.08) 0%, transparent 8%),
  radial-gradient(circle at 50% 50%, rgba(65,105,225,.14) 0%, transparent 20%),
  radial-gradient(circle at 50% 50%, rgba(245,235,220,.10) 0%, transparent 16%),
  radial-gradient(circle at 50% 50%, rgba(65,105,225,.08) 0%, transparent 26%),
  radial-gradient(circle at 50% 50%, rgba(245,235,220,.06) 0%, transparent 22%),
  radial-gradient(circle at 50% 50%, rgba(65,105,225,.06) 0%, transparent 30%),
  radial-gradient(circle at 50% 50%, rgba(245,235,220,.04) 0%, transparent 28%);
  filter: blur(1px); }
.hero-vortex::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 2px; height: 2px; border-radius: 50%; background: var(--logo-ivory); box-shadow: 0 0 20px 6px rgba(65,105,225,.55), 0 0 40px 12px rgba(245,235,220,.25); }
/* Micro-détails de studio : coordonnées techniques discrètes */
.hero-meta { position: absolute; z-index: 3; left: 50%; top: 2.4rem; transform: translateX(-50%); display: flex; gap: 2.2rem; color: rgba(175,198,214,.5); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; }
.hero-meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--color-gold); margin-right: .6rem; vertical-align: 1px; box-shadow: 0 0 6px rgba(216,171,118,.6); }
.hero-frame { position: absolute; z-index: 3; inset: 1.4rem; border: 1px solid rgba(175,198,214,.22); pointer-events: none; }
.hero-frame::before, .hero-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid rgba(216,171,118,.85); }
.hero-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1320px; display: flex; justify-content: space-between; align-items: center; padding-top: 6rem; }
.hero-copy { margin-left: 18px; max-width: 720px; }
.hero-title { margin-bottom: 2.75rem; color: var(--color-ivory); font: 300 clamp(3.6rem,5.4vw,5.25rem)/.97 var(--font-serif); letter-spacing: -.025em; }
.hero-title span { display: block; }
.hero-title em { font-weight: 300; }
/* Lisibilité du titre sans disque sombre derrière : ombre portée + halo. */
.hero-title { text-shadow: 0 2px 26px rgba(2,8,15,.5), 0 0 60px rgba(2,8,15,.3); }
.showreel-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; color: var(--color-gold); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.play-ico { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(216,171,118,.72); border-radius: 50%; transition: background var(--dur-comp), color var(--dur-comp); }
.showreel-link:hover .play-ico { background: var(--color-gold); color: var(--color-night); }
.hero-pagination { display: flex; flex-direction: column; align-items: center; gap: 3rem; padding-right: 1.25rem; }
.pagination-dots { display: flex; flex-direction: column; gap: 1.3rem; }
.pagination-dots .dot { width: 9px; height: 9px; border: 1px solid rgba(243,240,233,.76); border-radius: 50%; }
.pagination-dots .active { background: var(--color-ivory); box-shadow: 0 0 8px var(--color-ivory); }
.pagination-nums { display: grid; gap: .7rem; justify-items: center; color: var(--color-ivory); font-size: .72rem; letter-spacing: .14em; }
.pagination-nums i { display: block; width: 22px; height: 1px; background: var(--color-gold); }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 2.25rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .75rem; color: var(--color-gold); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 52px; background: linear-gradient(transparent,var(--color-ivory)); }

.identity { position: relative; border-top: 1px solid rgba(216,171,118,.25); padding: 5.25rem 0 4rem; background: #04101c; text-align: center; overflow: hidden; }
.identity::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(45% 40% at 50% 0%, rgba(16,42,67,.5), transparent 70%),
  radial-gradient(30% 30% at 50% 100%, rgba(216,171,118,.05), transparent 70%); }
.identity-inner { position: relative; max-width: 900px; }
.identity-mark { margin: 0 0 1.6rem; padding-left: .42em; color: var(--color-ivory); font: 300 clamp(3.2rem,5.5vw,5.15rem)/1 var(--font-serif); letter-spacing: .42em; text-shadow: 0 0 40px rgba(220,232,239,.18); }
.identity-text { color: rgba(243,240,233,.74); font-size: .94rem; line-height: 1.7; font-weight: 300; }

.featured { position: relative; padding: 1.5rem 0 3.5rem; background: #04101c; overflow: hidden; }
.featured::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(40% 50% at 80% 30%, rgba(16,42,67,.55), transparent 70%),
  radial-gradient(25% 40% at 20% 80%, rgba(216,171,118,.04), transparent 70%); }
.featured-inner { position: relative; display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.75fr); align-items: center; gap: 4rem; }
.featured-copy { padding-left: 1rem; }
.featured-copy .eyebrow { margin-bottom: 1rem; }
.featured-title { margin: 0; color: var(--color-ivory); font: 300 clamp(2.8rem,4vw,4rem)/.98 var(--font-serif); text-shadow: 0 0 30px rgba(220,232,239,.12); }
.title-light { display: block; width: 176px; height: 1px; margin: .8rem 0 1.35rem; background: linear-gradient(90deg,transparent,var(--color-gold),transparent); box-shadow: 0 0 8px rgba(216,171,118,.4); }
.featured-desc { margin-bottom: 1.1rem; color: rgba(243,240,233,.72); font-size: .83rem; line-height: 1.7; font-weight: 300; }
.featured-visual {
  position: relative;
  aspect-ratio: auto;
  min-height: 0;
  padding: 10px;
  overflow: hidden;
  background-color: #02080e;
  background-size: cover !important;
  background-position: center;
  border: 1px solid rgba(216,171,118,.32);
  box-shadow: 0 0 40px rgba(6,21,37,.6), inset 0 0 30px rgba(6,21,37,.5);
}
.featured-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(16,42,67,.25), transparent 70%); pointer-events: none; }
.featured-media {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  z-index: 2;
  container-type: size;
  background-size: cover !important;
  background-position: center;
}
.featured-media iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, calc(100cqh * 16 / 9));
  height: max(100%, calc(100cqw * 9 / 16));
  transform: translate(-50%, -50%);
  border: 0;
}
.featured-visual::after { content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent,var(--color-gold),transparent); box-shadow: 0 0 12px rgba(216,171,118,.55); }
/* Cadre fin + coins dorés sur le visuel vedette (cohérent hero) */
.featured-visual .frame { position: absolute; z-index: 5; inset: 10px; border: 1px solid rgba(216,171,118,.52); pointer-events: none; }
.featured-visual .frame::before, .featured-visual .frame::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid rgba(216,171,118,.6); }
.featured-visual .frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.featured-visual .frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.featured-visual .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border: 1px solid rgba(243,240,233,.5); border-radius: 50%; display: grid; place-items: center; color: var(--color-ivory); background: rgba(6,21,37,.35); backdrop-filter: blur(2px); transition: background var(--dur-comp) var(--ease-out), border-color var(--dur-comp) var(--ease-out), box-shadow var(--dur-comp) var(--ease-out); }
.featured-visual .play:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-night); box-shadow: 0 0 30px rgba(216,171,118,.5); }

.universes { position: relative; padding: 1.25rem 0 2rem; background: #04101c; overflow: hidden; }
.universes::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 50% 0%, rgba(16,42,67,.4), transparent 70%); }
.universes .eyebrow, .inprogress .eyebrow { margin-bottom: 1rem; }
.universes-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); }
.universe { min-height: 100px; position: relative; display: grid; place-items: center; padding: 1rem 1.5rem; border-right: 1px solid rgba(175,198,214,.09); text-align: center; color: var(--color-ivory); font: 300 clamp(1.55rem,2vw,2rem)/.95 var(--font-serif); transition: color var(--dur-comp) var(--ease-out), text-shadow var(--dur-comp) var(--ease-out); }
.universe:last-child { border-right: 0; }
.universe i { position: absolute; bottom: 10px; width: 76px; height: 1px; background: linear-gradient(90deg,transparent,rgba(216,171,118,.7),transparent); }
.universe i::after { content: ""; position: absolute; left: 50%; top: -1px; width: 3px; height: 3px; border-radius: 50%; background: var(--color-ivory); box-shadow: 0 0 7px var(--color-gold); }
.universe:hover { color: var(--color-gold); text-shadow: 0 0 20px rgba(216,171,118,.3); }

.inprogress { position: relative; padding: 1.4rem 0 3.5rem; border-top: 1px solid rgba(175,198,214,.08); background: #04101c; overflow: hidden; }
.inprogress::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 40% at 20% 20%, rgba(16,42,67,.5), transparent 70%); }
.projects-grid { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) minmax(130px,.42fr); align-items: center; gap: 2.25rem; }
.project-card { min-width: 0; }
/* Real project visuals: keep faces intact on desktop and mobile. */
.home-page .project-thumb--media { aspect-ratio: 16/9; min-height: 0; background-size: cover; background-position: center; }
.home-page .project-thumb--media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-page .project-thumb--media::before, .home-page .project-thumb--media::after { display: none; }
.home-page .project-thumb--media.vimeo { cursor: pointer; }
.home-page .project-thumb--media:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 4px; }
.project-thumb { aspect-ratio: 2.5/1; min-height: 118px; background: #02080e; border: 1px solid rgba(216,171,118,.28); box-shadow: 0 0 30px rgba(6,21,37,.5), inset 0 0 20px rgba(6,21,37,.4); position: relative; }
.project-thumb::before, .project-thumb::after { content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid rgba(216,171,118,.55); }
.project-thumb::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.project-thumb::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.project-card h3 { margin: .65rem 0 .08rem; color: var(--color-ivory); font: 300 1.35rem/1.1 var(--font-serif); }
.project-cat, .status { margin: 0; font-size: .57rem; line-height: 1.75; letter-spacing: .13em; text-transform: uppercase; }
.project-cat { color: rgba(243,240,233,.65); }
/* Titres réels uniquement : une affiche typographique, sans photographie inventée. */
.home-page .project-thumb--typographic {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: .7rem; padding: 1rem 1.25rem; width: 100%; max-width: 100%; min-height: 144px; text-align: center; overflow: hidden;
  background-color: #061525;
  background-image: radial-gradient(ellipse at 22% 15%, rgba(216,171,118,.12), transparent 65%), linear-gradient(145deg, #102A43, #02080e);
  border-color: rgba(216,171,118,.35);
}
.home-page .project-thumb--typographic::before { inset: 0; width: auto; height: auto; border: 0; background: url('/static/img/grain.svg') repeat; background-size: 160px 160px; opacity: .045; pointer-events: none; }
.home-page .project-thumb--typographic::after { display: none; }
.project-poster__title { max-width: 100%; position: relative; z-index: 1; color: #F3F0E9; font: 400 clamp(1.65rem, 2.3vw, 2.3rem)/1.08 var(--font-serif); text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.project-poster__status { position: relative; z-index: 1; color: #D8AB76; font-size: .55rem; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; }
.project-poster__status::before { content: ''; display: block; width: 2rem; height: 1px; background: rgba(216,171,118,.6); margin: 0 auto .75rem; }
.home-page .project-card:nth-child(2) .project-thumb--typographic { background-image: radial-gradient(ellipse at 75% 20%, rgba(175,198,214,.13), transparent 65%), linear-gradient(145deg, #102A43, #02080e); }
.status { color: var(--color-mist); }
.inprogress-cta { align-self: end; padding-bottom: .5rem; }

/* ---------- Section confiance (logos clients, défilement étoiles filantes) ---------- */
.trust { padding: var(--space-6) 0; position: relative; overflow: hidden; }
.trust-sub { max-width: 52ch; margin-bottom: var(--space-4); }
.trust .container { position: relative; z-index: 2; }
.trust-track {
  position: relative;
  margin-block: var(--space-5);
  margin-inline: auto;
  max-width: 56rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.trust-track__inner {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: trust-shoot 22s linear infinite;
}
/* défilement continu en boucle sans à-coup (contenu doublé → translation -50%)
   Attention : on utilise margin-right sur chaque logo (et pas un gap) pour que
   le nombre d'espacements soit égal au nombre de logos. Avec `gap` sur une suite
   de 14 logos il n'y a que 13 gaps → `-50%` = 7 logos + 6,5 gaps (dérive d'un
   demi-gap à chaque boucle ⇒ saut périodique). Avec margin-right on a 14 marges
   = 7 spacements par demi-séquence ⇒ boucle parfaitement continue. */
@keyframes trust-shoot {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* un logo qui apparaît en étoile filante : s'illumine au passage puis repart.
   Tous les logos sont unifiés en IVOIRE (#F3F0E9) pour cohérence avec le site :
   grayscale + une pointe de sepia donne un blanc chaud ivoire, jamais les
   couleurs d'origine de la marque, même au moment de l'illumination. */
.trust-logo {
  position: relative;
  height: 2.1rem;
  max-width: 11rem;
  width: auto;
  margin-right: 3rem;
  object-fit: contain;
  filter: grayscale(1) sepia(0.30) saturate(1.4) brightness(1.15) contrast(1.0) opacity(0.55);
  transform: scale(0.92);
  transition: filter 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
/* le logotype Paco Rabanne est très allongé : il lui faut plus de largeur
   pour atteindre la même hauteur optique que les autres */
.trust-logo--large { max-width: 15rem; }
/* chaque logo s'illumine à son tour pendant le défilement (délais décalés) */
.trust-logo:nth-child(1)  { animation: trust-reveal 22s linear infinite; }
.trust-logo:nth-child(2)  { animation: trust-reveal 22s linear -1s infinite; }
.trust-logo:nth-child(3)  { animation: trust-reveal 22s linear -2s infinite; }
.trust-logo:nth-child(4)  { animation: trust-reveal 22s linear -3s infinite; }
.trust-logo:nth-child(5)  { animation: trust-reveal 22s linear -4s infinite; }
.trust-logo:nth-child(6)  { animation: trust-reveal 22s linear -5s infinite; }
.trust-logo:nth-child(7)  { animation: trust-reveal 22s linear -6s infinite; }
.trust-logo:nth-child(8)  { animation: trust-reveal 22s linear -7s infinite; }
.trust-logo:nth-child(9)  { animation: trust-reveal 22s linear -8s infinite; }
.trust-logo:nth-child(10) { animation: trust-reveal 22s linear -9s infinite; }
.trust-logo:nth-child(11) { animation: trust-reveal 22s linear -10s infinite; }
.trust-logo:nth-child(12) { animation: trust-reveal 22s linear -11s infinite; }
.trust-logo:nth-child(13) { animation: trust-reveal 22s linear -12s infinite; }
.trust-logo:nth-child(14) { animation: trust-reveal 22s linear -13s infinite; }
.trust-logo:nth-child(15) { animation: trust-reveal 22s linear -14s infinite; }
.trust-logo:nth-child(16) { animation: trust-reveal 22s linear -15s infinite; }
.trust-logo:nth-child(17) { animation: trust-reveal 22s linear -16s infinite; }
.trust-logo:nth-child(18) { animation: trust-reveal 22s linear -17s infinite; }
.trust-logo:nth-child(19) { animation: trust-reveal 22s linear -18s infinite; }
.trust-logo:nth-child(20) { animation: trust-reveal 22s linear -19s infinite; }
.trust-logo:nth-child(21) { animation: trust-reveal 22s linear -20s infinite; }
.trust-logo:nth-child(22) { animation: trust-reveal 22s linear -21s infinite; }
@keyframes trust-reveal {
  0%, 12%   { filter: grayscale(1) sepia(0.30) saturate(1.4) brightness(1.15) contrast(1.0) opacity(0.45) drop-shadow(0 0 1px transparent); transform: scale(0.94); }
  22%, 34%  { filter: grayscale(0) sepia(0.35) saturate(1.6) brightness(1.45) contrast(1.02) opacity(0.95) drop-shadow(0 0 3px rgba(220,232,239,0.5)); transform: scale(1); }
  46%, 100% { filter: grayscale(1) sepia(0.30) saturate(1.4) brightness(1.15) contrast(1.0) opacity(0.45) drop-shadow(0 0 1px transparent); transform: scale(0.94); }
}

/* remplacement texte quand pas encore de logo image (Vargas en attente) */
.trust-logo--name {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-mist);
  white-space: nowrap;
  line-height: 1;
}
.trust-logo--name.trust-logo {
  height: auto;
  display: inline-flex;
  align-items: center;
}

/* pause au survol */
.trust:hover .trust-track__inner { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .trust-track__inner { animation: none; }
  .trust-logo { animation: none; filter: grayscale(1) sepia(0.30) saturate(1.4) brightness(1.15) contrast(1.0) opacity(0.7); }
  .trust-track { overflow-x: auto; }
}


@media (max-width: 1023px) {
  .home-page .header-inner { min-height: 96px; padding-top: 22px; align-items: flex-start; }
  .home-page .brand { align-items: flex-start; }
  .hero-copy { margin-left: 0; }
  .hero-title { font-size: clamp(3rem,8vw,4.5rem); }
  .featured-inner { gap: 2rem; }
  .projects-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
  .inprogress-cta { grid-column: 1/-1; justify-self: end; }
}

@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero::before { opacity: .25; }
  .hero-horizon { inset-block-start: 42%; }
  .hero-inner { align-items: flex-start; padding-top: 6.5rem; }
  .hero-copy { width: 100%; }
  .hero-title { margin-bottom: 2rem; font-size: clamp(2.8rem,14.5vw,3.45rem); line-height: .98; }
  .hero-title span { display: inline; }
  .hero-title span:first-child::after { content: " "; }
  .hero-pagination { display: none; }
  .hero-meta { display: none; }
  .hero-frame { inset: .9rem; }
  .identity { padding: 4rem 0 3.5rem; }
  .identity-mark { font-size: 2.7rem; letter-spacing: .3em; padding-left: .3em; }
  .identity-text { font-size: .88rem; }
  .featured { padding: 1rem 0 3.5rem; }
  .featured-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured-copy { padding-left: 0; }
  .featured-title { font-size: 3rem; }
  .featured-visual {
    width: min(100%, 24rem);
    justify-self: center;
    aspect-ratio: auto;
    min-height: 0;
  }
  .featured-media { aspect-ratio: 9/16; }
  .universes { padding-bottom: 2.75rem; }
  .universes-grid { grid-template-columns: 1fr; }
  .universe { min-height: 92px; border-right: 0; border-bottom: 1px solid rgba(175,198,214,.08); font-size: 1.8rem; }
  .projects-grid { grid-template-columns: 1fr; gap: 2rem; }
  .project-thumb { min-height: 172px; aspect-ratio: 1.65/1; }
  .inprogress-cta { grid-column: auto; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .showreel-link *, .universe, .encounter-link span { transition: none; }
}

/* Accueil : une seule continuité nocturne, sans redémarrage bleu par section. */
.home-page .home-flow {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 78% 30% at 82% 32%, rgba(16,42,67,.20), transparent 76%),
    radial-gradient(ellipse 64% 24% at 14% 68%, rgba(175,198,214,.018), transparent 78%),
    #04101c;
}
.home-page .home-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 17%, rgba(220,232,239,.20) 50%, transparent 60%),
    radial-gradient(1px 1px at 86% 26%, rgba(220,232,239,.18) 50%, transparent 60%),
    radial-gradient(1px 1px at 31% 54%, rgba(220,232,239,.15) 50%, transparent 60%),
    radial-gradient(1px 1px at 73% 79%, rgba(220,232,239,.18) 50%, transparent 60%);
}
.home-page .home-flow > section {
  position: relative;
  background: transparent;
  border-top: 0;
  padding-block: clamp(2.75rem, 4.2vw, 4rem);
}
/* Supprime uniquement les pseudo-fonds répétés, sans toucher aux médias. */
.home-page .home-flow > section::before {
  content: none;
}
.home-page .home-flow > section + section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2 * var(--gutter)), var(--container));
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(216,171,118,.10) 30%, rgba(243,240,233,.13) 50%, rgba(216,171,118,.10) 70%, transparent);
}
.home-page .home-flow > .home-announcement {
  padding-block: clamp(2rem, 3.5vw, 3rem);
}
.home-page .home-announcement .project-card {
  max-width: 42rem;
}
.home-page .home-announcement h3 {
  margin-block: .4rem .35rem;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
}
.home-page .home-flow > .featured {
  padding-block: clamp(2.5rem, 4vw, 3.75rem);
}
.home-page .home-flow > .universes {
  padding-block: clamp(2.25rem, 3.5vw, 3rem);
}
.home-page .home-flow > .trust {
  padding-bottom: clamp(3rem, 5vw, 4.75rem);
}
@media (max-width: 640px) {
  .home-page .home-flow > section { padding-block: 2.5rem; }
  .home-page .home-flow > .home-announcement { padding-block: 2rem; }
  .home-page .home-flow > .featured { padding-block: 2.25rem 3rem; }
  .home-page .home-flow > .universes { padding-block: 2.25rem; }
}

/* L'indicateur « Défiler » passait par-dessus le bouton « Voir la bande démo »
   dès que le hero s'empile en colonne : on le retire sous 768 px. */
@media (max-width: 767px) {
  .hero-scroll { display: none; }
}


/* Plaque typographique pour une marque sans logo image (Oliver Twist, 26/10/2026) */
.trust-plaque.trust-logo {
  height: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-mist);
}
.trust-plaque__titre {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.015em;
}
.trust-plaque__sous {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.78;
}
