/* =========================================================
   pan25 — feuille de style
   Maquette de référence : Figma « Site Internet », écrans 1920 × 1080.
   Les valeurs en clamp() valent la maquette à 1920 px
   et se réduisent proportionnellement en dessous.
   ========================================================= */

/* --- Typographie -------------------------------------------------------
   La maquette utilise PP Neue Montreal (Pangram Pangram, licence payante).
   Pour l'activer : déposer les fichiers .woff2 de la licence dans /fonts
   puis décommenter les deux blocs @font-face ci-dessous. */
/*
@font-face { font-family: "PP Neue Montreal"; src: url("../fonts/PPNeueMontreal-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PP Neue Montreal"; src: url("../fonts/PPNeueMontreal-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
*/

:root {
  color-scheme: dark;
  --font: "PP Neue Montreal", "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --white: #fff;
  --white-80: rgba(255, 255, 255, .8);
  --white-50: rgba(255, 255, 255, .5);
  --white-30: rgba(255, 255, 255, .3);
  --white-10: rgba(255, 255, 255, .1);

  /* Grille : marges 40 px, barre du haut 80 px (à 1920 px) */
  --pad: clamp(20px, 2.083vw, 40px);
  --header: clamp(64px, 4.167vw, 80px);
  --menu-w: clamp(360px, 46vw, 900px);

  /* Tailles de texte de la maquette */
  --fs-64: clamp(34px, 3.333vw, 64px);
  --fs-24: clamp(17px, 1.25vw, 24px);
  --fs-20: clamp(16px, 1.042vw, 20px);   /* ≥ 16 px : pas de zoom auto sur iPhone */
  --fs-16: clamp(14px, .833vw, 16px);

  /* Espace de sécurité entre la barre du haut et le contenu */
  --safe: clamp(32px, 3.4vw, 64px);
  --bottom: calc(var(--pad) + env(safe-area-inset-bottom, 0px));

  /* Courbes d'animation */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow: hidden;              /* seul le contenu défile, sous la barre */
  background: #000;
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-16);
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.display {
  font-size: var(--fs-64);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Texte qui monte depuis un masque */
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: block; }

/* =========================================================
   FONDS INTERACTIFS
   ========================================================= */
.backdrops { position: fixed; inset: 0; z-index: 0; background: #050505; overflow: hidden; }
.bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bg-specks,
.bg-grain { position: absolute; inset: -60px; pointer-events: none; }
.bg-specks { opacity: .55; will-change: transform; }
.bg-grain { background-image: var(--grain); mix-blend-mode: overlay; opacity: .6; }

/* =========================================================
   BARRE DU HAUT — fixe, rien ne passe dessous
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  background: #222222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
}

.logo {
  display: block;
  box-sizing: content-box;
  width: 68px;
  height: 24px;
  padding: 12px;            /* zone de clic 92 × 48 */
  margin: -12px;
  transition: opacity .3s;
}
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo:hover { opacity: .7; }

.burger {
  position: relative;
  box-sizing: content-box;
  width: 58px;
  height: 48px;              /* zone de clic 74 × 48 */
  padding: 0 8px;
  margin-right: -8px;
}
.burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: var(--white-80);
  transition: transform .7s var(--ease-io), background .3s, top .4s var(--ease-out);
}
.burger span:first-child { top: 21px; }
.burger span:last-child  { top: 26px; }
.burger:hover span { background: var(--white); }
.burger:hover span:first-child { top: 19px; }
.burger:hover span:last-child  { top: 28px; }
.burger[aria-expanded="true"] span { background: var(--white); }
.burger[aria-expanded="true"] span:first-child { top: 23.5px; transform: rotate(45deg) scaleX(.62); }
.burger[aria-expanded="true"] span:last-child  { top: 23.5px; transform: rotate(-45deg) scaleX(.62); }
.burger[aria-expanded="true"]:hover span:first-child { transform: rotate(135deg) scaleX(.62); }
.burger[aria-expanded="true"]:hover span:last-child  { transform: rotate(45deg) scaleX(.62); }

/* =========================================================
   ZONE DE CONTENU — commence sous la barre
   ========================================================= */
.scroller {
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .25) transparent;
  transition: transform 1s var(--ease-io), opacity 1s var(--ease-io), filter 1s var(--ease-io);
}
.scroller::-webkit-scrollbar { width: 6px; }
.scroller::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 3px; }

body.menu-open .scroller { transform: translateX(-6vw); opacity: .55; filter: blur(2px); }

.view { position: relative; min-height: 100%; }

/* =========================================================
   MENU — panneau qui arrive par la droite
   ========================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s var(--ease-io);
}
body.menu-open .menu-overlay { opacity: 1; pointer-events: auto; cursor: pointer; }

.menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: var(--menu-w);
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 1.1s;
}
.menu.is-open { visibility: visible; pointer-events: auto; transition: none; }

/* Le panneau se dévoile par la droite avec un bord en fondu :
   pas de calque opaque ni de trait, les lumières se fondent l'une dans l'autre. */
.menu__panel {
  position: absolute;
  inset: 0;
  overflow: hidden auto;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  container-type: inline-size;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 33.3%, #000 55%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 33.3%, #000 55%, #000 100%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 0% 0;
  mask-position: 0% 0;
  transition: -webkit-mask-position 1.2s var(--ease-io), mask-position 1.2s var(--ease-io);
}
.menu.is-open .menu__panel { -webkit-mask-position: 100% 0; mask-position: 100% 0; }

.menu__canvas {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  display: block;
  width: 100vw;
  height: 100%;
}
.menu__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  mix-blend-mode: overlay;
  opacity: .6;
  pointer-events: none;
}

.menu__list {
  margin: auto 0;
  padding: calc(var(--header) + var(--safe)) var(--pad) 40px clamp(28px, 4.2vw, 80px);
}
.menu__list a {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.2vw, 22px);
  padding: max(.06em, 6px) 0;
  font-size: min(var(--fs-64), 7vw);
  font-size: min(var(--fs-64), 7.2cqw);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white-80);
  transition: color .3s, opacity .4s;
}
.menu__num {
  font-size: var(--fs-16);
  font-weight: 700;
  margin-top: .7em;
  min-width: 2ch;
  opacity: 0;
  transition: opacity .6s;
}
.menu__label {
  display: block;
  overflow: hidden;
  /* marge à droite : la dernière lettre n'est jamais coupée quand le lien glisse au survol */
  padding: 0 32px .04em 0;
  margin-right: -32px;
}
.menu__label > span {
  display: block;
  transform: translate3d(0, 110%, 0);
  transition: transform .9s var(--ease-out);
}
.menu.is-open .menu__label > span { transform: none; }
.menu.is-open .menu__num { opacity: .6; }
.menu.is-open li:nth-child(1) .menu__label > span { transition-delay: .35s; }
.menu.is-open li:nth-child(2) .menu__label > span { transition-delay: .43s; }
.menu.is-open li:nth-child(3) .menu__label > span { transition-delay: .51s; }
.menu.is-open li:nth-child(4) .menu__label > span { transition-delay: .59s; }
.menu.is-open li:nth-child(5) .menu__label > span { transition-delay: .67s; }
.menu.is-open li:nth-child(5) .menu__num { transition-delay: .82s; }
.menu.is-open li:nth-child(1) .menu__num { transition-delay: .5s; }
.menu.is-open li:nth-child(2) .menu__num { transition-delay: .58s; }
.menu.is-open li:nth-child(3) .menu__num { transition-delay: .66s; }
.menu.is-open li:nth-child(4) .menu__num { transition-delay: .74s; }

@media (hover: hover) {
  .menu__list:hover a { opacity: .35; }
  .menu__list a:hover { opacity: 1; color: var(--white); }
  .menu__list a:hover .menu__label > span { transform: translate3d(14px, 0, 0); transition-delay: 0s; }
}
.menu__list a[aria-current="page"] { color: var(--white); }
.menu__list a[aria-current="page"] .menu__num { opacity: 1; }

.menu__foot {
  padding: 0 var(--pad) var(--pad) clamp(28px, 4.2vw, 80px);
  font-size: var(--fs-16);
  line-height: 1.5;
  color: var(--white-80);
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .6s, transform .8s var(--ease-out);
}
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: .65s; }
.menu__foot > a { font-weight: 700; color: var(--white); }
.menu__foot a { display: inline-block; padding: 12px 0; margin: -10px 0; }
.menu__foot a:hover { text-decoration: underline; }

/* =========================================================
   APPARITIONS AU DÉFILEMENT
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal="up"] {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s);
  }
  .js [data-reveal="mask"] > span {
    transform: translate3d(0, 108%, 0) rotate(2deg);
    transform-origin: left top;
    transition: transform 1.2s var(--ease-out) var(--d, 0s);
  }
  .js [data-reveal="img"] .reveal-clip {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.3s var(--ease-io) var(--d, 0s);
  }
  .js [data-reveal="img"] img {
    transform: scale(1.35);
    transition: transform 1.8s var(--ease-out) var(--d, 0s);
  }
  .js [data-reveal="line"] {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.4s var(--ease-io) var(--d, 0s);
  }
  .js [data-reveal].is-in,
  .js [data-reveal="mask"].is-in > span,
  .js [data-reveal="img"].is-in img { opacity: 1; transform: none; }
  .js [data-reveal="img"].is-in .reveal-clip { clip-path: inset(0 0 0 0); }
}

/* =========================================================
   ACCUEIL — projets en pleine page
   ========================================================= */
.scroller.is-snap { scroll-snap-type: y mandatory; }

.feature {
  position: relative;
  display: block;
  color: inherit;
  outline: none;
  height: calc(100vh - var(--header));
  height: calc(100dvh - var(--header));
  min-height: 300px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: pointer;
  isolation: isolate;
  background: #0b0b0b;
}
.feature__media { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.feature:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; }
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--p, 0) * 9%), 0) scale(calc(1.2 - var(--in, 0) * .08));
  transition: transform 1.6s var(--ease-out);
  will-change: transform;
}
@media (hover: hover) {
  .feature:hover .feature:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; }
.feature__media img { transform: translate3d(0, calc(var(--p, 0) * 9%), 0) scale(1.08); }
}
.feature__shade {           /* lisibilité du texte */
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .2) 42%, rgba(0, 0, 0, 0) 65%),
    linear-gradient(to right, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 55%);
}
.feature__content {
  position: absolute;
  left: var(--pad);
  right: calc(var(--pad) + 72px);
  bottom: calc(var(--bottom) + clamp(8px, 2vw, 40px));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(16px, 2vw, 40px) clamp(24px, 3vw, 64px);
  transform: translate3d(0, calc(var(--p, 0) * -60px), 0);
  opacity: calc(1 - var(--pa, 0) * 1.4);
}
.feature__index {
  grid-column: 1 / -1;
  font-size: var(--fs-16);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.feature__index span { font-size: 1.5em; }
.feature__title {
  font-size: min(clamp(52px, 8.4vw, 172px), 17vh);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.feature__title .mask { padding-bottom: .1em; margin-bottom: -.1em; }
.feature__meta {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: var(--fs-20);
}
.feature__year { opacity: .7; }
.feature__cta {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--white);
  color: #000;
  font-size: var(--fs-20);
  font-weight: 700;
  white-space: nowrap;
  transition: transform .5s var(--ease-out), background .3s;
}
.feature__cta .arw { width: 18px; height: 18px; stroke-width: 6; }
.feature:hover .feature__cta,
.feature:focus-visible .feature__cta { transform: scale(1.04); }
.feature:hover .feature__cta .arw,
.feature:focus-visible .feature__cta .arw { transform: translate3d(3px, 3px, 0); }

/* apparition quand le projet occupe l'écran */
@media (prefers-reduced-motion: no-preference) {
  .js .feature__index,
  .js .feature__meta,
  .js .feature__cta { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
  .js .feature__title .mask > span { transform: translate3d(0, 105%, 0); transition: transform 1.2s var(--ease-out) .1s; }
  .js .feature.is-current .feature__index { opacity: 1; transform: none; transition-delay: 0s; }
  .js .feature.is-current .feature__title .mask > span { transform: none; }
  .js .feature.is-current .feature__meta { opacity: 1; transform: none; transition-delay: .3s; }
  .js .feature.is-current .feature__cta { opacity: 1; transform: none; transition-delay: .42s; }
  .js .feature.is-current:hover .feature__cta { transform: scale(1.04); transition-delay: 0s; }
}

/* invitation à défiler (premier projet) */
.scroll-hint {
  position: absolute;
  right: calc(var(--pad) + 72px);
  bottom: calc(var(--bottom) + clamp(8px, 2vw, 40px) + 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: .85;
}
.scroll-hint i { position: relative; width: 1px; height: 44px; overflow: hidden; background: var(--white-30); }
.scroll-hint i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  animation: hint 1.8s var(--ease-io) infinite;
}
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* navigation latérale entre les projets */
.showcase-nav {
  position: fixed;
  right: calc(var(--pad) - 12px);
  top: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  transform: translate3d(0, -50%, 0);
  transition: opacity .5s, transform .6s var(--ease-out);
}
.showcase-nav[hidden] { display: flex !important; opacity: 0; pointer-events: none; transform: translate3d(20px, -50%, 0); }
.showcase-nav button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 64px;
  height: 44px;              /* zone de clic confortable */
  padding-right: 12px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.showcase-nav b { font-weight: 700; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .4s var(--ease-out); }
.showcase-nav i {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--white-50);
  transition: width .5s var(--ease-out), background .3s;
}
.showcase-nav button:hover b,
.showcase-nav button[aria-current="true"] b { opacity: 1; transform: none; }
.showcase-nav button:hover i { background: var(--white); }
.showcase-nav button[aria-current="true"] i { width: 28px; background: var(--white); }

/* --- Pied de page --- */
.home-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: clamp(80px, 8vw, 160px) var(--pad) var(--bottom);
  font-size: var(--fs-16);
  scroll-snap-align: end;
  line-height: 1.2;
}
.home-footer__line {
  position: absolute;
  top: clamp(30px, 3.5vw, 70px);
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: var(--white-10);
}
.home-footer strong { font-weight: 700; }
.home-footer__contacts p + p { margin-top: 1.2em; }
.home-footer .dash { margin-bottom: 1.2em; font-weight: 700; }
.home-footer__contacts .dash + p { margin-top: 0; }
.home-footer a { display: inline-block; padding: 12px 0; margin: -10px 0; }
.home-footer a:hover { text-decoration: underline; }
.home-footer__studio { text-align: right; }

/* =========================================================
   FLÈCHE (celle de la page contact), réutilisée partout
   ========================================================= */
.arw {
  display: block;
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: square;
  overflow: visible;
  transition: transform .5s var(--ease-out);
}
.arw--right { transform: rotate(-45deg); }
.arw--left  { transform: rotate(135deg); }

/* page qui sort pendant une transition */
.view-ghost {
  position: absolute !important;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
}
.view:not(.view-ghost) { z-index: 1; }

/* =========================================================
   PAGE PROJET
   ========================================================= */
.view--projet { padding-bottom: var(--bottom); }

/* barre du projet : toujours visible, pour ne jamais se perdre */
.pj-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 8px var(--pad);
  background: rgba(20, 20, 20, .72);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pj-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px 0 16px;
  margin-left: -16px;
  border-radius: 999px;
  font-size: var(--fs-16);
  font-weight: 700;
  justify-self: start;
  transition: background .3s;
}
.pj-btn .arw { width: 14px; height: 14px; }
.pj-btn:hover { background: rgba(255, 255, 255, .1); }
.pj-btn:hover .arw--left  { transform: rotate(135deg) translate3d(3px, 3px, 0); }
.pj-btn:hover .arw--right { transform: rotate(-45deg) translate3d(3px, 3px, 0); }
.pj-crumb {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: var(--fs-16);
  white-space: nowrap;
  overflow: hidden;
}
.pj-crumb span { opacity: .6; font-variant-numeric: tabular-nums; }
.pj-nav { justify-self: end; display: flex; gap: 6px; margin-right: -8px; }
.pj-btn--icon {
  justify-content: center;
  width: 48px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .25);
}

/* grande image d'ouverture */
.pj-hero {
  position: relative;
  height: calc(100vh - var(--header) - 64px);
  height: calc(100dvh - var(--header) - 64px);
  min-height: 320px;
  overflow: hidden;
  isolation: isolate;
}
.pj-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.pj-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pj-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 55%);
}
.pj-hero__text {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(24px, 3vw, 56px);
}
.pj-index { font-size: var(--fs-16); font-weight: 700; margin-bottom: 8px; }
.pj-title {
  font-size: min(clamp(48px, 7.6vw, 156px), 15vh);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.pj-title .mask { padding-bottom: .1em; margin-bottom: -.1em; }
.pj-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: var(--fs-20); }
.pj-meta p + p { opacity: .7; }
.pj-text {
  max-width: 58ch;
  padding: clamp(48px, 6vw, 120px) var(--pad) 0;
  font-size: var(--fs-24);
  line-height: 1.45;
}

/* série d'images en bento (rangées calculées par js/main.js) */
.bento {
  --g: clamp(10px, 1.1vw, 18px);
  display: flex;
  flex-direction: column;
  gap: var(--g);
  padding: clamp(48px, 6vw, 120px) var(--pad) 0;
}
.bento__row { display: flex; gap: var(--g); min-width: 0; }
.bento__stack.is-flip { flex-direction: row-reverse; }
.bento__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--g); }
.bento__tile {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(8px, .8vw, 14px);
  background: rgba(255, 255, 255, .05);
}
.bento__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* avant le calcul : simple colonne, rien ne dépasse l'écran */
.bento > .bento__tile { max-height: calc(100vh - var(--header) - 96px); }
.bento > .bento__tile img { height: auto; max-height: inherit; object-fit: contain; }

/* projet suivant */
.pj-next {
  position: relative;
  display: block;
  margin: clamp(64px, 8vw, 160px) var(--pad) 0;
  height: clamp(280px, 46vh, 520px);
  overflow: hidden;
  isolation: isolate;
}
.pj-next__media { position: absolute; inset: 0; z-index: -2; }
.pj-next__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.pj-next::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .45); transition: background .6s; }
.pj-next:hover::after { background: rgba(0, 0, 0, .25); }
.pj-next:hover .pj-next__media img { transform: scale(1.1); }
.pj-next__label {
  position: absolute;
  top: var(--pad);
  left: var(--pad);
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pj-next__title {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  display: flex;
  align-items: center;
  gap: .3em;
  font-size: clamp(40px, 6vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pj-next__title .arw { width: .55em; height: .55em; stroke-width: 4; }
.pj-next:hover .pj-next__title .arw { transform: rotate(-45deg) translate3d(6px, 6px, 0); }
.pj-end { display: flex; justify-content: center; padding: clamp(32px, 4vw, 64px) var(--pad) 0; }
.pj-end .pj-btn { margin: 0; border: 1px solid rgba(255, 255, 255, .25); }

/* =========================================================
   MUR DES AFFICHES
   ========================================================= */
.view--affiches { height: 100%; min-height: 0; overflow: hidden; }
.wall {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
/* pénombre vers les bords (un calque fixe : plus fluide qu'un masque) */
.wall::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 80% at 50% 50%, rgba(4,4,5,0) 45%, rgba(4,4,5,.55) 78%, rgba(4,4,5,.92) 100%);
}
.wall.is-grabbing { cursor: grabbing; }
.wall:focus-visible { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.wall__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.poster {
  --ar: .7071;                       /* A4 portrait par défaut */
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--ph) * var(--ar));
  height: var(--ph);
  margin: calc(var(--ph) / -2) 0 0 calc(var(--ph) * var(--ar) / -2);
  padding: 0;
  border: 0;
  background: #111;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  cursor: pointer;
}
.wall.is-grabbing .poster { cursor: grabbing; }
.poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: brightness(.86);
  transition: filter .5s var(--ease-out);
}
@media (hover: hover) {
  .wall:not(.is-grabbing) .poster:hover img { filter: brightness(1.05); }
}
.wall__hint {
  position: absolute;
  left: 50%;
  bottom: var(--bottom);
  z-index: 2;
  transform: translate3d(-50%, 0, 0);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 20, 20, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: var(--fs-16);
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.hint-short { display: none; }
@media (max-width: 640px) { .hint-short { display: inline; } }
.wall__hint.is-hidden { opacity: 0; transform: translate3d(-50%, 10px, 0); }
.wall__hint-icon { position: relative; width: 26px; height: 14px; }
.wall__hint-icon::before,
.wall__hint-icon::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid #fff; border-width: 0 0 2px 2px; margin-top: -4px; }
.wall__hint-icon::before { left: 0; transform: rotate(45deg); animation: nudge-l 2.4s var(--ease-io) infinite; }
.wall__hint-icon::after  { right: 0; transform: rotate(-135deg); animation: nudge-r 2.4s var(--ease-io) infinite; }
@keyframes nudge-l { 0%, 100% { transform: translateX(0) rotate(45deg); } 50% { transform: translateX(-3px) rotate(45deg); } }
@keyframes nudge-r { 0%, 100% { transform: translateX(0) rotate(-135deg); } 50% { transform: translateX(3px) rotate(-135deg); } }

/* --- Affiche agrandie : plein écran, l'affiche entière toujours visible --- */
.pv {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; touch-action: none;
  --ar: .7071;                                        /* largeur / hauteur de l'affiche (JS) */
  --pw: min(100vw, calc(100vh * var(--ar)));          /* largeur affichée de l'affiche */
  --pw: min(100vw, calc(100dvh * var(--ar)));
}
.pv__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.pv__figure {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-out);
}
/* --ar = largeur / hauteur de l'affiche (donné par le JS) : la plus grande taille qui tient dans l'écran */
.pv__img {
  display: block;
  width: var(--pw);
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: contain;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.pv.is-open .pv__backdrop,
.pv.is-open .pv__figure { opacity: 1; transform: none; }
.pv__bar {
  position: absolute;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}
.pv__count { min-width: 6ch; text-align: center; font-size: var(--fs-16); font-weight: 700; font-variant-numeric: tabular-nums; }
.pv__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: var(--fs-16);
  font-weight: 700;
  transition: background .3s;
}
.pv__btn:hover { background: rgba(255, 255, 255, .2); }
.pv__btn--icon { width: 48px; }
.pv__btn .arw { width: 14px; height: 14px; }
.pv__close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); padding: 0 16px 0 20px; z-index: 1; }
/* boutons posés sur l'image : fond sombre flouté pour rester lisibles */
.pv__btn, .pv__count { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pv__btn { background: rgba(20, 20, 20, .55); }
.pv__btn:hover { background: rgba(40, 40, 40, .75); }
.pv__count { padding: 12px 14px; border-radius: 999px; background: rgba(20, 20, 20, .55); white-space: nowrap; }
/* écran en hauteur (téléphone…) : on garde une bande en haut et en bas pour les
   commandes, l'affiche n'est jamais recouverte */
@media (max-aspect-ratio: 5/4) {
  .pv {
    --pw: min(100vw, calc((100vh - 140px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) * var(--ar)));
    --pw: min(100vw, calc((100dvh - 140px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) * var(--ar)));
  }
}
/* flèches gauche / droite collées à l'affiche (jamais hors de l'écran) */
.pv__side {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 56px;
  min-height: 56px;
  margin-top: -28px;
}
.pv__side .arw { width: 16px; height: 16px; }
.pv__side--prev { left: max(12px, calc(50% - var(--pw) / 2 - 76px)); }
.pv__side--next { right: max(12px, calc(50% - var(--pw) / 2 - 76px)); }
.pv:not(.is-open) .pv__side { opacity: 0; }
.pv__side { transition: opacity .5s var(--ease-out), background .3s; }
/* écran en largeur : l'affiche prend toute la hauteur, les commandes vont dans les coins, à côté */
@media (min-aspect-ratio: 5/4) {
  .pv__bar { left: auto; right: calc(14px + env(safe-area-inset-right, 0px)); transform: none; }
}
.pv__close i { position: relative; width: 16px; height: 16px; transition: transform .5s var(--ease-io); }
.pv__close i::before,
.pv__close i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.pv__close i::after { transform: rotate(-45deg); }
.pv__close:hover i { transform: rotate(90deg); }
.pv:not(.is-open) .pv__bar,
.pv:not(.is-open) .pv__close { opacity: 0; }
.pv__bar, .pv__close { transition: opacity .5s var(--ease-out); }

/* =========================================================
   QUI SOMMES-NOUS
   ========================================================= */
.view--qui-sommes-nous { height: 100%; min-height: 0; overflow: hidden; }
.about {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: var(--safe) var(--pad) var(--bottom);
  display: flex;
  flex-direction: column;
}
.about > h1 { position: relative; z-index: 2; }
/* le texte : effet loupe, grand au centre de l'écran, petit vers les bords */
.about__stage { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.about__lines .ln,
.about__text {
  font-size: clamp(20px, 2.1vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.012em;
}
.about__lines .ln {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  text-align: left;
  transform-origin: 50% 50%;   /* centre de la loupe = centre du bloc */
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.about__lines { position: absolute; inset: 0; }
/* copie invisible qui sert à découper le texte en lignes (et à la lecture d'écran) */
.about__text {
  position: absolute;
  left: 50%;
  top: 0;
  /* colonne de lecture : marges larges, ~60 caractères par ligne au maximum */
  width: min(30em, calc(100% - 2 * max(var(--pad), 12vw)));
  transform: translateX(-50%);
  text-align: left;
  visibility: hidden;
}
.about__text p + p { margin-top: .9em; }
.about__text p + p, .pj-text p + p { margin-top: 1em; }
/* invitation à défiler (disparaît dès qu'on commence) */
.about__hint {
  position: absolute;
  left: 50%;
  bottom: calc(var(--bottom) * .6);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-16);
  font-weight: 700;
  opacity: calc(var(--hint, 1) * .7);
  transition: opacity .5s;
  pointer-events: none;
}
.about__hint i { width: 1px; height: 36px; background: linear-gradient(var(--white), transparent); animation: hint-line 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes hint-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
/* fin : l'accroche au milieu bas, puis l'équipe */
.about__end {
  margin-top: auto;
  pointer-events: none;
}
.about__end .team { position: relative; z-index: 2; }
.about.is-end .about__end { pointer-events: auto; }
.about__sub {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-size: clamp(30px, 4.2vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: clamp(36px, 5vh, 72px);
}
.about__sub .m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.about__sub .m > span {
  display: inline-block;
  transform: translate3d(0, 105%, 0) rotate(4deg);
  transform-origin: left bottom;
  opacity: 0;
  transition: transform .9s var(--ease-out), opacity .6s;
  transition-delay: 0s;
}
.about.is-end .about__sub .m > span {
  transform: none;
  opacity: 1;
  transition-delay: calc(var(--i) * 70ms);
}
.about__end .team { margin-top: 0; padding-top: 0; justify-content: center; }
.about > h1 { transition: opacity .6s, transform .8s var(--ease-out); }
@media (max-width: 640px) {
  /* petit écran : à la fin, le titre s'efface pour laisser la place à l'accroche et à l'équipe */
  .about.is-end > h1 { opacity: 0; transform: translate3d(0, -16px, 0); }
  .about__sub { font-size: clamp(26px, 8vw, 40px); margin-bottom: 24px; }
  .about__end .team { gap: 20px; font-size: 15px; }
  .about__end .team__name { font-size: 17px; }
  .about__end .team__bio { margin-top: 6px; }
  /* téléphone : marges confortables, corps un peu plus petit pour garder ~30 caractères par ligne */
  .about__lines .ln, .about__text { font-size: 19px; line-height: 1.25; }
  .about__text { width: calc(100% - 56px); }
  .about__sub { top: 32%; }
}
.about__end .team__member {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .7s, transform .9s var(--ease-out);
}
.about.is-end .about__end .team__member {
  opacity: 1;
  transform: none;
  transition-delay: calc(.45s + var(--k) * .12s);
}
.about__end .team__line { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.about.is-end .about__end .team__line { transform: none; transition-delay: calc(.4s + var(--k) * .12s); }
.team__age { color: var(--white-80); margin-top: 2px; }
.team__bio { margin-top: 12px; color: var(--white-80); }
.team {
  margin-top: auto;
  padding-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  gap: var(--pad);
  font-size: var(--fs-20);
  line-height: 1.3;
}
.team__member { position: relative; padding-top: 16px; }
.team__line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--white-30); }
.team__name { font-size: var(--fs-24); font-weight: 700; }
.team a { font-weight: 700; display: inline-block; margin-top: 6px; padding: 8px 0; margin-bottom: -8px; }
.team a:hover { text-decoration: underline; }

/* =========================================================
   OFFRES — le pack en grand, les options en petit
   ========================================================= */
.view--offres { padding: var(--safe) var(--pad) var(--bottom); }
/* titre géant, sur toute la largeur */
.offers__title {
  font-size: clamp(52px, 11vw, 240px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -0.055em;
  margin-left: -.04em;
}
.offers__title .mask { padding-bottom: .12em; margin-bottom: -.12em; }

/* bento : 2 colonnes indépendantes ; une carte repliée fait remonter
   celle du dessous. Deux cartes côte à côte dépliées ont la même hauteur
   (js/main.js), le bouton est poussé en bas : ils restent alignés. */
.offers {
  --g: clamp(10px, 1.1vw, 18px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--g);
  margin-top: clamp(28px, 3vw, 56px);
}
.offers__col { display: flex; flex-direction: column; gap: var(--g); min-width: 0; }
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 46px);
  border-radius: clamp(8px, .8vw, 14px);
  background: rgba(255, 255, 255, .05);
  transition: background .3s;
}
/* le nom du pack en grand, le prix reste le plus grand texte de la tuile */
.offer__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: clamp(26px, 2.3vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.offer__badge {
  padding: 6px 12px;
  border: 1px solid var(--white-30);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--white-80);
  white-space: nowrap;
}
.offer__foot { margin-top: 16px; font-size: 13px; line-height: 1.45; color: var(--white-50); max-width: 52ch; }
.offer__price { margin-top: 18px; }
.offer__from { display: block; font-size: var(--fs-16); color: var(--white-50); margin-bottom: 6px; }
.offer__price b { font-size: clamp(44px, 4.4vw, 84px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.offer__inc { margin-top: 28px; font-size: var(--fs-20); line-height: 1.3; }
.offer__inc li { position: relative; padding-left: 1.2em; }
.offer__inc li + li { margin-top: .5em; }
.offer__inc li::before { content: ""; position: absolute; left: 0; top: .5em; width: .45em; height: .45em; background: var(--white); }

.offer__opt { margin-top: 28px; min-width: 0; }
.offer__opt-title {
  padding-top: 14px;
  border-top: 1px solid var(--white-10);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white-50);
}
.opt {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 4px 0;
  font-size: var(--fs-16);
  line-height: 1.25;
  color: var(--white-50);
  cursor: pointer;
  transition: color .3s;
}
.offer__opt-title + .opt { margin-top: 6px; }
.opt:hover, .opt:has(:checked) { color: var(--white); }
.opt input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.opt input::after { content: ""; width: 8px; height: 4px; border: solid #000; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--ease-out); }
.opt input:checked { background: var(--white); border-color: var(--white); }
.opt input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.opt input:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; }
/* le prix d'une option n'apparaît qu'une fois cochée */
.opt__price { font-weight: 700; white-space: nowrap; opacity: 0; transform: translate3d(-8px, 0, 0); transition: opacity .4s, transform .5s var(--ease-out); }
.opt input:checked ~ .opt__price { opacity: 1; transform: none; }

.offer__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: auto;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--white);
  color: #000;
  font-size: var(--fs-16);
  font-weight: 700;
  transition: transform .5s var(--ease-out);
}
.offer__cta .arw { width: 14px; height: 14px; stroke-width: 6; }
.offer__cta:hover { transform: scale(1.04); }
.offer__cta:hover .arw { transform: rotate(-45deg) translate3d(3px, 3px, 0); }
/* tuile « Sur mesure » : complète la dernière ligne */
/* « Sur mesure » : même construction qu'une carte pliée (nom + prix), toute la carte mène au contact */
.offer--custom { background: transparent; box-shadow: inset 0 0 0 1px var(--white-10); cursor: pointer; }
.offer--custom:hover { background: rgba(255, 255, 255, .05); }
.offer--custom .offer__price { margin-top: auto; padding-top: 18px; }
.offer--custom .offer__price b { font-size: var(--fs-24); letter-spacing: -0.01em; line-height: 1.2; }
.offer__go .arw { width: 8px; height: 8px; stroke-width: 7; }
.offer--custom:hover .offer__go { background: rgba(255, 255, 255, .1); border-color: var(--white-50); }
.offers__note { max-width: 60ch; margin-top: clamp(28px, 3vw, 56px); font-size: var(--fs-16); line-height: 1.5; color: var(--white-50); }

/* tuiles repliables : le contenu se plie en douceur (0fr ↔ 1fr)
   et la carte du dessous suit */
.offer .offer__name { padding-right: 36px; }
.offer__body {
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .6s var(--ease-io);
}
/* marges latérales : le bouton qui grossit au survol et les contours de focus ne sont pas coupés */
.offer__inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 8px 8px;
  margin: 0 -8px -8px;
  transition: opacity .45s;
}
.offer__inner > :nth-last-child(2) { margin-bottom: 32px; }
.offer.is-closed { cursor: pointer; }
.offer.is-closed:hover { background: rgba(255, 255, 255, .08); }
.offer.is-closed .offer__body { flex-grow: 0; grid-template-rows: 0fr; }
.offer.is-closed .offer__inner { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .6s; }

.offer__toggle {
  position: absolute;
  top: clamp(20px, 2vw, 40px);
  right: clamp(20px, 2vw, 40px);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--white-30);
  border-radius: 50%;
  transition: background .3s, border-color .3s;
}
.offer__toggle::before { content: ""; position: absolute; inset: -13px; }   /* zone de clic 48 × 48 */
.offer__toggle:hover,
.offer.is-closed:hover .offer__toggle { background: rgba(255, 255, 255, .1); border-color: var(--white-50); }
.offer__toggle i { position: relative; width: 8px; height: 8px; }
.offer__toggle i::before,
.offer__toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  background: currentColor;
  transition: transform .5s var(--ease-io);
}
.offer__toggle i::after { transform: rotate(90deg); }
.offer:not(.is-closed) .offer__toggle i::after { transform: rotate(0deg); }   /* + devient − */

/* téléphone : une tuile par ligne, sinon les textes n'ont plus la place */
@media (max-width: 640px) {
  .offers { grid-template-columns: minmax(0, 1fr); }
  .offers__col { display: contents; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.view--contact {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--safe) var(--pad) var(--bottom);
}
.contact-form { display: flex; flex-direction: column; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field {
  display: grid;
  grid-template-columns: calc(33.333% - 23px) 1fr;   /* 617 | 1223 à 1920 px */
  column-gap: 10px;
  margin-bottom: clamp(28px, 2.66vw, 51px);
}
.field__label,
.field__control { position: relative; }
.field__label { padding-bottom: clamp(24px, 2.5vw, 48px); }
.field__label > span {
  display: inline-block;
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white-50);
  transition: color .4s, transform .5s var(--ease-out);
}
/* traits : base (10 %) + trait lumineux qui se dessine au focus */
.field__label::after,
.field__control::after,
.field__label::before,
.field__control::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform-origin: left center;
}
.field__label::after,
.field__control::after { background: var(--white-10); transition: transform 1.3s var(--ease-io) var(--d, 0s); }
.field__label::before,
.field__control::before { background: var(--white); transform: scaleX(0); transition: transform .8s var(--ease-io); z-index: 1; }
.field:focus-within .field__label::before,
.field:focus-within .field__control::before { transform: scaleX(1); }
.field:focus-within .field__label > span { color: var(--white); transform: translateX(8px); }

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0 0 clamp(24px, 2.5vw, 48px);
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--white);
  font: 700 var(--fs-20) / 1.2 var(--font);
  outline: none;
}
.field input::placeholder { color: rgba(255, 255, 255, .35); transition: opacity .4s; }
.field input:focus::placeholder,
.field textarea:focus::placeholder { opacity: .4; }
.field.is-invalid .field__label > span { color: #ff6b6b; }
.field.is-invalid .field__label::before,
.field.is-invalid .field__control::before { background: #ff6b6b; transform: scaleX(1); }

/* Objet + message : pas de trait, le texte suit directement */
.field--subject { margin-bottom: 0; }
.field--subject .field__label::after,
.field--subject .field__label::before,
.field--subject .field__control::after,
.field--subject .field__control::before { display: none; }
.field--subject input { padding-bottom: clamp(20px, 2.5vw, 48px); }
.field textarea {
  font-weight: 400;
  font-size: var(--fs-16);
  min-height: clamp(150px, 11.8vw, 227px);
  padding-bottom: 20px;
  resize: none;
}
.field textarea::placeholder { color: var(--white-50); transition: opacity .4s; }

/* Apparition du formulaire */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal="field"] .field__label > span { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s), color .4s; }
  .js [data-reveal="field"] .field__control > * { opacity: 0; transition: opacity 1s var(--ease-out) calc(var(--d, 0s) + .2s); }
  .js [data-reveal="field"] .field__label::after,
  .js [data-reveal="field"] .field__control::after,
  .js .form-end[data-reveal="field"]::after { transform: scaleX(0); }
  .js .form-end[data-reveal="field"] .send { opacity: 0; transform: scale(.6) rotate(-45deg); }
  .js [data-reveal="field"].is-in .field__label > span,
  .js [data-reveal="field"].is-in .field__control > * { opacity: 1; transform: none; }
  .js [data-reveal="field"].is-in .field__label::after,
  .js [data-reveal="field"].is-in .field__control::after,
  .js .form-end[data-reveal="field"].is-in::after { transform: none; }
  .js .form-end[data-reveal="field"].is-in .send { opacity: 1; transform: none; }
  .js [data-reveal="field"].is-in:focus-within .field__label > span { transform: translateX(8px); }
}

.form-end {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 clamp(18px, 1.6vw, 30px);
}
.form-end::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--white-10);
  transform-origin: left center;
  transition: transform 1.3s var(--ease-io) var(--d, 0s);
}
.form-status {
  font-size: var(--fs-20);
  line-height: 1.35;
  color: var(--white-80);
  max-width: 46ch;
}
.form-status strong { color: var(--white); }
.form-status a { text-decoration: underline; }
.form-status.is-anim { animation: status-in .8s var(--ease-out) both; }
@keyframes status-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* --- Bouton d'envoi : la flèche de la maquette --- */
.send {
  position: relative;
  flex: none;
  margin-left: auto;
  width: clamp(44px, 2.6vw, 50px);
  height: clamp(44px, 2.6vw, 50px);
  color: var(--white);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
}
.send::before {                 /* zone de clic plus large */
  content: "";
  position: absolute;
  inset: -16px;
}
.send__arrow,
.send__check {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  overflow: visible;
}
.send__arrow { stroke-linecap: square; transition: transform .6s var(--ease-out), opacity .3s; }
.send__check { stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; opacity: 0; }
.send:hover .send__arrow,
.send:focus-visible .send__arrow { transform: translate3d(6px, 6px, 0); }
.send:active .send__arrow { transform: translate3d(10px, 10px, 0) scale(.92); }
.send:focus-visible { outline: none; }
.send:focus-visible .send__arrow { outline: 1px solid var(--white); outline-offset: 10px; }

.send.is-sending { pointer-events: none; }
.send.is-sending .send__arrow { animation: send-fly 1s var(--ease-io) infinite; }
@keyframes send-fly {
  0%   { transform: translate3d(0, 0, 0); opacity: 1; }
  45%  { transform: translate3d(40%, 40%, 0); opacity: 0; }
  55%  { transform: translate3d(-40%, -40%, 0); opacity: 0; }
  100% { transform: translate3d(0, 0, 0); opacity: 1; }
}
.send.is-sent { pointer-events: none; }
.send.is-sent .send__arrow { opacity: 0; transform: translate3d(40%, 40%, 0); }
.send.is-sent .send__check { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease-out) .2s, opacity .2s .15s; }

.socials {
  margin-top: auto;
  padding-top: var(--pad);
  display: flex;
  gap: 8px;
  margin-left: -6px;
}
.socials a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--white-10); transition: color .3s, transform .4s var(--ease-out); }
.socials a:hover,
.socials a:focus-visible { color: var(--white); transform: translateY(-3px); }
.socials svg { display: block; }

/* =========================================================
   TRANSITION ENTRE LES PAGES : titre posé sur les lumières
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #000;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  --x: 50vw;
  --y: 50vh;
  --r: 180px;
}
@media (hover: hover) and (pointer: fine) { .intro { cursor: none; } }
.intro.is-open { pointer-events: none; background: transparent; }
/* fond noir pur ; la lampe dessine un rond de lumière lisse qui laisse
   une traînée, puis l'obscurité revient peu à peu (dessiné en JS) */
.intro__wall,
.intro__dark,
.intro__glare {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.intro__dark { z-index: 1; mix-blend-mode: multiply; }
.intro__glare { z-index: 2; mix-blend-mode: screen; pointer-events: none; }
.intro__hint {
  position: absolute;
  left: 50%;
  bottom: calc(var(--pad) + env(safe-area-inset-bottom, 0px) + 8px);
  z-index: 2;
  transform: translateX(-50%);
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
  animation: hint-breathe 3.2s ease-in-out infinite;
  transition: opacity .6s;
}
.intro.is-open .intro__hint { opacity: 0; animation: none; }
@keyframes hint-breathe { 0%, 100% { opacity: .35; } 50% { opacity: .75; } }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.intro:focus-visible .intro__hint { color: #fff; }
.intro__logo,
.intro__glow {
  grid-area: 1 / 1;
  width: clamp(170px, 22vw, 420px);
  aspect-ratio: 1088 / 384;
  will-change: transform;
}
/* halo : même tracé, flouté, qui suit l'écriture puis s'épanouit */
.intro__glow { filter: blur(clamp(14px, 1.6vw, 28px)); opacity: .55; }
/* le logo sert de masque ; un dégradé à bord doux le traverse :
   il l'écrit de gauche à droite, puis l'efface dans le même sens */
.intro__mark {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask: url("../assets/img/logo@4x.png") center / contain no-repeat;
  mask: url("../assets/img/logo@4x.png") center / contain no-repeat;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%, rgba(255,255,255,0) 26%,
    #fff 33.4%, #fff 66.6%,
    rgba(255,255,255,0) 74%, rgba(255,255,255,0) 100%);
  background-size: 300% 100%;
  background-position: 115% 0;
}
.intro__glow .intro__mark {
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%, rgba(255,255,255,0) 24%,
    #fff 33.4%, #fff 66.6%,
    rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%);
  background-size: 300% 100%;
  background-position: 115% 0;
}

/* Au chargement : les lumières s'allument, puis le contenu apparaît */
.backdrops { transition: opacity 2.2s cubic-bezier(.25, .1, .25, 1); }
.is-loading .backdrops { opacity: 0; }
.is-loading .site-header,
.is-loading .scroller,
.is-loading .showcase-nav,
.is-loading .cursor { opacity: 0; transition: none; }

/* =========================================================
   CURSEUR PERSONNALISÉ (souris)
   ========================================================= */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 70;
    pointer-events: none;
    will-change: transform;
  }
  .cursor__dot {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: -48px 0 0 -48px;
    border-radius: 50%;
    background: var(--white);
    color: #000;
    font-size: 15px;
    font-weight: 700;
    transform: scale(0);
    transition: transform .5s var(--ease-out);
  }
  .cursor.is-active .cursor__dot { transform: scale(1); }
  .cursor.is-arrow .cursor__dot { font-size: 26px; font-weight: 400; }
  .has-cursor [data-cursor] { cursor: none; }
  .is-transitioning .cursor, .menu-open .cursor { opacity: 0; }
}

/* =========================================================
   TABLETTE & MOBILE
   ========================================================= */
@media (max-width: 1024px) {
  :root { --menu-w: min(100vw, 580px); }
}

@media (max-width: 900px) {
  .team { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --menu-w: 100vw; }
  body.menu-open .scroller { transform: translateX(-12vw); }
  .menu__list { padding-left: var(--pad); }
  .menu__foot { padding-left: var(--pad); }

  .feature__content { right: var(--pad); grid-template-columns: 1fr; }
  .feature__cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .feature__title { font-size: clamp(44px, 13vw, 72px); }
  .scroll-hint { display: none; }
  .showcase-nav { display: none !important; }
  .hint-long { display: none; }
  .pj-bar { grid-template-columns: 1fr auto; }
  .pj-crumb { display: none; }
  .pj-back span { display: none; }
  .pj-back::after { content: "Projets"; }
  .home-footer { flex-direction: column; align-items: flex-start; }
  .home-footer__studio { text-align: left; }

  .field { grid-template-columns: 1fr; margin-bottom: 22px; }
  .field__label { padding-bottom: 8px; }
  .field__label::after, .field__label::before { display: none; }
  .field input { padding-top: 10px; padding-bottom: 16px; }
  .field--subject input { padding-bottom: 16px; }
  .form-end { flex-direction: column-reverse; align-items: stretch; }
  .form-end .send { align-self: flex-end; margin-bottom: 4px; }

}

/* Écrans bas (téléphone à l'horizontale) */
@media (max-height: 520px) and (orientation: landscape) {
  .feature__title { font-size: min(clamp(36px, 8.4vw, 172px), 15vh); }
  .feature__meta { font-size: 14px; }
  .feature__cta { min-height: 46px; }
  .feature__index { display: none; }
  .scroll-hint, .showcase-nav { display: none !important; }
  .menu__list a { font-size: min(var(--fs-64), 7.2cqw, 9vh); }
  .menu__foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
