/* =================================================================
   UNIVERS GRAPHIQUES POUR ÉVÉNEMENTS CULTURELS — Grégory Dayon
   Site frère de « Territoires Narratifs »
   -----------------------------------------------------------------
   Même ADN : Cormorant Garamond + Archivo Narrow, crème, or,
   scènes sombres, respirations larges, animations discrètes.
   Signature propre : le bleu pétrole cède la place à une prune
   profonde, écho des fresques festives (Rosière, spectacles).
   ================================================================= */

/* ---------- Variables ---------- */
:root {
  --ink:      #2c3032;   /* anthracite — texte */
  --plum:     #75355c;   /* prune profonde — accent du site frère */
  --plum-dk:  #57263f;
  --gold:     #ad8f56;   /* or / laiton — constante de la famille */
  --gold-dk:  #957734;
  --grey:     #575b5c;
  --cream:    #f6f2ed;
  --cream-dk: #ece4d6;
  --white:    #ffffff;
  --line:     #e7e0d4;

  /* tons sombres (scènes immersives) — nuit teintée prune */
  --night:    #191218;
  --night-2:  #201722;
  --deep:     #120c12;
  --on-dark:  #ece5df;
  --on-dark-soft: #bcb2ad;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1240px;
  --maxw-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --pad-y: clamp(5.5rem, 13vw, 12rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.1, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: clamp(1rem, 0.55vw + 0.92rem, 1.14rem);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--gold-dk); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 500; line-height: 1.08; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Conteneurs / scènes ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }

.scene {
  position: relative;
  padding-block: var(--pad-y);
  overflow: clip;
}
.scene--dark  { background: var(--night); color: var(--on-dark); }
.scene--deep  { background: var(--deep);  color: var(--on-dark); }
.demarche { background: #fbfaf7; }
.confiance { background: #FBF9F4; }   /* blanc cassé chaud — jamais de blanc pur dans le chapitre clair */
.apropos { background: var(--cream); }

/* ---------- Typographie partagée ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--plum);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .9;
  letter-spacing: .005em;
  margin-bottom: clamp(.9rem, 1.8vw, 1.5rem);
}
.scene--dark .display, .scene--deep .display { color: #efd9e6; }

.cartouche {
  display: inline-block;
  margin: 0 0 -.15rem -1.05em;
  padding: .42em 1.05em .38em;
  background: var(--plum);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 2px;
}
.scene-head--light .cartouche { background: var(--gold); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--grey);
  max-width: 60ch;
  margin: 1.4rem 0 0;
}
.scene--dark .lead, .scene--deep .lead { color: var(--on-dark-soft); }

.scene-head { max-width: 70ch; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
/* note discrète sous un lead : la dimension immersive, sans en faire une section */
.lead-note {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-dk); font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.6; max-width: 58ch; margin: 1.1rem 0 0;
}
/* ancres : laisser respirer sous la navigation fixée */
section[id] { scroll-margin-top: 76px; }

.prose p { margin: 0 0 1.2rem; }
.prose p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

/* Citation / respiration */
.quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.32;
  color: var(--ink);
  text-align: center;
  max-width: 26ch;
  margin: clamp(3rem, 7vw, 6rem) auto 0;
}
.quote em { color: var(--plum); font-style: italic; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .98rem;
  padding: .95em 2.1em;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-primary { background: var(--gold); color: #fff !important; border: 1px solid var(--gold); }
.btn-primary:hover { background: var(--gold-dk); border-color: var(--gold-dk); transform: translateY(-3px); box-shadow: 0 16px 34px -16px rgba(173,143,86,.7); }
.btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; transform: translateY(-3px); }

/* =================================================================
   Barre de progression + grain
   ================================================================= */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; }
.progress-bar { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--plum)); transition: width .1s linear; }

.grain {
  position: fixed; inset: 0; z-index: 190; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =================================================================
   NAVIGATION
   ================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem var(--gutter);
  transition: background .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
}
.nav.scrolled { background: rgba(25,18,24,.8); backdrop-filter: blur(12px); padding-block: .55rem; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
/* Logo — même logique que Territoires Narratifs : version blanche sur nav sombre,
   50px au repos, 40px une fois la navigation fixée, proportions préservées. */
.nav-brand { display: flex; align-items: center; }
.nav-brand img {
  height: 50px; width: auto;
  transition: height .45s var(--ease);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
.nav.scrolled .nav-brand img { height: 40px; }

.nav-menu { display: flex; align-items: center; gap: clamp(.9rem, 1.9vw, 2rem); }
.nav-menu a { font-family: var(--sans); font-weight: 500; font-size: .92rem; letter-spacing: .04em; color: #fff; position: relative; }
.nav-menu a::after { content:""; position:absolute; left:0; bottom:-4px; width:0; height:1.5px; background: var(--gold); transition: width .3s var(--ease); }
.nav-menu a:hover::after { width: 100%; }
.nav-link-cta { padding: .42em 1.1em; background: var(--gold); border-radius: 2px; }
.nav-link-cta::after { display: none; }
.nav-link-cta:hover { background: var(--gold-dk); color: #fff; }

.nav-burger { display: none; flex-direction: column; gap: 6px; width: 42px; height: 38px; padding: 9px 6px; background: none; border: 0; cursor: pointer; }
.nav-burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =================================================================
   PLACEHOLDERS — visuels à venir
   Se remplacent par de simples <img> ; le style disparaît avec eux.
   ================================================================= */
.ph-media {
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(117,53,92,.55) 0%, rgba(18,12,18,.92) 62%),
    linear-gradient(135deg, var(--plum-dk), var(--deep));
  border: 1px dashed rgba(173,143,86,.45);
  border-radius: 4px;
}
.ph-media span {
  font-family: var(--serif); font-style: italic;
  color: rgba(236,229,223,.8); font-size: 1.05rem; letter-spacing: .04em;
  padding: 1rem; text-align: center;
}

/* =================================================================
   1. HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 8rem var(--gutter) clamp(4rem, 9vh, 8rem);
  background: var(--deep);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: -8% 0 -8% 0; z-index: -3; will-change: transform; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  filter: brightness(.98) saturate(1.04);
  opacity: 0; transition: opacity 2.8s var(--ease-soft);
}
.hero-bg img.is-active { opacity: 1; }
.hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(14,8,13,.3) 0%, rgba(14,8,13,.06) 32%, rgba(14,8,13,.3) 60%, rgba(14,8,13,.86) 100%),
    linear-gradient(90deg, rgba(14,8,13,.55) 0%, rgba(14,8,13,0) 55%);
}
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 44%; transform: translate(-50%,-50%);
  width: min(900px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(173,143,86,.2) 0%, rgba(117,53,92,.16) 40%, transparent 70%);
  filter: blur(10px);
}
.hero-content { position: relative; max-width: 980px; }
.hero-eyebrow { color: #d9c39a; margin: 0 0 1.1rem; letter-spacing: .02em; }
.hero-title {
  font-family: var(--serif); font-weight: 500; color: #fff;
  font-size: clamp(2.9rem, 9.5vw, 7.6rem);
  line-height: .9; letter-spacing: .01em; margin: 0;
  text-shadow: 0 8px 40px rgba(0,0,0,.45);
}
.hero-title em { font-style: italic; color: #e8cfa0; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; transform: translateY(110%); animation: heroIn 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .14s; }
@keyframes heroIn { to { transform: translateY(0); } }
.hero-tagline { color: #ece7dd; font-size: clamp(1.1rem, 2vw, 1.42rem); max-width: 46ch; margin: 1.6rem 0 0; }
.hero-cta { margin-top: 2.2rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: #ece7dd; font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
}
.scroll-cue-line { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after { content:""; position:absolute; top:-50%; left:0; width:100%; height:50%; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateY(-100%)} 60%{transform:translateY(300%)} 100%{transform:translateY(300%)} }

/* =================================================================
   1bis. PROMESSES — épigraphe en trois temps
   ================================================================= */
.promesses {
  position: relative;
  /* seuil du chapitre clair : la teinte s'éclaircit très progressivement */
  background: linear-gradient(180deg, #EFEAE1 0%, var(--cream) 26%);
  padding-block: clamp(5rem, 10vw, 8.5rem);
  border-bottom: 1px solid var(--line);
}
.promesses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
}
.promesses-grid p {
  margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45; color: var(--ink); text-wrap: balance;
}
.promesses-grid p em { font-style: italic; color: var(--plum); }
.promesses-grid p + p { border-left: 1px solid var(--gold); padding-left: clamp(1.2rem, 3vw, 2.4rem); }
.promesses-grid p:nth-child(2) { transition-delay: .1s; }
.promesses-grid p:nth-child(3) { transition-delay: .2s; }
@media (max-width: 860px) {
  .promesses-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .promesses-grid p + p { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }
}

/* =================================================================
   INTERLUDE — manifeste : nuit unie, halo imperceptible, la phrase
   ================================================================= */
.interlude {
  position: relative; min-height: 76vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(95% 130% at 50% 18%, #1b1220 0%, #110b14 55%, #0b070d 100%);
}
/* halo presque imperceptible derrière la phrase */
.interlude::after {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(680px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(173,143,86,.1) 0%, rgba(117,53,92,.07) 45%, transparent 70%);
  filter: blur(14px);
}
.interlude-quote {
  margin: 0; padding: clamp(4rem, 10vw, 7rem) var(--gutter); text-align: center;
  font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.22; color: #fff;
}
/* fin trait d'or au-dessus de la phrase */
.interlude-quote::before {
  content: ""; display: block; width: 54px; height: 1px;
  margin: 0 auto clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.interlude-quote span { display: block; }
.interlude-em { font-style: italic; color: #e8cfa0; }

/* =================================================================
   2. MA DÉMARCHE
   ================================================================= */
.valeurs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(2rem, 4vw, 3.4rem);
}
.valeur {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(1.3rem, 2vw, 1.8rem);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.valeur:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -32px rgba(44,48,50,.3); border-color: var(--cream-dk); }
.valeur h3 { font-family: var(--serif); color: var(--plum); font-size: 1.5rem; margin-bottom: .35rem; }
.valeur p { margin: 0; color: var(--grey); font-size: .98rem; line-height: 1.5; }
/* cascade douce */
.valeur:nth-child(2){transition-delay:.05s} .valeur:nth-child(3){transition-delay:.1s}
.valeur:nth-child(4){transition-delay:.15s} .valeur:nth-child(5){transition-delay:.2s}

/* =================================================================
   3. RÉALISATIONS — études de cas dépliables
   ================================================================= */
.cases { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); margin-top: clamp(1rem, 3vw, 2.5rem); }
.case {
  position: relative; border-radius: 8px; overflow: hidden;
  background: var(--deep); box-shadow: 0 30px 60px -36px rgba(0,0,0,.7);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: 0 44px 80px -40px rgba(0,0,0,.85); }
.case-cover {
  position: relative; min-height: clamp(360px, 52vw, 540px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.8rem, 4vw, 3.4rem); color: #fff;
  background-image:
    linear-gradient(180deg, rgba(18,12,18,.12) 0%, rgba(18,12,18,.45) 52%, rgba(14,8,13,.92) 100%),
    var(--case-bg);
  background-size: cover; background-position: center 18%; isolation: isolate;
}
/* couverture en attente de visuel */
.case-cover--ph {
  background-image:
    linear-gradient(180deg, rgba(18,12,18,.1) 0%, rgba(18,12,18,.4) 52%, rgba(14,8,13,.9) 100%),
    radial-gradient(130% 150% at 18% 0%, rgba(117,53,92,.6) 0%, rgba(18,12,18,.95) 64%),
    linear-gradient(135deg, var(--plum-dk), var(--deep));
  min-height: clamp(300px, 38vw, 420px);
}
.case-cover--ph::before {
  content: "Visuel à venir";
  position: absolute; top: clamp(1.4rem, 3vw, 2.4rem); right: clamp(1.8rem, 4vw, 3.4rem);
  font-family: var(--serif); font-style: italic; font-size: .98rem;
  color: rgba(236,229,223,.55); letter-spacing: .05em;
}
.case-verb { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--gold); margin: 0 0 .55rem; }
.case-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 0 0 .6rem; color: #fff; }
.case-teaser { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.1vw, 1.45rem); max-width: 44ch; margin: 0 0 1.7rem; color: rgba(255,255,255,.92); }
.case-toggle {
  align-self: flex-start; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; font-size: .92rem;
  color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.6);
  padding: .72em 1.7em; border-radius: 2px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.case-toggle:hover { background: #fff; color: var(--ink); border-color: #fff; }
.case-toggle::after { content: " ↓"; }
.case-toggle[aria-expanded="true"]::after { content: " ↑"; }

.case-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); background: var(--night-2); color: var(--on-dark); }
.case-detail.open { grid-template-rows: 1fr; }
.case-detail-inner { overflow: hidden; opacity: 0; transition: opacity .55s var(--ease) .12s; }
.case-detail.open .case-detail-inner { opacity: 1; }
.case-detail-inner > * { padding-inline: clamp(1.8rem, 4vw, 3.4rem); }
.case-kicker { padding-top: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 .3rem; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(1.2rem, 2vw, 1.5rem); }
/* faits & chiffres : la preuve, en une ligne sobre */
.case-facts {
  display: flex; flex-wrap: wrap; gap: .5rem .8rem;
  padding-top: 1.1rem; margin: 0 0 .4rem;
}
.case-facts li {
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-dark-soft);
  padding: .45em 1em; border: 1px solid rgba(173,143,86,.35); border-radius: 999px;
}
.case-facts li:first-child { color: var(--gold); border-color: rgba(173,143,86,.6); }
.case-context { padding-top: clamp(1.8rem, 4vw, 2.8rem); margin: 0; color: var(--on-dark-soft); max-width: 82ch; }
.case-kicker + .case-context { padding-top: 0; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2.8rem); padding-top: 2rem; }
.case-block h4 { font-family: var(--serif); color: var(--gold); font-size: 1.45rem; margin-bottom: .5rem; }
.case-block p { margin: 0 0 .6rem; color: var(--on-dark); }
.case-block ul li { position: relative; padding-left: 1.1em; color: var(--on-dark); margin-bottom: .25rem; }
.case-block ul li::before { content:"—"; position:absolute; left:0; color: var(--gold); }
.case-link { padding-top: 1.8rem; margin: 0; }
.case-link a {
  font-family: var(--sans); font-weight: 600; letter-spacing: .04em; font-size: 1rem;
  color: var(--gold); border-bottom: 1px solid rgba(173,143,86,.5); padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.case-link a::after { content: " ↗"; }
.case-link a:hover { color: #fff; border-color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 1.6vw, 1.4rem); padding-top: 1.8rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
.gallery figure { margin: 0; border-radius: 4px; overflow: hidden; background: #150e14; }
.gallery img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery--ph .ph-media { min-height: 190px; }
/* Affiches présentées en entier (mêmes proportions), sans recadrage */
.gallery--affiches img { max-height: none; object-fit: contain; }
.gallery--affiches figure:hover img { transform: scale(1.02); }
/* Frise chronologique : une colonne par édition */
.gallery--frise { grid-template-columns: repeat(5, 1fr); }
.gallery figcaption {
  padding: .6rem .8rem .8rem;
  font-family: var(--serif); font-style: italic;
  font-size: .88rem; line-height: 1.35; color: var(--on-dark-soft);
}
/* image seule sur toute la largeur (banderole, fresque dépliée, visuel scénique) */
.gallery--wide { grid-template-columns: 1fr; padding-top: 0; }
.gallery--wide img { max-height: none; }
/* mises en situation côte à côte : colonnes calées sur les proportions
   (portrait 3/4 + paysage 4/3) pour des hauteurs égales sans recadrage */
.gallery--situ { grid-template-columns: 9fr 16fr; align-items: start; }
.gallery--situ img { max-height: none; }
/* variante deux paysages (4/3 + 3/2) : colonnes 8/9 pour hauteurs égales */
.gallery--situ2 { grid-template-columns: 8fr 9fr; align-items: start; padding-top: 0; }
.gallery--situ2 img { max-height: none; }
@media (max-width: 700px) { .gallery--situ, .gallery--situ2 { grid-template-columns: 1fr; } }
/* objet seul (PNG transparent) posé sur le fond sombre, sans cadre */
.gallery--objet { grid-template-columns: 1fr; justify-items: center; }
.gallery--objet figure { background: none; border-radius: 0; overflow: visible; }
.gallery--objet img {
  max-height: none; width: min(680px, 100%); object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
}
.gallery--objet figure:hover img { transform: scale(1.02); }
.gallery--objet figcaption { text-align: center; }
/* marie-louise : les affiches présentées comme en galerie */
.gallery--mat figure {
  background: var(--cream);
  padding: clamp(.8rem, 1.8vw, 1.5rem);
}
.gallery--mat img {
  box-shadow: 0 10px 28px -12px rgba(44,48,50,.55);
  border-radius: 0;
}
.gallery--mat figcaption { color: var(--grey); text-align: center; padding-bottom: .2rem; }

/* Avant / après : le chemin de l'image en un strip fléché */
.evolution {
  display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.4rem);
  padding-top: 2rem;
}
.evolution figure { margin: 0; flex: 1; border-radius: 4px; overflow: hidden; background: #150e14; }
.evolution img { width: 100%; height: auto; display: block; }
.evolution figcaption {
  padding: .55rem .4rem .7rem; text-align: center;
  font-family: var(--sans); font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.evolution-arrow {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: var(--gold); flex: none;
}
@media (max-width: 600px) {
  .evolution { flex-direction: column; align-items: stretch; }
  .evolution-arrow { text-align: center; transform: rotate(90deg); }
}

/* Cadre d'écran sobre pour les captures (site, réseaux sociaux) */
.etude-media--frameless { aspect-ratio: auto; background: none; overflow: visible; }
.mock-browser {
  border-radius: 10px; overflow: hidden; background: #241a24;
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.85);
  border: 1px solid rgba(255,255,255,.07);
}
.mock-browser-bar { display: flex; gap: 7px; padding: 11px 14px; background: #1a121a; }
.mock-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.mock-browser-bar i:first-child { background: rgba(173,143,86,.55); }
.mock-browser img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .gallery--frise { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery--frise { grid-template-columns: 1fr 1fr; } }



/* =================================================================
   SECONDE MOITIÉ ÉDITORIALE — chapitre clair, chaleureux, aéré
   -----------------------------------------------------------------
   Après les études de cas sombres, le site respire : blanc cassé
   #F7F5F0, titres presque noirs, accents conservés, marges élargies.
   ================================================================= */
.scene--editorial {
  background: #F7F5F0; color: var(--ink);
  padding-block: clamp(6.5rem, 15vw, 14rem);
}
.scene--editorial .display { color: var(--plum); margin-bottom: clamp(1.2rem, 2.4vw, 2rem); }
.scene--editorial .lead { color: var(--grey); margin-top: 1.7rem; }
.scene--editorial .scene-head { margin-bottom: clamp(3.5rem, 8vw, 7rem); }
/* légère variation de teinte entre les sections claires : le rythme du papier */
.vie { background: #F5F2EC; }
.scene--editorial .eyebrow { color: var(--gold-dk); }
/* phrase d'introduction du chapitre, entre le titre et le lead */
.chapitre-intro { display: block; margin: 1.1rem 0 0; }
/* transition sobre aux deux bascules sombre/clair : fin fil d'or vertical */
.promesses::before, .contact::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 1px; height: clamp(52px, 8vw, 92px);
  background: linear-gradient(var(--gold), transparent);
}

/* =================================================================
   5. UNE IDENTITÉ QUI SE DÉCLINE
   ================================================================= */
/* Les points de rencontre : composition typographique éditoriale —
   deux voix alternées (serif ample / petites capitales), séparées
   de points d'or, comme un sommaire de revue culturelle. */
.supports {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  column-gap: .4em; row-gap: 1.1rem;
  max-width: 46ch; margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center; line-height: 1.15;
}
.supports li { position: relative; padding-inline: .55em; }
.supports li:nth-child(odd) {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); color: #26222a;
}
.supports li:nth-child(even) {
  font-family: var(--sans); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; font-size: clamp(.78rem, 1.1vw, .92rem);
  color: var(--gold-dk);
}
.supports li:not(:last-child)::after {
  content: "·"; position: relative; left: .55em;
  color: var(--gold); font-family: var(--serif); font-style: normal;
}
/* apparition en cascade au défilement */
.supports li { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.supports.in-view li { opacity: 1; transform: none; }
.supports li:nth-child(2) { transition-delay: .06s } .supports li:nth-child(3) { transition-delay: .12s }
.supports li:nth-child(4) { transition-delay: .18s } .supports li:nth-child(5) { transition-delay: .24s }
.supports li:nth-child(6) { transition-delay: .3s }  .supports li:nth-child(7) { transition-delay: .36s }
.supports li:nth-child(8) { transition-delay: .42s } .supports li:nth-child(9) { transition-delay: .48s }
.supports li:nth-child(10) { transition-delay: .54s }

.etudes { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.etude {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
  gap: clamp(1.6rem, 5vw, 4.5rem);
}
.etude--reverse .etude-media { order: 2; }
.etude-media { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 16/10; background: #150e14; }
.etude-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.etude:hover .etude-media img { transform: scale(1.035); }
.etude-media iframe, .etude-media video { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
/* mockup écran paysage (proportions naturelles du visuel) */
.etude-media--ecran { aspect-ratio: 5/4; }
/* lien discret sous le texte d'une étude */
.etude-link { margin: 1.4rem 0 0; }
.etude-link a {
  font-family: var(--sans); font-weight: 600; letter-spacing: .04em; font-size: .96rem;
  color: var(--gold); border-bottom: 1px solid rgba(173,143,86,.5); padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.etude-link a::after { content: " ↗"; }
.etude-link a:hover { color: #fff; border-color: #fff; }
/* image portrait (mockup mobile) : proportions naturelles, taille contenue */
.etude-media--haut {
  aspect-ratio: 3/4; width: min(520px, 94%);
  justify-self: center; border-radius: 10px;
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.85);
}
/* vidéo carrée (1:1) : cadre centré, taille contenue */
.etude-media--carre {
  aspect-ratio: 1/1; width: min(480px, 94%);
  justify-self: center; border-radius: 10px;
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.85);
}
.etude-media.ph-media { aspect-ratio: 16/10; }
.etude-verb { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--gold); margin: 0 0 .5rem; }
.etude-body h3 { font-family: var(--serif); color: #efd9e6; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .6rem; }
.etude-body p { margin: 0; color: var(--on-dark-soft); }
.etude-body em { color: var(--gold); }

.declinaisons-note {
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  max-width: 52ch; text-align: center;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4;
  color: var(--grey);
}
.declinaisons-note strong { color: #26222a; font-weight: 500; }

/* ---------- adaptations des composants sur le chapitre clair ---------- */
.scene--editorial .etude-verb { color: var(--gold-dk); }
.scene--editorial .etude-body h3 { color: var(--plum); }
.scene--editorial .etude-body p { color: var(--grey); }
.scene--editorial .etude-body em { color: var(--gold-dk); }
.scene--editorial .etude-link a { color: var(--gold-dk); border-color: rgba(149,119,52,.45); }
.scene--editorial .etude-link a:hover { color: var(--ink); border-color: var(--ink); }
.scene--editorial .etudes { gap: clamp(3.5rem, 8vw, 7rem); }
.scene--editorial .langage-axe h3 { color: var(--plum); }
.scene--editorial .langage-axe p { color: var(--grey); }
.scene--editorial .closing-quote { color: #26222a; }
.scene--editorial .closing-quote-em { color: var(--gold-dk); }
.scene--editorial .vie-media { box-shadow: 0 40px 80px -38px rgba(44,48,50,.45); background: #26222a; }
.scene--editorial .vie-link a { color: var(--gold-dk); border-color: rgba(149,119,52,.45); }
.scene--editorial .vie-link a:hover { color: var(--ink); border-color: var(--ink); }
.scene--editorial .etude-media--haut,
.scene--editorial .etude-media--carre { box-shadow: 0 34px 70px -34px rgba(44,48,50,.5); }

/* =================================================================
   5bis. L'UNIVERS PREND VIE — immersion vidéo
   ================================================================= */
.vie-media {
  margin: 0; overflow: hidden; border-radius: 8px;
  aspect-ratio: 16/9; background: #0d080c;
  box-shadow: 0 44px 90px -40px rgba(0,0,0,.85);
}
.vie-media iframe, .vie-media video { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.vie-supports { margin: clamp(2rem, 4vw, 3rem) 0 0; justify-content: center; }
.vie-link { margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; text-align: center; }
.vie-link a {
  font-family: var(--sans); font-weight: 600; letter-spacing: .04em; font-size: 1rem;
  color: var(--gold); border-bottom: 1px solid rgba(173,143,86,.5); padding-bottom: 3px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.vie-link a::after { content: " ↗"; }
.vie-link a:hover { color: #fff; border-color: #fff; }

/* =================================================================
   6. CHOISIR LE LANGAGE JUSTE — quatre axes
   ================================================================= */
.langages {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
.langage-axe {
  padding-top: 1.3rem;
  border-top: 1px solid rgba(173,143,86,.4);
}
.langage-axe h3 {
  font-family: var(--serif); color: var(--gold);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: .45rem;
}
.langage-axe p { margin: 0; color: var(--on-dark-soft); font-size: 1rem; line-height: 1.6; }
.langage-axe:nth-child(2){ transition-delay:.06s } .langage-axe:nth-child(3){ transition-delay:.12s }
.langage-axe:nth-child(4){ transition-delay:.18s }
.closing-quote {
  font-family: var(--serif); text-align: center;
  font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.25;
  margin: clamp(3rem, 7vw, 5.5rem) auto 0; max-width: 24ch; color: #fff;
}
.closing-quote span { display: block; }
.closing-quote-em { font-style: italic; color: var(--gold); }

/* =================================================================
   7. ILS M'ONT FAIT CONFIANCE
   ================================================================= */
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  margin-top: clamp(1.6rem, 3.5vw, 2.6rem);
}
.logo-strip li { display: flex; align-items: center; justify-content: center; }
.logo-strip img { height: 60px; width: auto; max-width: 165px; object-fit: contain; filter: grayscale(1); opacity: .82; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.logo-strip li:hover img { filter: grayscale(0); opacity: 1; }
/* Shaka Nautique : logo clair par nature → assombri pour l'homogénéité (comme sur Territoires Narratifs) */
.logo-strip img[alt="Shaka Nautique"] { filter: grayscale(1) brightness(.55) contrast(1.2); }
.logo-strip li:hover img[alt="Shaka Nautique"] { filter: brightness(.85); }

/* =================================================================
   8. À PROPOS
   ================================================================= */
.apropos-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.apropos-portrait { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 34px 64px -38px rgba(44,48,50,.5); max-width: 420px; }
.apropos-portrait img { width: 100%; height: auto; display: block; }
.lead-line {
  font-family: var(--serif); font-style: italic; color: var(--gold-dk);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3;
  margin: 1rem 0 1.4rem;
}

/* =================================================================
   9. CONTACT — conclusion claire et chaleureuse
   ================================================================= */
.contact {
  min-height: 92vh; display: flex; align-items: center; color: var(--ink);
  background: radial-gradient(120% 120% at 50% 0%, #FBF9F4 0%, #F1EBE0 100%);
}
.contact .display { color: var(--plum); }
/* Monogramme illustré — reprise exacte de Territoires Narratifs */
.contact-mono {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  width: clamp(180px, 26vw, 360px); z-index: 0; opacity: .9;
  will-change: transform;
  filter: drop-shadow(0 18px 40px rgba(23,106,144,.28));
}
@media (max-width: 700px) { .contact-mono { opacity: .3; right: -8%; } }
.contact-inner { position: relative; z-index: 1; }
.contact-lead { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--grey); max-width: 48ch; margin: 1.2rem 0 2.2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact .btn-ghost { color: var(--ink) !important; border-color: rgba(44,48,50,.28); }
.contact .btn-ghost:hover { background: rgba(44,48,50,.06); border-color: var(--ink); }
.contact-list { margin-top: 2.6rem; display: grid; gap: .2rem; max-width: 480px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list span { font-family: var(--sans); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; color: var(--grey); }
.contact-list a { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--plum); }
.contact-list a:hover { color: var(--gold-dk); }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: #0d080c; color: #bcb2ad; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin: 0; }
.footer-brand span { color: var(--gold); font-size: .8em; }
.footer-tag { margin: 0; font-size: .92rem; color: #857c77; }
.footer-top { color: var(--gold); font-weight: 600; font-size: .92rem; }

/* =================================================================
   VISIONNEUSE plein écran — sobre, sombre, au service de l'image
   ================================================================= */
.zoomable { cursor: zoom-in; }
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 6, 10, .95);
  animation: lbIn .35s var(--ease);
}
/* indispensable : display:flex ci-dessus écraserait sinon l'attribut hidden */
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .9rem; max-width: 92vw; }
.lightbox img {
  max-width: 92vw; max-height: 84vh; width: auto; height: auto;
  object-fit: contain; border-radius: 3px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
}
.lightbox figcaption {
  font-family: var(--serif); font-style: italic;
  color: var(--on-dark-soft); font-size: 1.02rem; text-align: center;
  max-width: 60ch; padding-inline: 1rem;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.lb-close { top: clamp(.8rem, 3vw, 2rem); right: clamp(.8rem, 3vw, 2rem); font-size: 1.8rem; }
.lb-prev { left: clamp(.6rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.6rem, 2.5vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%); }
@media (max-width: 600px) {
  .lb-prev, .lb-next { width: 44px; height: 44px; }
  .lightbox img { max-height: 76vh; }
}

/* =================================================================
   ANIMATIONS au défilement — discrètes, lentes
   ================================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
.cases .case:nth-child(2){ transition-delay: .05s }
.etude--reverse{ transition-delay: .05s }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .valeurs { grid-template-columns: repeat(3, 1fr); }
  .apropos-grid { grid-template-columns: 1fr; }
  .apropos-portrait { max-width: 380px; }
}

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    flex-direction: column; align-items: flex-start; gap: .3rem;
    padding: 6.5rem 2rem 2rem; background: var(--night);
    transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -10px 0 50px -18px rgba(0,0,0,.6);
  }
  .nav-menu.open { transform: none; }
  .nav-menu a { display: block; padding: .6rem 0; font-size: 1.15rem; }
  .nav-link-cta { margin-top: .6rem; }

  .etude, .etude--reverse { grid-template-columns: 1fr; gap: 1.2rem; }
  .etude--reverse .etude-media { order: 0; }
  .langages { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .valeurs { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .1rem; }
  .nav-brand img { height: 42px; }
  .nav.scrolled .nav-brand img { height: 36px; }
  .langages { grid-template-columns: 1fr; }
}

/* =================================================================
   Préférences de mouvement réduit + focus clavier
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-title .line > span { animation: none; transform: none; }
  .scroll-cue-line::after { animation: none; }
  [data-parallax] { transform: none !important; }
  .lightbox { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
