/* V26 Convergence — centered film composition. Shares the active homepage's
   Cerebri Sans / --cb-* system; the film is conceptual imagery, never UI.
   The display scale is 1.2 × the shared hero token for this wide centered shot. */
.v26-hero-pin { position: relative; z-index: 2; }
.v26-hero {
  position: relative;
  isolation: isolate;
  min-height: max(820px, 100svh);
  overflow: hidden;
  overflow: clip;
}
@media (min-width: 1121px) {
  .v26-hero { margin-top: calc(-1 * var(--header-h, 100px)); padding-top: var(--header-h, 100px); }
}
.v26-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.v26-scene__media {
  position: absolute; top: clamp(125px, 16vh, 172px); left: 50%;
  width: max(100%, 1280px); aspect-ratio: 1672 / 941;
  transform: translateX(-50%);
}
/* Fondus haut/bas peints dans la couleur de page (#050b18, story-cinematic.css) au lieu
   d'un mask-image : même rendu sur ce fond uni, sans recomposer le film masqué à chaque image. */
.v26-scene__media::after {
  content: ""; position: absolute; inset: -1px 0; pointer-events: none;
  /* Le pied s'assombrit dès 64 % : au plus près du noyau, les preuves restent lisibles. */
  background: linear-gradient(180deg, #050b18, rgba(5, 11, 24, 0) 8%, rgba(5, 11, 24, 0) 64%, rgba(5, 11, 24, .62) 80%, #050b18 100%);
}
.v26-scene__poster, .v26-scene__poster img, .v26-scene__video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.v26-scene__poster img, .v26-scene__video { object-fit: cover; object-position: center; }
.v26-scene__video { opacity: 0; transition: opacity 1.2s ease; }
.v26-scene.is-live .v26-scene__video { opacity: 1; }
.v26-hero__copy {
  position: relative; z-index: 1; width: var(--cb-shell); max-width: 1140px;
  margin: 0 auto; padding-top: clamp(24px, 4vh, 52px); text-align: center;
}
.v26-hero__eyebrow {
  margin: 0 0 18px; color: var(--cb-eyebrow-ink-dark);
  font-size: var(--cb-eyebrow-size); font-weight: var(--cb-eyebrow-weight);
  letter-spacing: var(--cb-eyebrow-tracking); text-transform: uppercase;
}
.story-page--v26 .v26-hero__title {
  margin: 0; color: var(--cb-display-ink-dark); font-family: var(--cb-display-font);
  font-size: calc(var(--cb-title-hero) * 1.2); font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking); line-height: var(--cb-display-leading);
  text-wrap: balance;
}
.v26-title__line { display: block; }
.story-page--v26 .v26-hero__title em {
  font-style: normal; background: var(--cb-accent-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v26-hero__lead {
  max-width: 850px; margin: 22px auto 0; color: var(--cb-lead-ink-dark);
  font-size: calc(var(--cb-lead-section) * .68); font-weight: var(--cb-lead-weight);
  letter-spacing: var(--cb-lead-tracking); line-height: 1.55; text-wrap: balance;
}
.v26-hero__lead span { display: block; }
.v26-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }
.v26-hero__actions .story-btn { min-height: 52px; }
.v26-hero__actions .story-btn--primary { box-shadow: 0 8px 40px rgba(66, 187, 223, .16); }
.v26-hero__trust {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  width: var(--cb-shell); display: flex; justify-content: center; gap: clamp(24px, 4vw, 64px);
  margin: 0; padding: 0 60px; list-style: none;
  color: var(--cb-display-ink-dark); font-size: 14px; font-weight: 500;
}
.v26-hero__trust li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.v26-hero__trust svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: #a5d8ff; stroke-width: 1.6; }
.v26-hero .v26-hero__fullscreen {
  position: absolute; top: auto; right: calc((100% - var(--cb-shell)) / 2 + 52px);
  bottom: 30px; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid rgba(165,216,255,.16);
  border-radius: 12px; background: rgba(5,10,20,.12); color: rgba(203,215,235,.58);
  cursor: pointer; transition: color .2s, border-color .2s, background-color .2s;
}
.v26-hero .v26-hero__fullscreen[hidden] { display: none; }
.v26-hero .v26-hero__fullscreen svg { width: 17px; height: 17px; stroke-width: 1.8; }
.v26-hero .v26-hero__fullscreen:hover,
.v26-hero .v26-hero__fullscreen:focus-visible,
.v26-hero .v26-hero__fullscreen[aria-pressed="true"] {
  background: rgba(10,18,34,.78); border-color: rgba(103,224,185,.5); color: #eef4ff;
}
.v26-hero .v26-hero__fullscreen:focus-visible,
.v26-hero__actions a:focus-visible { outline: 2px solid #67e0b9; outline-offset: 4px; }
@media (max-width: 1120px) and (min-width: 761px) {
  .v26-hero { min-height: 900px; }
  .v26-hero__copy { padding-top: 40px; }
  .v26-scene__media { top: 150px; }
  .v26-hero__trust { width: calc(100% - 48px); gap: 22px; padding: 0 44px 0 0; font-size: 12px; }
}
@media (max-width: 760px) {
  .v26-hero { display: flex; flex-direction: column; min-height: 0; padding: 26px 0 30px; }
  .v26-hero__copy { width: calc(100% - 40px); padding-top: 0; }
  .v26-hero__eyebrow { margin-bottom: 18px; }
  .story-page--v26 .v26-hero__title { font-size: calc(var(--cb-title-hero) * .92); }
  .v26-title__line { display: inline; }
  .v26-hero__lead { margin-top: 20px; font-size: calc(var(--cb-lead-section) * .84); line-height: 1.5; }
  .v26-hero__lead span { display: inline; }
  .v26-hero__actions { gap: 10px; margin-top: 24px; }
  .v26-hero__actions .story-btn { width: 100%; min-height: 52px; justify-content: center; }
  .v26-scene { position: relative; inset: auto; order: 2; z-index: 0; height: clamp(230px, 66vw, 300px); margin-top: -6px; }
  .v26-scene__media { top: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .v26-scene__media::after {
    background: linear-gradient(180deg, #050b18 0, rgba(5, 11, 24, 0) 14%, rgba(5, 11, 24, 0) 75%, #050b18 100%);
  }
  .v26-hero__trust {
    position: static; order: 3; width: calc(100% - 40px); margin: -6px auto 0;
    transform: none; padding: 0 34px 0 0; display: grid; grid-template-columns: 1fr 1fr;
    column-gap: 14px; row-gap: 8px; font-size: 12px;
  }
  .v26-hero__trust li { gap: 8px; }
  .v26-hero__trust svg { width: 18px; height: 18px; }
  .v26-hero .v26-hero__fullscreen { right: 14px; bottom: 142px; width: 44px; height: 44px; }
}
@media (max-width: 360px) {
  html:has(> body.story-page--v26) { min-width: 0; }
  .story-page--v26 { min-width: 0; }
  .story-page--v26 .site-header__inner { gap: 8px; padding-inline: 10px; }
  .story-page--v26 .menu-toggle { min-width: 44px; width: 44px; padding: 0; justify-content: center; }
  .story-page--v26 .menu-toggle span { left: calc(50% - 11px); }
  .story-page--v26 .v26-hero__title { font-size: var(--cb-title-section-side); }
  .v26-hero__trust { grid-template-columns: 1fr; padding-right: 40px; }
  .v26-hero .v26-hero__fullscreen { bottom: 234px; }
}
@media (prefers-reduced-motion: reduce) {
  .v26-scene__video { display: none; }
  .v26-hero * { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .v26-scene { display: none; }
  .story-page--v26 .v26-hero__title em { background: none; color: CanvasText; -webkit-text-fill-color: currentColor; }
}

.story-page--v26.is-fullscreen .v26-hero .v26-hero__fullscreen { position: fixed; right: 80px; bottom: 22px; }
@keyframes v26-arrive { from { opacity: .55; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { html:not(.cbm-paused) .v26-hero__copy { animation: v26-arrive .9s ease-out both; } }
