:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --fg: #f2efe9;
  --muted: #8d8a85;
  --line: rgba(242, 239, 233, .14);
  --accent: #2f6bff;          /* bleu électrique : accents, éléments actifs */
  --accent-hi: #7aa2ff;       /* bleu clair : petits textes sur fond noir (contraste) */
  --accent-soft: rgba(47, 107, 255, .16);
  --display: "Anton", Impact, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 128px);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.section-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--fg); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: transform .4s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--fg); color: var(--bg); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--ghost { border: 1px solid rgba(242, 239, 233, .4); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn__play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Grain */
.grain {
  position: absolute; inset: -50%;
  pointer-events: none; z-index: 3; opacity: .09;
  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 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--pad);
}
.loader__count { font-family: var(--display); font-size: clamp(64px, 12vw, 160px); line-height: 1; align-self: flex-end; }
.loader__label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.loader__brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3vh, 28px); }
.loader__mono { width: clamp(90px, 12vw, 150px); height: auto; }
.loader__word { width: clamp(150px, 18vw, 230px); height: auto; }

/* NAVBAR — fond transparent, lisible sur n'importe quelle image grâce au blend */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  background: transparent;
  mix-blend-mode: difference;
  color: #fff;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 14px; }
.nav__mono { height: 34px; width: auto; transition: transform .6s var(--ease); }
.nav__word { height: 22px; width: auto; }
.nav__logo:hover .nav__mono { transform: rotate(-8deg) scale(1.08); }
.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__links a, .nav__cta {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.nav__links a::after, .nav__cta::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 34px; height: 22px; position: relative; }
.nav__burger span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 5px; }
.nav__burger span:last-child { top: 15px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 10px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 10px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu a { font-family: var(--display); font-size: clamp(48px, 13vw, 96px); line-height: 1.05; text-transform: uppercase; }
.menu .menu__ig { font-family: var(--mono); font-size: 14px; color: var(--muted); margin-top: 24px; }

/* HERO */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: 0; background: #000; }
.hero__media .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__media .slide.is-active { opacity: 1; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media .slide img { transform: scale(1.18); }
.hero__media .slide.is-active img { animation: kenburns 6.5s linear forwards; }
.hero__media .slide:nth-child(even).is-active img { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.18) translate(1.5%, 1%); } to { transform: scale(1.04) translate(-1%, -1%); } }
@keyframes kenburns-alt { from { transform: scale(1.04) translate(-1.5%, 0); } to { transform: scale(1.16) translate(1.5%, -1.5%); } }
.hero__media.is-flash::after { content: ""; position: absolute; inset: 0; background: #fff; animation: flash .35s ease-out forwards; z-index: 2; }
@keyframes flash { from { opacity: .35; } to { opacity: 0; } }

.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,.45) 100%);
}

.viewfinder { position: absolute; inset: clamp(76px, 10vh, 100px) var(--pad) clamp(20px, 4vh, 40px); z-index: 4; pointer-events: none; }
.vf { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255,255,255,.7); }
.vf--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.vf--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.vf--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.vf--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.vf__rec, .vf__meta { position: absolute; top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.85); }
.vf__rec { left: 34px; display: flex; align-items: center; gap: 8px; }
.vf__meta { right: 34px; }
.vf__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__content {
  position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: clamp(56px, 10vh, 96px);
}
.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(76px, 17vw, 270px);
  line-height: .84; letter-spacing: -.01em;
  text-transform: uppercase;
}
.reveal { display: block; overflow: hidden; }
.reveal > span { display: inline-block; }
.hero__title .reveal:nth-child(2) { padding-left: clamp(0px, 8vw, 160px); }
.hero__bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: clamp(16px, 3vh, 32px); }
.hero__desc { max-width: 340px; font-size: clamp(15px, 1.3vw, 18px); color: rgba(242,239,233,.85); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__now {
  position: absolute; z-index: 5; right: var(--pad); top: clamp(130px, 18vh, 170px);
  display: grid; gap: 6px; width: 200px; text-align: right;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.hero__name { font-size: 13px; color: #fff; }
.hero__index { color: rgba(255,255,255,.6); }
.hero__progress { height: 1px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }



/* INTRO / MANIFESTE */
.intro { padding: clamp(96px, 14vw, 180px) var(--pad); display: grid; gap: clamp(28px, 4vw, 48px); }
.intro__text {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(38px, 6.4vw, 108px); line-height: 1.02; letter-spacing: -.005em; max-width: 1500px;
}
.intro__text em { display: block; margin-top: .25em; font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.intro__text .w { opacity: .15; }
.intro__text .nb { white-space: nowrap; } /* garde chaque vignette collée à son mot */
/* Vignettes vidéo / photo glissées entre les mots */
.pill {
  display: inline-block; position: relative; overflow: hidden;
  width: 1.9em; height: .8em; margin: 0 .06em; border-radius: 999px;
  vertical-align: -0.04em; background: var(--bg-2);
}
.pill img, .pill video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__foot {
  display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 24px; align-items: baseline;
  padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line);
}
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: clamp(15px, 1.3vw, 19px); font-weight: 500; }
.trust li { color: rgba(242,239,233,.82); transition: color .3s; }
.trust li:not(:last-child)::after { content: "/"; margin: 0 .7em; color: var(--muted); opacity: .6; }
.trust li:hover { color: var(--accent); }

/* PROJETS */
.work { padding: 0 var(--pad) clamp(96px, 12vw, 160px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; letter-spacing: .04em; color: var(--muted);
  transition: color .3s, border-color .3s, background .3s;
}
.filter sup { font-family: var(--mono); font-size: 10px; margin-left: 4px; }
.filter:hover { color: var(--fg); border-color: var(--accent); }
.filter.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); grid-auto-flow: dense; }
/* Proportions calculées pour que toutes les cartes d'une rangée aient la même hauteur
   (4 col en 4:5 = 8 col en 8:5 = 6 col en 6:5), plafonnée pour tenir dans l'écran */
.card { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-2); cursor: pointer; grid-column: span 4; aspect-ratio: 4 / 5; max-height: 78vh; }
.card--wide { grid-column: span 8; aspect-ratio: 8 / 5; }
.card--half { grid-column: span 6; aspect-ratio: 6 / 5; }
.card > img, .card > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.card:hover > img, .card:hover > video { transform: scale(1.06); }

/* Aperçu au survol : extrait vidéo ou défilement des photos du projet */
.card__preview { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.card__preview.is-on { opacity: 1; }
.card__preview img, .card__preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.card__preview .is-shown { opacity: 1; }
.card__progress { position: absolute; z-index: 3; left: 0; right: 0; top: 0; display: flex; gap: 4px; padding: 10px 14px 0; opacity: 0; transition: opacity .3s; }
.card:hover .card__progress { opacity: 1; }
.card__progress i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); }
.card__progress i.is-on { background: #fff; }
.card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7)); opacity: .8; transition: opacity .5s; }
.card__info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.card__title { font-family: var(--display); font-size: clamp(22px, 2.2vw, 34px); line-height: 1; text-transform: uppercase; }
.card__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); text-align: right; }
.card__badge {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
  transition: opacity .3s;
}
.card:hover .card__badge { opacity: 0; }
.card__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.card.is-hidden { display: none; }
/* Ordinateur : hauteur de rangée fixe, toutes les cartes d'une rangée s'alignent et tiennent dans l'écran */
@media (min-width: 961px) {
  .grid { grid-auto-rows: clamp(320px, 36vw, 72vh); }
  .card, .card--wide, .card--half { aspect-ratio: auto; max-height: none; }
}


/* ABOUT */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); padding: clamp(96px, 12vw, 180px) var(--pad); align-items: center; }
.about__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__body { display: grid; gap: 22px; }
.about__body p:not(.label) { color: rgba(242,239,233,.78); max-width: 560px; font-size: clamp(15px, 1.2vw, 18px); }
.about__text { display: grid; gap: 18px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 76px); line-height: 1; }
.stats strong::after { content: "+"; color: var(--accent); }
.stats span { font-size: 13px; color: var(--muted); }

/* SERVICES */
.services { position: relative; padding: 0 var(--pad) clamp(96px, 12vw, 180px); }
.svc { list-style: none; border-top: 1px solid var(--line); }
.svc li {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), color .3s;
  position: relative; z-index: 2;
}
.svc__n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.svc__t { font-family: var(--display); font-size: clamp(32px, 5.5vw, 84px); line-height: 1; text-transform: uppercase; }
.svc__d { font-size: 14px; color: var(--muted); text-align: right; }
.svc li:hover { padding-left: 24px; }
.svc li:hover .svc__t { color: var(--accent); }
.svc__preview {
  position: fixed; top: 0; left: 0; z-index: 3; width: 300px; aspect-ratio: 4 / 5;
  pointer-events: none; overflow: hidden; border-radius: 4px; opacity: 0; transform: scale(.8);
  transition: opacity .3s, transform .4s var(--ease);
}
.svc__preview.is-on { opacity: 1; transform: scale(1); }
.svc__preview img { width: 100%; height: 100%; object-fit: cover; }

/* CONTACT */
.contact { padding: clamp(96px, 14vw, 200px) var(--pad); border-top: 1px solid var(--line); display: grid; gap: 40px; }
.contact__title { font-family: var(--display); font-weight: 400; font-size: clamp(60px, 13vw, 210px); line-height: .9; text-transform: uppercase; }
.contact__title a { color: transparent; -webkit-text-stroke: 1.5px var(--fg); transition: color .4s; display: inline-flex; gap: .1em; }
.contact__title a:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.contact__title a span { font-family: var(--body); font-weight: 300; font-size: .5em; -webkit-text-stroke: 0; color: var(--accent); }
.contact__row { display: flex; gap: 12px; flex-wrap: wrap; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); background: #070707; }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  padding: clamp(56px, 8vw, 104px) var(--pad) clamp(40px, 5vw, 64px);
}
.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer__mono { width: clamp(64px, 6vw, 88px); height: auto; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col .label { margin-bottom: 8px; }
.footer__col a { font-size: 15px; color: rgba(242,239,233,.82); position: relative; transition: color .3s; }
.footer__col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.footer__col a:hover { color: var(--fg); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer__sign {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad) clamp(32px, 4vw, 56px);
}
.footer__word { width: clamp(200px, 42vw, 640px); height: auto; }
.footer__up {
  flex: none; display: grid; place-items: center;
  width: clamp(52px, 5vw, 72px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line); font-size: 22px;
  transition: background .3s, color .3s, transform .5s var(--ease);
}
.footer__up:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-4px); }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px var(--pad); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.footer__bottom a:hover { color: var(--fg); }

/* LIGHTBOX */
.lightbox, .player {
  position: fixed; inset: 0; z-index: 80; background: rgba(5,5,5,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lightbox.is-open, .player.is-open { opacity: 1; visibility: visible; }
.lb__stage { width: min(92vw, 1500px); height: 74vh; margin-top: -4vh; display: flex; align-items: center; justify-content: center; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.lb__close { position: absolute; top: 22px; right: var(--pad); z-index: 5; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 28px; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, color .3s; }
.lb__nav:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.lb__prev { left: var(--pad); }
.lb__next { right: var(--pad); }
.lb__caption { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lb__caption strong { color: var(--fg); font-weight: 500; }

/* PLAYER (montage) */
.player { background: #000; overflow: hidden; }
.player__stage { position: absolute; inset: 0; }
.player__stage > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__bars::before, .player__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 9vh; background: #000; z-index: 4; }
.player__bars::before { top: 0; }
.player__bars::after { bottom: 0; }
.player__hud {
  position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: calc(9vh + 18px);
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
#playerTitle { font-family: var(--display); font-size: clamp(32px, 6vw, 96px); letter-spacing: 0; line-height: 1; }
.player__progress { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.player__progress i { display: block; height: 100%; background: var(--accent); width: 0; }

/* Responsive */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .card, .card--half { grid-column: span 6; aspect-ratio: 4 / 5; }
  .card--wide { grid-column: span 12; aspect-ratio: 16 / 10; }
  .about { grid-template-columns: 1fr; }
  .about__img { max-width: 520px; }
  .svc li { grid-template-columns: 40px 1fr; }
  .svc__d { grid-column: 2; text-align: left; }
  .svc__preview { display: none; }
  .intro__foot { grid-template-columns: 1fr; gap: 12px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__now { display: none; }
}
@media (max-width: 560px) {
  .card, .card--half, .card--wide { grid-column: span 12; aspect-ratio: 4 / 5; }
  .card--wide { aspect-ratio: 4 / 3; }
  .vf__meta { display: none; }
  .nav__word { display: none; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding: 14px 12px; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .lb__nav { top: auto; bottom: 64px; transform: none; width: 48px; height: 48px; }
  .lb__stage { height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Refonte : identité noir / blanc / bleu
   ========================================================= */
.section-head .label::before, .contact > .label::before, .about__body > .label::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px;
  border-radius: 50%; background: var(--accent); vertical-align: middle; transform: translateY(-1px);
}

/* PROJETS : onglets Vidéos / Photos + filtres par thème */
.work__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 18px; }
.switch {
  position: relative; display: inline-flex; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02);
}
.switch__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: flex-start; gap: 6px;
  padding: 10px clamp(20px, 2.4vw, 34px);
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); line-height: 1; letter-spacing: .02em; text-transform: uppercase;
  color: var(--muted); transition: color .4s var(--ease);
}
.switch__btn:hover { color: var(--fg); }
.switch__btn.is-active { color: #fff; }
.switch__btn sup { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; opacity: .8; }
.switch__ind {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--w, 0);
  transform: translateX(var(--x, 0)); border-radius: 999px; background: var(--accent);
  box-shadow: 0 8px 30px rgba(47, 107, 255, .35);
  transition: transform .6s var(--ease), width .6s var(--ease);
}
.filters { margin-bottom: 0; }
.filter.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.filter.is-active sup { color: var(--accent); }

.work__status {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 0; margin-bottom: 22px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.work__reset { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); transition: color .3s; }
.work__reset:hover { color: var(--fg); }

/* Cartes : infos communes */
.card__info > div { display: grid; gap: 6px; min-width: 0; }
.card__theme { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.card__title { overflow-wrap: anywhere; }

/* Cartes vidéo : bouton lecture + bandes cinéma au survol */
.card__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(54px, 5vw, 72px); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.25); backdrop-filter: blur(6px);
  transition: background .4s, border-color .4s, scale .5s var(--ease), opacity .4s;
}
.card__play::before {
  content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%;
  border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.card--video:hover .card__play, .yt__card:hover .card__play { background: var(--accent); border-color: var(--accent); scale: 1.08; }
.card--video::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-top: 0 solid #000; border-bottom: 0 solid #000; transition: border-width .6s var(--ease);
}
.card--video:hover::before { border-top-width: 28px; border-bottom-width: 28px; }

/* Galerie photo : grille régulière */
.grid[data-kind="photo"] .card { grid-column: span 4; aspect-ratio: 4 / 5; max-height: none; }
.card--photo .card__badge { background: rgba(0,0,0,.5); }
.card--photo::after { background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.75)); }
@media (min-width: 961px) {
  .grid[data-kind="photo"] { grid-auto-rows: auto; }
}
@media (min-width: 1280px) {
  .grid[data-kind="photo"] .card { grid-column: span 3; }
}

/* ABOUT */
.about__img { position: relative; margin: 0; }
.about__img .vf { z-index: 2; margin: 14px; border-color: rgba(255,255,255,.75); }
.about__img figcaption {
  position: absolute; z-index: 2; left: 22px; bottom: 20px; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9);
}
.about__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,.6)); pointer-events: none; }
.about__body p.about__lead {
  font-family: var(--display); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.05; text-transform: uppercase;
  color: var(--fg); max-width: 640px;
}
.crafts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crafts li {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,239,233,.85);
  transition: border-color .3s, color .3s, background .3s;
}
.crafts li:hover { border-color: var(--accent); background: var(--accent-soft); color: #fff; }

/* YOUTUBE */
.yt { padding: 0 var(--pad) clamp(96px, 12vw, 180px); }
.yt__logo { position: relative; width: 22px; height: 16px; border-radius: 4px; background: var(--accent); }
.yt__logo::before {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -40% -50%;
  border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.yt__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.yt__card { grid-column: span 5; display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.yt__card--main { grid-column: span 7; grid-row: span 2; }
.yt__card:nth-child(n + 4) { grid-column: span 4; }
.yt__thumb { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-2); aspect-ratio: 16 / 9; }
.yt__card--main .yt__thumb { flex: 1; min-height: 0; }
.yt__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.yt__card:hover .yt__thumb img { transform: scale(1.05); filter: saturate(1.1); }
.yt__thumb img.is-hq { transform: scale(1.34); }
.yt__card:hover .yt__thumb img.is-hq { transform: scale(1.4); }
.yt__info { display: grid; gap: 6px; }
.yt__info h3 { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.05; text-transform: uppercase; }
.yt__card--main .yt__info h3 { font-size: clamp(26px, 2.8vw, 44px); }

/* VISIONNEUSE : légende + miniatures + YouTube */
.lb__foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 18px; display: grid; gap: 12px; }
.lb__caption strong { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: .02em; line-height: 1; }
.lb__caption span { color: var(--accent-hi); align-self: end; }
.lb__thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.lb__thumbs:empty { display: none; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumb { position: relative; flex: none; width: 52px; height: 52px; border-radius: 3px; overflow: hidden; opacity: .45; transition: opacity .3s, box-shadow .3s; }
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumb:hover { opacity: .85; }
.lb__thumb.is-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--accent); }
.lb__thumb.is-video::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -40% -50%;
  border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.lb__yt { width: min(100%, calc(74vh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lb__yt iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Responsive des nouveaux blocs */
@media (max-width: 960px) {
  .grid[data-kind="photo"] .card { grid-column: span 6; }
  .yt__card, .yt__card:nth-child(n + 4) { grid-column: span 6; grid-row: auto; }
  .yt__card--main { grid-column: span 12; grid-row: auto; }
}
@media (max-width: 560px) {
  .work__bar { gap: 14px; }
  .switch { display: flex; width: 100%; }
  .switch__btn { flex: 1; justify-content: center; }
  /* Filtres : une seule ligne qui défile au doigt */
  .filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + 2 * var(--pad));
    margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad);
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 10px 16px; }
  /* Galerie photo en 2 colonnes, titres plus petits */
  .grid[data-kind="photo"] .card { grid-column: span 6; }
  .grid[data-kind="photo"] .card__title { font-size: 18px; }
  .grid[data-kind="photo"] .card__info { left: 10px; right: 10px; bottom: 10px; }
  .grid[data-kind="photo"] .card__meta { display: none; }
  .grid[data-kind="photo"] .card__badge { top: 8px; left: 8px; padding: 4px 8px; font-size: 9px; }
  .yt__card, .yt__card--main, .yt__card:nth-child(n + 4) { grid-column: span 12; }
  .lb__stage { height: 62vh; margin-top: -6vh; }
  .lb__caption { flex-direction: column; gap: 4px; }
  .lb__nav { bottom: auto; top: 14px; width: 44px; height: 44px; font-size: 20px; }
  .lb__prev { left: var(--pad); }
  .lb__next { left: calc(var(--pad) + 52px); right: auto; }
  .lb__thumb { width: 44px; height: 44px; }
  .contact__row .btn { flex: 1 1 100%; justify-content: center; }
}
