/* ==========================================================================
   StarLead V9 — Page « Logo & identité visuelle » (/identite-visuelle-liege/)
   Feuille dédiée, chargée uniquement par cette page, après main.css.
   Réutilise les jetons et composants du système V9 (couleurs, Inter Tight,
   espacements, boutons, listes, FAQ, contact). Aucune règle globale modifiée.
   1. Hero · 2. Exposition · 3. Chapitres · 4. Scènes · 5. Visionneuse
   6. Interlude · 7. Prestations · 8. Motion & accessibilité
   ========================================================================== */

/* 1. Hero ------------------------------------------------------------------ */
.iv-hero { --mx: 0; --my: 0; --sy: 0; position: relative; overflow: hidden; isolation: isolate; background: var(--c-ink); color: #ede9e1; }
.iv-hero__grid { position: relative; display: grid; gap: clamp(44px, 7vw, 72px); padding-top: calc(var(--header-h) + clamp(32px, 6vh, 80px)); padding-bottom: clamp(56px, 8vh, 96px); }
.iv-hero__text { position: relative; z-index: 3; display: grid; align-content: center; }
.iv-hero__title { position: relative; margin-top: var(--s-md); padding-left: 36px; max-width: 30ch; font-size: clamp(1.0625rem, .96rem + .5vw, 1.4375rem); font-weight: 450; line-height: 1.3; letter-spacing: -.012em; color: #ede9e1; }
.iv-hero__title::before { content: ""; position: absolute; left: 0; top: .68em; width: 22px; height: 1px; background: var(--amber); }
.iv-hero__statement { margin-top: clamp(16px, 2.4vh, 26px); font-size: var(--fs-mega); line-height: .96; letter-spacing: -.052em; font-weight: 290; }
.iv-ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.iv-ln > span { display: inline-block; }
.iv-hero__lead { margin-top: clamp(22px, 3vh, 34px); max-width: 42ch; color: rgba(237, 233, 225, .72); }
.iv-hero__actions { margin-top: clamp(26px, 3.6vh, 40px); }
.iv-hero__pills { margin-top: 24px; }

.iv-hero__stage { position: relative; z-index: 1; margin: 0; }
.iv-hero__cards { position: relative; aspect-ratio: 1 / .9; }
.iv-card { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z, 1); rotate: var(--r, 0deg);
  transform: translate3d(calc(var(--mx) * var(--depth, 1) * 12px), calc(var(--my) * var(--depth, 1) * 9px + var(--sy) * var(--depth, 1) * -64px), 0); will-change: transform; }
.iv-card img, .iv-scene__card img, .iv-plate img { display: block; width: 100%; height: auto; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .35), 0 14px 28px -10px rgba(0, 0, 0, .5), 0 48px 96px -28px rgba(0, 0, 0, .72); }
.iv-card--a { --x: 0%; --y: 3%; --w: 62%; --r: -7deg; --z: 1; --depth: .45; }
.iv-card--b { --x: 31%; --y: 19%; --w: 68%; --r: 3deg; --z: 3; --depth: 1; }
.iv-card--c { --x: 5%; --y: 63%; --w: 46%; --r: -3.5deg; --z: 4; --depth: 1.45; }
.iv-hero__cap { margin-top: 18px; font-size: var(--fs-xs); line-height: 1.5; color: rgba(237, 233, 225, .5); }
.iv-hero__cap b { font-weight: 500; color: rgba(237, 233, 225, .78); }
@media (min-width: 1024px) {
  .iv-hero { min-height: min(100svh, 1040px); display: flex; }
  .iv-hero > .container { display: flex; }
  .iv-hero__grid { width: 100%; grid-template-columns: 5.4fr 6.6fr; align-items: center; gap: clamp(40px, 4.5vw, 96px); }
  .iv-hero__stage { margin-right: calc(-.5 * var(--gutter)); }
  .iv-hero__cap { padding-left: 4%; }
}
@media (min-width: 1024px) and (max-height: 800px) { .iv-hero__statement { font-size: clamp(3rem, 1rem + 5vw, 6.25rem); } }
@media (max-width: 1023px) {
  .iv-hero__grid { gap: clamp(30px, 6vw, 56px); padding-top: calc(var(--header-h) + clamp(24px, 4vh, 56px)); }
  .iv-hero__cards { max-width: 640px; margin-inline: auto; }
  .iv-hero__cap { text-align: center; }
}
/* Mobile (≤ 767 px) : la composition des cartes remonte juste sous la phrase éditoriale, le CTA la suit
   immédiatement, l'accroche passe dessous. Ordre du DOM inchangé (lecteurs d'écran : accroche puis CTA). */
@media (max-width: 767px) {
  .iv-hero__grid { gap: 0; padding-top: calc(var(--header-h) + 18px); padding-bottom: 56px; }
  .iv-hero__text { display: contents; }
  .iv-hero__text > .breadcrumb { order: 1; }
  .iv-hero__title { order: 2; margin-top: 18px; }
  .iv-hero__statement { order: 3; margin-top: 12px; }
  .iv-hero__stage { order: 4; margin-top: 22px; }
  .iv-hero__actions { order: 5; margin-top: 22px; }
  .iv-hero__lead { order: 6; margin-top: 24px; }
  .iv-hero__pills { order: 7; margin-top: 18px; gap: 6px 18px; }
  .iv-hero__cards { aspect-ratio: 1 / .72; }
  .iv-card--a { --x: 0%; --y: 4%; --w: 60%; --depth: .3; }
  .iv-card--b { --x: 35%; --y: 21%; --w: 64%; --depth: .6; }
  .iv-card--c { --x: 4%; --y: 60%; --w: 44%; --depth: .9; }
  .iv-hero__cap { margin-top: 10px; }
}

/* 2. Exposition (transition éditoriale) ----------------------------------------- */
.iv-expo__grid { display: grid; gap: var(--s-lg); }
@media (min-width: 960px) { .iv-expo__grid { grid-template-columns: 1.15fr 1fr; align-items: end; gap: clamp(48px, 6vw, 120px); } }
.iv-expo__title { max-width: 13ch; }
.iv-expo__title em { font-style: normal; color: var(--fg-3); }
.iv-expo__note { margin-top: 18px; font-size: var(--fs-sm); color: var(--fg-3); }
.iv-index { margin-top: var(--s-md); border-top: 1px solid var(--line-2); }
.iv-index a { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "n name icon" "n meta icon"; align-items: baseline; gap: 2px 10px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding var(--d-3) var(--ease-out); }
.iv-index .num { grid-area: n; font-size: var(--fs-xs); }
.iv-index__name { grid-area: name; font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.016em; line-height: 1.2; }
.iv-index__meta { grid-area: meta; font-size: var(--fs-xs); color: var(--fg-3); }
.iv-index .i { grid-area: icon; align-self: center; width: 18px; height: 18px; rotate: 90deg; color: var(--fg-3); transition: transform var(--d-3) var(--ease-out), color var(--d-2) var(--ease); }
.iv-index a:hover { padding-left: 6px; }
.iv-index a:hover .i { transform: translateX(4px); color: var(--fg); }

/* 3. Chapitres projets : chaque réalisation dans SA charte ------------------------ */
.iv-chapter { position: relative; overflow: clip; padding-block: var(--s-section); color: var(--fg); background-color: var(--bg); }
.iv-chapter--eme {
  --bg: #25392f; --fg: #f5ead1; --fg-2: rgba(245, 234, 209, .78); --fg-3: rgba(245, 234, 209, .6); --fg-4: rgba(245, 234, 209, .34);
  --line: rgba(245, 234, 209, .14); --line-2: rgba(245, 234, 209, .26); --panel: rgba(245, 234, 209, .04); --focus: #e7b34a;
  --iv-accent: #e7b34a; --iv-stage: #1d2f26; --scr-shadow: none;
  background: radial-gradient(80% 55% at 78% 0%, rgba(146, 169, 107, .14), transparent 62%), radial-gradient(70% 60% at 0% 100%, rgba(10, 20, 15, .45), transparent 70%), #25392f;
}
.iv-chapter--sl {
  --bg: #0a192f; --fg: #ede9e1; --fg-2: rgba(237, 233, 225, .74); --fg-3: rgba(237, 233, 225, .56); --fg-4: rgba(237, 233, 225, .32);
  --line: rgba(237, 233, 225, .12); --line-2: rgba(237, 233, 225, .24); --panel: rgba(255, 255, 255, .04); --focus: var(--amber);
  --iv-accent: var(--amber); --iv-stage: #071224;
  background: radial-gradient(70% 55% at 15% 0%, rgba(30, 64, 120, .35), transparent 62%), radial-gradient(60% 50% at 100% 100%, rgba(245, 158, 11, .05), transparent 70%), #0a192f;
}
.iv-chapter__head { display: grid; gap: var(--s-md); }
@media (min-width: 1024px) { .iv-chapter__head { grid-template-columns: 1fr minmax(340px, 420px); align-items: end; gap: clamp(40px, 6vw, 120px); } }
.iv-chapter__id { display: grid; gap: 14px; align-content: start; }
.iv-chapter .chapter__index b { color: var(--iv-accent); }
.iv-chapter .chapter__name { margin-top: 4px; }
.iv-chapter .chapter__sector { color: var(--fg-2); }
.iv-cartel { display: grid; margin: 0; border-top: 1px solid var(--line-2); font-size: var(--fs-sm); }
.iv-cartel > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.iv-cartel dt { padding-top: 3px; font-size: var(--fs-cap); font-weight: 520; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.iv-cartel dd { margin: 0; color: var(--fg); }
.iv-cartel dd b { font-weight: 500; color: var(--iv-accent); }

/* 4. Scènes principales -------------------------------------------------------- */
.iv-scene { margin: var(--s-lg) 0 0; }
.iv-scene__stage { position: relative; aspect-ratio: 16 / 7.8; }
.iv-scene__card { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z, 1); rotate: var(--r, 0deg);
  transform: translate3d(calc((var(--zp, .5) - .5) * var(--drift, 0) * 1px), calc((var(--zp, .5) - .5) * var(--rise, 0) * 1px), 0); will-change: transform; }
/* chevauchement limité au coin : le QR code du verso et son cartouche restent entièrement visibles */
.iv-scene__card--back { --x: 1%; --y: 5%; --w: 48.5%; --r: -4.5deg; --z: 1; --drift: -60; --rise: 24; }
.iv-scene__card--front { --x: 51%; --y: 21%; --w: 48.5%; --r: 3deg; --z: 2; --drift: 60; --rise: -24; }
.iv-scene__cap, .iv-print__photo figcaption { margin-top: clamp(18px, 2.4vw, 32px); font-size: var(--fs-xs); line-height: 1.5; color: var(--fg-3); }
@media (max-width: 767px) {
  .iv-scene__stage { aspect-ratio: 1 / 1.13; }
  .iv-scene__card--back { --x: 0%; --y: 1.5%; --w: 86%; --r: -4deg; --drift: -24; --rise: 0; }
  .iv-scene__card--front { --x: 14%; --y: 48%; --w: 86%; --r: 3deg; --drift: 24; --rise: 0; }
}

/* StarLead : la preuve imprimée + les deux faces originales */
.iv-print { display: grid; gap: clamp(24px, 3vw, 56px); margin-top: var(--s-lg); }
@media (min-width: 900px) { .iv-print { grid-template-columns: 6fr 5fr; align-items: center; } }
.iv-print__photo { margin: 0; }
.iv-print__photo .iv-print__frame { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 1; background: #1a140e; }
.iv-print__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.iv-print__plates { display: grid; gap: clamp(22px, 2.6vw, 40px); }
@media (max-width: 899px) { .iv-print__plates { grid-template-columns: 1fr 1fr; gap: 16px; } }
.iv-plate { display: grid; gap: 14px; margin: 0; }
.iv-plate figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: var(--fs-xs); color: var(--fg-3); }
.iv-plate figcaption .caps { color: var(--fg-2); }

/* 5. Visionneuse recto / verso / détails (onglets) ------------------------------------ */
.iv-study { display: grid; gap: var(--s-lg); margin-top: var(--s-xl); }
@media (min-width: 1024px) {
  .iv-study { grid-template-columns: 7fr 4.2fr; align-items: start; gap: clamp(40px, 5vw, 104px); }
  .iv-study--reverse { grid-template-columns: 4.2fr 7fr; }
  .iv-study--reverse .iv-viewer { order: 2; }
  .iv-study__text { position: sticky; top: calc(var(--header-h) + 40px); }
}
.iv-viewer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.iv-viewer:not(.is-ready) .iv-viewer__bar { display: none; }
.iv-tabs { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: var(--r-pill); }
.iv-tab { min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .01em; white-space: nowrap; color: var(--fg-2); transition: background-color var(--d-2) var(--ease), color var(--d-2) var(--ease); }
.iv-tab:hover { color: var(--fg); background: var(--panel); }
.iv-tab[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.iv-tab:focus-visible { outline-offset: 2px; border-radius: var(--r-pill); }
.iv-viewer__count { font-size: var(--fs-xs); color: var(--fg-3); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.iv-viewer__count span { color: var(--fg); }
.iv-view, .iv-view__fig { margin: 0; }
.iv-viewer:not(.is-ready) .iv-view + .iv-view { margin-top: var(--s-md); }
.iv-view:focus-visible { outline-offset: 6px; }
.iv-view__media { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; border-radius: var(--r-md); background: var(--iv-stage); }
.iv-view__media::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 50% 42%, rgba(255, 255, 255, .055), transparent 72%); }
.iv-view__frame { position: absolute; inset: 9% 8% 13%; display: grid; place-items: center; container-type: size; }
.iv-view__obj { width: min(100cqw, 100cqh * var(--ar, 1.5)); aspect-ratio: var(--ar, 1.5); }
@supports not (width: 1cqw) { .iv-view__obj { width: 100%; max-height: 100%; } }
.iv-view__obj img { display: block; width: 100%; height: 100%; object-fit: contain; }
.iv-view__obj--card img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 2px 4px rgba(0, 0, 0, .3), 0 34px 70px -24px rgba(0, 0, 0, .75); }
.iv-view__obj--detail img { border-radius: var(--r-sm); box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -28px rgba(0, 0, 0, .7); }
.iv-view__tag { position: absolute; left: clamp(14px, 2vw, 22px); bottom: clamp(12px, 1.6vw, 18px); font-size: var(--fs-cap); font-weight: 520; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.iv-view__cap { margin-top: 18px; max-width: 58ch; font-size: var(--fs-sm); line-height: 1.6; color: var(--fg-2); }
@media (min-width: 1024px) { .iv-view__cap { min-height: 3.3em; } }
@media (max-width: 767px) {
  .iv-tabs { display: grid; width: 100%; }
  .iv-tab { min-height: 44px; padding: 0 6px; }
  .iv-viewer__count { display: none; }
  .iv-view__media { aspect-ratio: 4 / 3.4; }
  .iv-view__frame { inset: 10% 6% 15%; }
}

.iv-study__text { display: grid; gap: 18px; align-content: start; }
.iv-study__text > p { color: var(--fg-2); max-width: 46ch; }
.iv-points { margin-top: 4px; }
.iv-points h4 { font-size: 1.125rem; font-weight: 440; letter-spacing: -.01em; line-height: 1.3; }
.iv-points li { padding: 20px 0; }
.iv-status { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--fg-3); }
.iv-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--iv-accent); flex: none; }

/* 6. Interlude entre les deux univers ------------------------------------------------ */
.iv-interlude { padding-block: clamp(64px, 8vw, 128px); }
.iv-interlude__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.iv-interlude__line { max-width: 17ch; font-size: var(--fs-display); line-height: 1; letter-spacing: -.045em; font-weight: 300; }
.iv-interlude__line em { font-style: normal; color: var(--fg-3); }
.iv-interlude .link-arrow .i { rotate: 90deg; }

/* 7. Prestations ---------------------------------------------------------------- */
.iv-offer { display: grid; border-top: 1px solid var(--line-2); }
@media (min-width: 900px) { .iv-offer { grid-template-columns: repeat(3, 1fr); } .iv-offer__item + .iv-offer__item { padding-left: clamp(22px, 2.4vw, 44px); border-left: 1px solid var(--line); } }
.iv-offer__item { display: grid; gap: 14px; align-content: start; padding: 30px clamp(22px, 2.4vw, 44px) 36px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .iv-offer__item { border-bottom: 0; } }
.iv-offer__item .num { font-size: var(--fs-xs); }
.iv-offer__item h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 330; letter-spacing: -.026em; line-height: 1.1; }
.iv-offer__item > p { color: var(--fg-2); max-width: 36ch; }
.iv-offer__label { margin-top: 8px; font-size: var(--fs-cap); font-weight: 520; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.iv-offer__list { display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--fg-2); }
.iv-offer__list li { position: relative; padding-left: 22px; }
.iv-offer__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: currentColor; opacity: .55; }
.iv-printnote { position: relative; display: grid; gap: 10px; margin-top: var(--s-lg); padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(56px, 5vw, 84px); border-radius: var(--r-md); background: var(--c-navy); color: #ede9e1; }
.iv-printnote::before { content: ""; position: absolute; left: clamp(24px, 2.4vw, 40px); top: calc(clamp(24px, 3vw, 44px) + .8em); width: 18px; height: 1px; background: var(--amber); }
.iv-printnote__main { max-width: 52ch; font-size: var(--fs-lead); line-height: 1.5; font-weight: 400; }
.iv-printnote__sub { font-size: var(--fs-sm); color: rgba(237, 233, 225, .68); }

/* 8. Motion & accessibilité -------------------------------------------------------- */
.js .iv-hero .iv-ln > span { transform: translate3d(0, 108%, 0); transition: transform 1.5s var(--ease-out); }
.js .iv-hero .iv-ln:nth-child(2) > span { transition-delay: .1s; }
.js .iv-hero .iv-ln:nth-child(3) > span { transition-delay: .2s; }
.js .iv-hero.is-in .iv-ln > span { transform: none; }
.js .iv-hero [data-rise] { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-soft) var(--rd, .35s), transform 1.2s var(--ease-out) var(--rd, .35s); }
.js .iv-hero.is-in [data-rise] { opacity: 1; transform: none; }
.js .iv-hero .iv-card { translate: 0 90px; transition: translate 1.9s var(--ease-out) var(--cd, 0s), rotate 2.1s var(--ease-out) var(--cd, 0s); }
.js .iv-hero .iv-card--a { rotate: -13deg; --cd: .05s; }
.js .iv-hero .iv-card--b { rotate: 8deg; --cd: .15s; }
.js .iv-hero .iv-card--c { rotate: -9deg; --cd: .3s; }
.js .iv-hero.is-in .iv-card { translate: 0 0; rotate: var(--r); }
.iv-view.is-entering .iv-view__obj { animation: iv-in .7s var(--ease-out) both; }
.iv-view.is-entering .iv-view__cap { animation: iv-fade .6s var(--ease-soft) both; }
@keyframes iv-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes iv-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .iv-hero .iv-ln > span, .js .iv-hero [data-rise] { opacity: 1 !important; transform: none !important; }
  .iv-card, .js .iv-hero .iv-card { translate: none !important; rotate: var(--r) !important; transform: none !important; }
  .iv-scene__card { transform: none !important; }
  .iv-view.is-entering .iv-view__obj, .iv-view.is-entering .iv-view__cap { animation: none !important; }
}
@media print {
  .iv-chapter, .iv-hero { background: #fff !important; color: #000 !important; }
  .iv-viewer__bar { display: none !important; }
  .iv-view[hidden] { display: block !important; }
}
