/* v2, Cinéma. Une photographie d'architecture derrière chaque section. */
.v2 { background: var(--night); }

.scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--night); }
.scene__layer { position: absolute; inset: -5%; opacity: 0; transition: opacity 1.5s var(--ease-out); will-change: opacity; }
.scene__layer.is-on { opacity: 1; }
.scene__layer img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.58) contrast(1.06); transform: scale(1.08); transition: transform 9s linear; }
.scene__layer.is-on img { transform: scale(1); }
.scene__veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6, 12, 17, .58) 0%, rgba(6, 12, 17, .36) 45%, rgba(6, 12, 17, .8) 100%); }
.scene.is-solid .scene__layer { opacity: 0; }
.masthead, main, .foot { position: relative; z-index: 1; }

/* Ouverture */
.hero { min-height: 100svh; display: grid; align-content: end; gap: 1.2rem; padding: calc(var(--head) + 2rem) var(--gutter) clamp(2rem, 6vh, 4rem); }
.hero__kicker { max-width: 44rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-70); line-height: 1.7; }
.hero .display { font-size: clamp(3rem, 1rem + 7.4vw, 8.6rem); line-height: .94; max-width: 11ch; }
.hero .display em { display: block; font-size: .36em; line-height: 1.16; letter-spacing: -.01em; color: var(--fg-70); margin-top: .45em; max-width: 24ch; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 3rem; margin-top: .8rem; }
.hero__row > * { min-width: 0; max-width: 100%; }
.hero__claim { flex: 1 1 24rem; max-width: 36rem; color: var(--fg-70); font-size: .98rem; }
html.nomotion .hero, html.nomotion .sec--contact { min-height: 0; }
.hero__cta { display: flex; align-items: center; gap: 2.2rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: .9rem; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-55); }
.scroll-cue span { position: relative; display: block; width: 1px; height: 3.4rem; background: var(--fg-38); overflow: hidden; }
.scroll-cue span::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--yellow); animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue { to { transform: translateY(200%); } }

/* Sections en surimpression */
.sec { padding: clamp(6rem, 17vh, 12rem) var(--gutter); }
.sec--tight { padding-block: clamp(4rem, 10vh, 7rem); }
.sec__in { max-width: 76rem; }
.sec .label { max-width: 76rem; }
.sec .h-lg { max-width: 18ch; }

/* Engagements */
.engs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 5vw, 4rem); }
.eng { border-top: 1px solid var(--rule-strong); padding-top: 1.2rem; }
.eng__t { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-55); }
.eng__d { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.2vw, 2.1rem); line-height: 1.26; margin-top: 1rem; }
.eng__d strong { font-weight: 500; font-style: italic; color: var(--yellow); }

/* Matières et pratiques */
.matieres { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 0; margin-top: clamp(1.5rem, 4vw, 3rem); font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 2.6vw, 3.6rem); line-height: 1.22; letter-spacing: -.014em; }
.matieres li { color: var(--fg-70); transition: color var(--t), transform .5s var(--ease-out); }
.matieres li:hover { color: var(--fg); transform: translateX(4px); }
.matieres .bar { opacity: .28; margin-inline: .5em; }
.prats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); margin-top: clamp(3rem, 7vw, 5.5rem); }
.prat { display: flex; flex-direction: column; min-height: clamp(19rem, 26vw, 27rem); padding: clamp(1.75rem, 3vw, 2.8rem); background: rgba(6, 12, 17, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.prat__t { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.3rem); line-height: 1.08; letter-spacing: -.014em; }
.prat__d { font-size: .94rem; color: var(--fg-70); margin-top: 1.2rem; transition: color var(--t); }
.prat .arrow { margin-top: auto; padding-top: 1.6rem; font-size: 1.3rem; color: var(--fg-38); }
.prat:hover .prat__d { color: rgba(6, 12, 17, .72); }
.prat:hover .arrow { color: var(--night); }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 5vw, 4rem); }
.chiffre { border-top: 1px solid var(--rule-strong); padding-top: 1.2rem; }
.chiffre__pre { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-55); margin-bottom: .5rem; }
.chiffre__n { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 1rem + 6vw, 7rem); line-height: .94; letter-spacing: -.03em; white-space: nowrap; }
.chiffre__n sup { font-size: .38em; vertical-align: top; margin-left: .05em; color: var(--yellow); }
.chiffre__l { display: block; margin-top: .9rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-55); }
.chiffres__note { margin-top: 2.4rem; font-size: .8rem; color: var(--fg-38); }

/* Équipe en défilement horizontal */
.reel-wrap { margin-top: clamp(2rem, 5vw, 4rem); }
.reel { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reel::-webkit-scrollbar { display: none; }
.reel__item { flex: 0 0 clamp(15rem, 24vw, 21rem); scroll-snap-align: start; display: block; position: relative; }
.reel__item .pf { aspect-ratio: 3 / 4; }
.reel__item .pf img { transition: transform 1s var(--lame); }
.reel__item:hover .pf img { transform: scale(1.04); }
.reel__b { display: block; padding: 1rem .2rem 0; }
.reel__nom { display: block; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); line-height: 1.1; }
.reel__role { display: block; margin-top: .35rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-55); }
.reel-hint { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-38); }
.reel-hint i { display: block; width: 3rem; height: 1px; background: var(--fg-38); }

/* Références en accordéon */
.accs { margin-top: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--rule-strong); }
.acc { border-bottom: 1px solid var(--rule); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 2.2rem; align-items: baseline; gap: 1rem; padding: clamp(1.2rem, 2.4vw, 1.8rem) 0; transition: color var(--t); }
.acc summary::-webkit-details-marker { display: none; }
.acc__n { font-family: var(--serif); font-size: .95rem; color: var(--fg-38); }
.acc__t { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -.01em; }
.acc__plus { position: relative; width: 1.1rem; height: 1.1rem; justify-self: end; align-self: center; }
.acc__plus::before, .acc__plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--fg); transition: transform .45s var(--lame); }
.acc__plus::after { transform: rotate(90deg); }
.acc[open] .acc__plus::after { transform: rotate(0); }
.acc[open] summary { color: var(--yellow); }
.acc__body { padding: 0 0 1.8rem 4.4rem; max-width: 46rem; color: var(--fg-70); font-size: .95rem; }
.acc__cat { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-55); margin-bottom: .6rem; }
.acc summary:hover .acc__t { color: var(--yellow); }

/* Revendications */
.revs { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); margin-top: clamp(2rem, 5vw, 4rem); max-width: 50rem; }
.revs p { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .9vw, 1.7rem); line-height: 1.42; letter-spacing: -.006em; color: var(--fg); }
.revs .cle { color: var(--yellow); font-style: italic; }

/* Contact */
.sec--contact { min-height: 90svh; display: grid; align-content: center; }
.contact__t { font-size: clamp(1.9rem, 1rem + 3.6vw, 4.6rem); max-width: 20ch; }
.contact__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; margin-top: clamp(2rem, 5vw, 3.5rem); }
.contact__coords { font-style: normal; font-size: .95rem; color: var(--fg-70); line-height: 1.8; }
.contact__coords a:hover { color: var(--yellow); }

/* Pied et sommaire */
.foot { background: var(--night); }
.foot__sommaire { text-align: center; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-38); padding-block: 1.6rem 0; }
.foot__sommaire a { border-bottom: 1px solid var(--rule); padding-bottom: .2rem; transition: color var(--t), border-color var(--t); }
.foot__sommaire a:hover { color: var(--fg); border-color: var(--yellow); }

@media (max-width: 1000px) {
  .engs, .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prats { grid-template-columns: 1fr; }
  .prat { min-height: 0; }
}
@media (max-width: 700px) {
  .hero { align-content: end; }
  .hero .display { max-width: none; }
  .engs, .chiffres { grid-template-columns: 1fr; }
  .reel__item { flex-basis: 74vw; }
  .acc summary { grid-template-columns: 2.4rem minmax(0, 1fr) 1.6rem; }
  .acc__body { padding-left: 3.4rem; }
  .contact__row { grid-template-columns: 1fr; }
  .scene__veil { background: linear-gradient(to bottom, rgba(6, 12, 17, .66), rgba(6, 12, 17, .5) 45%, rgba(6, 12, 17, .84)); }
}
@media (prefers-reduced-motion: reduce) {
  .scene__layer, .scene__layer img, .scroll-cue span::after { transition: none; animation: none; }
}
