/* =============================================================
   Innove Inn Concept — feuille de styles du site
   Charte : noir profond #0A0D14 · blanc cassé #F2F1EE · rouge #F12D41 · bleu marine #13356B
   ============================================================= */

:root {
  --ink: #0A0D14;          /* noir profond (fonds sombres) */
  --paper: #F2F1EE;        /* blanc cassé (fonds clairs) */
  --red: #F12D41;          /* rouge Innove */
  --red-dark: #D21F33;     /* rouge au survol */
  --navy: #13356B;         /* bleu marine Innove */
  --grey: #B3B3B3;
  --soft: #D9DBE0;
  --panel: #11151F;
  --plate: #E4E2DC;
  --px: clamp(20px, 5vw, 72px);       /* marges latérales */
  --sy: clamp(96px, 11vw, 160px);     /* espacement vertical des sections */
  --ease: cubic-bezier(.16, .84, .3, 1);
  --zoom: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;   /* les ancres (#formulaire…) ne passent pas sous l’en-tête fixe */
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--red); }
button, input, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: #6B7080; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
html.is-locked { overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 12px 18px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-200%); transition: transform .2s ease;
}
.skip-link:focus { transform: none; color: #fff; }

/* ---------- Mise en page commune ---------- */
.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--px); padding-right: var(--px); }
.section > .wrap { padding-top: var(--sy); padding-bottom: var(--sy); }

.dark  { background: var(--ink);   color: #fff;        --muted: #8A8F9C; --line: #262B37; --body: #B3B3B3; }
.light { background: var(--paper); color: var(--ink);  --muted: #5B606B; --line: #D6D4CE; --body: #3D414B; }

.red { color: var(--red); }
.sq { display: inline-block; width: 8px; height: 8px; background: var(--red); flex: none; }
:is(h1, h2, h3, h4, .case__cta p) strong { font-weight: 700; color: var(--red); }

/* Rubrique : filet + intitulé en capitales espacées */
.rubric {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: clamp(56px, 7vw, 96px);
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
}
.rubric::before { content: ""; flex: 1; height: 1px; background: var(--line); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; line-height: 1.6; text-transform: uppercase;
  color: var(--soft);
}

.label {
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #5B606B;
}

/* Grands titres légers avec mot clé rouge */
.t-xl { font-size: clamp(44px, 6vw, 92px); font-weight: 300; line-height: .98; letter-spacing: -.035em; }
.t-exp { font-size: clamp(40px, 5.4vw, 84px); font-weight: 300; line-height: 1; letter-spacing: -.035em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--body); }

.split-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 32px 64px; margin-bottom: clamp(56px, 7vw, 88px);
}
.split-head > h2 { flex: 1 1 520px; }
.split-head > p { flex: 0 1 380px; }
.split-head--tight { margin-bottom: clamp(40px, 5vw, 64px); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px; box-sizing: border-box;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, translate .45s var(--ease), scale .2s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--submit { height: 54px; padding: 0 28px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Lien souligné rouge */
.link-arrow {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 0 6px; border-bottom: 2px solid var(--red);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: color .2s;
}
.dark .link-arrow { color: #fff; }
.light .link-arrow { color: var(--ink); }
.link-arrow:hover, .dark .link-arrow:hover, .light .link-arrow:hover { color: var(--red); }

/* Listes à puces carrées rouges */
.dots {
  list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 24px;
  font-size: 15px; line-height: 1.4;
}
.dots li { display: flex; align-items: center; gap: 12px; }
.dots li::before { content: ""; width: 6px; height: 6px; background: var(--red); flex: none; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 10px; border: 1px solid #3A3F4B; font-size: 12px; font-weight: 500; line-height: 1.2; color: var(--soft); }

/* Image qui remplit son cadre */
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Images découpées en escalier (motif du logo) + carrés rouges */
.stair { position: relative; }
.stair__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: var(--clip); }
.stair__sq { position: absolute; background: var(--red); }

/* =============================================================
   EN-TÊTE
   ============================================================= */
.site-header {
  --nav-fg: #fff;
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10, 13, 20, 0);
  border-bottom: 1px solid rgba(10, 13, 20, 0);
  transition: background .4s ease, border-color .4s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 13, 20, .92);
  border-bottom-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.site-header.is-light {
  --nav-fg: var(--ink);
  background: rgba(242, 241, 238, .96);
  border-bottom-color: rgba(10, 13, 20, .08);
}
.site-header.is-menu-open { background: rgba(10, 13, 20, .92); }
.site-header__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { position: relative; display: block; flex: none; text-decoration: none; }
.brand img { display: block; height: 46px; width: auto; }
.brand .brand__color { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .4s ease; }
.is-light .brand .brand__color { opacity: 1; }

.nav { display: none; align-items: center; gap: 40px; }
.nav__links {
  display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
}
.nav__links a { position: relative; color: var(--nav-fg); text-decoration: none; transition: color .3s ease; }
.nav__links a:hover { color: var(--red); }

.burger {
  width: 44px; height: 44px; margin-right: -9px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 0; background: none; border: 0; cursor: pointer;
}
.burger span { display: block; width: 26px; height: 2px; background: var(--nav-fg); transition: transform .3s ease, background .3s ease; }
.is-menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.is-menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .burger { display: none; }
}

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink);
  padding: 120px var(--px) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  overflow-y: auto; overscroll-behavior: contain;
  animation: menu-in .3s ease;
}
@keyframes menu-in { from { opacity: 0; } }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 14px 0; border-bottom: 1px solid #262B37;
  font-size: 36px; font-weight: 300; letter-spacing: -.02em; color: #fff; text-decoration: none;
}
.mobile-menu nav a.is-cta { font-weight: 700; color: var(--red); }
@media (max-height: 880px) { .mobile-menu nav a { padding: 11px 0; font-size: 31px; } }   /* 8 liens visibles sans défiler */
.mobile-menu__contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.7; color: var(--grey); }
.mobile-menu__contact a { color: #fff; text-decoration: none; }
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }

/* =============================================================
   01 · ACCUEIL
   ============================================================= */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; top: -25%; right: -20%; width: 80%; height: 140%;
  background: radial-gradient(closest-side, rgba(19, 53, 107, .55), rgba(19, 53, 107, 0));
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding-top: 132px; padding-bottom: 36px;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
}
.hero__main { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(48px, 6vw, 96px); }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }
.hero__title { font-size: clamp(50px, 6vw, 92px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; }
.hero__lead { max-width: 28em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--grey); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { flex: 1 1 400px; max-width: 560px; aspect-ratio: 274 / 289; }
.hero__foot {
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #8A8F9C;
}
.hero__foot::before { content: ""; flex: 1; height: 1px; background: #262B37; }

/* Bandeau défilant */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: clamp(22px, 3vw, 34px) 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; animation: marquee 42s linear infinite; }
.marquee__group {
  display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 4vw, 56px);
  font-size: clamp(30px, 4.4vw, 64px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap;
}
.marquee__group .sq { width: .22em; height: .22em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   02 · MANIFESTE
   ============================================================= */
.manifeste__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(56px, 8vw, 128px); }
.manifeste__main { flex: 1.4 1 460px; min-width: 0; }
.manifeste__main .t-xl { margin-bottom: clamp(40px, 5vw, 72px); }
.manifeste__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.manifeste__row :is(h2, h3) { flex: 1 1 170px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.manifeste__row p { flex: 999 1 280px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--body); }
.manifeste__sign {
  display: flex; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink);
}
.manifeste__sign::before { content: ""; width: 32px; height: 2px; background: var(--red); flex: none; }
.manifeste__aside { flex: 1 1 340px; display: flex; flex-wrap: wrap-reverse; align-items: flex-end; justify-content: flex-end; gap: 28px; }
.manifeste__aside > p { font-size: 12px; font-weight: 600; letter-spacing: .28em; line-height: 2.3; text-transform: uppercase; color: var(--muted); }
.manifeste__img { flex: 0 1 380px; min-width: 240px; position: relative; aspect-ratio: 178 / 289; overflow: hidden; }

/* =============================================================
   03 · L’AGENCE
   ============================================================= */
.agence__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(56px, 8vw, 128px); }
.agence__visual { flex: 1 1 380px; max-width: 540px; aspect-ratio: 221 / 254; }
.agence__text { flex: 1.2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.agence__text h2 { font-size: clamp(36px, 4.4vw, 64px); font-weight: 300; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.agence__text p { max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--body); }
.agence__text .link-arrow { margin-top: 8px; }
.promise { margin-top: clamp(88px, 10vw, 144px); padding-top: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px 48px; }
.promise figcaption { flex: 1 1 180px; padding-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.promise blockquote { flex: 999 1 520px; font-size: clamp(26px, 3.2vw, 48px); font-weight: 300; line-height: 1.22; letter-spacing: -.02em; text-wrap: pretty; }
.promise blockquote span { color: #8A8F9C; }

/* =============================================================
   04 · VISION & MISSION
   ============================================================= */
.vision__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
.vision__item { display: flex; flex-direction: column; gap: 24px; max-width: 420px; }
.vision__item h2 { font-size: clamp(40px, 4.6vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -.035em; }
.vision__item p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--body); }
.vision__img { justify-self: center; width: 100%; max-width: 320px; position: relative; aspect-ratio: 109 / 189; overflow: hidden; }
.vision__tagline {
  margin-top: clamp(56px, 7vw, 96px); text-align: center;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; line-height: 1.8; text-transform: uppercase; color: var(--muted);
}
@media (min-width: 1024px) {
  .vision__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1fr); }
}

/* =============================================================
   05 · MÉTHODE
   ============================================================= */
.methode__title { margin-bottom: clamp(56px, 7vw, 96px); }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px clamp(20px, 2vw, 28px);
}
.step { display: flex; flex-direction: column; gap: 22px; }
.step__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.step__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--zoom); }
.step__img:hover img { transform: scale(1.06); }
.step__num { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; letter-spacing: .12em; color: #8A8F9C; }
.step__num::after { content: ""; flex: 1; height: 1px; background: #262B37; }
.step h3 { font-size: clamp(26px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--red); }
.step__list { font-size: 16px; line-height: 1.9; color: var(--grey); }

/* =============================================================
   06 · EXPERTISES
   ============================================================= */
/* min-width: 0 évite que la hauteur minimale, convertie par le ratio, n’impose 607 px de large sur mobile */
.exp-banner { position: relative; width: 100%; min-width: 0; aspect-ratio: 21 / 9; min-height: 260px; margin-bottom: clamp(56px, 7vw, 88px); overflow: hidden; background: var(--ink); }

.poles { display: grid; grid-template-columns: minmax(0, 1fr); }
.pole-btn {
  display: flex; align-items: center; gap: 20px; width: 100%;
  padding: 22px 0; background: none; border: 0; border-top: 1px solid var(--line);
  cursor: pointer; text-align: left; color: #5B606B; transition: color .3s ease;
}
.pole-btn:hover, .pole-btn.is-active { color: var(--ink); }
.pole-btn__num { flex: none; width: 2.3em; font-size: clamp(22px, 2.2vw, 32px); font-weight: 300; letter-spacing: -.02em; color: var(--grey); transition: color .3s ease; }
.pole-btn__name { flex: 1; font-size: clamp(19px, 1.7vw, 25px); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.pole-btn__arrow { flex: none; font-size: 20px; color: var(--grey); transition: transform .4s ease, translate .45s var(--ease), color .3s ease; }
.pole-btn.is-active .pole-btn__num, .pole-btn.is-active .pole-btn__arrow { color: var(--red); }
.pole-btn.is-active .pole-btn__arrow { transform: rotate(90deg); }

.pole-panel { display: none; flex-wrap: wrap; align-items: flex-start; gap: 36px; padding: 8px 0 44px; }
.pole-panel.is-active { display: flex; }
.pole-panel__img { flex: 0 1 270px; min-width: 220px; position: relative; aspect-ratio: 5 / 7; overflow: hidden; }
.pole-panel__body { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pole-panel__body h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 300; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.pole-panel__body > p { font-size: 17px; line-height: 1.6; color: var(--body); }
.pole-panel .link-arrow { margin-top: 6px; }
.poles__end { border-top: 1px solid var(--line); }

@media (min-width: 1024px) {
  .poles { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: 64px; }
  .pole-btn, .poles__end { grid-column: 1; }
  .pole-panel { grid-column: 2; grid-row: 1 / 8; padding: 0; }
  .pole-btn.is-active .pole-btn__arrow { transform: translateX(6px); }
}

/* =============================================================
   07 · PORTFOLIO
   ============================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.chip-btn {
  padding: 10px 16px; font-size: 14px; font-weight: 500; line-height: 1.2;
  background: transparent; color: var(--soft); border: 1px solid #3A3F4B; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, scale .2s ease;
}
.chip-btn:hover { border-color: #8A8F9C; }
.chip-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.works { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 128px); }

/* Vignette cliquable avec zoom au survol */
.media { position: relative; display: block; overflow: hidden; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--zoom); }
.media--feature { aspect-ratio: 16 / 9; background: var(--paper); }
.media--feature:hover img { transform: scale(1.03); }
.media--card { background: var(--panel); }
.media--card:hover img { transform: scale(1.05); }
.media--logos { flex: 1 1 320px; max-width: 540px; aspect-ratio: 1122 / 1402; background: var(--panel); }
.media--logos:hover img { transform: scale(1.04); }

.feature { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
.feature__info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; }
.feature__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feature__side { flex: 0 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.feature__title { font-size: clamp(36px, 4.4vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.feature__sub { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: var(--soft); }
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8A8F9C;
}
.kicker--light { color: #5B606B; }

.cards { display: flex; flex-wrap: wrap; gap: clamp(56px, 7vw, 96px) clamp(20px, 3vw, 40px); align-items: flex-start; }
.card { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.card__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__sector { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8A8F9C; }
.card__client { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.card__title { font-size: 16px; line-height: 1.5; color: var(--grey); text-wrap: pretty; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.card__foot .link-arrow { align-self: center; }

.logos-feature { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(28px, 4vw, 64px); }
.logos-feature__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.logos-feature__text .link-arrow { margin-top: 10px; }

/* =============================================================
   08 · CLIENTS
   ============================================================= */
.clients__title { margin-bottom: clamp(48px, 6vw, 80px); }
.clients {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.clients li {
  position: relative;
  aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.clients li.is-main { grid-column: span 2; aspect-ratio: 3 / 1; }
.clients img { width: var(--w); height: auto; }
@media (min-width: 640px) {
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients li.is-main { grid-row: span 2; aspect-ratio: auto; }
}
@media (min-width: 1000px) {
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =============================================================
   09 · CONTACT
   ============================================================= */
.contact__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(56px, 8vw, 120px); }
.contact__info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.contact__info h2:focus { outline: none; }
.contact__info > p { max-width: 30em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--body); }
.coords { display: flex; flex-direction: column; border-bottom: 1px solid #262B37; }
.coords > div { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 18px 0; border-top: 1px solid #262B37; }
.coords dt { flex: 0 0 120px; padding-top: 5px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8A8F9C; }
.coords dd { flex: 1 1 220px; font-size: 18px; line-height: 1.5; display: flex; flex-direction: column; align-items: flex-start; }
.coords a { text-decoration: none; }
.coords__small { font-size: 15px; color: var(--grey); }
.coords .coords__map { margin-top: 6px; font-size: 15px; color: var(--red); }
.coords .coords__map:hover { color: #fff; }

.contact__form { flex: 1 1 460px; min-width: 0; }
.form {
  display: flex; flex-direction: column; gap: 32px;
  padding: clamp(24px, 4vw, 48px); background: var(--panel); border: 1px solid #262B37;
}
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field__label, .needs legend { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8A8F9C; transition: color .25s ease; }
.field:focus-within .field__label { color: var(--red); }   /* le champ en cours de saisie est repéré */
.field input, .field textarea {
  width: 100%; padding: 8px 0 12px; margin: 0;
  background: transparent; border: 0; border-bottom: 1px solid #3A3F4B; border-radius: 0; outline: none;
  font-size: 18px; color: #fff; transition: border-color .25s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; line-height: 1.5; min-height: 112px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--red); }
.field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px var(--panel) inset;
  caret-color: #fff;
}
.needs { margin: 0; padding: 0; border: 0; min-width: 0; }
.needs legend { padding: 0; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  padding: 10px 16px; font-size: 14px; font-weight: 500; line-height: 1.2;
  color: var(--soft); border: 1px solid #3A3F4B;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover span { border-color: #8A8F9C; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-size: 15px; line-height: 1.5; color: var(--red); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__note { font-size: 13px; line-height: 1.5; color: #8A8F9C; }

.form-done {
  min-height: 440px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px;
  padding: clamp(24px, 4vw, 48px); background: var(--panel); border: 1px solid #262B37;
}
.form-done:focus { outline: none; }
.form-done img { width: 52px; height: 52px; }
.form-done__msg { display: flex; flex-direction: column; gap: 24px; }
.form-done h3 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.form-done p { max-width: 28em; font-size: 18px; line-height: 1.6; color: var(--grey); }
.form-done .form-done__alt { font-size: 15px; color: #8A8F9C; }
.form-done__alt a { color: #fff; }

/* =============================================================
   PIED DE PAGE
   ============================================================= */
.footer { border-top: 1px solid #1C2130; }
/* Marge basse élargie : la dernière ligne reste dégagée du bouton WhatsApp flottant */
.footer .wrap { padding-top: clamp(64px, 8vw, 104px); padding-bottom: 96px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px 64px; }
.footer__brand { flex: 1 1 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer__brand a { display: block; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { font-size: 18px; font-weight: 500; color: var(--soft); }
.footer__col { flex: 0 1 220px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.footer__col--nav { flex-basis: 160px; }
.footer__label { margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8A8F9C; }
.footer a { color: var(--soft); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--red); }
.footer__bottom {
  margin-top: clamp(56px, 7vw, 88px); padding-top: 24px; border-top: 1px solid #1C2130;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: 13px; line-height: 1.5; color: #8A8F9C;
}

/* =============================================================
   ÉTUDES DE CAS (fenêtres plein écran)
   ============================================================= */
.case {
  --muted: #5B606B; --line: #D6D4CE; --body: #3D414B;
  position: fixed; inset: 0; z-index: 60;
  display: none; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink);
}
.case.is-open { display: block; animation: case-in .7s var(--ease); }
@keyframes case-in { from { opacity: 0; transform: translateY(40px); } }

.case__bar {
  position: sticky; top: 0; z-index: 2;
  background: rgba(242, 241, 238, .94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 13, 20, .08);
}
.case__bar .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.case__bar img { height: 46px; width: auto; }
.case__close {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px;
  border: 1px solid rgba(10, 13, 20, .25); color: var(--ink);
  font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .25s ease;
}
.case__close:hover { border-color: var(--ink); color: var(--ink); }

.case__head { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); }
.case__head--logos { padding-bottom: clamp(56px, 7vw, 96px); }
.case__kicker {
  margin-bottom: clamp(28px, 3vw, 40px);
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; line-height: 1.6; text-transform: uppercase; color: #5B606B;
}
.case__title { max-width: 12em; font-size: clamp(44px, 6.6vw, 108px); font-weight: 700; line-height: .98; letter-spacing: -.04em; color: var(--red); text-wrap: balance; }
.case__title--light { max-width: 11em; font-weight: 300; color: var(--ink); }
.case__subtitle { margin-top: clamp(14px, 1.6vw, 22px); max-width: 20em; font-size: clamp(24px, 2.6vw, 40px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.case__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px 72px;
  margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line);
}
.case__intro { flex: 1 1 420px; max-width: 30em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--body); text-wrap: pretty; }
.case__intro--big { max-width: 26em; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.facts { flex: 0 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 32px; }
.facts > div { display: flex; flex-direction: column; gap: 8px; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #5B606B; }
.facts dd { font-size: 17px; line-height: 1.5; display: flex; flex-direction: column; }

.case__hero { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--paper); }
.case__sec { padding-top: clamp(88px, 10vw, 144px); }
.case__sec-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 64px; margin-bottom: clamp(36px, 4vw, 56px);
}
.case__sec-head h3 { flex: 1 1 420px; font-size: clamp(36px, 4.4vw, 64px); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.case__sec-head p { flex: 0 1 440px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--body); text-wrap: pretty; }

/* Galeries */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
@media (min-width: 560px) {
  .gallery--2, .gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
  .gallery--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .gallery--12 > .span-4 { grid-column: span 4; }
  .gallery--12 > .span-8 { grid-column: span 8; }
}
@media (min-width: 1024px) {
  .gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.shot { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.shot__box { position: relative; background: var(--plate); overflow: hidden; }
.shot__box > img { width: 100%; height: 100%; object-fit: cover; }
.shot__box--logo { background: #fff; display: flex; align-items: center; justify-content: center; }
.shot__box--logo > img { width: var(--w); height: auto; object-fit: contain; }
.shot--shadow .shot__box { box-shadow: 0 24px 48px rgba(10, 13, 20, .14); }
.shot__tag {
  position: absolute; left: 16px; top: 16px; padding: 8px 12px;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; line-height: 1.2; text-transform: uppercase;
}
.shot figcaption { font-size: 14px; line-height: 1.45; color: #5B606B; }

/* Fin de fiche : projet suivant + contact */
.case__spacer { height: clamp(88px, 10vw, 144px); }
.case__end { background: var(--ink); color: #fff; }
.case__end .wrap, .page-end .wrap {
  padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px);
  display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px);
}
.next {
  display: flex; flex-direction: column; align-items: stretch; gap: 16px;
  padding-bottom: clamp(28px, 3vw, 40px); border-bottom: 1px solid #262B37;
  color: #fff; text-decoration: none; transition: color .3s ease;
}
.next:hover { color: var(--red); }
.next__label { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #8A8F9C; }
.next__name {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: clamp(40px, 6vw, 92px); font-weight: 300; line-height: 1; letter-spacing: -.035em;
}
.next__name > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.next__name > span:last-child { flex: none; transition: translate .45s var(--ease); }
.case__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.case__cta p { font-size: clamp(28px, 3.2vw, 48px); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.case__cta > div { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Cas L’Indice --- */
.lindice-hero { aspect-ratio: 3 / 2; }
.lindice-hero .stair__img { background: var(--plate); }
.lindice-about {
  padding-top: clamp(88px, 10vw, 152px); padding-bottom: clamp(88px, 10vw, 152px);
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 7vw, 112px);
}
.lindice-about__img { flex: 1 1 320px; max-width: 500px; position: relative; aspect-ratio: 704 / 840; overflow: hidden; background: var(--plate); }
.lindice-about__text { flex: 1.2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.lindice-about__text h3 { font-size: clamp(36px, 4.4vw, 64px); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.lindice-about__text > p { max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--body); }
.lindice-about__rubriques { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.dots--wide { padding-top: 0; border-top: 0; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); font-size: 16px; }

.lindice-places > .wrap { padding-top: clamp(88px, 10vw, 152px); padding-bottom: clamp(88px, 10vw, 152px); }
.case__sec-head--dark { gap: 32px 64px; margin-bottom: clamp(48px, 6vw, 80px); }
.case__sec-head--dark h3 { flex-basis: 480px; }
.case__sec-head--dark p { color: var(--grey); }
.places { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #262B37; }
.places li {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(16px, 2vw, 26px) 0; border-top: 1px solid #262B37;
  font-size: clamp(32px, 5vw, 76px); font-weight: 300; line-height: 1.05; letter-spacing: -.03em;
}
.places .sq { width: .2em; height: .2em; }

.lindice-axes { padding-top: clamp(88px, 10vw, 152px); padding-bottom: clamp(88px, 10vw, 152px); }
.case__sec-head--axes { gap: 32px 64px; margin-bottom: clamp(48px, 6vw, 88px); }
.case__sec-head--axes p { flex-basis: 500px; }
.lindice-axes > .label { margin-bottom: 24px; }
.axes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 40px clamp(20px, 2vw, 28px);
}
.axes li { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; border-top: 2px solid var(--ink); }
.axes .sq { width: 12px; height: 12px; }
.axes li > div { display: flex; flex-direction: column; gap: 8px; }
.axes h4 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.axes p { font-size: 16px; line-height: 1.5; color: var(--body); }

/* --- Cas Logotypes --- */
.case .wrap > .label { margin-bottom: 18px; }
.lt-index {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  column-gap: clamp(20px, 3vw, 40px); border-top: 2px solid var(--ink);
}
.lt-index a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; letter-spacing: -.01em;
  transition: color .2s;
}
.lt-index a:hover { color: var(--red); }
.lt-index a span:last-child { flex: none; color: var(--red); }

.lt-block { padding-top: clamp(88px, 10vw, 144px); }
.lt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.lt-text { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lt-text h3 { font-size: clamp(34px, 3.8vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.lt-title { font-size: clamp(19px, 1.6vw, 23px); font-weight: 300; line-height: 1.3; letter-spacing: -.01em; }
.lt-intro { max-width: 30em; font-size: 17px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.lt-media { min-width: 0; display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.lt-board { width: 100%; height: auto; margin: 0 auto; background: #fff; box-shadow: 0 24px 48px rgba(10, 13, 20, .12); }
@media (min-width: 1000px) {
  .lt-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .lt-text { grid-column: 1; grid-row: 1; position: sticky; top: 128px; align-self: start; }
  .lt-media { grid-column: 2; grid-row: 1; }
  .lt-block--rev .lt-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .lt-block--rev .lt-text { grid-column: 2; }
  .lt-block--rev .lt-media { grid-column: 1; }
}

/* =============================================================
   BOUTON WHATSAPP · GRAIN
   ============================================================= */
.wa {
  position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35); transition: background .25s ease, translate .35s var(--ease);
}
.wa::before { content: ""; width: 8px; height: 8px; background: #fff; flex: none; }
.wa:hover { background: var(--red-dark); color: #fff; }

.grain {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  opacity: .28; mix-blend-mode: overlay;
  background-size: 220px 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22220%22 height=%22220%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.9%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E");
}

/* =============================================================
   PAGES INTÉRIEURES
   ============================================================= */
/* En-tête de page : titre de la page, sous le menu */
.page-hero { position: relative; overflow: hidden; }
.page-hero__inner {
  position: relative;
  padding-top: clamp(148px, 15vw, 208px); padding-bottom: clamp(64px, 8vw, 112px);
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(24px, 3vw, 36px);
}
.page-hero__title { max-width: 14em; font-size: clamp(46px, 7vw, 108px); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.page-hero__title .line > span { display: block; }
.page-hero__lead { max-width: 32em; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: var(--grey); text-wrap: pretty; }
/* Section sombre juste sous l’en-tête de page : le filet de la rubrique suffit à les séparer */
.page-hero + .section.dark > .wrap { padding-top: clamp(8px, 2vw, 24px); }

/* Fin de page : page suivante + invitation au contact */
.page-end { border-top: 1px solid #1C2130; }

/* Lien placé en face d’un titre */
.split-head > .link-arrow { align-self: flex-end; }

/* Sommaire de l’accueil */
.toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toc a {
  display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: baseline; gap: 6px 20px;
  padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.toc__num { font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; letter-spacing: .04em; color: var(--muted); transition: color .3s ease; }
.toc__title { font-size: clamp(30px, 4.2vw, 64px); font-weight: 300; line-height: 1.05; letter-spacing: -.035em; transition: color .3s ease, translate .6s var(--ease); }
.toc__desc { grid-column: 2; font-size: 16px; line-height: 1.5; color: var(--body); }
.toc__arrow { grid-column: 3; grid-row: 1; align-self: center; font-size: 22px; color: var(--muted); transition: color .3s ease, translate .45s var(--ease); }
.toc a:hover :is(.toc__num, .toc__title, .toc__arrow) { color: var(--red); }
@media (min-width: 900px) {
  .toc a { grid-template-columns: 4em minmax(0, 1fr) minmax(0, 24em) 2em; align-items: center; }
  .toc__desc { grid-column: 3; grid-row: 1; }
  .toc__arrow { grid-column: 4; justify-self: end; }
}

/* Logos clients reliés à leur projet */
.clients a {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .4s ease;
}
.clients a:hover { background: #fff; }
.clients a:focus-visible { outline-offset: -4px; }
.clients a img { transition: scale .6s var(--ease); }
.clients__more {
  position: absolute; right: 14px; bottom: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--red);
  opacity: 0; transition: opacity .3s ease, translate .45s var(--ease);
}
.clients a:is(:hover, :focus-visible) .clients__more { opacity: 1; }
@media (hover: none) { .clients__more { opacity: 1; } }
.clients-more { margin-top: clamp(36px, 4vw, 56px); }

/* Méthode sur fond clair */
.light .step__num { color: var(--muted); }
.light .step__num::after { background: var(--line); }
.light .step__list { color: var(--body); }

/* =============================================================
   MICRO-INTERACTIONS AU SURVOL
   Discrètes et cohérentes : le menu se souligne, les flèches avancent,
   les cartes signalent leur lien, les logos clients s’éclairent.
   ============================================================= */
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right center;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu nav a[aria-current="page"] { display: flex; align-items: center; gap: 16px; }
.mobile-menu nav a[aria-current="page"]::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; }

.btn > span[aria-hidden="true"], .link-arrow > span[aria-hidden="true"] { transition: translate .45s var(--ease); }
:is(.feature, .card, .logos-feature):hover .link-arrow { color: var(--red); }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover > span[aria-hidden="true"],
  .link-arrow:hover > span[aria-hidden="true"],
  :is(.feature, .card, .logos-feature):hover .link-arrow > span[aria-hidden="true"],
  .next:hover .next__name > span:last-child,
  .toc a:hover .toc__arrow { translate: 5px 0; }
  .btn:hover > span.back[aria-hidden="true"] { translate: -5px 0; }
  .pole-btn:not(.is-active):hover .pole-btn__arrow { translate: 4px 0; }
  .toc a:hover .toc__title { translate: 12px 0; }
  .clients__more { translate: -6px 0; }
  .clients a:is(:hover, :focus-visible) .clients__more { translate: 0 0; }
  .clients a:hover img { scale: 1.05; }
  .btn:active, .chip-btn:active { scale: .97; }
  .wa:hover { translate: 0 -3px; }
}

/* =============================================================
   EFFETS LIÉS AU CURSEUR (souris uniquement, voir js/main.js)
   · Sommaire de l’accueil : aperçu de la page survolée
   · Visuels des projets : étiquette « Découvrir » près du curseur
   · Boutons principaux (data-magnetic) : léger effet d’aimant
   ============================================================= */
.toc-preview {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: clamp(220px, 19vw, 300px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24% 100%, 24% 90%, 12% 90%, 12% 80%, 0 80%);
  opacity: 0; scale: .92;
  transition: opacity .35s ease, scale .6s var(--ease);
}
.toc-preview.is-on { opacity: 1; scale: 1; }
.toc-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; scale: 1.08; transition: opacity .45s ease, scale .9s var(--ease);
}
.toc-preview img.is-active { opacity: 1; scale: 1; }

.cursor-badge {
  position: fixed; left: 0; top: 0; z-index: 55; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  opacity: 0; scale: .6; transform-origin: 0 0;
  transition: opacity .25s ease, scale .4s var(--ease);
}
.cursor-badge.is-on { opacity: 1; scale: 1; }

/* =============================================================
   PARALLAXE (écrans de 768 px et plus, voir js/main.js)
   data-parallax="img"   : l’image glisse doucement dans son cadre
   data-parallax="layer" : le visuel se décale légèrement par rapport au texte
   ============================================================= */
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .js [data-parallax] { translate: 0 var(--py, 0px); }
  .js [data-parallax="img"] { scale: 1.12; }
}

/* =============================================================
   TRANSITION ENTRE LES PAGES (navigateurs compatibles) : fondu court
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; animation-timing-function: cubic-bezier(.16, .84, .3, 1); }
}

/* =============================================================
   ANIMATIONS D’APPARITION
   Les éléments [data-reveal] apparaissent au défilement (classe .is-in posée par le script).
   --d = délai, --dur = durée.
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal]:not(.is-in) { opacity: 0; }
  .js-reveal [data-reveal="mask"]:not(.is-in) { opacity: 1; transform: translateY(108%); }
  .js-reveal [data-reveal].is-in { animation: rv-up var(--dur, 1100ms) var(--ease) var(--d, 0ms) backwards; }
  .js-reveal [data-reveal="fade"].is-in { animation-name: rv-fade; }
  .js-reveal [data-reveal="mask"].is-in { animation-name: rv-mask; }
  .js-reveal [data-reveal="pop"].is-in { animation-name: rv-pop; }
  .js-reveal [data-reveal].is-in.no-anim { animation: none; }
}
@keyframes rv-up { from { opacity: 0; transform: translateY(36px); } }
@keyframes rv-fade { from { opacity: 0; } }
@keyframes rv-mask { from { transform: translateY(108%); } }
@keyframes rv-pop { from { opacity: 0; transform: scale(.3); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .case.is-open, .mobile-menu { animation: none; }
  .media img, .step__img img { transition: none; }
  .toc-preview, .cursor-badge { display: none; }
}

/* =============================================================
   SANS JAVASCRIPT : tout le contenu reste accessible
   ============================================================= */
html:not(.js) .burger, html:not(.js) .filters { display: none; }
html:not(.js) .pole-panel { display: flex; }
html:not(.js) .case:target, html:not(.js) .case:has(:target) { display: block; }
@media (min-width: 1024px) {
  html:not(.js) .poles { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  html:not(.js) .pole-panel { grid-column: auto; grid-row: auto; padding: 8px 0 44px; }
}
