/* Social Media Ads · trois maquettes plein cadre (préfixe .sm), 8 novembre 2026.
   Même ordre de blocs dans les trois pages ; chaque bloc a une forme et un mouvement absents des séries
   Référencement, GEO et Google Ads. Langage de la marque : images en grand, Everett géante, un mouvement fort par bloc,
   aucune ombre derrière les cartes. Sans script ou en mouvement réduit, chaque bloc a une composition statique. */
.sm {
  --sm-radius: clamp(16px, 1.5vw, 24px);
  --sm-bleed: var(--hb-gutter);
  --sm-line: color-mix(in srgb, var(--hb-color-ink) 15%, transparent);
  --sm-line-light: rgba(233, 237, 226, .16);
  --sm-ivory: #f5f7f0;
  --sm-sage: #dde5d2;
  --sm-night: #0b1510;
  --sm-paper-soft: rgba(233, 237, 226, .74);
  position: relative;
  overflow-x: clip;
  color: var(--hb-color-ink);
  background: var(--hb-color-paper);
}
.sm :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.sm :where(figure, h1, h2, h3, p) { margin: 0; }
.sm :where(img) { max-width: none; }
.sm :where(h1, h2, h3) { font-family: var(--hb-font-heading); font-weight: 500; }
.sm :where(button, input) { font: inherit; color: inherit; }
.sm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sm-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sm-dot { color: var(--hb-color-orange); font-weight: inherit; }
.sm-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1.4 var(--hb-font-body); letter-spacing: .15em; text-transform: uppercase; }
.sm-eyebrow svg { flex: none; width: 15px; fill: var(--hb-color-orange); }
.sm-eyebrow--light { color: var(--hb-color-paper); }
.sm-line { display: block; overflow: clip; padding: 0 .05em .1em 0; margin-bottom: -.1em; }
.sm-line > span { display: inline-block; }
.sm-title { display: block; margin-top: 22px; color: var(--hb-color-paper); }
.sm-title--ink { color: var(--hb-color-ink); }
.sm-lead { max-width: 42ch; margin-top: clamp(20px, 2.2vw, 32px); color: var(--sm-paper-soft); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.5; }
.sm-lead--ink { color: color-mix(in srgb, var(--hb-color-ink) 78%, transparent); }
.sm-copy { max-width: 48ch; color: color-mix(in srgb, currentColor 76%, transparent); font-size: 15.5px; line-height: 1.6; }
.sm-h2 { font-size: clamp(50px, 6vw, 112px); line-height: .92; letter-spacing: -.066em; }
.sm-head-copy { max-width: 42ch; margin-top: clamp(20px, 2vw, 30px); color: color-mix(in srgb, currentColor 72%, transparent); font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.6; }
.sm :is(header) > .sm-h2 { margin-top: 22px; }
.sm-num { font: 500 12px/1 var(--hb-font-body); letter-spacing: .14em; color: var(--hb-color-orange); }
.sm-num span { color: var(--hb-color-muted); }
.sm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 3vw, 44px); }
.sm-ghost { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; border-bottom: 1px solid currentColor; font: 500 14px/1.2 var(--hb-font-body); }
.sm-ghost svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: translate .35s var(--hb-ease); }
.sm-ghost:hover svg { translate: 4px 0; }
.sm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-tags li { padding: 7px 11px; border-radius: 7px; border: 1px solid color-mix(in srgb, currentColor 24%, transparent); font-size: 12.5px; line-height: 1.2; }
.sm-result { display: inline-flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); font: 500 13px/1.2 var(--hb-font-body); }
.sm-result svg { flex: none; width: 16px; fill: none; stroke: var(--hb-color-orange); stroke-width: 1.8; }
.sm-cue { position: absolute; z-index: 7; left: var(--sm-bleed); bottom: 30px; display: flex; align-items: center; gap: 15px; color: color-mix(in srgb, var(--hb-color-ink) 72%, transparent); font: 400 10px/1.4 var(--hb-font-body); letter-spacing: .025em; transition: color .5s; }
.sm-cue .hb-scroll-line { background: color-mix(in srgb, currentColor 30%, transparent); }
.sm-cue .hb-scroll-line::after { background: var(--hb-color-orange); }
.sm-cue--light { color: #e0e8d6; }
.sm-hero .hb-breadcrumb { margin-bottom: 26px; }
.sm-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(28px, 3vw, 56px); }
.sm-points li { padding-top: 22px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.sm-points h3 { margin: 24px 0 12px; font-size: clamp(24px, 2.1vw, 36px); line-height: 1.02; letter-spacing: -.045em; }

/* Apparitions : terminées avant le milieu de l’écran. */
@media (prefers-reduced-motion: no-preference) {
  .sm.is-ready [data-sm-reveal]:not(.is-in) .sm-line > span { translate: 0 125%; }
  .sm.is-ready [data-sm-reveal] .sm-line > span { transition: translate 1.1s var(--hb-ease); }
  .sm.is-ready [data-sm-reveal] .sm-line:nth-child(2) > span { transition-delay: .08s; }
  .sm.is-ready :is(header, div)[data-sm-reveal]:not(.is-in) > :not(h1, h2, .sm-line) { opacity: 0; translate: 0 22px; }
  .sm.is-ready :is(header, div)[data-sm-reveal] > :not(h1, h2, .sm-line) { transition: opacity .8s .15s, translate 1s var(--hb-ease) .15s; }
  .sm.is-ready :is(p, li)[data-sm-reveal]:not(.is-in) { opacity: 0; translate: 0 26px; }
  .sm.is-ready :is(p, li)[data-sm-reveal] { transition: opacity .8s, translate 1s var(--hb-ease); }
  .sm.is-ready li[data-sm-reveal]:nth-child(2) { transition-delay: .08s; }
  .sm.is-ready li[data-sm-reveal]:nth-child(3) { transition-delay: .16s; }
  .sm.is-ready .sm-hero .sm-title .sm-line > span { animation: sm-rise 1.2s var(--hb-ease) both; }
  .sm.is-ready .sm-hero .sm-title .sm-line:nth-child(2) > span { animation-delay: .1s; }
  .sm.is-ready .sm-hero :is(.sm-eyebrow, .sm-lead, .hb-breadcrumb) { animation: sm-fade 1s var(--hb-ease) .35s both; }
}
@keyframes sm-rise { from { translate: 0 125%; } }
@keyframes sm-fade { from { opacity: 0; translate: 0 18px; } }
@keyframes sm-panel-in { from { opacity: 0; transform: translateY(18px); } }

.sm-section { position: relative; padding: clamp(96px, 9vw, 170px) var(--sm-bleed); }
.sm-section--paper { background: var(--hb-color-paper); }
.sm-section--ivory { background: var(--sm-ivory); }
.sm-section--night { color: var(--hb-color-paper); background: var(--sm-night); }
.sm-section--forest { color: var(--hb-color-paper); background: var(--hb-color-forest); }
.sm-section--night .sm-copy, .sm-section--forest .sm-copy { color: var(--sm-paper-soft); }

/* ═════════ 01 · L’arrêt ═════════ */

/* Ouverture : le fil défile en flou, puis s’arrête ; sous-titres mot à mot. */
.sm-stop { position: relative; color: var(--hb-color-paper); background: var(--sm-night); }
.sm-stop-pin { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding: clamp(124px, 17svh, 176px) var(--sm-bleed) clamp(96px, 15svh, 150px); overflow: hidden; }
.sm-stop-image { position: absolute; inset: 0; }
.sm-stop-image picture { display: block; width: 100%; height: 100%; }
.sm-stop-image img { width: 100%; height: 100%; object-fit: cover; }
.sm-stop-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 17, 12, .9), rgba(9, 17, 12, .25) 58%, rgba(9, 17, 12, .4)), linear-gradient(90deg, rgba(9, 17, 12, .55), rgba(9, 17, 12, 0) 60%); }
.sm-stop-copy { position: relative; z-index: 3; max-width: 900px; }
.sm-stop-captions { display: none; }
.sm-stop.is-pinned { height: 320svh; }
.sm--service .sm-stop.is-pinned { height: 540svh; }
.sm-stop.is-pinned .sm-stop-pin { position: sticky; top: 0; height: 100svh; }
.sm-stop.is-pinned .sm-stop-image img { filter: url(#sm-vblur); transform: scaleY(var(--st, 1)); }
.sm-stop.is-pinned.is-sharp .sm-stop-image img { filter: none; }
.sm-stop.is-pinned .sm-stop-captions { position: absolute; z-index: 4; left: var(--sm-bleed); right: var(--sm-bleed); bottom: clamp(110px, 21svh, 210px); display: block; height: 1.1em; font: 500 clamp(40px, 6.2vw, 118px)/1.02 var(--hb-font-heading); letter-spacing: -.055em; text-align: center; }
.sm-caption { position: absolute; left: 0; right: 0; bottom: 0; display: block; opacity: 0; transition: opacity .25s; }
.sm-caption.is-on { opacity: 1; }
.sm-cw { display: inline-block; padding: 0 .1em; border-radius: .14em; opacity: 0; transform: scale(.55) translateY(.25em); transition: opacity .2s, transform .45s cubic-bezier(.3, 1.7, .5, 1), background-color .2s, color .2s; }
.sm-cw.is-in { opacity: 1; transform: none; }
.sm-cw.is-now { color: var(--hb-color-forest); background: var(--hb-color-orange); }


/* Leviers : un cadre qui change de format. */
.sm-format { position: relative; background: var(--hb-color-paper); }
.sm-format-pin { padding: clamp(96px, 9vw, 170px) var(--sm-bleed); }
.sm-format-list { display: grid; margin-top: clamp(48px, 5vw, 80px); }
.sm-format-item { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: 'image label' 'image name' 'image copy' 'image tags'; align-content: start; gap: 14px clamp(28px, 4vw, 72px); padding: 36px 0; border-top: 1px solid var(--sm-line); }
.sm-format-static { grid-area: image; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sm-radius); }
.sm-format-static img { width: 100%; height: 100%; object-fit: cover; }
.sm-format-label { grid-area: label; display: flex; gap: 14px; font: 500 11px/1.3 var(--hb-font-body); letter-spacing: .15em; text-transform: uppercase; }
.sm-format-label span { color: var(--hb-color-orange); }
.sm-format-item h3 { grid-area: name; font-size: clamp(48px, 5.6vw, 104px); line-height: .9; letter-spacing: -.066em; }
.sm-format-item .sm-copy { grid-area: copy; }
.sm-format-item .sm-tags { grid-area: tags; }
.sm-format-area { display: none; }
.sm-format.is-pinned .sm-format-stage { height: 420svh; }
.sm-format.is-pinned .sm-format-pin { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 4vw, 80px); height: 100svh; padding: 112px var(--sm-bleed) 48px; overflow: hidden; }
.sm-format.is-pinned .sm-format-text { display: flex; flex-direction: column; justify-content: space-between; min-height: 0; }
.sm-format.is-pinned .sm-format-text .sm-h2 { font-size: clamp(42px, 4.6vw, 84px); }
.sm-format.is-pinned .sm-format-list { margin: 0; }
@media (min-width: 1024px) {
  .sm--service .sm-format.is-pinned .sm-format-list { margin-bottom: clamp(72px, 11svh, 120px); }
}
.sm-format.is-pinned .sm-format-item { grid-area: 1 / 1; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'label' 'name' 'copy' 'tags'; padding: 0; border: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .6s var(--hb-ease), visibility 0s .35s; }
.sm-format.is-pinned .sm-format-item.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .1s, transform .8s var(--hb-ease) .1s; }
.sm-format.is-pinned .sm-format-static { display: none; }
.sm-format.is-pinned .sm-format-area { position: relative; display: grid; place-items: center; min-height: 0; }
.sm-format-guide { position: absolute; left: 50%; top: 50%; width: var(--gw); height: var(--gh); translate: -50% -50%; border: 1px dashed color-mix(in srgb, var(--hb-color-ink) 22%, transparent); border-radius: var(--sm-radius); }
.sm-format-frame { position: relative; width: var(--fw, 300px); height: var(--fh, 530px); overflow: hidden; border-radius: var(--sm-radius); background: var(--hb-color-forest); }
.sm-format-layer { position: absolute; inset: 0; opacity: 0; }
.sm-format-layer img { width: 100%; height: 100%; object-fit: cover; }
.sm-format-tag { position: absolute; left: 14px; top: 14px; padding: 7px 11px; border-radius: 7px; color: var(--hb-color-ink); background: rgba(233, 237, 226, .92); font: 500 11px/1.2 var(--hb-font-body); letter-spacing: .1em; text-transform: uppercase; }

/* Méthode : pose longue. */
.sm-trail { position: relative; color: var(--hb-color-paper); background: var(--sm-night); }
.sm-trail-pin { position: relative; padding: clamp(96px, 9vw, 170px) var(--sm-bleed); }
.sm-trail-bg { position: absolute; inset: 0; }
.sm-trail-photo { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; }
.sm-trail-photo.is-active { opacity: 1; }
.sm-trail-photo img { width: 100%; height: 100%; object-fit: cover; }
.sm-trail-bg::after { content: ''; position: absolute; inset: 0; background: rgba(9, 17, 12, .74); }
.sm-trail-head { position: relative; z-index: 2; }
.sm-trail-title { margin-top: 16px; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -.045em; }
.sm-trail-track { display: none; }
.sm-trail-steps { position: relative; z-index: 2; display: grid; gap: 40px; margin-top: 48px; }
.sm-trail-step h3 { margin: 16px 0 12px; font-size: clamp(48px, 6vw, 110px); line-height: .9; letter-spacing: -.066em; }
.sm-trail-step .sm-result { margin-top: 18px; }
.sm-trail.is-pinned { height: 440svh; }
.sm-trail.is-pinned .sm-trail-pin { position: sticky; top: 0; height: 100svh; padding: 0; overflow: hidden; }
.sm-trail.is-pinned .sm-trail-head { position: absolute; right: var(--sm-bleed); top: 112px; width: min(420px, 34vw); }
.sm-trail.is-pinned .sm-trail-track { position: absolute; z-index: 2; left: var(--sm-bleed); top: 0; display: block; transform: translateY(var(--ty, 0px)); }
.sm-trail-verb { position: relative; margin: 0 0 .42em; font: 500 clamp(76px, 12vw, 230px)/1 var(--hb-font-heading); letter-spacing: -.07em; white-space: nowrap; opacity: var(--vo, .3); }
.sm-trail-word { position: relative; z-index: 1; display: block; }
.sm-trail-word b { color: var(--hb-color-orange); font-weight: inherit; }
.sm-trail-ghost { position: absolute; left: 0; top: 0; color: transparent; -webkit-text-stroke: 1.5px var(--hb-color-orange); opacity: calc(.75 - var(--g) * .13); transform: translateY(calc(var(--d, 0px) * var(--g))); }
.sm-trail.is-pinned .sm-trail-steps { position: absolute; right: var(--sm-bleed); bottom: clamp(48px, 10svh, 110px); width: min(420px, 34vw); margin: 0; gap: 0; }
.sm-trail.is-pinned .sm-trail-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .6s var(--hb-ease), visibility 0s .35s; }
.sm-trail.is-pinned .sm-trail-step.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .1s, transform .8s var(--hb-ease) .1s; }
.sm-trail.is-pinned .sm-trail-step h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sm-trail.is-pinned .sm-trail-step .sm-copy { margin-top: 16px; font-size: clamp(15.5px, 1.2vw, 18px); }

/* Questions : carrousel. */
.sm-carousel { padding-inline: 0; }
.sm-carousel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 0 var(--sm-bleed); }
.sm-carousel-nav { display: flex; align-items: center; gap: 14px; }
.sm-carousel-count { min-width: 64px; font: 500 12px/1 var(--hb-font-body); letter-spacing: .12em; text-align: center; }
.sm-round { display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 1px solid color-mix(in srgb, currentColor 26%, transparent); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .3s, color .3s, opacity .3s; }
.sm-round:hover:not(:disabled) { color: var(--hb-color-paper); background: var(--hb-color-forest); }
.sm-round:disabled { opacity: .3; cursor: default; }
.sm-round svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sm-round--back svg { transform: scaleX(-1); }
.sm-carousel-track { display: flex; gap: 18px; padding: clamp(36px, 4vw, 56px) var(--sm-bleed) 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sm-bleed); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.sm-carousel-track::-webkit-scrollbar { display: none; }
.sm-carousel-track:focus-visible { outline: 2px solid var(--hb-color-orange); outline-offset: -6px; }
.sm-carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.sm-carousel-card { display: flex; flex: 0 0 min(400px, 80vw); flex-direction: column; aspect-ratio: 4 / 5; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--sm-radius); scroll-snap-align: start; }
.sm-carousel-card--0 { color: var(--hb-color-forest); background: var(--hb-color-orange); }
.sm-carousel-card--0 .sm-num { color: var(--hb-color-forest); }
.sm-carousel-card--1 { color: var(--hb-color-paper); background: var(--hb-color-forest); }
.sm-carousel-card--2 { color: var(--hb-color-ink); background: var(--hb-color-lime); }
.sm-carousel-card--3 { color: var(--hb-color-ink); background: var(--sm-sage); }
.sm-carousel-card h3 { margin-top: auto; font-size: clamp(30px, 2.6vw, 46px); line-height: 1; letter-spacing: -.05em; }
.sm-carousel-card p { margin-top: 18px; font-size: 15.5px; line-height: 1.55; opacity: .86; }
.sm-carousel-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding: 0 var(--sm-bleed); }
.sm-carousel-bar { position: relative; flex: 1 1 240px; height: 2px; overflow: hidden; background: color-mix(in srgb, var(--hb-color-ink) 14%, transparent); }
.sm-carousel-bar span { position: absolute; left: 0; top: 0; width: var(--bw, 20%); height: 100%; background: var(--hb-color-orange); transform: translateX(var(--bx, 0%)); }

/* Fin : trame d’imprimerie. */
.sm-dots { position: relative; color: var(--hb-color-paper); background: var(--sm-night); }
.sm-dots-pin { position: relative; display: flex; align-items: flex-end; min-height: 100svh; padding: 140px var(--sm-bleed) clamp(56px, 11svh, 120px); overflow: hidden; }
.sm-dots-image { position: absolute; inset: 0; }
.sm-dots-image img { width: 100%; height: 100%; object-fit: cover; }
.sm-dots-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 17, 12, .88), rgba(9, 17, 12, .5) 46%, rgba(9, 17, 12, .1) 74%), linear-gradient(0deg, rgba(9, 17, 12, .5), rgba(9, 17, 12, 0) 40%); }
.sm-dots-copy { position: relative; z-index: 2; max-width: 760px; }
.sm-dots-title { margin-top: 22px; font-size: clamp(60px, 9vw, 170px); line-height: .9; letter-spacing: -.07em; }
.sm-dots.is-pinned { height: 260svh; }
.sm-dots.is-pinned .sm-dots-pin { position: sticky; top: 0; height: 100svh; }
.sm-dots.is-pinned .sm-dots-image { -webkit-mask-image: radial-gradient(circle at 62% 50%, #000 var(--core, 0px), transparent calc(var(--core, 0px) + 22vmax)), radial-gradient(circle, #000 var(--dot, 0px), transparent calc(var(--dot, 0px) + .8px)); mask-image: radial-gradient(circle at 62% 50%, #000 var(--core, 0px), transparent calc(var(--core, 0px) + 22vmax)), radial-gradient(circle, #000 var(--dot, 0px), transparent calc(var(--dot, 0px) + .8px)); -webkit-mask-size: 100% 100%, 16px 16px; mask-size: 100% 100%, 16px 16px; -webkit-mask-repeat: no-repeat, repeat; mask-repeat: no-repeat, repeat; }
.sm-dots.is-pinned .sm-dots-image.is-full { -webkit-mask-image: none; mask-image: none; }
.sm-dots.is-pinned [data-sm-more] { opacity: var(--m, 0); transform: translateY(calc((1 - var(--m, 0)) * 22px)); }
.sm-dots.is-pinned .sm-dots-copy:not(.is-on) .sm-actions { visibility: hidden; }

/* ═════════ 02 · Le public ═════════ */

/* Ouverture : la foule de points. */
.sm-crowd { position: relative; color: var(--hb-color-paper); background: var(--hb-color-forest) radial-gradient(circle, rgba(233, 237, 226, .16) 1.2px, transparent 1.6px) 0 0 / 22px 22px; }
.sm-crowd-pin { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding: clamp(124px, 17svh, 176px) var(--sm-bleed) 120px; overflow: hidden; }
.sm-crowd-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-crowd-copy { position: relative; z-index: 2; max-width: 900px; }
.sm-crowd-note { position: relative; z-index: 2; max-width: 460px; margin-top: 44px; color: var(--sm-paper-soft); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; }
.sm-crowd-note b { display: block; margin-bottom: 12px; color: var(--hb-color-paper); font: 500 clamp(30px, 2.8vw, 50px)/1 var(--hb-font-heading); letter-spacing: -.05em; }
.sm-crowd.is-pinned { height: 300svh; background: var(--hb-color-forest); }
.sm-crowd.is-pinned .sm-crowd-pin { position: sticky; top: 0; height: 100svh; }
.sm-crowd.is-pinned .sm-crowd-copy .sm-lead { opacity: calc(1 - var(--n, 0)); }
.sm-crowd.is-pinned .sm-crowd-note { position: absolute; left: var(--sm-bleed); bottom: clamp(72px, 12svh, 120px); margin: 0; opacity: var(--n, 0); transform: translateY(calc((1 - var(--n, 0)) * 24px)); }


/* Leviers : affiche en accordéon. */
.sm-unfold { position: relative; background: var(--sm-sage); }
.sm-unfold-pin { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 40px clamp(40px, 6vw, 110px); padding: clamp(96px, 9vw, 170px) var(--sm-bleed); }
.sm-unfold-poster { position: relative; justify-self: center; width: min(100%, calc(min(76svh, 720px) * .8)); aspect-ratio: 4 / 5; perspective: 1700px; }
.sm-unfold-strip { position: absolute; left: 0; right: 0; top: calc(var(--i) * 25%); height: 25%; background-repeat: no-repeat; background-size: 100% 400%; background-position: 0 calc(var(--i) * 33.333%); transform-origin: 50% 0; backface-visibility: hidden; }
.sm-unfold-strip:first-child { border-radius: var(--sm-radius) var(--sm-radius) 0 0; }
.sm-unfold-strip:last-child { border-radius: 0 0 var(--sm-radius) var(--sm-radius); }
.sm-unfold-strip::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #0b1510; opacity: var(--shade, 0); }
.sm-unfold-tag { position: absolute; z-index: 1; left: 14px; bottom: 12px; padding: 6px 10px; border-radius: 6px; color: var(--hb-color-ink); background: rgba(233, 237, 226, .92); font: 500 11px/1.2 var(--hb-font-body); letter-spacing: .1em; text-transform: uppercase; }
.sm-unfold-list { display: grid; gap: 26px; margin-top: clamp(36px, 4vw, 60px); }
.sm-unfold-item { padding-top: 18px; border-top: 1px solid var(--sm-line); }
.sm-unfold-label { display: flex; gap: 12px; font: 500 11px/1.3 var(--hb-font-body); letter-spacing: .15em; text-transform: uppercase; }
.sm-unfold-label span { color: var(--hb-color-orange); }
.sm-unfold-item h3 { margin: 10px 0 8px; font-size: clamp(28px, 2.6vw, 46px); line-height: .95; letter-spacing: -.055em; }
.sm-unfold-item .sm-copy { font-size: 14.5px; line-height: 1.5; }
.sm-unfold.is-pinned .sm-unfold-stage { height: 380svh; }
.sm-unfold.is-pinned .sm-unfold-pin { position: sticky; top: 0; height: 100svh; padding: 104px var(--sm-bleed) 40px; overflow: hidden; }
.sm-unfold.is-pinned .sm-unfold-text .sm-h2 { font-size: clamp(38px, 3.8vw, 68px); }
.sm-unfold.is-pinned .sm-unfold-list { gap: 14px; margin-top: 26px; }
.sm-unfold.is-pinned .sm-unfold-item { padding-top: 12px; }
.sm-unfold.is-pinned .sm-unfold-item h3 { margin: 8px 0 6px; font-size: clamp(24px, 2.1vw, 36px); }
.sm-unfold.is-pinned .sm-unfold-item .sm-copy { font-size: 13.5px; line-height: 1.45; }
.sm-unfold.is-pinned .sm-unfold-strip { top: 0; transform: translateY(var(--sy, 0px)) rotateX(var(--sa, -90deg)); }
.sm-unfold.is-pinned .sm-unfold-item { opacity: .28; transition: opacity .45s; }
.sm-unfold.is-pinned .sm-unfold-item.is-on { opacity: 1; }

/* Méthode : écrans en pile qui s’écartent. */
.sm-spread { position: relative; background: var(--hb-color-paper); }
.sm-spread-head { padding: clamp(96px, 9vw, 170px) var(--sm-bleed) clamp(36px, 4vw, 64px); }
.sm-spread-pin { padding: 0 var(--sm-bleed) clamp(96px, 9vw, 170px); }
.sm-spread-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sm-spread-card { position: relative; aspect-ratio: 9 / 16; }
.sm-spread-card figure { position: absolute; inset: 0; overflow: hidden; border-radius: var(--sm-radius); outline: 3px solid transparent; outline-offset: 5px; transition: outline-color .4s; }
.sm-spread-card figure img { width: 100%; height: 100%; object-fit: cover; }
.sm-spread-card figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 17, 12, .7), rgba(9, 17, 12, 0) 45%); }
.sm-spread-verb { position: absolute; z-index: 1; left: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; color: var(--hb-color-paper); font: 500 clamp(22px, 2vw, 34px)/1 var(--hb-font-heading); letter-spacing: -.045em; }
.sm-spread-verb span { color: var(--hb-color-lime); font: 500 11px/1 var(--hb-font-body); letter-spacing: .14em; }
.sm-spread-text { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.sm-spread-detail h3 { margin: 12px 0 10px; font-size: clamp(28px, 2.4vw, 42px); line-height: .95; letter-spacing: -.055em; }
.sm-spread-detail .sm-result { margin-top: 16px; }
.sm-spread.is-pinned .sm-spread-stage { height: 380svh; }
.sm-spread.is-pinned .sm-spread-pin { position: sticky; top: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100svh; padding: 96px var(--sm-bleed) 44px; overflow: hidden; }
.sm-spread.is-pinned .sm-spread-row { position: relative; display: block; }
.sm-spread.is-pinned .sm-spread-card { position: absolute; left: 50%; top: 50%; width: var(--cw, 260px); transform: translate(-50%, -50%) translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rot, 0deg)); will-change: transform; }
.sm-spread.is-pinned .sm-spread-card.is-active figure { outline-color: var(--hb-color-orange); }
.sm-spread.is-pinned .sm-spread-text { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 22px auto 0; text-align: center; }
.sm-spread.is-pinned .sm-spread-detail { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s, transform .6s var(--hb-ease), visibility 0s .35s; }
.sm-spread.is-pinned .sm-spread-detail.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .1s, transform .8s var(--hb-ease) .1s; }
.sm-spread.is-pinned .sm-spread-detail .sm-copy { margin-inline: auto; }

/* Questions : mots-dièse. */
.sm-hash-tabs { display: flex; flex-wrap: wrap; gap: .06em .42em; margin-top: clamp(40px, 4vw, 70px); font: 500 clamp(44px, 6.4vw, 120px)/1.02 var(--hb-font-heading); letter-spacing: -.06em; }
.sm-hash-tab { padding: 0; border: 0; background: none; color: rgba(233, 237, 226, .26); font: inherit; letter-spacing: inherit; cursor: pointer; transition: color .35s; }
.sm-hash-tab span { color: var(--hb-color-orange); }
.sm-hash-tab:hover { color: rgba(233, 237, 226, .6); }
.sm-hash-tab[aria-selected='true'] { color: var(--hb-color-lime); }
.sm-hash-tab:focus-visible { outline: 2px solid var(--hb-color-orange); outline-offset: 6px; border-radius: 6px; }
.sm-hash-panels { max-width: 980px; margin-top: clamp(40px, 4vw, 64px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--sm-line-light); }
.sm-hash-panel:not([hidden]) { animation: sm-panel-in .6s var(--hb-ease) both; }
.sm-hash-panel h3 { font-size: clamp(30px, 3vw, 54px); line-height: 1.02; letter-spacing: -.05em; }
.sm-hash-panel p { max-width: 60ch; margin-top: 18px; color: var(--sm-paper-soft); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; }
.sm-hash-more { margin-top: 40px; }
.sm--service .sm-hash { color: var(--hb-color-ink); background: var(--hb-color-paper); }
.sm--service .sm-hash .sm-eyebrow { color: var(--hb-color-ink); }
.sm--service .sm-hash-tab { color: color-mix(in srgb, var(--hb-color-ink) 52%, transparent); }
.sm--service .sm-hash-tab:hover { color: color-mix(in srgb, var(--hb-color-ink) 78%, transparent); }
.sm--service .sm-hash-tab[aria-selected='true'] { color: var(--hb-color-ink); }
.sm--service .sm-hash-panels { border-color: var(--sm-line); }
.sm--service .sm-hash-panel p { color: color-mix(in srgb, var(--hb-color-ink) 76%, transparent); }

/* Fin : le titre en vague. */
.sm-wave { position: relative; color: var(--hb-color-paper); background: var(--hb-color-forest); }
.sm-wave-pin { position: relative; display: flex; align-items: flex-end; min-height: 100svh; padding: 140px var(--sm-bleed) clamp(56px, 11svh, 120px); overflow: hidden; }
.sm-wave-image { position: absolute; inset: 0; }
.sm-wave-image img { width: 100%; height: 100%; object-fit: cover; }
.sm-wave-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 17, 12, .85), rgba(9, 17, 12, .45) 50%, rgba(9, 17, 12, .15)), linear-gradient(0deg, rgba(9, 17, 12, .55), rgba(9, 17, 12, 0) 45%); }
.sm-wave-copy { position: relative; z-index: 2; }
.sm-wave-title { margin-top: 22px; font-size: clamp(60px, 10vw, 196px); line-height: .92; letter-spacing: -.07em; }
.sm-wave-row { display: block; white-space: nowrap; }
.sm-wl { display: inline-block; translate: 0 calc(var(--amp, 0em) * sin(var(--i) * .62rad + var(--ph, 0) * 1rad)); }
.sm-wave.is-pinned { height: 240svh; }
.sm-wave.is-pinned .sm-wave-pin { position: sticky; top: 0; height: 100svh; }
.sm-wave.is-pinned [data-sm-more] { opacity: var(--m, 0); transform: translateY(calc((1 - var(--m, 0)) * 22px)); }
.sm-wave.is-pinned .sm-wave-copy:not(.is-on) .sm-actions { visibility: hidden; }

/* ═════════ 03 · Le test ═════════ */

/* Ouverture : neuf versions, une gagnante. */
.sm-win { position: relative; color: var(--hb-color-forest); background: var(--hb-color-orange); }
.sm-win .sm-eyebrow svg { fill: var(--hb-color-forest); }
.sm-win .hb-hero-headline em { color: var(--hb-color-paper); }
.sm-win .sm-lead--ink { color: rgba(16, 33, 25, .84); }
.sm-win .sm-cue .hb-scroll-line::after { background: var(--hb-color-paper); }
.sm-win-pin { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px clamp(40px, 5vw, 90px); min-height: 100svh; padding: clamp(124px, 17svh, 176px) var(--sm-bleed) 110px; overflow: hidden; }
.sm-win-copy { position: relative; z-index: 1; }
.sm-win-grid { position: relative; justify-self: end; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(70svh, 44vw); aspect-ratio: 1; }
.sm-win-tile { position: relative; overflow: hidden; border-radius: 12px; background: var(--hb-color-forest); }
.sm-win-tile img { width: 100%; height: 100%; object-fit: cover; }
.sm-win-label { position: absolute; z-index: 1; left: 8px; top: 8px; padding: 4px 7px; border-radius: 5px; color: var(--hb-color-paper); background: rgba(16, 33, 25, .82); font: 500 10px/1 var(--hb-font-body); letter-spacing: .08em; }
.sm-win-tile.is-winner .sm-win-label { color: var(--hb-color-forest); background: var(--hb-color-lime); }
.sm-win-note { position: relative; z-index: 4; grid-column: 1 / -1; display: grid; gap: 16px; max-width: 520px; }
.sm-win-note-title { font: 500 clamp(40px, 5vw, 92px)/.94 var(--hb-font-heading); letter-spacing: -.065em; }
.sm-win-note-copy { max-width: 40ch; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; opacity: .8; }
.sm-win.is-pinned { height: 340svh; }
.sm-win.is-pinned .sm-win-pin { position: sticky; top: 0; height: 100svh; }
.sm-win.is-pinned .sm-win-grid { position: static; visibility: hidden; }
.sm-win.is-pinned .sm-win-tile { position: absolute; z-index: 2; left: 0; top: 0; visibility: visible; will-change: transform; }
.sm-win.is-pinned .sm-win-tile.is-winner { z-index: 3; }
.sm-win.is-pinned .sm-win-tile.is-winner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 17, 12, .82), rgba(9, 17, 12, .3) 55%, rgba(9, 17, 12, 0)), linear-gradient(0deg, rgba(9, 17, 12, .5), rgba(9, 17, 12, 0) 45%); opacity: var(--wn, 0); }
.sm-win .hb-breadcrumb, .sm-win .hb-breadcrumb a { color: rgba(16, 33, 25, .72); }
.sm-win .hb-breadcrumb [aria-current] { color: var(--hb-color-forest); }
.sm-win.is-pinned .sm-win-tile.is-winner .sm-win-label { opacity: calc(1 - var(--wn, 0) * 3); }
.sm-win.is-pinned .sm-win-note { grid-column: auto; position: absolute; left: var(--sm-bleed); bottom: clamp(72px, 13svh, 140px); color: var(--hb-color-paper); opacity: var(--n, 0); transform: translateY(calc((1 - var(--n, 0)) * 26px)); }
.sm-win.is-lit .sm-cue { color: #e0e8d6; }


/* Leviers : la pièce. */
.sm-room { position: relative; color: var(--hb-color-paper); background: var(--sm-night); }
.sm-room-head { padding: clamp(96px, 9vw, 170px) var(--sm-bleed) clamp(40px, 4vw, 70px); }
.sm-room-pin { padding: 0 var(--sm-bleed) clamp(96px, 9vw, 170px); }
.sm-room-box { display: grid; gap: 22px; }
.sm-room-wall { position: relative; display: flex; align-items: flex-end; min-height: 70svh; padding: clamp(24px, 3vw, 48px); overflow: hidden; border-radius: var(--sm-radius); }
.sm-room-wall figure { position: absolute; inset: 0; }
.sm-room-wall figure img { width: 100%; height: 100%; object-fit: cover; }
.sm-room-wall figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 17, 12, .86), rgba(9, 17, 12, .4) 50%, rgba(9, 17, 12, .1)), linear-gradient(0deg, rgba(9, 17, 12, .6), rgba(9, 17, 12, 0) 50%); }
.sm-room-text { position: relative; z-index: 1; max-width: 560px; }
.sm-room-label { display: flex; gap: 12px; color: var(--hb-color-lime); font: 500 11px/1.3 var(--hb-font-body); letter-spacing: .15em; text-transform: uppercase; }
.sm-room-label span { color: var(--hb-color-orange); }
.sm-room-wall h3 { margin: 14px 0 14px; font-size: clamp(54px, 7vw, 130px); line-height: .88; letter-spacing: -.07em; }
.sm-room-wall .sm-copy { color: var(--sm-paper-soft); }
.sm-room-wall .sm-tags { margin-top: 18px; }
.sm-room.is-pinned .sm-room-stage { height: 440svh; }
.sm-room.is-pinned .sm-room-pin { position: sticky; top: 0; height: 100svh; padding: 0; overflow: hidden; }
.sm-room.is-pinned .sm-room-view { position: absolute; inset: 0; perspective: var(--persp, 720px); perspective-origin: 50% 50%; }
.sm-room.is-pinned .sm-room-box { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transform: translateZ(var(--half, 720px)) rotateY(var(--turn, 0deg)); }
.sm-room.is-pinned .sm-room-wall { position: absolute; inset: 0; min-height: 0; padding: 112px var(--sm-bleed) clamp(56px, 10svh, 110px); border-radius: 0; backface-visibility: hidden; transform: rotateY(calc(var(--w) * -90deg)) translateZ(calc(var(--half, 720px) * -1)); }

/* Méthode : les cartes se relèvent. */
.sm-popup { position: relative; background: var(--sm-sage); }
.sm-popup-pin { padding: clamp(96px, 9vw, 170px) var(--sm-bleed); }
.sm-popup-floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(40px, 4vw, 64px); perspective: 1500px; perspective-origin: 50% -40%; }
.sm-popup-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--sm-radius) var(--sm-radius) 6px 6px; background: var(--sm-ivory); transform-origin: 50% 100%; }
.sm-popup-card figure { flex: none; height: 200px; overflow: hidden; }
.sm-popup-card figure img { width: 100%; height: 100%; object-fit: cover; }
.sm-popup-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: #0b1510; opacity: var(--shade, 0); }
.sm-popup-card { position: relative; }
.sm-popup-text { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 24px; }
.sm-popup-text h3 { margin: 12px 0; font-size: clamp(32px, 3vw, 54px); line-height: .9; letter-spacing: -.06em; }
.sm-popup-text .sm-copy { font-size: 14.5px; line-height: 1.5; }
.sm-popup-text .sm-result { margin-top: auto; padding-top: 14px; }
.sm-popup.is-pinned .sm-popup-stage { height: 400svh; }
.sm-popup.is-pinned .sm-popup-pin { position: sticky; top: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100svh; padding: 104px var(--sm-bleed) 36px; overflow: hidden; }
.sm-popup.is-pinned .sm-popup-head .sm-h2 { font-size: clamp(42px, 4.4vw, 80px); }
.sm-popup.is-pinned .sm-popup-floor { align-items: end; min-height: 0; margin-top: 24px; border-bottom: 2px solid var(--hb-color-forest); }
.sm-popup.is-pinned .sm-popup-card { height: min(100%, 620px); transform: rotateX(var(--lay, 0deg)); will-change: transform; }
.sm-popup.is-pinned .sm-popup-card figure { height: 38%; }
@media (prefers-reduced-motion: no-preference) {
  .sm.is-ready .sm-popup:not(.is-pinned) .sm-popup-card { transition: transform 1s cubic-bezier(.3, 1.4, .5, 1); }
  .sm.is-ready .sm-popup:not(.is-pinned) .sm-popup-card:not(.is-in) { transform: rotateX(70deg); }
}

/* Questions : table de montage. */
.sm-timeline-screen { position: relative; min-height: clamp(280px, 36svh, 400px); margin-top: clamp(40px, 4vw, 70px); padding: clamp(28px, 3vw, 48px); border: 1px solid var(--sm-line-light); border-radius: var(--sm-radius); background: #12241b; }
.sm-timeline-clip:not([hidden]) { animation: sm-panel-in .5s var(--hb-ease) both; }
.sm-timeline-clip h3 { max-width: 20ch; margin-top: 18px; font-size: clamp(32px, 3.6vw, 64px); line-height: 1; letter-spacing: -.05em; }
.sm-timeline-clip p:last-child { max-width: 62ch; margin-top: 20px; color: var(--sm-paper-soft); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; }
.sm-timeline-desk { position: relative; margin-top: 22px; }
.sm-timeline-chapters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.sm-timeline-chapter { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 68px; padding: 10px 12px; border: 0; border-radius: 8px; color: var(--sm-paper-soft); background: rgba(233, 237, 226, .07); font: 500 13px/1.1 var(--hb-font-body); text-align: left; cursor: pointer; transition: background-color .3s, color .3s; }
.sm-timeline-chapters li:nth-child(even) .sm-timeline-chapter { background: rgba(212, 226, 180, .12); }
.sm-timeline-chapter span { font-size: 10px; letter-spacing: .12em; opacity: .7; }
.sm-timeline-chapter:hover { color: var(--hb-color-paper); }
.sm-timeline-chapter[aria-current='true'] { color: var(--hb-color-forest); background: var(--hb-color-orange) !important; }
.sm-timeline-range { display: block; width: 100%; height: 28px; margin: 10px 0 0; background: transparent; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.sm-timeline-range::-webkit-slider-runnable-track { height: 28px; background: repeating-linear-gradient(90deg, rgba(233, 237, 226, .32) 0 1px, transparent 1px 12px) 0 100% / 100% 10px no-repeat; }
.sm-timeline-range::-moz-range-track { height: 28px; background: repeating-linear-gradient(90deg, rgba(233, 237, 226, .32) 0 1px, transparent 1px 12px) 0 100% / 100% 10px no-repeat; }
.sm-timeline-range::-webkit-slider-thumb { width: 14px; height: 28px; border: 0; border-radius: 4px; background: var(--hb-color-orange); -webkit-appearance: none; appearance: none; }
.sm-timeline-range::-moz-range-thumb { width: 14px; height: 28px; border: 0; border-radius: 4px; background: var(--hb-color-orange); }
.sm-timeline-range:focus-visible { outline: 2px solid var(--hb-color-lime); outline-offset: 4px; }
.sm-timeline-head-line { position: absolute; top: -8px; bottom: 0; left: calc(7px + (100% - 14px) * var(--v, 0)); width: 2px; margin-left: -1px; background: var(--hb-color-orange); pointer-events: none; }

/* Fin : pixels. */
.sm-pixels { position: relative; color: var(--hb-color-paper); background: var(--hb-color-orange); }
.sm-pixels-pin { position: relative; display: flex; align-items: flex-end; min-height: 100svh; padding: 140px var(--sm-bleed) clamp(56px, 11svh, 120px); overflow: hidden; }
.sm-pixels-image { position: absolute; inset: 0; }
.sm-pixels-image img { width: 100%; height: 100%; object-fit: cover; }
.sm-pixels-image canvas { position: absolute; inset: 0; display: none; width: 100%; height: 100%; image-rendering: pixelated; }
.sm-pixels-image::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(16, 33, 25, .86), rgba(16, 33, 25, .45) 46%, rgba(16, 33, 25, 0) 70%), linear-gradient(0deg, rgba(16, 33, 25, .45), rgba(16, 33, 25, 0) 40%); }
.sm-pixels-copy { position: relative; z-index: 2; max-width: 720px; }
.sm-pixels-title { margin-top: 22px; font-size: clamp(60px, 9vw, 170px); line-height: .9; letter-spacing: -.07em; }
.sm-pixels.is-pinned { height: 240svh; }
.sm-pixels.is-pinned .sm-pixels-pin { position: sticky; top: 0; height: 100svh; }
.sm-pixels.is-pinned .sm-pixels-image canvas { display: block; }
.sm-pixels.is-pinned .sm-pixels-image.is-sharp canvas { display: none; }
.sm-pixels.is-pinned [data-sm-more] { opacity: var(--m, 0); transform: translateY(calc((1 - var(--m, 0)) * 22px)); }
.sm-pixels.is-pinned .sm-pixels-copy:not(.is-on) .sm-actions { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .sm-hash-panel:not([hidden]), .sm-timeline-clip:not([hidden]) { animation: none; }
  .sm-cw, .sm-caption, .sm-trail-photo { transition: none; }
}

/* ═════════ Constats (troisième version, 8 novembre 2026) : courts, non fixés, un seul mouvement doux. ═════════ */
.sm-section--sage { background: var(--sm-sage); }
.sm-muted { color: color-mix(in srgb, currentColor 38%, transparent); }

/* 01 · Trois grandes photos décalées qui s’alignent. */
.sm-rise-title { margin-top: 22px; font-size: clamp(46px, 5.6vw, 104px); line-height: .94; letter-spacing: -.064em; }
.sm-rise-title .sm-muted .sm-dot { color: var(--hb-color-orange); }
.sm-rise-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: clamp(56px, 6vw, 100px); }
.sm-rise-item { transform: translateY(var(--y, 0px)); will-change: transform; }
.sm-rise-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sm-radius); }
.sm-rise-frame img { width: 100%; height: 112%; object-fit: cover; transform: translateY(var(--iy, -6%)); transition: scale .9s var(--hb-ease); }
.sm-rise-item:hover .sm-rise-frame img { scale: 1.04; }
.sm-rise-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 17, 12, .78), rgba(9, 17, 12, 0) 48%); }
.sm-rise-frame figcaption { position: absolute; z-index: 1; left: clamp(18px, 1.8vw, 28px); right: clamp(18px, 1.8vw, 28px); bottom: clamp(18px, 1.8vw, 26px); color: var(--hb-color-paper); font: 500 clamp(24px, 2.2vw, 38px)/1 var(--hb-font-heading); letter-spacing: -.045em; }
.sm-rise-frame figcaption span { display: block; margin-bottom: 12px; color: var(--hb-color-lime); font: 500 11px/1 var(--hb-font-body); letter-spacing: .14em; }
.sm-rise-item .sm-copy { margin-top: 18px; max-width: 40ch; }

/* 02 · La photo s’ouvre d’une fente story à la pleine largeur. */
.sm-widen-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 24px clamp(40px, 5vw, 90px); }
.sm-widen-head .sm-eyebrow { grid-column: 1 / -1; }
.sm-widen-head .sm-h2 { margin-top: 0; }
.sm-widen-head .sm-head-copy { margin: 0 0 .5em; }
.sm-widen-frame { height: clamp(340px, 64svh, 720px); margin: clamp(48px, 5vw, 80px) 0 clamp(56px, 6vw, 96px); overflow: hidden; border-radius: var(--sm-radius); clip-path: inset(0 calc(var(--w, 0) * 1%) round var(--sm-radius)); }
.sm-widen-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zs, 1)); }

/* 03 · Le titre reste à gauche, les photos passent du noir et blanc à la couleur. */
.sm-verdict-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.sm-verdict-head { position: sticky; top: 120px; }
.sm-verdict-head .sm-h2 { margin-top: 22px; font-size: clamp(44px, 4.9vw, 92px); }
.sm-verdict-list { display: grid; gap: clamp(48px, 7svh, 90px); }
.sm-verdict-item figure { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--sm-radius); }
.sm-verdict-item figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(var(--g, 0)) contrast(calc(1 + var(--g, 0) * .08)); transform: scale(calc(1 + var(--g, 0) * .05)); }
.sm-verdict-text { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 18px; padding-top: 24px; }
.sm-verdict-num { grid-row: 1 / span 2; padding-top: 10px; color: color-mix(in srgb, var(--hb-color-ink) 40%, transparent); font: 500 12px/1 var(--hb-font-body); letter-spacing: .14em; transition: color .4s; }
.sm-verdict-item.is-lit .sm-verdict-num { color: var(--hb-color-orange); }
.sm-verdict-text h3 { font-size: clamp(30px, 2.8vw, 50px); line-height: 1; letter-spacing: -.05em; }
.sm-verdict-text .sm-copy { margin-top: 12px; }

@media (max-width: 1023px) {
  .sm-rise-row { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sm-rise-frame { aspect-ratio: 5 / 4; }
  .sm-widen-head, .sm-verdict-grid { grid-template-columns: minmax(0, 1fr); }
  .sm-verdict-head { position: static; }
}
@media (max-width: 760px) {
  .sm-rise-title { font-size: clamp(40px, 11.6vw, 54px); }
  .sm-widen-frame { height: 56svh; }
  .sm-verdict-text { grid-template-columns: minmax(0, 1fr); }
  .sm-verdict-num { grid-row: auto; padding: 0 0 10px; }
}

/* Barre de comparaison */
.sm-compare { position: fixed; z-index: 45; right: 18px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid rgba(16, 33, 25, .1); border-radius: 9px; color: var(--hb-color-ink); background: rgba(233, 237, 226, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-family: var(--hb-font-body); }
.sm-compare > span { margin: 0 9px; font-size: 10px; font-weight: 500; }
.sm-compare a { display: grid; place-items: center; width: 37px; height: 36px; border-radius: 5px; font-size: 11px; font-weight: 500; }
.sm-compare a:hover { background: #d3ddc8; }
.sm-compare a[aria-current='page'] { color: var(--hb-color-paper); background: var(--hb-color-forest); }

/* ═════════ Tablette ═════════ */
@media (max-width: 1023px) {
  .sm-points { grid-template-columns: minmax(0, 1fr); }
  .sm-format.is-pinned .sm-format-pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding-top: 96px; }
  .sm-format.is-pinned .sm-format-area { order: -1; }
  .sm-format.is-pinned .sm-format-text header { display: block; }
  .sm-trail.is-pinned .sm-trail-steps { left: var(--sm-bleed); right: var(--sm-bleed); width: auto; bottom: 48px; }
  .sm-trail.is-pinned .sm-trail-head { display: block; left: var(--sm-bleed); right: var(--sm-bleed); top: 96px; width: auto; }
  .sm-trail.is-pinned .sm-trail-track { top: 0; }
  .sm-unfold-pin { grid-template-columns: minmax(0, 1fr); }
  .sm-unfold.is-pinned .sm-unfold-pin { grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 20px; }
  .sm-unfold.is-pinned .sm-unfold-pin { grid-template-rows: auto auto auto; }
  .sm-unfold.is-pinned .sm-unfold-text { display: contents; }
  .sm-unfold.is-pinned .sm-unfold-poster { order: 2; width: min(100%, calc((100svh - 400px) * .8)); }
  .sm-unfold.is-pinned .sm-unfold-list { order: 3; display: grid; margin: 0; }
  .sm-unfold.is-pinned .sm-unfold-item { grid-area: 1 / 1; padding-top: 0; border: 0; opacity: 0; transition: opacity .4s; }
  .sm-unfold.is-pinned .sm-unfold-item.is-current { opacity: 1; }
  .sm-unfold.is-pinned .sm-unfold-text .sm-h2 { font-size: clamp(36px, 7vw, 60px); }
  .sm-spread-row, .sm-spread-text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-win-pin { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .sm-win-grid { justify-self: start; width: min(86vw, 44svh); }
  .sm-popup-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-timeline-chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-timeline-head-line { display: none; }
}

/* ═════════ Téléphone ═════════ */
@media (max-width: 760px) {
  .sm { --sm-bleed: var(--hb-gutter-mobile, 20px); }
  .sm-h2 { font-size: clamp(42px, 12vw, 60px); }
  .sm-cue { bottom: 22px; }
  .sm-stop.is-pinned .sm-stop-captions { bottom: clamp(140px, 24svh, 200px); font-size: clamp(36px, 11vw, 48px); }
  .sm-format-item { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'image' 'label' 'name' 'copy' 'tags'; }
  .sm-format.is-pinned .sm-format-pin { padding: 84px var(--sm-bleed) 76px; gap: 18px; }
  .sm-format.is-pinned .sm-format-item h3 { font-size: 40px; }
  .sm-format.is-pinned .sm-format-item .sm-copy { font-size: 14px; line-height: 1.5; }
  .sm-format.is-pinned .sm-format-item .sm-tags { display: none; }
  .sm-trail-verb { font-size: 19vw; }
  .sm-trail.is-pinned .sm-trail-head { top: 86px; }
  .sm-trail.is-pinned .sm-trail-steps { bottom: 76px; }
  .sm-trail.is-pinned .sm-trail-step .sm-copy { font-size: 14px; line-height: 1.5; }
  .sm-carousel-card { flex-basis: 80vw; }
  .sm-dots-title, .sm-pixels-title { font-size: clamp(52px, 15vw, 70px); }
  .sm-dots-image::after, .sm-pixels-image::after, .sm-wave-image::after { background: linear-gradient(0deg, rgba(9, 17, 12, .9), rgba(9, 17, 12, .55) 48%, rgba(9, 17, 12, .12) 80%); }
  .sm-crowd-pin { justify-content: flex-end; padding-bottom: 96px; }
  .sm-crowd.is-pinned .sm-crowd-note { right: var(--sm-bleed); bottom: 86px; }
  .sm-crowd.is-pinned .sm-crowd-copy { opacity: calc(1 - var(--n, 0)); }
  .sm-unfold.is-pinned .sm-unfold-pin { padding: 84px var(--sm-bleed) 70px; }
  .sm-spread.is-pinned .sm-spread-pin { padding: 84px var(--sm-bleed) 74px; }
  .sm-spread.is-pinned .sm-spread-detail h3 { font-size: 30px; }
  .sm-spread.is-pinned .sm-spread-detail .sm-copy { font-size: 14px; line-height: 1.5; }
  .sm-spread.is-pinned .sm-spread-detail .sm-result { display: none; }
  .sm-spread-verb { left: 10px; bottom: 10px; font-size: 16px; }
  .sm-spread-row, .sm-spread-text { grid-template-columns: minmax(0, 1fr); }
  .sm-spread-card { aspect-ratio: 4 / 5; }
  .sm-hash-tabs { font-size: 13vw; }
  .sm-wave-title { font-size: 15vw; }
  .sm-win-pin { padding-top: 110px; gap: 26px; }
  .sm-win-grid { width: min(88vw, 40svh); }
  .sm-win.is-pinned .sm-win-note { right: var(--sm-bleed); bottom: 86px; }
  .sm-win-note-title { font-size: 40px; }
  .sm-room-wall h3 { font-size: 46px; }
  .sm-room.is-pinned .sm-room-wall { padding: 86px var(--sm-bleed) 86px; }
  .sm-room.is-pinned .sm-room-wall .sm-tags { display: none; }
  .sm-room.is-pinned .sm-room-wall .sm-copy { font-size: 14px; line-height: 1.5; }
  .sm-popup-floor { grid-template-columns: minmax(0, 1fr); }
  .sm-timeline-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-compare { right: 9px; bottom: max(8px, env(safe-area-inset-bottom)); }
  .sm-compare > span { display: none; }
  .sm-compare a { width: 42px; height: 42px; }
}

/* Keep section headings in the compact layout as well. */
@media (max-width:1023px) {
  .sm-format.is-pinned .sm-format-text header .sm-h2 { font-size: 30px; line-height: 1.05; margin-top: 8px; }
  .sm-format.is-pinned .sm-format-list { margin-top: 20px; }
  .sm-trail.is-pinned .sm-trail-title { font-size: 26px; max-width: 340px; margin-top: 8px; }
}
/* One caption, also readable when motion is disabled. */
.sm-stop:not(.is-pinned) .sm-stop-captions { display: block; position: relative; z-index: 3; margin-top: 28px; font-size: 18px; }
.sm-stop:not(.is-pinned) .sm-caption { position: static; display: inline; opacity: 1; }
.sm-stop:not(.is-pinned) .sm-cw { opacity: 1; transform: none; }
.sm-trail-verb h3 { font: inherit; margin: 0; text-shadow: 0 calc(var(--d, 0px) * 1) 1px #ff6b3544, 0 calc(var(--d, 0px) * 2) 2px #ff6b3533, 0 calc(var(--d, 0px) * 3) 3px #ff6b3522, 0 calc(var(--d, 0px) * 4) 4px #ff6b3518, 0 calc(var(--d, 0px) * 5) 5px #ff6b3510; }
