/* =========================================================
   Portfolio Ange Rouviere
   Registre repris de la référence : noir, blanc, gris clair,
   une seule couleur (orange), titres condensés en capitales.
   ========================================================= */

:root {
  --orange: #fb6002;
  --orange-fonce: #d94f00;
  --noir: #050608;
  --noir-2: #0e0f12;
  --ligne: #24262a;
  --gris: #6d6f73;
  --gris-clair: #a9abaf;
  --clair: #f2ecec;
  --blanc: #ffffff;

  --titre: "Anton", "Arial Narrow", sans-serif;
  --script: "Great Vibes", cursive;
  --texte: "Inter", system-ui, sans-serif;

  --marge: clamp(16px, 4vw, 64px);
  --large: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--texte);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.enveloppe { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: var(--marge); }
.gris { color: var(--gris); }
.orange { color: var(--orange); }

.etiquette {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
}
.titre-section {
  font-family: var(--titre);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: .95;
  letter-spacing: .005em;
}
.titre-geant {
  font-family: var(--titre);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.6rem, 10vw, 8.5rem);
  line-height: .9;
}
.titre-geant span { display: block; }
/* deuxième ligne en calligraphie orange, comme « Moi, c'est Ange. » */
.titre-geant .titre-script {
  font-family: var(--script);
  text-transform: none;
  color: var(--orange);
  font-size: .78em;
  line-height: 1;
  margin: -.12em 0 0 .3em;
}
.titre-geant.centre { text-align: center; }
.grand-texte {
  font-family: var(--titre);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  text-wrap: balance;
}

/* ---------- boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  min-height: 44px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.bouton-fleche {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 2px;
  background: var(--orange);
  color: var(--noir);
}
.bouton-fleche svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bouton-sombre { background: var(--noir); color: var(--orange); }
.bouton-sombre:hover { background: #1a1b1e; }
.bouton-contour { background: var(--noir); color: var(--blanc); }
.bouton-contour .bouton-fleche { background: var(--blanc); }
.bouton-contour:hover { background: #1a1b1e; }
.bouton-orange { background: var(--orange); color: var(--noir); }
.bouton-orange .bouton-fleche { background: var(--noir); color: var(--orange); }
.bouton-orange:hover { background: var(--orange-fonce); }
.bouton-pilule { background: var(--noir); color: var(--blanc); border-radius: 999px; padding-left: 20px; }
.bouton-fleche.rond { border-radius: 50%; }
.bouton-pilule:hover { background: #1a1b1e; }

.pastille {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--orange);
  color: var(--noir);
}
.pastille-sombre { background: var(--noir); color: var(--blanc); }

/* réseaux : petits carrés */
.reseaux { display: flex; gap: 8px; }
.reseaux a {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--noir);
  color: var(--blanc);
  border-radius: 2px;
  transition: background-color .2s;
}
.reseaux a:hover { background: #2a2b2e; }
.reseaux svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reseaux svg .plein { fill: currentColor; stroke: none; }

/* =========================================================
   EN-TÊTE NOIR : lion, lueurs orange, portrait éclairé
   Ordre des calques : lion → lueurs → contour du nom → portrait
   → nom blanc → tête (repasse devant) → ombre/lumière → grain
   ========================================================= */
.hero {
  --px: 0; --py: 0;                       /* position de la souris, -1 → 1 (app.js) */
  --portrait-pos: 100% 0%;
  --portrait-masque: url("../assets/img/ange-portrait.webp");
  --fondu-gauche: linear-gradient(to right, transparent, #000 24%);
  --fondu-bas: linear-gradient(to top, transparent, #000 24%);
  position: relative;
  min-height: max(760px, 100svh);
  background: transparent;   /* le fond continu passe aussi derrière l'en-tête */
  color: var(--blanc);
  isolation: isolate;
  overflow-x: clip;          /* l'effet de profondeur à la souris ne crée jamais de défilement horizontal */
}
.hero-fond { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* Lyon de nuit : Fourvière tombe entre la fin de « Ange » et le portrait */
.hero-ville {
  position: absolute;
  left: -6%; top: 0;
  width: 84%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0%;
  opacity: .9;
  filter: contrast(1.08) saturate(1.05);
  /* fondu à droite et en bas : la ville se perd dans le fond continu */
  -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 96%), linear-gradient(to top, transparent 4%, #000 34%);
          mask-image: linear-gradient(to right, #000 62%, transparent 96%), linear-gradient(to top, transparent 4%, #000 34%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  transform: translate(calc(var(--px) * -14px), calc(var(--py) * -8px)) scale(1.04);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.hero-lueur {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.lueur-texte {
  left: 4%; top: 22%;
  width: 46vw; height: 32vw;
  background: radial-gradient(closest-side, rgba(251, 96, 2, .55), rgba(251, 96, 2, .12) 60%, transparent);
  transform: translate(calc(var(--px) * 30px), calc(var(--py) * 20px));
}
.lueur-portrait {
  right: 4%; top: 2%;
  width: 44vw; height: 44vw;
  background: radial-gradient(closest-side, rgba(255, 120, 30, .4), rgba(251, 96, 2, .14) 55%, transparent);
  transform: translate(calc(var(--px) * -26px), calc(var(--py) * -18px));
}
@media (prefers-reduced-motion: no-preference) {
  .lueur-portrait { animation: respire 6s ease-in-out infinite alternate; }
  @keyframes respire { to { opacity: .7; } }
}
.hero-bar {
  position: relative; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-top: 22px;
}
.hero-id { text-decoration: none; font-size: 12px; line-height: 1.3; }
.hero-id strong { display: block; font-weight: 700; }
.hero-id span { opacity: .6; }
.hero-nav {
  display: flex; gap: 2px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  padding: 3px;
  background: rgba(5, 6, 8, .35);
  backdrop-filter: blur(8px);
}
.hero-nav a {
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 2px;
}
.hero-nav a:hover { background: var(--orange); color: var(--noir); }

.hero-nom {
  position: absolute;
  left: var(--marge);
  top: clamp(90px, 13vh, 140px);
  font-family: var(--titre);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(5rem, 14vw, 14rem);
  line-height: .84;
  letter-spacing: -.005em;
  pointer-events: none;
}
/* pas de overflow: hidden ici : il coupait la lueur orange du nom en rectangles */
.hero-nom .ligne { display: block; padding-right: .08em; }
.hero-nom .ligne > span { display: block; }
.hero-nom .ligne:nth-child(2) { margin-left: .04em; }
/* nom blanc, halo orange */
.hero-nom-plein {
  z-index: 3;
  color: var(--blanc);
  text-shadow: 0 0 28px rgba(251, 96, 2, .55), 0 0 90px rgba(251, 96, 2, .35);
}
/* le même nom en contour orange, décalé : l'ombre graphique du titre */
.hero-nom-contour {
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
  opacity: .9;
  transform: translate(calc(.045em + var(--px) * 10px), calc(.05em + var(--py) * 8px));
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.hero-nom-contour .ligne { overflow: visible; }

/* portrait : tons accordés à la nuit lyonnaise (chauds, un peu plus sombres), sans effet ajouté */
.hero-portrait {
  position: absolute; z-index: 2;
  right: 0; bottom: 0;
  width: min(1240px, 92vw);
  height: 94%;
  object-fit: cover;
  object-position: var(--portrait-pos);
  filter: contrast(1.06) saturate(.9) sepia(.1) brightness(.9);
  /* fondu à gauche et en bas : la chemise coupée disparaît dans le noir */
  -webkit-mask-image: var(--fondu-gauche), var(--fondu-bas);
          mask-image: var(--fondu-gauche), var(--fondu-bas);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
/* calques d'effet découpés à la forme exacte du portrait */
.hero-portrait-fx {
  position: absolute; z-index: 5;
  right: 0; bottom: 0;
  width: min(1240px, 92vw);
  height: 94%;
  pointer-events: none;
  -webkit-mask-image: var(--portrait-masque), var(--fondu-gauche), var(--fondu-bas);
          mask-image: var(--portrait-masque), var(--fondu-gauche), var(--fondu-bas);
  -webkit-mask-size: cover, 100% 100%, 100% 100%; mask-size: cover, 100% 100%, 100% 100%;
  -webkit-mask-position: var(--portrait-pos), 0 0, 0 0; mask-position: var(--portrait-pos), 0 0, 0 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-in, source-in;
          mask-composite: intersect;
}
/* ombre : fond la chemise dans le noir, réchauffe les tons */
.fx-ombre {
  background:
    linear-gradient(to bottom, transparent 45%, rgba(5, 6, 8, .55) 78%, rgba(5, 6, 8, .92) 100%),
    linear-gradient(to left, rgba(5, 6, 8, .55), transparent 30%);
  mix-blend-mode: multiply;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 6;
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.hero-bar { z-index: 7; }
.hero-services {
  position: absolute; z-index: 7;
  right: var(--marge);
  top: 44%;
  color: var(--blanc);
  text-align: right;
  font-size: 13px;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.hero-services-titre {
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-services-titre::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--blanc);
}
.hero-bas {
  position: absolute; z-index: 7;
  left: 0; right: 0; bottom: 34px;
  margin-inline: auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero-intro { max-width: 300px; }
.hero-intro p { font-size: 13px; line-height: 1.5; margin-bottom: 14px; font-weight: 500; color: #d9d6d6; }
.hero .reseaux a { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); }
.hero .reseaux a:hover { background: var(--orange); color: var(--noir); border-color: var(--orange); }

/* =========================================================
   À PROPOS
   ========================================================= */
.apropos { padding-block: clamp(80px, 9vw, 130px); }
/* trois voix : le titre condensé, le texte courant, la calligraphie pour le ton personnel */
.apropos-grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.apropos-salut {
  font-family: var(--script);
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  line-height: 1;
  color: var(--orange);
  margin: 18px 0 14px -4px;
}
.apropos-phrase {
  font-family: var(--titre);
  text-transform: uppercase;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.02;
  max-width: 18ch;
  text-wrap: balance;
}
.apropos-detail {
  margin-top: 22px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gris-clair);
}
/* les trois qualités, en colonne à droite du texte */
.apropos-traits {
  display: grid;
  gap: 26px;
  padding-left: clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--ligne);
}
.trait-mot {
  display: block;
  font-family: var(--script);
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--orange);
  margin-bottom: 4px;
}
.apropos-traits p { font-size: 14px; line-height: 1.55; color: var(--gris-clair); max-width: 34ch; }

/* =========================================================
   CE QUE JE FAIS (fond clair)
   ========================================================= */
.services {
  background: var(--clair);
  color: var(--noir);
  padding-block: 28px 56px;
  overflow: hidden;
}
.services-haut { display: flex; justify-content: flex-end; align-items: center; }
.services-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(380px, 38vw, 540px);
}
.services-titre {
  position: absolute; inset: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding-inline: var(--marge);
  font-family: var(--titre);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 1;
  pointer-events: none;
}
/* pile de visuels : chaque image garde ses proportions, le visuel actif passe devant */
.services-pile {
  --pile-h: clamp(320px, 31vw, 440px);
  position: relative;
  display: grid;
  place-items: center;
  width: min(40vw, 500px);
  height: var(--pile-h);
}
.services-pile img { display: block; }
.pile-arriere {
  position: absolute;
  width: 66%; height: auto;
  filter: grayscale(1) contrast(1.1);
  box-shadow: 0 20px 40px -20px rgba(5, 6, 8, .5);
}
/* écartées vers les coins pour rester bien visibles derrière le visuel actif */
.pile-arriere.haut { top: -11%; left: -19%; }
.pile-arriere.bas { bottom: -11%; right: -19%; }
/* visuel du centre : coins arrondis identiques pour tous, et un très léger
   rognage du bord (accepté par Ange) qui supprime le liseré blanc des exports.
   L'ombre passe par un drop-shadow sur un enveloppe pour ne pas être coupée. */
.pile-avant {
  position: relative; z-index: 2;
  width: auto; height: auto;
  max-width: 88%; max-height: var(--pile-h);
  clip-path: inset(1.2% round 14px);
  transition: opacity .22s ease, transform .22s ease;
}
.services-pile { filter: drop-shadow(0 30px 40px rgba(5, 6, 8, .35)); }
.pile-avant.change { opacity: 0; transform: scale(.97); }

/* =========================================================
   MÉTHODE
   ========================================================= */
.methode { padding-block: clamp(90px, 10vw, 140px); }
.methode-haut {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-bottom: 48px;
}
.methode-haut .etiquette { margin-bottom: 10px; }
.methode-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.etape {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 330px;
  padding: 22px;
  background: var(--noir-2);
  border: 1px solid var(--ligne);
}
.etape-num { font-family: var(--titre); font-size: 2.6rem; line-height: 1; }
.etape h3 {
  font-family: var(--titre); font-weight: 400;
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.etape p { font-size: 13px; color: var(--gris-clair); }
/* l'orange n'apparaît qu'au survol du bloc */
.etape { transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease; }
.etape p { transition: color .3s ease; }
@media (hover: hover) {
  .etape:hover { background: var(--orange); border-color: var(--orange); color: var(--noir); transform: translateY(-6px); }
  .etape:hover p { color: var(--noir); }
}

/* =========================================================
   PROJETS : INDEX
   ========================================================= */
.projets { padding-block: clamp(60px, 7vw, 100px); }
.projets-haut {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}
.projets-haut .titre-geant { text-align: left; grid-column: 2; }   /* reste au centre, sans l'étiquette à gauche */
.projets-haut .bouton { justify-self: end; }
.tableau { width: 100%; border-collapse: collapse; font-size: 13px; }
.tableau th {
  text-align: left;
  font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gris);
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--ligne);
}
.tableau td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--ligne);
  color: var(--gris-clair);
}
.tableau td:first-child a {
  font-family: var(--titre);
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--blanc);
  text-decoration: none;
}
.tableau td:last-child { text-align: right; white-space: nowrap; }
.tableau tbody tr { transition: background-color .2s; }
.tableau tbody tr:hover { background: var(--noir-2); }
.tableau tbody tr:hover td:first-child a { color: var(--orange); }

/* =========================================================
   CAS : MOVA
   ========================================================= */
.cas { padding-block: clamp(80px, 9vw, 130px); }
.cas-titre {
  font-family: var(--titre); font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(4.5rem, 11vw, 9.5rem);
  line-height: .86;
  margin: 12px 0 10px;
}
.cas-accroche { font-family: var(--titre); text-transform: uppercase; font-size: 1.5rem; color: var(--orange); margin-bottom: 32px; }
/* en-tête du projet : titre à gauche, rôle et outils à droite */
.cas-entete {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: 36px;
}
.cas-entete .cas-accroche { margin-bottom: 0; }
.cas-entete .cas-infos { width: min(440px, 100%); margin-bottom: 6px; }
/* problème, solution, projet : trois encadrés arrondis qui réagissent au survol */
.cas-recit { display: grid; gap: 12px; margin-bottom: 28px; }
.cas-mova .cas-recit { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.cas-recit > div {
  padding: 18px 20px;
  border: 1px solid var(--ligne);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.cas-recit dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 6px; transition: color .3s ease; }
.cas-recit dd { font-size: 15px; max-width: 46ch; }
@media (hover: hover) {
  .cas-recit > div:hover {
    border-color: var(--orange);
    background: rgba(251, 96, 2, .07);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px rgba(251, 96, 2, .55);
  }
  .cas-recit > div:hover dt { color: var(--orange); }
}
.cas-infos { display: grid; gap: 0; border-top: 1px solid var(--ligne); margin-bottom: 28px; }
.cas-infos li {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ligne);
  font-size: 13px;
}
.cas-infos span { color: var(--gris); }
.cas-note { display: flex; align-items: baseline; gap: 14px; }
.cas-note strong { font-family: var(--titre); font-weight: 400; font-size: 4.2rem; line-height: 1; color: var(--orange); }
.cas-note span { font-size: 13px; color: var(--gris-clair); }

/* visuels MOVA alignés : colonnes proportionnelles au format de chaque image,
   pour qu'elles aient toutes la même hauteur sans être recadrées */
.cas-visuels {
  display: grid;
  grid-template-columns: 1.004fr 1.223fr 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 40px;
}
.cas-visuels img { width: 100%; height: auto; border-radius: 14px; }
.cas-visuels .visuel-logo img { border-radius: 0; }
.cas-visuels figcaption {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--gris-clair);
}
.cas-visuels figcaption::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--orange);
  flex: none;
}

/* =========================================================
   CAS : STUDY HOUR (fond clair)
   ========================================================= */
.cas-study { background: var(--clair); color: var(--noir); }
.study-haut {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: 56px;
}
.study-texte p { font-size: 15px; max-width: 48ch; margin-bottom: 20px; }
.study-texte .study-question {
  font-family: var(--titre);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
}
.cas-study .cas-infos { border-color: #d4cfcf; }
.cas-study .cas-infos li { border-color: #d4cfcf; }
.cas-study .cas-infos span { color: #7a7c80; }
.study-affiches {
  display: grid;
  grid-template-columns: 894fr 651fr 458fr;
  gap: 14px;
  align-items: end;
}
/* léger rognage du bord (demandé par Ange) pour enlever le liseré blanc des exports, coins arrondis */
.study-affiches img { width: 100%; height: auto; clip-path: inset(1.2% round 16px); }
.study-affiches figcaption { font-size: 12px; font-weight: 600; margin-top: 10px; color: #55575c; }

/* =========================================================
   MUR DE MINIATURES 3D
   ========================================================= */
.mur { position: relative; height: 320vh; }
.mur-collant {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.mur-nombre {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--titre);
  /* comme sur téléphone : le chiffre en haut, le mur juste en dessous qui le chevauche */
  place-items: start center;
  padding-top: 3vh;
  font-size: min(33vh, 29vw);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--orange);
  pointer-events: none;
  white-space: nowrap;
}
/* « 1 000+ » : dégradé orange, texture grunge (petits manques d'encre)
   et un glitch bref toutes les 5 secondes */
.mur-chiffre {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, #ff9a52 0%, var(--orange) 42%, #c84400 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -24 19.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -24 19.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  -webkit-mask-size: 340px; mask-size: 340px;
}
.mur-chiffre::before,
.mur-chiffre::after {
  content: attr(data-texte);
  position: absolute; inset: 0;
  -webkit-text-fill-color: currentColor;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.mur-chiffre::before { color: #ffd9bd; }
.mur-chiffre::after  { color: #8a2400; }
@media (prefers-reduced-motion: no-preference) {
  .mur-chiffre { animation: secousse 5s steps(1) infinite; }
  .mur-chiffre::before { animation: glitch-a 5s steps(1) infinite; }
  .mur-chiffre::after  { animation: glitch-b 5s steps(1) infinite; }
}
@keyframes secousse {
  0%, 88%, 97%, 100% { transform: none; }
  90% { transform: translate(-.008em, 0) skewX(-2deg); }
  93% { transform: translate(.01em, 0); }
  95% { transform: translate(-.004em, 0) skewX(1.5deg); }
}
@keyframes glitch-a {
  0%, 88%, 97%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  89% { clip-path: inset(14% 0 66% 0); transform: translateX(-.03em); }
  91% { clip-path: inset(52% 0 30% 0); transform: translateX(.025em); }
  93% { clip-path: inset(6% 0 84% 0);  transform: translateX(-.02em); }
  95% { clip-path: inset(72% 0 12% 0); transform: translateX(.03em); }
}
@keyframes glitch-b {
  0%, 88%, 97%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  89% { clip-path: inset(62% 0 20% 0); transform: translateX(.035em); }
  92% { clip-path: inset(28% 0 58% 0); transform: translateX(-.03em); }
  94% { clip-path: inset(80% 0 6% 0);  transform: translateX(.02em); }
  96% { clip-path: inset(40% 0 44% 0); transform: translateX(-.025em); }
}
#scene-mur { position: absolute; top: 4%; left: 0; width: 100%; height: 100%; display: block; }
.mur-legende { z-index: 1; }
.mur-legende {
  position: absolute; left: 0; right: 0; bottom: 32px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.mur-legende p:not(.etiquette) { font-size: 14px; line-height: 1.6; color: var(--gris-clair); max-width: 52ch; }
.mur-titre {
  font-family: var(--titre); font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 8px 0 8px;
}
/* sans WebGL : une grille simple prend le relais */
.mur-repli { display: none; }
.sans-webgl .mur { height: auto; }
.sans-webgl .mur-collant { position: relative; height: auto; padding: 120px 0 200px; }
.sans-webgl .mur-repli {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  position: relative; z-index: 1;
  width: 100%; max-width: var(--large);
  margin-inline: auto;
  padding-inline: var(--marge);
}
.sans-webgl .mur-repli img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sans-webgl .mur-nombre { opacity: .15; }

/* =========================================================
   AUTRES CRÉATIONS
   ========================================================= */
.creations { padding-block: clamp(80px, 9vw, 130px); }
.creations-haut { margin-bottom: 40px; }
/* titre en calligraphie orange, comme « sélectionnés » et « Moi, c'est Ange. » */
.creations-titre {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  line-height: 1;
  color: var(--orange);
}
/* galerie rangée par catégorie : nom à gauche, visuels à droite */
.groupe {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  padding-block: 28px;
  border-top: 1px solid var(--ligne);
}
.groupe-nom {
  font-family: var(--titre); font-weight: 400;
  text-transform: uppercase;
  font-size: 1.35rem;
  line-height: 1.1;
}
.groupe-nom::before {
  content: "";
  display: block;
  width: 22px; height: 3px;
  background: var(--orange);
  margin-bottom: 12px;
}
.groupe-rangees { display: grid; gap: 12px; }
@media (max-width: 1000px) and (min-width: 701px) {
  .groupe { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
}
/* chaque visuel prend une largeur proportionnelle à son format :
   toute la rangée a la même hauteur, sans aucun recadrage */
.rangee { display: flex; gap: 12px; align-items: flex-start; }
.rangee figure { flex: var(--r) 1 0; min-width: 0; }
.rangee img {
  width: 100%; height: auto;
  border-radius: 10px;
  transition: transform .35s ease, box-shadow .35s ease;
}
@media (hover: hover) {
  .rangee img:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(251, 96, 2, .5); }
}

/* =========================================================
   CHIFFRES
   ========================================================= */
.chiffres { padding-block: clamp(70px, 8vw, 110px); }
.chiffres-haut {
  display: grid;
  grid-template-columns: 1fr 5fr;
  gap: 32px;
  margin-bottom: 56px;
}
/* la phrase en escalier : chaque ligne décalée un peu plus à droite */
.chiffres-phrase { display: grid; gap: 4px; }
.chiffres-fait {
  font-family: var(--titre);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.05;
}
.chiffres-script {
  font-family: var(--script);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15;
  color: var(--orange);
  padding-left: clamp(16px, 4vw, 64px);
}
/* deux grands chiffres seulement */
.chiffres-grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.chiffres-grille li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02);
  min-height: 300px;
  transition: border-color .3s ease, transform .3s ease;
}
@media (hover: hover) {
  .chiffres-grille li:hover { border-color: var(--orange); transform: translateY(-4px); }
}
.chiffres-grille p { font-size: 15px; color: var(--gris-clair); max-width: 30ch; }
.chiffres-grille strong { font-family: var(--titre); font-weight: 400; font-size: clamp(5rem, 11vw, 10rem); line-height: .9; }

/* =========================================================
   PARCOURS (fond clair, carte centrée)
   ========================================================= */
.parcours { background: var(--clair); color: var(--noir); padding-block: clamp(70px, 8vw, 110px); }
.parcours-contenu { display: flex; flex-direction: column; align-items: center; text-align: center; }
.parcours-titre {
  font-family: var(--titre); font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .95;
  margin: 18px 0 40px;
}
.parcours-titre span { display: block; }
.parcours-carte {
  width: min(760px, 100%);
  background: var(--blanc);
  border-radius: 14px;
  padding: 10px 32px;
  text-align: left;
  box-shadow: 0 40px 80px -40px rgba(5, 6, 8, .35);
  margin-bottom: 36px;
}
.parcours-carte li {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #ece7e7;
}
.parcours-carte li:last-child { border-bottom: 0; }
.parcours-carte h3 { font-size: 15px; font-weight: 700; }
.parcours-carte .date { font-size: 12px; color: var(--gris); margin-top: 2px; }
.parcours-carte li > p { font-size: 13px; color: #4a4c51; }

/* =========================================================
   MOTIVATION
   ========================================================= */
/* la contact suit de près : peu d'espace sous la citation */
.motivation { padding-block: clamp(90px, 10vw, 140px) clamp(24px, 3vw, 40px); }
.motivation-contenu { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* titre en calligraphie orange, comme « Créations » et « sélectionnés » */
.motivation-titre {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  line-height: 1;
  color: var(--orange);
}
.motivation blockquote {
  position: relative;
  max-width: 54ch;
  margin: 40px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  font-weight: 500;
}
.motivation blockquote::before {
  content: "“";
  position: absolute; left: -.2em; top: -.55em;
  font-family: var(--titre);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--orange);
}

/* =========================================================
   CONTACT : carte inclinée sur une carte de fond
   ========================================================= */
/* en bas : la respiration + ce que les cartes inclinées dépassent sous leur cadre */
.contact { padding-block: clamp(56px, 6vw, 90px) calc(var(--respiration) + clamp(24px, 4vw, 56px)); display: grid; place-items: center; padding-inline: var(--marge); }
.contact-pile { position: relative; width: min(560px, 100%); }
.carte-fond {
  position: absolute; inset: 0;
  background: var(--orange);
  border-radius: 10px;
  transform: rotate(-6deg) translate(-26px, 18px);
}
.carte-contact {
  position: relative;
  background: var(--blanc);
  color: var(--noir);
  border-radius: 10px;
  padding: 30px 32px 24px;
  transform: rotate(3deg);
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.carte-etiquette { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.point { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.carte-contact h2 {
  font-family: var(--titre); font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: .95;
  margin: 12px 0 14px;
}
.carte-contact > p { font-size: 13px; color: #4a4c51; max-width: 40ch; margin: 0 auto 20px; }
.carte-pied {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 26px; padding-top: 14px;
  border-top: 1px solid #ece7e7;
  font-size: 12px; text-align: left;
}
.carte-pied span { display: block; color: var(--gris); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.carte-pied p:last-child { text-align: right; }

/* =========================================================
   PIED DE PAGE : sobre, sur le fond noir continu
   ========================================================= */
/* le trait de séparation est à égale distance de la carte contact et du « Merci » :
   même espace (--respiration) en bas du contact et en haut du pied */
:root { --respiration: clamp(64px, 7vw, 104px); }
.pied { overflow: clip; }
.pied-haut {
  padding-top: var(--respiration);
  border-top: 1px solid var(--ligne);
  text-align: center;
}
.pied-merci {
  font-family: var(--script);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--orange);
}
/* le nom en grand, blanc, droit, avec le même glitch que le « 1 000+ » */
.pied-nom {
  margin-block: clamp(64px, 6.5vw, 96px) clamp(40px, 5vw, 80px);
  text-align: center;
}
.pied-nom-boite { position: relative; display: inline-block; }
.pied-nom-texte {
  position: relative;
  font-family: var(--titre);
  text-transform: uppercase;
  font-size: min(12.6vw, 11.2rem);
  line-height: .85;
  letter-spacing: -.005em;
  white-space: nowrap;
  color: var(--blanc);
}
.pied-nom-texte::before,
.pied-nom-texte::after {
  content: attr(data-texte);
  position: absolute; inset: 0;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.pied-nom-texte::before { color: var(--orange); }
.pied-nom-texte::after  { color: #9fa1a6; }
@media (prefers-reduced-motion: no-preference) {
  .pied-nom-texte { animation: secousse 6s 1.5s steps(1) infinite; }
  .pied-nom-texte::before { animation: glitch-a 6s 1.5s steps(1) infinite; }
  .pied-nom-texte::after  { animation: glitch-b 6s 1.5s steps(1) infinite; }
}

/* logos LinkedIn et Behance qui sautillent le long du nom ;
   ils s'arrêtent au survol pour qu'on puisse cliquer facilement */
.sauteur {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: clamp(36px, 4.2vw, 58px);
  display: block;
}
.sauteur-saut { display: block; transform-origin: 50% 100%; }
.sauteur svg {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55));
  transition: transform .25s ease;
}
.sauteur:hover svg, .sauteur:focus-visible svg { transform: scale(1.15); }
.sauteur-1 { left: 18%; }
.sauteur-2 { left: 70%; }
@media (prefers-reduced-motion: no-preference) {
  .sauteur { animation: traverse 19s ease-in-out infinite alternate; }
  .sauteur-2 { animation-duration: 23s; animation-direction: alternate-reverse; }
  .sauteur-saut { animation: saut .95s cubic-bezier(.3, 0, .7, 1) infinite; }
  .sauteur-2 .sauteur-saut { animation-duration: 1.1s; animation-delay: -.4s; }
  .sauteur:hover, .sauteur:hover .sauteur-saut,
  .sauteur:focus-visible, .sauteur:focus-visible .sauteur-saut { animation-play-state: paused; }
}
@keyframes traverse {
  from { left: 0; }
  to   { left: calc(100% - clamp(36px, 4.2vw, 58px)); }
}
/* un rebond : écrasé au contact des lettres, étiré en l'air */
@keyframes saut {
  0%   { transform: translateY(0) scale(1.08, .9); }
  12%  { transform: translateY(-10%) scale(.96, 1.05); }
  50%  { transform: translateY(-65%) scale(1, 1); }
  88%  { transform: translateY(-10%) scale(.97, 1.03); }
  100% { transform: translateY(0) scale(1.08, .9); }
}
.pied-bas {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 0 28px;
  font-size: 12px;
  color: var(--gris-clair);
}

/* =========================================================
   FOND CONTINU DES PARTIES NOIRES
   Un seul calque fixe derrière toute la page : les sections noires
   sont transparentes, donc la lueur passe de l'une à l'autre sans
   coupure. Elle glisse doucement à mesure qu'on descend (--defile,
   de 0 à 1, mis à jour par app.js).
   ========================================================= */
.fond-continu {
  --defile: 0;
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.fond-continu span {
  position: absolute;
  width: 60vmax; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(251, 96, 2, .17), rgba(251, 96, 2, .05) 55%, transparent);
  filter: blur(30px);
  will-change: translate;
}
/* l'une part de la droite vers la gauche, l'autre fait l'inverse */
.fond-continu span:nth-child(1) {
  top: -18vmax; left: 58vw;
  translate: calc(var(--defile) * -62vw) calc(var(--defile) * 22vh);
}
.fond-continu span:nth-child(2) {
  bottom: -26vmax; left: -22vmax;
  translate: calc(var(--defile) * 60vw) calc(var(--defile) * -14vh);
  opacity: .8;
}
.fond-continu::after {
  content: "";
  position: absolute; inset: 0;
  opacity: .08;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
  .fond-continu span { animation: respire-fond 14s ease-in-out infinite alternate; }
  .fond-continu span:nth-child(2) { animation-duration: 19s; }
  @keyframes respire-fond { from { scale: .92; } to { scale: 1.08; } }
}

/* =========================================================
   FONDS CLAIRS : texture papier (grain fin + légères marbrures)
   ========================================================= */
.services, .cas-study, .parcours {
  background-color: var(--clair);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .24 0 0 0 .3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .33 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(90, 70, 60, .1), transparent 70%);
}

/* =========================================================
   ENTRÉES AU SCROLL
   app.js pose .anime sur <html> (seulement si les animations sont permises)
   et une direction data-entree sur chaque bloc ; le bloc reçoit .visible
   quand il entre dans l'écran. On anime translate/scale (propriétés à part)
   pour ne jamais écraser les transform des effets de survol.
   Sans JavaScript, rien n'est caché.
   ========================================================= */
main { overflow-x: clip; }   /* un bloc qui arrive de la droite ne crée pas de défilement horizontal */
.anime [data-entree] {
  opacity: 0;
  transition:
    opacity .8s cubic-bezier(.2, .8, .2, 1) var(--delai, 0s),
    translate .9s cubic-bezier(.2, .8, .2, 1) var(--delai, 0s),
    scale .9s cubic-bezier(.2, .8, .2, 1) var(--delai, 0s);
}
.anime [data-entree="bas"]    { translate: 0 56px; }
.anime [data-entree="gauche"] { translate: -72px 0; }
.anime [data-entree="droite"] { translate: 72px 0; }
.anime [data-entree="zoom"]   { translate: 0 32px; scale: .94; }
.anime [data-entree].visible  { opacity: 1; translate: 0 0; scale: 1; }

/* =========================================================
   ANIMATION D'OUVERTURE (un seul moment orchestré)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero-nom .ligne > span { animation: monte .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-nom .ligne:nth-child(2) > span { animation-delay: .08s; }
  .hero-portrait, .hero-portrait-fx { animation: apparait 1.1s .15s ease-out both; }
  .hero-ville { animation: surgit 1.8s ease-out both; }
  @keyframes surgit { from { opacity: 0; } }
  @keyframes monte { from { transform: translateY(35%); opacity: 0; } }
  @keyframes apparait { from { opacity: 0; transform: translateX(3%); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .hero-nav a:nth-child(3) { display: none; }
  .hero-services { top: auto; bottom: 150px; }
  /* tablette : le nom au-dessus, le portrait en dessous, sans se chevaucher */
  .hero { --portrait-pos: 80% 0%; }
  .hero-nom { font-size: 13vw; }
  .hero-portrait, .hero-portrait-fx { width: 100%; height: 72%; }
  .chiffres-haut { grid-template-columns: 1fr; gap: 16px; }
  .apropos-grille { grid-template-columns: 1fr; }
  .apropos-traits { grid-template-columns: repeat(3, 1fr); padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--ligne); }
  .methode-grille { grid-template-columns: repeat(2, 1fr); }
  .projets-haut { grid-template-columns: 1fr; }
  .projets-haut .titre-geant { grid-column: auto; }
  .projets-haut .bouton { justify-self: start; }
  .study-haut { grid-template-columns: 1fr; }
  .cas-entete { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cas-mova .cas-recit { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero { min-height: 100svh; }
  .hero-nav { display: none; }
  .hero-nom { font-size: 23vw; top: 84px; }
  .hero { --portrait-pos: 82% 0%; }
  .hero-portrait, .hero-portrait-fx { width: 100%; height: 70%; }
  .hero-ville { width: 100%; left: 0; height: 62%; object-position: 62% 0%; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  .lueur-texte { width: 90vw; height: 60vw; top: 8%; }
  .lueur-portrait { width: 110vw; height: 110vw; top: 26%; right: -30%; }
  .hero-services { display: none; }
  .hero-bas { flex-direction: column; align-items: flex-start; bottom: 32px; }
  .hero-intro p { color: var(--blanc); text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
  .apropos-traits { grid-template-columns: 1fr; gap: 20px; }
  .services-scene { display: flex; flex-direction: column; min-height: 0; padding-top: 28px; }
  .services-titre { position: static; justify-content: flex-start; gap: .25em; padding: 0; width: 100%; font-size: 15vw; }
  .services-pile { --pile-h: 320px; width: 88vw; margin-block: 58px 40px; }
  .pile-arriere.haut { left: 0; }
  .pile-arriere.bas { right: 0; }
  .methode-haut { flex-direction: column; align-items: flex-start; }
  .methode-grille { grid-template-columns: 1fr; }
  .etape { min-height: 200px; }
  .tableau thead { display: none; }
  .tableau tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
  .tableau td { border: 0; padding: 2px 0; }
  .tableau td:nth-child(2), .tableau td:nth-child(3) { grid-column: 1 / -1; font-size: 12px; }
  .tableau td:last-child { grid-row: 1; grid-column: 2; align-self: center; }
  .cas-infos li { grid-template-columns: 90px 1fr; }
  /* mobile : l'interface en grand, l'affiche et le logo côte à côte dessous */
  .cas-visuels { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cas-visuels figure:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .study-affiches { grid-template-columns: 1fr 1fr; }
  .study-affiches figure:first-child { grid-column: 1 / -1; }
  .mur-legende { flex-direction: column; align-items: flex-start; }
  #scene-mur { top: -6%; bottom: auto; height: 100%; }
  .mur-nombre { place-items: start center; padding: 11vh 0 0; font-size: 39vw; }
  /* mobile : le nom au-dessus, les visuels sur deux colonnes, toujours entiers */
  .groupe { grid-template-columns: 1fr; gap: 16px; padding-block: 22px; }
  .rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .groupe-rangees { gap: 8px; }
  .chiffres-grille { grid-template-columns: 1fr; gap: 12px; }
  .chiffres-grille li { min-height: 0; gap: 28px; padding: 22px; }
  .chiffres-grille strong { font-size: 26vw; }
  .parcours-carte { padding: 4px 18px; }
  .parcours-carte li { grid-template-columns: 1fr; gap: 6px; }
  .carte-contact { transform: rotate(2deg); padding: 24px 18px 18px; }
  .carte-fond { transform: rotate(-5deg) translate(-8px, 14px); }
  .carte-pied { flex-direction: column; }
  .carte-pied p:last-child { text-align: left; }
  .pied-haut { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pied-bas { flex-direction: column; gap: 4px; }
}
