/* ==========================================================================
   eagle. — édition 02 — feuille de style éditoriale
   charte graphique : aubergine dominante, indigo en accent, lin/brume en détail
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --aubergine: #35012c;
  --aubergine-2: #2b0224;
  --indigo: #623cea;
  --indigo-bright: var(--indigo);
  --lin: #e7dfc6;
  --brume: #e9f1f7;

  --text-on-dark: #f4f1ea;
  --text-on-dark-muted: #a79d9e;
  --text-on-light: #35012c;
  --text-on-light-muted: #6b6258;

  --bg: var(--aubergine);
  --bg-light: var(--lin);
  --ink: var(--text-on-dark);
  --secondary: var(--text-on-dark-muted);
  --line: rgba(244, 241, 234, 0.14);
  --line-strong: rgba(244, 241, 234, 0.24);
  --line-on-light: rgba(53, 1, 44, 0.16);

  --rail-w: 60px;
  --rail-w-mobile: 58px;
  --pad-x: clamp(20px, 5vw, 64px);

  --f-display: 'Archivo Black', sans-serif;
  --f-text: 'Manrope', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-strong: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-left: var(--rail-w);
  opacity: 0;
}
body.is-ready { opacity: 1; transition: opacity .5s var(--ease); }
body.is-leaving { opacity: 0; transition: opacity .38s var(--ease-strong); }

/* ==========================================================================
   intro splash — l'aigle bat des ailes puis s'efface sur le haut de page
   ========================================================================== */

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--aubergine);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .7s var(--ease);
}
.intro-splash img {
  width: 72px;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.intro-splash.is-visible img {
  opacity: 1;
  animation: eagle-flap 1s ease-in-out .15s 1;
}
.intro-splash.is-fading {
  opacity: 0;
}
.intro-splash.is-done {
  display: none;
}
@keyframes eagle-flap {
  0%   { transform: scale(1, 1) rotate(0deg); }
  14%  { transform: scale(1.1, .88) rotate(-6deg); }
  28%  { transform: scale(.9, 1.12) rotate(5deg); }
  42%  { transform: scale(1.08, .9) rotate(-5deg); }
  57%  { transform: scale(.93, 1.08) rotate(4deg); }
  71%  { transform: scale(1.05, .95) rotate(-2deg); }
  85%  { transform: scale(.97, 1.03) rotate(1deg); }
  100% { transform: scale(1, 1) rotate(0deg); }
}
@media (max-width: 640px) {
  .intro-splash img { width: 52px; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
h1, h2, h3, p { margin: 0; }

.lowercase { text-transform: lowercase; }

/* eyebrow — chip numéroté indigo + label tracké */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 3px;
  background: var(--indigo);
  display: inline-block;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tag {
  border: 1px solid rgba(155, 133, 240, 0.4);
  background: rgba(98, 60, 234, 0.12);
  border-radius: 3px;
  padding: 7px 13px;
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--indigo-bright);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-text);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 3px;
  border: 1px solid var(--indigo);
  color: var(--indigo-bright);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--indigo); color: var(--aubergine); }
.btn.solid { background: var(--indigo); color: var(--aubergine); border-color: var(--indigo); }
.btn.solid:hover { background: var(--indigo-bright); border-color: var(--indigo-bright); }
.btn.on-dark { border-color: rgba(244,241,234,.5); color: var(--text-on-dark); }
.btn.on-dark:hover { background: var(--text-on-dark); color: var(--aubergine); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   rail navigation
   ========================================================================== */

.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail-w);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: rgba(53, 1, 44, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid var(--line);
}

.rail-logo { display: block; width: 24px; }
.rail-logo img { width: 100%; }

.rail-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.rail-link {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.rail-link .n {
  font-family: var(--f-display);
  font-size: .68rem;
  color: rgba(244,241,234,.3);
  transition: color .3s var(--ease);
}
.rail-link:hover, .rail-link.is-active { color: var(--text-on-dark); }
.rail-link.is-active .n { color: var(--indigo-bright); }
.rail-link.is-active::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--indigo-bright);
  margin-top: 2px;
}

.rail-index-btn {
  width: 32px; height: 32px;
  border-radius: 3px;
  background: var(--indigo);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  padding: 8px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.rail-index-btn:hover { background: var(--indigo-bright); }
.rail-index-btn .dot { background: var(--aubergine); border-radius: 1px; }
.rail-index-btn.is-open { transform: scale(.92); }

/* floating CTA — visible pendant le défilement, masqué sur la section contact */
.floating-cta {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--indigo);
  color: var(--text-on-dark);
  padding: 15px 22px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(20, 0, 17, .35);
  transition: background .25s var(--ease), transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.floating-cta .arrow { transition: transform .3s var(--ease); }
.floating-cta:hover { background: var(--indigo-bright); }
.floating-cta:hover .arrow { transform: translateX(4px); }
.floating-cta.is-hidden {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  visibility: hidden;
}
@media (max-width: 640px) {
  .floating-cta { right: 16px; bottom: 16px; padding: 14px; }
  .floating-cta span:not(.arrow) { display: none; }
}

/* mobile rail -> top bar */
@media (max-width: 900px) {
  body { padding-left: 0; padding-top: 60px; }
  .rail {
    top: 0; left: 0; right: 0; bottom: auto;
    width: 100%; height: 60px;
    flex-direction: row;
    padding: 0 18px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .rail-nav { display: none; }
  .rail-logo { width: 26px; }
  .rail-index-btn { width: 36px; height: 36px; }

  .cover-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  #univers, #savoir-faire, #agence, #contact, #contactFormWrap {
    scroll-margin-top: 76px;
  }
}

/* ==========================================================================
   fullscreen index overlay — panneau clair (lin), respiration dans le noir
   ========================================================================== */

.index-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--lin);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
  overflow-y: auto;
}
.index-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear 0s;
}

.index-close {
  position: fixed;
  top: 22px; right: clamp(20px, 5vw, 56px);
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--aubergine);
  line-height: 1;
  z-index: 2;
  transition: transform .3s var(--ease);
}
.index-close:hover { transform: rotate(90deg); }

.index-overlay-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--pad-x) 60px;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--text-on-light);
}
.index-overlay-inner .eyebrow { color: var(--text-on-light-muted); }
.index-overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}
.index-overlay-home {
  font-family: var(--f-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--aubergine);
}

.index-overlay-list li {
  border-top: 1px solid var(--line-on-light);
}
.index-overlay-list li:last-child { border-bottom: 1px solid var(--line-on-light); }
.index-overlay-list a {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 36px);
  padding: 20px 4px;
  transition: padding-left .35s var(--ease), color .35s var(--ease);
}
.index-overlay-list a:hover { padding-left: 18px; color: var(--indigo); }
.index-overlay-list .n {
  font-family: var(--f-display);
  font-size: .95rem;
  background: var(--indigo);
  color: var(--aubergine);
  padding: 4px 8px;
  border-radius: 3px;
  min-width: 2ch;
  text-align: center;
}
.index-overlay-list .t {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 6vw, 3.6rem);
  text-transform: uppercase;
}

.index-overlay-foot {
  display: flex;
  gap: 28px;
  margin-top: 46px;
  font-size: .85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}
.index-overlay-foot a:hover { color: var(--indigo); }

body.overlay-open { overflow: hidden; }
body.overlay-open .floating-cta { opacity: 0; visibility: hidden; pointer-events: none; }
body.intro-locking { overflow: hidden; }

/* ==========================================================================
   type & layout helpers
   ========================================================================== */

.hero-title, .page-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  color: var(--text-on-dark);
  line-height: .96;
  letter-spacing: -.01em;
}

.hl { color: var(--indigo-bright); }

.line { overflow: hidden; display: block; }
.line-inner {
  display: block;
  transform: translateY(112%);
  transition: transform .9s var(--ease);
}
.mask-lines.is-visible .line-inner { transform: translateY(0); }

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* curtain image reveal — voile aubergine, jamais teinté */
.img-curtain {
  position: relative;
  overflow: hidden;
  background: var(--aubergine-2);
}
.img-curtain img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.3s var(--ease);
}
.img-curtain .panel {
  position: absolute; inset: 0;
  background: var(--aubergine);
  transform-origin: right;
  transition: transform 1.05s var(--ease-strong);
  z-index: 1;
}
.img-curtain.is-visible .panel { transform: scaleX(0); }
.img-curtain.is-visible img { transform: scale(1); }

.caption {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--secondary);
}

section { position: relative; }

/* ==========================================================================
   page transitions between docs
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   cover (index)
   ========================================================================== */

.cover {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--aubergine);
}
.cover-top, .cover-body, .cover-scroll {
  position: relative; z-index: 1;
  padding: 0 var(--pad-x);
}
.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  color: var(--text-on-dark);
}
.cover-top .kicker {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
@media (min-width: 901px) {
  .cover-top .kicker.right { text-align: right; }
}

.cover-body {
  margin-top: auto;
  padding-bottom: 60px;
  color: var(--text-on-dark);
  max-width: 900px;
}
.cover-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo-bright);
  font-weight: 700;
  margin-bottom: 10px;
}
.cover-title {
  position: relative;
  z-index: 0;
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(4.2rem, 15vw, 11rem);
  line-height: .88;
  margin-left: -.03em;
}
.cover-title::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -.03em;
  right: -.03em;
  top: 16%;
  bottom: 16%;
  background: var(--indigo);
  transform: rotate(-1deg);
}
.cover-sub {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--lin);
  margin-top: 14px;
  line-height: 1.3;
}
.cover-desc {
  font-family: var(--f-text);
  font-weight: 400;
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  max-width: 46ch;
  margin-top: 18px;
  color: var(--text-on-dark-muted);
}

.cover-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 26px;
  color: var(--text-on-dark);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.cover-scroll .stem {
  width: 1px; height: 30px;
  background: rgba(244,241,234,.5);
  animation: stem-pulse 2.2s ease-in-out infinite;
}
@keyframes stem-pulse { 0%,100% { transform: scaleY(1); opacity: .6; } 50% { transform: scaleY(.6); opacity: 1; } }

/* ==========================================================================
   generic page header
   ========================================================================== */

.page-header {
  padding: clamp(70px, 12vw, 130px) var(--pad-x) clamp(40px, 6vw, 70px);
  max-width: 900px;
}
.page-header h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  margin-top: 12px;
}
@media (max-width: 480px) {
  .page-header h1 { font-size: clamp(1.55rem, 7.5vw, 2.2rem); }
}

/* section-level color blocks — alternance franche */
#univers {
  background: var(--brume);
  color: var(--text-on-light);
}
#univers .eyebrow { color: var(--text-on-light-muted); }
#univers .page-title { color: var(--text-on-light); }
#univers .page-header p { color: var(--text-on-light-muted); }
#univers .hl { color: var(--indigo); }
#contact .hl { color: var(--indigo); }
.about-block.bg-alt .hl { color: var(--indigo); }

.page-header p {
  font-weight: 400;
  color: var(--secondary);
  max-width: 58ch;
  margin-top: 18px;
  font-size: 1.02rem;
}

/* ==========================================================================
   univers — sommaire visuel (rectangles extensibles)
   ========================================================================== */

.sector-gallery { padding: 10px var(--pad-x) clamp(60px, 9vw, 100px); }
.sector-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 78vh;
  min-height: 440px;
  max-height: 740px;
}
.sector-item {
  position: relative;
  flex: 1 1 0%;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  transition: flex-grow .55s var(--ease-strong);
}
.sector-item:hover, .sector-item:focus-visible { flex-grow: 2.6; }
.sector-item:focus-visible { outline: 2px solid var(--indigo-bright); outline-offset: 2px; }
.sector-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.sector-item:hover img { transform: scale(1.05); }
.sector-item::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(53,1,44,.6) 0%, rgba(53,1,44,0) 32%),
    linear-gradient(0deg, rgba(53,1,44,.85) 0%, rgba(53,1,44,0) 40%);
  z-index: 1;
}
.sector-label {
  position: absolute;
  left: 16px; top: 18px; bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.sector-label .t {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1rem, 1.4vw, 1.6rem);
  letter-spacing: .02em;
  color: var(--text-on-dark);
  white-space: nowrap;
  line-height: 1;
}
.sector-label .meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sector-label .n {
  font-family: var(--f-display);
  font-size: .78rem;
  background: var(--indigo);
  color: var(--aubergine);
  padding: 5px 8px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.sector-label .count {
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .sector-row { flex-direction: column; height: auto; min-height: 0; max-height: none; gap: 10px; }
  .sector-item { flex: none; height: 130px; }
  .sector-item:hover, .sector-item:focus-visible { flex-grow: 0; }
  .sector-item:hover img { transform: none; }
  .sector-item[data-slug="scene-musique"] img { object-position: center 33%; }
  .sector-label { flex-direction: row; align-items: center; left: 18px; right: 14px; top: auto; bottom: 16px; gap: 10px; }
  .sector-label .t {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.15rem;
    order: 2;
  }
  .sector-label .meta { order: 1; flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ==========================================================================
   viewer (lightbox)
   ========================================================================== */

.viewer {
  position: fixed; inset: 0;
  z-index: 400;
  background: var(--aubergine);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
  display: flex;
  flex-direction: column;
}
.viewer.is-open {
  opacity: 1; visibility: visible;
  transition: opacity .4s var(--ease), visibility 0s linear 0s;
}
.viewer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--pad-x) 0;
}
.viewer-label {
  font-family: var(--f-display);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--indigo-bright);
}
.viewer-close {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--text-on-dark);
  transition: transform .3s var(--ease);
}
.viewer-close:hover { transform: rotate(90deg); }

.viewer-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px var(--pad-x);
  min-height: 0;
}
.viewer-stage img {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 2px;
}
.viewer-nav {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.viewer-nav:hover { background: var(--indigo); color: var(--aubergine); border-color: var(--indigo); }

.viewer-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px var(--pad-x) 24px;
  scrollbar-width: none;
}
.viewer-strip::-webkit-scrollbar { display: none; }
.viewer-strip img {
  width: 66px; height: 66px;
  object-fit: cover;
  border-radius: 2px;
  opacity: .45;
  cursor: pointer;
  transition: opacity .3s var(--ease);
  flex: 0 0 auto;
}
.viewer-strip img.is-current { opacity: 1; outline: 2px solid var(--indigo-bright); }
.viewer-strip img:hover { opacity: .8; }

@media (max-width: 640px) {
  .viewer-nav { width: 36px; height: 36px; }
  .viewer-stage { gap: 6px; padding: 6px 10px; }
}

/* ==========================================================================
   kinetic hero — texte cinétique + révélation circulaire épinglée
   ========================================================================== */

.kinetic-scrub {
  position: relative;
  height: 220vh;
}
.kinetic-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
  overflow: hidden;
}
.kinetic-intro {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--indigo-bright);
  margin-bottom: 20px;
}
.kinetic-heading {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  max-width: 18ch;
  color: var(--text-on-dark);
}
.kword {
  display: inline-block;
  will-change: transform, opacity;
}
.kinetic-tags {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: 34px 0 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.kinetic-tags::-webkit-scrollbar { display: none; }
.ktag {
  flex: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  will-change: clip-path;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.ktag:hover { transform: translateY(-3px); }
@media (max-width: 900px) {
  .kinetic-tags {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
  .ktag { padding: 9px 15px; font-size: .72rem; }
}
@media (max-width: 480px) {
  .ktag { padding: 8px 13px; font-size: .66rem; }
}
.ktag:nth-child(1) { background: var(--indigo); color: var(--aubergine); }
.ktag:nth-child(2) { background: var(--lin); color: var(--aubergine); }
.ktag:nth-child(3) { background: transparent; color: var(--text-on-dark); border: 1px solid var(--indigo-bright); }
.ktag:nth-child(4) { background: var(--indigo-bright); color: var(--aubergine); }
.ktag:nth-child(5) { background: var(--brume); color: var(--aubergine); }
.ktag:nth-child(6) { background: var(--aubergine-2); color: var(--text-on-dark); border: 1px solid var(--indigo); }

.kinetic-sub {
  font-size: .96rem;
  color: var(--text-on-dark-muted);
  max-width: 40ch;
}

@media (max-width: 640px) {
  .kinetic-scrub { height: 260vh; }
}

/* ==========================================================================
   savoir-faire — numbered spreads
   ========================================================================== */

.spread {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(60px, 10vw, 110px) var(--pad-x);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.spread:last-of-type { border-bottom: 1px solid var(--line); }
.spread.reverse {
  flex-direction: row-reverse;
  background: var(--lin);
  color: var(--text-on-light);
}

.spread-bg-num {
  position: absolute;
  top: 50%; left: var(--pad-x);
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: clamp(8rem, 28vw, 22rem);
  color: rgba(244,241,234,.035);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.spread.reverse .spread-bg-num { left: auto; right: var(--pad-x); color: rgba(53,1,44,.05); }

.spread-text {
  flex: 1 1 420px;
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.spread-text .eyebrow { display: flex; margin-bottom: 14px; }
.spread.reverse .spread-text .eyebrow { color: var(--text-on-light-muted); }
.spread-text h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: .96;
}
.spread-text p {
  margin-top: 18px;
  font-weight: 400;
  color: var(--secondary);
  font-size: 1.02rem;
  max-width: 46ch;
}
.spread.reverse .spread-text p { color: var(--text-on-light-muted); }
.spread.reverse .tag {
  background: rgba(98, 60, 234, .1);
  border-color: rgba(98, 60, 234, .35);
  color: var(--indigo);
}

.spread-media {
  flex: 1 1 420px;
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  max-width: 520px;
}

/* duotone dans les tons de la marque, pour unifier certaines photos */
.duotone img { filter: grayscale(1) contrast(1.08); }
.duotone::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(155deg, var(--aubergine) 0%, var(--indigo) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}
.spread-media img { object-fit: cover; }

/* un des six blocs passe en indigo plein, pour casser le duo aubergine/lin */
.spread.tone-indigo { background: var(--indigo); }
.spread.tone-indigo .spread-text p { color: rgba(244,241,234,.85); }
.spread.tone-indigo .tag {
  background: rgba(244,241,234,.14);
  border-color: rgba(244,241,234,.4);
  color: var(--text-on-dark);
}

@media (max-width: 900px) {
  .spread, .spread.reverse { flex-direction: column; }
  .spread-media { max-width: 100%; width: 100%; aspect-ratio: 4/5; }
  .spread-bg-num { display: none; }
}

.sf-note {
  padding: clamp(50px, 8vw, 90px) var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  background: var(--lin);
  color: var(--text-on-light);
}
.sf-note p { max-width: 46ch; font-weight: 400; color: var(--text-on-light-muted); }
.sf-note strong { color: var(--text-on-light); font-weight: 700; }
.sf-note .btn { border-color: var(--indigo); color: var(--indigo); }
.sf-note .btn.solid { background: var(--indigo); color: var(--aubergine); }
.sf-note .btn.solid:hover { background: var(--aubergine); color: var(--text-on-dark); }

/* ==========================================================================
   agence
   ========================================================================== */

.about-block {
  display: flex;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(50px, 9vw, 100px) var(--pad-x);
}
.about-block.reverse { flex-direction: row-reverse; }
.about-block.bg-alt { background: var(--lin); color: var(--text-on-light); }
.about-block.bg-alt .secondary,
.about-block.bg-alt .about-text p { color: var(--text-on-light-muted); }
.about-block.bg-alt .eyebrow { color: var(--text-on-light-muted); }
.about-text { flex: 1 1 440px; max-width: 560px; }
.about-text h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-top: 12px;
}
.about-text p {
  margin-top: 16px;
  font-weight: 400;
  color: var(--secondary);
  font-size: 1rem;
  max-width: 50ch;
}
.about-text .pull-quote {
  display: inline-block;
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  background: var(--lin);
  color: var(--aubergine);
  padding: .5em .6em;
  border-radius: 3px;
  margin: 22px 0 10px;
  line-height: 1.3;
  transform: rotate(-1.5deg);
  box-shadow: 0 12px 26px rgba(20,0,17,.22);
}
.about-block.bg-alt .about-text .pull-quote { background: var(--indigo); color: var(--aubergine); }
.about-media { flex: 1 1 440px; aspect-ratio: 4/5; max-width: 480px; }

@media (max-width: 860px) {
  .about-block, .about-block.reverse { flex-direction: column; }
  .about-media { max-width: 100%; width: 100%; aspect-ratio: 4/5; }
}

/* values timeline */
.values {
  padding: clamp(60px, 9vw, 100px) var(--pad-x);
  background: var(--aubergine);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values-head { max-width: 600px; margin-bottom: 44px; }
.values-head h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-top: 12px;
}
.value-row {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 4vw, 46px);
  padding: 26px 0;
  border-top: 1px solid rgba(244,241,234,.14);
  max-width: 1120px;
}
.value-row:last-child { border-bottom: 1px solid rgba(244,241,234,.14); }
.value-row .vn {
  font-family: var(--f-display);
  font-size: .85rem;
  background: var(--indigo);
  color: var(--aubergine);
  padding: 5px 8px;
  border-radius: 3px;
  width: 3ch;
  text-align: center;
}
.value-row h4 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  min-width: 9ch;
}
.value-row p {
  font-weight: 400;
  color: var(--text-on-dark-muted);
  font-size: .96rem;
}
@media (min-width: 641px) {
  .value-row p { white-space: nowrap; }
}
@media (max-width: 640px) {
  .value-row { flex-wrap: wrap; }
}

.cta-band {
  padding: clamp(60px, 10vw, 110px) var(--pad-x);
  text-align: center;
  background: var(--indigo);
  color: var(--text-on-dark);
}
.cta-band .eyebrow { justify-content: center; color: var(--text-on-dark-muted); }
.cta-band .eyebrow::before { background: var(--text-on-dark); }
.cta-band h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 14px 0 28px;
}
.cta-band .btn.solid { background: var(--text-on-dark); color: var(--aubergine); border-color: var(--text-on-dark); }
.cta-band .btn.solid:hover { background: var(--aubergine); color: var(--text-on-dark); border-color: var(--aubergine); }

/* ==========================================================================
   contact
   ========================================================================== */

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  background: var(--brume);
  color: var(--text-on-light);
}
.contact-info {
  background: var(--indigo);
  color: var(--text-on-dark);
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 46px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-on-dark);
}
.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 0 rgba(62,207,142,.6);
  animation: status-pulse 2.2s infinite;
}
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(62,207,142,.55); }
  70% { box-shadow: 0 0 0 8px rgba(62,207,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); }
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info-list div {
  padding-top: 22px;
  border-top: 1px solid rgba(244,241,234,.16);
}
.contact-info-list div span {
  display: block;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-on-dark-muted);
}
.contact-info-list div a, .contact-info-list div p {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--text-on-dark);
}
.contact-info-list div a:hover { color: var(--indigo-bright); }

.contact-form-wrap {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form-wrap .eyebrow { margin-bottom: 10px; color: var(--text-on-light-muted); }
.contact-form-wrap h1 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--text-on-light);
}
.contact-form-wrap > p {
  margin-top: 14px;
  font-weight: 400;
  color: var(--text-on-light-muted);
  max-width: 74ch;
}
.form {
  margin-top: 36px;
  display: grid;
  gap: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-on-light-muted);
}
.field input, .field textarea {
  font-family: var(--f-text);
  font-size: 1rem;
  color: var(--text-on-light);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-on-light);
  padding: 8px 2px;
  outline: none;
  transition: border-color .3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--indigo); }
.subject-choices { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.subject-chip { cursor: pointer; }
.subject-chip input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.subject-chip span {
  display: inline-block;
  border: 1px solid var(--line-on-light);
  border-radius: 3px;
  padding: 8px 14px;
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--text-on-light-muted);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.subject-chip input:checked + span {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--text-on-dark);
}
.subject-chip input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.form button[type="submit"] { justify-self: flex-start; margin-top: 6px; }
.form-note { font-size: .78rem; color: var(--text-on-light-muted); margin-top: -6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: .82rem; margin-top: 4px; min-height: 1.2em; }
.form-status.is-ok { color: #2a8a5e; font-weight: 600; }
.form-status.is-error { color: #b3352a; font-weight: 600; }
.form button[type="submit"]:disabled { opacity: .6; cursor: wait; }

@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px var(--pad-x) 26px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--text-on-dark);
}
.footer-nav, .footer-contact {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: .82rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--secondary);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--indigo-bright); }
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--secondary);
}
.footer-bottom a { color: var(--secondary); }
.footer-bottom a:hover { color: var(--indigo-bright); }

