/* ==========================================================================
   Vico Production — feuille de style
   ========================================================================== */

:root {
  --bg: #0c0d0a;
  --bg-2: #13150f;
  --bg-3: #1a1d15;
  --ink: #edebe3;
  --ink-2: #c9c7bd;
  --muted: #8f9184;
  --line: rgba(237, 235, 227, 0.12);
  --line-strong: rgba(237, 235, 227, 0.24);

  --olive: #414a37;
  --olive-deep: #2c3324;
  --sage: #b4bd96;
  --bone: #ecebe4;
  --bone-2: #e1dfd5;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection { background: var(--sage); color: var(--bg); }

:focus-visible {
  outline: 1px solid var(--sage);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Grain cinéma -------------------------------------------------------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: -50%;
  z-index: 90;
  opacity: 0.055;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -4%); }
  80% { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}

/* Typographie ----------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.display {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.h-xl { font-size: clamp(48px, 9vw, 152px); }
.h-lg { font-size: clamp(40px, 6.4vw, 104px); }
.h-md { font-size: clamp(32px, 4.2vw, 64px); }

.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 300;
}

/* Logo ----------------------------------------------------------------- */
.logo { display: block; height: auto; }

/* Boutons --------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.6s var(--ease);
}

.btn:hover { color: var(--bg); border-color: var(--ink); }
.btn:hover::before { transform: translateY(0); }

.btn--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--solid::before { background: var(--sage); }
.btn--solid:hover { color: var(--bg); border-color: var(--sage); }

.btn .arrow { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-u {
  position: relative;
  display: inline-block;
}

.link-u::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}

.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* En-tête --------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), backdrop-filter 0.5s;
}

.header.is-scrolled {
  background: rgba(12, 13, 10, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header.is-hidden { transform: translateY(-100%); }

.menu-open .header {
  z-index: 60;
  transform: none;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.header .logo { width: 132px; }

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__list {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  font-size: 14px;
  font-weight: 450;
  color: var(--ink-2);
  transition: color 0.3s;
}

.nav__list a:hover,
.nav__list a[aria-current="page"] { color: var(--ink); }

.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav .btn { height: 44px; padding: 0 20px; font-size: 13px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 60;
}

.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}

.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }

.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
  visibility: hidden;
}

.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }

.mobile-menu ul { list-style: none; margin: 0; padding: 0; }

.mobile-menu li a {
  display: block;
  font-size: clamp(40px, 12vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mobile-menu li a em { font-family: var(--serif); font-weight: 400; color: var(--sage); }

.mobile-menu__foot { display: grid; gap: 6px; color: var(--muted); font-size: 15px; }

/* Héros ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: clamp(32px, 6vh, 64px);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 2.6s var(--ease) forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,13,10,.55) 0%, rgba(12,13,10,.1) 30%, rgba(12,13,10,.25) 60%, rgba(12,13,10,.95) 100%),
    radial-gradient(120% 80% at 20% 100%, rgba(44,51,36,.55), transparent 60%);
}

.hero__top {
  position: absolute;
  top: 120px;
  left: 0; right: 0;
}

.hero__top .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.hero__title {
  max-width: 13ch;
}

.hero__title .serif { color: var(--sage); }

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-top: clamp(32px, 5vh, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--ink-2);
}

.hero__services li { display: flex; align-items: center; gap: 10px; }
.hero__services li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* Bouton showreel circulaire */
.reel-btn {
  position: relative;
  width: 132px;
  height: 132px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.reel-btn svg.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.reel-btn svg.ring text {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  fill: var(--ink);
}

.reel-btn__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  transition: transform 0.6s var(--ease), background-color 0.4s;
}

.reel-btn:hover .reel-btn__play { transform: scale(1.12); background: var(--sage); }
.reel-btn__play svg { width: 18px; height: 18px; margin-left: 3px; }

@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: cue 2.2s var(--ease-in-out) infinite;
}

@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Bandeau défilant ------------------------------------------------------ */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.marquee__group .serif { color: var(--sage); }

.marquee__group .star {
  width: 20px;
  height: 20px;
  color: var(--olive);
  flex: none;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(96px, 14vw, 200px) 0; position: relative; }
.section--tight { padding: clamp(72px, 9vw, 128px) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  gap: 32px;
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-head__aside { padding-top: 14px; }

/* L'agence -------------------------------------------------------------- */
.manifesto {
  font-size: clamp(30px, 4.4vw, 68px);
  line-height: 1.08;
  font-weight: 450;
  letter-spacing: -0.03em;
  margin: 0;
}

.manifesto .w { opacity: 0.16; transition: opacity 0.4s linear; }
.manifesto .w.on { opacity: 1; }
.manifesto .serif { color: var(--sage); }

.agency-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1.5fr 1.5fr;
  gap: 32px;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.agency-grid p { margin: 0; color: var(--ink-2); font-weight: 300; font-size: 18px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 36px 32px 8px 0;
  border-right: 1px solid var(--line);
}

.pillar + .pillar { padding-left: 32px; }
.pillar:last-child { border-right: 0; }

.pillar__k {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(30px, 2.8vw, 44px);
  line-height: 1.05;
  color: var(--sage);
}

.pillar__t { margin: 18px 0 6px; font-weight: 500; font-size: 18px; }
.pillar__d { margin: 0; color: var(--muted); font-size: 15px; }

/* Services -------------------------------------------------------------- */
.services { background: var(--bg-2); }

.svc-list { border-top: 1px solid var(--line); }

.svc {
  border-bottom: 1px solid var(--line);
}

.svc__head {
  width: 100%;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 3.4vw, 48px) 0;
  text-align: left;
}

.svc__num {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.svc__title {
  font-size: clamp(40px, 7vw, 112px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  transition: transform 0.7s var(--ease), color 0.5s;
}

.svc__title .serif { color: var(--sage); }

.svc__head:hover .svc__title { transform: translateX(16px); }

.svc__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.6s var(--ease), background-color 0.4s, color 0.4s;
}

.svc__icon svg { width: 18px; height: 18px; }
.svc.is-open .svc__icon { transform: rotate(45deg); background: var(--ink); color: var(--bg); }

.svc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.8s var(--ease);
}

.svc.is-open .svc__body { grid-template-rows: 1fr; }

.svc__body > div { overflow: hidden; }

.svc__content {
  display: grid;
  grid-template-columns: 80px 1.1fr 1fr;
  gap: 24px 48px;
  padding-bottom: clamp(36px, 4vw, 56px);
}

.svc__media {
  grid-column: 2;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.svc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.9);
  transform: scale(1.08);
  transition: transform 1.4s var(--ease), filter 1s;
}

.svc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--olive);
  mix-blend-mode: multiply;
  opacity: 0.55;
  transition: opacity 0.8s;
}

.svc.is-open .svc__media img { transform: scale(1); }
.svc__media:hover::after { opacity: 0.25; }

.svc__text { grid-column: 3; display: flex; flex-direction: column; gap: 20px; }
.svc__text p { margin: 0; color: var(--ink-2); font-weight: 300; font-size: 17px; }

.svc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
}

.svc__text .btn { align-self: flex-start; margin-top: 12px; }

/* Projets --------------------------------------------------------------- */
.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 5vw, 80px) clamp(16px, 2vw, 32px);
}

.work-grid--featured .card:nth-child(6n + 1) { grid-column: 1 / span 7; }
.work-grid--featured .card:nth-child(6n + 2) { grid-column: 9 / span 4; margin-top: 18vw; }
.work-grid--featured .card:nth-child(6n + 3) { grid-column: 2 / span 5; }
.work-grid--featured .card:nth-child(6n + 4) { grid-column: 7 / span 6; margin-top: 8vw; }
.work-grid--featured .card:nth-child(6n + 5) { grid-column: 1 / span 6; }
.work-grid--featured .card:nth-child(6n + 6) { grid-column: 8 / span 5; margin-top: 12vw; }

.work-grid--all .card { grid-column: span 6; }

.card {
  display: block;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.card[hidden] { display: none; }

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--bg-3);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease), filter 0.8s;
  filter: saturate(0.85);
}

.card__media--logo { background: var(--bone); }
.card__media--logo img { object-fit: contain; padding: 14%; filter: none; }

.card:hover .card__media img { transform: scale(1.0); filter: saturate(1); }
.card:hover .card__media--logo img { transform: scale(0.96); }

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,13,10,.55));
  opacity: 0;
  transition: opacity 0.6s;
}

.card:hover .card__media::after { opacity: 1; }

.card__play {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: rgba(237, 235, 227, 0.92);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.card__play svg { width: 14px; height: 14px; }
.card:hover .card__play,
.card:focus-visible .card__play { opacity: 1; transform: none; }

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 18px;
}

.card__title {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card__client {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.card__tags {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* Filtres */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.filter sup { font-size: 11px; color: var(--muted); transition: color 0.4s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter[aria-pressed="true"] sup { color: var(--olive); }

/* Méthode (section claire) --------------------------------------------- */
.light {
  background: var(--bone);
  color: #171a12;
}

.light .eyebrow { color: #5c6150; }
.light .lead { color: #3b3f33; }
.light .serif { color: var(--olive); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23, 26, 18, 0.16);
}

.step {
  padding: 32px 28px 0 0;
  position: relative;
}

.step + .step { padding-left: 28px; border-left: 1px solid rgba(23, 26, 18, 0.16); }

.step__n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--olive);
}

.step__t {
  margin: 28px 0 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.step__d { margin: 0; color: #4b5042; font-size: 16px; }

/* Clients */
.clients {
  margin-top: clamp(96px, 12vw, 176px);
}

.clients__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid rgba(23, 26, 18, 0.16);
  border-left: 1px solid rgba(23, 26, 18, 0.16);
}

.logos li {
  list-style: none;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 18% 16%;
  border-right: 1px solid rgba(23, 26, 18, 0.16);
  border-bottom: 1px solid rgba(23, 26, 18, 0.16);
  transition: background-color 0.5s;
}

.logos img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0.25);
  opacity: 0.7;
  transition: filter 0.5s, opacity 0.5s;
}

.logos li:hover { background: var(--bone-2); }
.logos li:hover img { filter: none; opacity: 1; }

.logos { margin: 0; padding: 0; }

/* Appel à l'action ------------------------------------------------------ */
.cta {
  background: var(--olive);
  color: var(--bone);
  overflow: hidden;
  position: relative;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}

.cta h2 .serif { color: var(--sage); }

.cta__side { display: grid; gap: 28px; }

.cta__links { display: grid; gap: 8px; font-size: clamp(18px, 1.6vw, 24px); }

.cta .btn { border-color: rgba(236,235,228,.4); }
.cta .btn--solid { background: var(--bone); color: var(--olive-deep); border-color: var(--bone); }
.cta .btn--solid::before { background: var(--bg); }
.cta .btn--solid:hover { color: var(--bone); border-color: var(--bg); }

.cta__deco {
  position: absolute;
  right: -4vw;
  top: -6vw;
  width: 40vw;
  max-width: 560px;
  opacity: 0.07;
  pointer-events: none;
  transform: rotate(-8deg);
}

/* Pied de page ---------------------------------------------------------- */
.footer {
  padding: clamp(72px, 8vw, 112px) 0 32px;
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.footer h3 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer address,
.footer ul { font-style: normal; color: var(--ink-2); font-size: 15px; line-height: 1.8; }

.footer ul { list-style: none; margin: 0; padding: 0; }

.footer__tag { margin: 24px 0 0; max-width: 32ch; color: var(--muted); font-size: 15px; }

.footer .logo { width: 170px; }

.footer .footer__mark {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.94;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* En-tête de page ------------------------------------------------------- */
.page-hero {
  padding: clamp(160px, 22vh, 240px) 0 clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.page-hero .h-xl .serif { color: var(--sage); }

.page-hero__intro { max-width: 46ch; margin: 0; }

/* Contact --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(48px, 7vw, 120px);
}

.contact-info { display: grid; gap: 40px; align-content: start; }
.contact-info h3 { margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-info p, .contact-info address { margin: 0; font-style: normal; color: var(--ink-2); font-size: 17px; }
.contact-info .big { font-size: clamp(22px, 2vw, 30px); color: var(--ink); letter-spacing: -0.02em; }

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 24px;
  margin-bottom: 48px;
  border: 1px solid rgba(180, 189, 150, 0.35);
  background: linear-gradient(135deg, rgba(65, 74, 55, 0.45), rgba(65, 74, 55, 0.15));
  border-radius: 6px;
}

.notice__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--bg);
  display: grid;
  place-items: center;
}

.notice__icon svg { width: 18px; height: 18px; }
.notice strong { display: block; font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.form .full { grid-column: 1 / -1; }

.field { position: relative; padding-top: 22px; }

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  padding: 12px 0 14px;
  outline: none;
  transition: border-color 0.4s;
  -webkit-appearance: none;
          appearance: none;
}

.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23edebe3' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.field select option { background: var(--bg-2); color: var(--ink); }

.field label {
  position: absolute;
  left: 0;
  top: 36px;
  color: var(--muted);
  font-size: 18px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.45s var(--ease), color 0.4s;
}

.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--sage); }

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--static label {
  transform: translateY(-30px) scale(0.72);
  color: var(--ink-2);
}

.field .bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.field :focus ~ .bar { transform: scaleX(1); }

.field.is-invalid input,
.field.is-invalid textarea { border-color: #d98b74; }

.form__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.form__legal { margin: 0; color: var(--muted); font-size: 13px; max-width: 44ch; }

.form__status {
  grid-column: 1 / -1;
  margin-top: 16px;
  font-size: 15px;
  min-height: 1.5em;
}

.form__status.ok { color: var(--sage); }
.form__status.err { color: #e3a28e; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Mentions légales ----------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { margin: 56px 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.legal p { color: var(--ink-2); font-size: 17px; margin: 0 0 10px; }

/* Modale vidéo ---------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(8, 9, 7, 0.94);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__dialog {
  width: min(1280px, 100%, calc((100vh - 340px) * 16 / 9));
  min-width: min(100%, 560px);
  max-height: 100%;
  overflow: auto;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.7s var(--ease);
}

.modal.is-open .modal__dialog { transform: none; }

.modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.modal__frame iframe,
.modal__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal__info {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 28px 0 8px;
}

.modal__info h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.modal__info .card__client { margin-top: 8px; }
.modal__info p { margin: 0; color: var(--ink-2); font-weight: 300; font-size: 16px; }
.modal__info .svc__chips { margin-top: 16px; }

.modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s;
}

.modal__close:hover { transform: rotate(90deg); background: var(--ink); color: var(--bg); }
.modal__close svg { width: 18px; height: 18px; }

/* Curseur personnalisé -------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  pointer-events: none;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transform: translate3d(-200px, -200px, 0);
  transition: scale 0.45s var(--ease), opacity 0.3s;
  scale: 0;
}

.cursor.is-active { scale: 1; }

/* Consentement cookies -------------------------------------------------- */
.consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 110;
  width: min(420px, calc(100% - 32px));
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s var(--ease), opacity 0.6s, visibility 0.6s;
}

.consent.is-visible { transform: none; opacity: 1; visibility: visible; }
.consent strong { display: block; font-weight: 500; margin-bottom: 6px; }
.consent p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { height: 44px; padding: 0 20px; font-size: 13px; }

/* Animations d'apparition ---------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in { opacity: 1; transform: none; }

.lines .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lines .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s + var(--d, 0s));
}
.lines.is-in .line > span { transform: none; }

.img-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.img-reveal.is-in { clip-path: inset(0 0 0 0); }

/* Intro ----------------------------------------------------------------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: clip-path 1.1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}

.intro .logo {
  width: min(300px, 60vw);
  animation: introLogo 1s var(--ease) both;
}

.intro.is-done { clip-path: inset(0 0 100% 0); }

@keyframes introLogo {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}


/* ==========================================================================
   Sections ajoutées : héros, agence, besoins, bandeau, FAQ, études de cas
   ========================================================================== */

.hero__lead {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink-2);
}

.section--flush-top { padding-top: 0; }

/* Agence : image + texte */
.agency-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(64px, 8vw, 120px);
}

.agency-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.agency-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.agency-text { display: grid; gap: 24px; align-content: center; }
.agency-text p { margin: 0; color: var(--ink-2); font-weight: 300; font-size: 17px; }
.agency-text .lead { color: var(--ink); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; }
.agency-text .btn { justify-self: start; margin-top: 8px; }

/* Besoins */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.usecase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease);
}

.usecase:hover { background: var(--bg-2); }

.usecase__n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  color: var(--sage);
}

.usecase h3 {
  margin: 12px 0 0;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.usecase p { margin: 0; color: var(--ink-2); font-weight: 300; font-size: 16px; flex: 1; }

.usecase__link {
  align-self: flex-start;
  margin-top: 10px;
  font-size: 14px;
  color: var(--sage);
  text-align: left;
  border-bottom: 1px solid rgba(180, 189, 150, 0.35);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}

.usecase__link span { display: inline-block; transition: transform 0.5s var(--ease); }
.usecase__link:hover { color: var(--ink); border-color: var(--ink); }
.usecase__link:hover span { transform: translateX(4px); }

/* Expertises : accroche */
.svc__pitch {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2.4vw, 36px) !important;
  line-height: 1.15;
  color: var(--ink) !important;
  font-weight: 400 !important;
}

.svc__media img { filter: grayscale(0.35) contrast(1.05) brightness(0.92); }
.svc__media::after { opacity: 0.35; }

/* Bandeau territoire */
.band {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 80vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(64px, 8vw, 120px) 0;
}

.band__img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,13,10,.85) 0%, rgba(12,13,10,.15) 35%, rgba(12,13,10,.35) 60%, rgba(12,13,10,.92) 100%),
    linear-gradient(90deg, rgba(12,13,10,.78) 0%, rgba(44,51,36,.35) 45%, transparent 75%);
}

.band__inner { display: grid; gap: 24px; }
.band__inner .serif { color: var(--sage); }
.band__inner .lead { max-width: 52ch; margin: 0; color: var(--ink); }
.band .eyebrow { color: var(--ink-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 450;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.4px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.4px 14px no-repeat;
  transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s;
}

.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--ink); color: var(--bg); }
.faq summary:hover { color: var(--sage); }

.faq details p {
  margin: 0;
  padding: 0 0 32px;
  max-width: 72ch;
  color: var(--ink-2);
  font-weight: 300;
  font-size: 17px;
}

/* Appel à l'action */
.cta__text { margin: 0; max-width: 40ch; font-size: 18px; line-height: 1.55; color: rgba(236, 235, 228, 0.82); }

/* Étude de cas (modale) */
.modal__info--case { grid-template-columns: 1fr 1.6fr; align-items: start; }
.modal__info--case h2 { margin-top: 6px; }

.case { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.case h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}
.case p { margin: 0; color: var(--ink-2); font-weight: 300; font-size: 15px; line-height: 1.6; }
.case__deliv { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }
.case__deliv p { color: var(--ink); }

/* Contact : aide à la rédaction */
.brief {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  font-size: 15px;
  color: var(--ink-2);
}

.brief li { display: flex; gap: 10px; align-items: baseline; }
.brief li::before { content: "→"; color: var(--sage); }

.contact-photo {
  margin: 8px 0 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}

.contact-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); }

.credits { font-size: 15px; color: var(--muted); }

@media (max-width: 1080px) {
  .usecases { grid-template-columns: 1fr 1fr; }
  .agency-split { grid-template-columns: 1fr; }
  .modal__info--case { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .usecases { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .brief { grid-template-columns: 1fr; }
  .band { min-height: 560px; }
  .contact-photo { display: none; }
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav__list, .nav .btn { display: none; }
  .burger { display: block; }
  .agency-grid { grid-template-columns: 1fr 1fr; }
  .agency-grid > :first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid rgba(23, 26, 18, 0.16); margin-top: 40px; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .header__inner { height: 68px; }
  .header .logo { width: 112px; }
  .hero__top { top: 92px; }
  .hero__top .container { flex-direction: column; gap: 2px; }
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .reel-btn { width: 112px; height: 112px; }
  .scroll-cue { display: none; }
  .reel-btn__play { width: 54px; height: 54px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head__aside { padding-top: 0; }
  .agency-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .svc__head { grid-template-columns: 1fr auto; }
  .svc__num { display: none; }
  .svc__icon { width: 44px; height: 44px; }
  .svc__content { grid-template-columns: 1fr; }
  .svc__media, .svc__text { grid-column: 1; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid--featured .card:nth-child(n),
  .work-grid--all .card:nth-child(n) { grid-column: 1; margin-top: 0; }
  .card__play { opacity: 1; transform: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; margin-top: 0; }
  .step + .step { border-top: 1px solid rgba(23, 26, 18, 0.16); }
  .step__n { font-size: 48px; }
  .step__t { margin-top: 16px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .clients__head { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .modal__info { grid-template-columns: 1fr; gap: 16px; }
  .modal__close { top: 12px; right: 12px; width: 44px; height: 44px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .lines .line > span { opacity: 1; transform: none; }
  .img-reveal { clip-path: none; }
  .manifesto .w { opacity: 1; }
  .grain { display: none; }
}
