/* =========================================================
   ISUKLO, design system v3
   Reproduction fidèle du rendu WordPress + Elementor
   Source : DOM extrait sur isuklo.local le 2026-05-06
   ========================================================= */

/* ---------- Polices ---------- */
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans-300-normal0.woff2') format('woff2');
  font-weight: 200 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans-400-normal0.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans-600-normal0.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans-700-normal0.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Safiro';
  src: url('../fonts/safiro-regular-webfont.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Safiro';
  src: url('../fonts/safiro-regularitalic-webfont.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Safiro';
  src: url('../fonts/safiro-medium-webfont.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Safiro';
  src: url('../fonts/safiro-semibold-webfont.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Safiro';
  src: url('../fonts/safiro-bold-webfont.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Couleurs (extraites du rendu) */
  --ink-light: #FDFEFF;        /* texte sur fond sombre */
  --ink-dark: #07040C;         /* titres sur fond clair */
  --meta: #7C7B84;             /* sous-titres, méta */
  --paper: #ffffff;
  --paper-warm: #f5f3ef;

  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-glow: rgba(101, 101, 56, 0.5);

  --grid-line: rgba(250, 250, 250, 0.10);

  /* Typo */
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --display: 'Safiro', 'Times New Roman', serif;

  /* Layout — calé sur la grille Elementor de la home WP */
  --max: 1700px;          /* widgets vont jusqu'à left+width ≈ 1672 sur 1982 viewport */
  --gutter: clamp(1.4rem, 6.5vw, 9rem); /* hero text à left=366 sur 1982 = 18% */
  --section-pad: clamp(3rem, 6vw, 5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Container, conserve la grille de colonnes */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Animation rotating ring ---------- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.rotate-infinite { animation: spin 20s linear infinite; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   HERO + DARK CANVAS
   ========================================================= */
.dark-canvas {
  position: relative;
  background: #000;
  color: var(--ink-light);
  overflow: hidden;
}

/* Vidéo de fond plein écran dans le hero */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Voile dégressif sur la moitié gauche (zone texte) pour garantir la lisibilité quel que soit le frame */
.dark-canvas.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.40) 30%,
    rgba(0,0,0,0.10) 55%,
    rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.dark-canvas.cta-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0) 50%);
  z-index: 1;
  pointer-events: none;
}

.dark-canvas > *:not(.bg-video) { position: relative; z-index: 2; }

/* Grille de colonnes verticales (motif Elementor) */
.dark-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: 12.5% 100%;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Site header (fixé dans le hero) ---------- */
.site-header {
  position: relative;
  z-index: 10;
  padding: 1.5rem 0;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  height: 21px;
  width: auto;
  display: block;
}

/* Pill nav glass */
.site-nav {
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: blur(20px) brightness(1.5);
  -webkit-backdrop-filter: blur(20px) brightness(1.5);
  box-shadow: 0 0 33px -2px var(--glass-glow);
  padding: 0;
  height: 52px;
  overflow: hidden;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink-light);
  transition: opacity .25s ease;
}
.site-nav a:hover { opacity: 0.7; }
.site-nav a.is-active { opacity: 1; }
.site-nav a.is-active::after {
  content: "";
  margin-left: 0;
}

/* ---------- Hero ----------
   Layout WP réel:
   - "Avant l'image" h1 à top=488, left=366 (proportionnel: 25% top, 18% left sur 1982)
   - "Nous structurons..." sub à top=637 = display + 30px gap
   - Ring 105x105 à top=528, left=1208 (proportionnel: 61% left)
   - Aside text à top=628, left=1223
   - Section hero hauteur = 878 sur 1982 viewport
*/
.hero-section { min-height: 92vh; padding-bottom: 0; }
.hero {
  position: relative;
  min-height: calc(92vh - 100px);
  padding-top: clamp(8rem, 18vw, 22rem); /* "Avant l'image" à top=488 - 32(adminbar) = 456 sur 1982 viewport */
}
.hero-grid {
  position: relative;
  width: 100%;
}

.hero-text { /* prend la pleine largeur, le badge se superpose en absolute */
  width: 100%;
}

.hero-display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 56px);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink-light);
  margin: 0 0 1.6rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); /* lisibilité sur la vidéo */
}
.hero-sub {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(1.3rem, 2.2vw, 35px);
  line-height: 1.2;
  color: var(--ink-light);
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.hero-aside {
  position: absolute;
  top: 40px; /* aligné un peu au-dessus du display */
  left: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 27ch;
}
.hero-loader {
  width: 105px;
  height: 105px;
  background: url('../img/white-ring-logo.svg') center / contain no-repeat;
  animation: spin 20s linear infinite;
  opacity: 0.85;
}
.hero-aside-text {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 16.8px;
  line-height: 1.6;
  color: var(--ink-light);
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   SECTIONS CLAIRES
   ========================================================= */
.section {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--paper);
}
.section-warm { background: var(--paper-warm); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 30.8px);
  line-height: 1.2;
  color: var(--ink-dark);
  margin: 0 0 0.6rem;
}
.section-head .head-meta {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15.4px;
  line-height: 1.5;
  color: var(--meta);
  margin: 0;
  max-width: 60ch;
}
.section-head-link {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15.4px;
  color: var(--meta);
  white-space: nowrap;
  transition: color .25s ease;
}
.section-head-link:hover { color: var(--ink-dark); }

/* Grille verticale subtile sur les sections claires aussi */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(20, 20, 20, 0.04) 1px, transparent 1px);
  background-size: 12.5% 100%;
  pointer-events: none;
}
.section > .container { position: relative; z-index: 1; }

/* =========================================================
   FLOATING SECTION (image full-bleed sous hero)
   ========================================================= */
.floating-section {
  position: relative;
  width: 100%;
  height: clamp(280px, 30vw, 460px);
  background: #0a0a0a;
  overflow: hidden;
}
.floating-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   WORK GRID (Morceaux choisis)
   ========================================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: clamp(2.5rem, 5vw, 4rem);
}
.work-card {
  display: flex;
  flex-direction: column;
  color: var(--ink-dark);
  transition: opacity .35s ease, transform .35s ease;
}
.work-card:hover { opacity: 0.85; }
.work-card-media {
  aspect-ratio: 453/600; /* mesure WP exacte */
  background: #f3f1ec;
  overflow: hidden;
}
.work-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.work-card:hover .work-card-media img { transform: scale(1.04); }
.work-card-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink-dark);
  margin: 15px 0 0; /* mesure WP : image -> titre = 15px */
}
.work-card-tag {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--meta);
  margin: 7px 0 0; /* mesure WP : titre 27px → tag, soit ~7px sous le baseline du titre */
}

/* =========================================================
   REFERENCES
   ========================================================= */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
  justify-items: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}
.references-grid img {
  width: 100%;
  max-width: 302px; /* mesure WP exacte */
  max-height: 67px;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity .35s ease, filter .35s ease;
}
.references-grid img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* =========================================================
   CTA BLOCK (dark, video bg)
   ========================================================= */
.cta-block {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #000;
  color: var(--ink-light);
  overflow: hidden;
}
.cta-block .bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.95;
}
.cta-block::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 80%);
  z-index: 1;
}
.cta-block::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: 12.5% 100%;
  z-index: 1;
}
.cta-block > .container { position: relative; z-index: 2; }
.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text strong {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 28px);
  color: var(--ink-light);
}
.cta-text em {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 28px);
  color: var(--ink-light);
  margin-top: 0.2rem;
}

/* Pill button (CTA) - même esprit que la nav */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-light);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: blur(20px) brightness(1.5);
  -webkit-backdrop-filter: blur(20px) brightness(1.5);
  box-shadow: 0 0 33px -2px var(--glass-glow);
  transition: opacity .25s ease, transform .25s ease;
}
.btn-pill::after {
  content: "→";
  display: inline-block;
  transition: transform .25s ease;
}
.btn-pill:hover { opacity: 0.95; transform: translateY(-1px); }
.btn-pill:hover::after { transform: translateX(4px); }

/* =========================================================
   STUDIO PAGE (4 piliers)
   ========================================================= */
.studio-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.studio-pillar h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 28px);
  color: var(--ink-dark);
  margin: 0 0 0.8rem;
}
.studio-pillar .lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-dark);
  margin: 0 0 0.8rem;
}
.studio-pillar p:not(.lead) {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--meta);
  margin: 0;
}

/* Cas - prose */
.case-prose {
  max-width: 60ch;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

/* =========================================================
   FOOTER (gris foncé)
   ========================================================= */
.site-footer {
  position: relative;
  background: #0a0a0a;
  color: var(--ink-light);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: 12.5% 100%;
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 3rem;
}
.site-footer-brand .anneau-mark {
  width: 60px; height: 60px;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}
.site-footer-tagline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 32px);
  line-height: 1.2;
  color: var(--ink-light);
  margin: 0;
  max-width: 18ch;
}
.site-footer-col h4, .site-footer-col .footer-col-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  color: var(--ink-light);
  margin: 0 0 1.5rem;
  letter-spacing: 0;
}
.site-footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.site-footer-col a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity .25s ease;
}
.site-footer-col a:hover { opacity: 1; }

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--meta);
  letter-spacing: 0.04em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { margin-top: 3rem; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .references-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .studio-pillars { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .cta-grid { flex-direction: column; align-items: flex-start; }
  .site-footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PAGES ÉTUDES DE CAS
   ========================================================= */
.case-hero {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.case-hero .hero {
  padding-top: clamp(7rem, 14vw, 16rem);
  min-height: 0;
}
.case-kicker {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  opacity: 0.6;
  margin: 0 0 1.2rem;
}
.case-hero .hero-display { max-width: 20ch; }
.case-hero .hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 22px);
  font-weight: 200;
  line-height: 1.5;
  max-width: 58ch;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.6rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.case-meta div { min-width: 0; }
.case-meta dt {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  opacity: 0.55;
  margin: 0 0 0.3rem;
}
.case-meta dd {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-light);
  margin: 0;
}

/* Figures et galeries */
.media-full { margin: clamp(2rem, 4vw, 3.5rem) 0 0; }
.media-full img { width: 100%; height: auto; }
.media-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
}
.media-duo img { width: 100%; height: auto; }
.media-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
}
.media-trio img { width: 100%; height: auto; }
figure { margin: 0; }
figcaption, .media-caption {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--meta);
  margin-top: 0.8rem;
  line-height: 1.5;
}

/* Bande défilante horizontale (planches) */
.media-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding-bottom: 1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.media-strip img {
  height: clamp(240px, 34vw, 460px);
  width: auto;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.media-strip::-webkit-scrollbar { height: 6px; }
.media-strip::-webkit-scrollbar-thumb { background: rgba(20,20,20,0.18); border-radius: 3px; }
.media-strip::-webkit-scrollbar-track { background: rgba(20,20,20,0.05); }

/* Masonry (autres projets) */
.masonry {
  columns: 3;
  column-gap: 30px;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.masonry figure {
  break-inside: avoid;
  margin: 0 0 30px;
}
.masonry img { width: 100%; height: auto; }

/* Prose de cas */
.case-prose p { margin: 0 0 1.2rem; }
.case-prose p:last-child { margin-bottom: 0; }

/* Liste de livrables / points */
.case-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.case-list h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink-dark);
  margin: 0 0 0.7rem;
}
.case-list ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.case-list li {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--meta);
}

/* Navigation entre cas */
.case-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(20,20,20,0.1);
  margin-top: clamp(2rem, 5vw, 4rem);
}
.case-nav a {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--meta);
  transition: color .25s ease;
}
.case-nav a:hover { color: var(--ink-dark); }
.case-nav .next {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-dark);
}

/* CTA sombre sans vidéo (pages intérieures) */
.cta-block.no-video::after { background: none; }

/* Page contact */
.contact-block {
  max-width: 62ch;
}
.contact-block .lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--ink-dark);
  margin: 0 0 2rem;
}
.contact-mail {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 40px);
  color: var(--ink-dark);
  word-break: break-all;
  transition: opacity .25s ease;
}
.contact-mail:hover { opacity: 0.7; }
.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.btn-pill.on-light {
  color: var(--ink-dark);
  background: rgba(7, 4, 12, 0.04);
  border-color: rgba(7, 4, 12, 0.14);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Mentions légales */
.legal-prose {
  max-width: 68ch;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-dark);
}
.legal-prose h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  margin: 2.5rem 0 0.8rem;
}
.legal-prose p { margin: 0 0 1rem; color: #3d3b44; }

/* Portrait studio */
.studio-portrait {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.studio-portrait img { width: 100%; height: auto; }

@media (max-width: 900px) {
  .media-duo, .media-trio { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .studio-portrait { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .masonry { columns: 1; }
  .case-meta { grid-template-columns: 1fr; }
}

/* Heros des pages intérieures : hauteur naturelle, pas 92vh */
.hero-section.case-hero { min-height: 0; }
.case-hero:not(.has-media)::after { background: none; }

/* =========================================================
   V2 — retours
   ========================================================= */

/* Hero accueil : contenu aux 2/3 bas de page */
.hero {
  display: flex;
  align-items: flex-end;
  padding-top: 0;
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
}
.hero > .container { width: 100%; }
.hero-aside {
  top: auto;
  bottom: 0;
  max-width: 38ch;
}
@media (max-width: 900px) {
  .hero-aside { position: static; margin-top: 3rem; max-width: 48ch; }
}

/* Heros de cas : retour à un flux naturel + média de fond */
.case-hero .hero {
  display: block;
  padding-top: clamp(7rem, 14vw, 15rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.case-hero .bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.case-hero.has-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4,3,8,0.55) 0%, rgba(4,3,8,0.25) 45%, rgba(4,3,8,0.72) 100%),
    linear-gradient(90deg, rgba(4,3,8,0.72) 0%, rgba(4,3,8,0.45) 45%, rgba(4,3,8,0.15) 100%);
  pointer-events: none;
}
.case-hero.has-media .case-meta { border-top-color: rgba(255,255,255,0.25); }

/* Kicker numéroté des sections de cas (composition aurelianbutton) */
.section-kicker {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--meta);
  margin: 0 0 1.2rem;
}
.section-kicker strong {
  font-weight: 600;
  color: var(--ink-dark);
}
.section h2 em, .hero-display em, .studio-split-title em, .manifesto em {
  font-style: italic;
  font-weight: inherit;
}

/* Liste de mission (terme + description) */
.mission-list {
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem 2.5rem;
}
.mission-list li {
  border-top: 1px solid rgba(20,20,20,0.12);
  padding-top: 1rem;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--meta);
}
.mission-list strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-dark);
  margin-bottom: 0.3rem;
}

/* Phases de méthodologie numérotées */
.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.8rem, 3.5vw, 3rem) 2.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  counter-reset: step;
}
.method-step {
  border-top: 1px solid rgba(20,20,20,0.12);
  padding-top: 1.2rem;
}
.method-step .num {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--meta);
  margin-bottom: 0.6rem;
}
.method-step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  color: var(--ink-dark);
  margin: 0 0 0.6rem;
}
.method-step h3 em { font-style: italic; }
.method-step p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--meta);
  margin: 0;
}

/* Bandes avec légendes par visuel */
.media-strip figure {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}
.media-strip figure img { height: clamp(220px, 30vw, 420px); width: auto; }
.media-strip figcaption { font-size: 12.5px; }

/* Carrousel plein écran sous le hero */
.floating-section { position: relative; }
.floating-section .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.floating-section .carousel-slide.is-active { opacity: 1; }

/* Références : logos jamais tronqués */
.references-grid img {
  width: auto;
  max-width: min(302px, 100%);
  max-height: 67px;
  object-fit: contain;
}

/* Footer : lien mentions légales dans le bandeau */
.site-footer-bottom a {
  color: inherit;
  transition: color .25s ease;
}
.site-footer-bottom a:hover { color: var(--ink-light); }

/* Studio : manifesto */
.manifesto-section { text-align: center; }
.manifesto {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 52px);
  line-height: 1.25;
  color: var(--ink-dark);
  max-width: 26ch;
  margin: 0 auto;
}
.manifesto em { font-style: italic; }
.manifesto-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--meta);
  max-width: 58ch;
  margin: 2rem auto 0;
}

/* Studio : split titre / prose */
.studio-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.studio-split-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 40px);
  line-height: 1.2;
  color: var(--ink-dark);
  margin: 0;
}
.studio-split-prose p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dark);
  margin: 0 0 1rem;
}
.studio-split-prose p:last-child { margin-bottom: 0; }
.studio-split-prose .muted { color: var(--meta); font-size: 15px; }

/* Studio : piliers v2, 4 colonnes numérotées */
.studio-pillars {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.8rem, 3vw, 2.8rem);
}
.studio-pillar {
  border-top: 1px solid rgba(20,20,20,0.14);
  padding-top: 1.2rem;
}
.pillar-num {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--meta);
  margin-bottom: 0.8rem;
}
.studio-pillar h3 { font-size: clamp(1.2rem, 1.8vw, 24px); }
@media (max-width: 1100px) { .studio-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .studio-pillars { grid-template-columns: 1fr; }
  .studio-split { grid-template-columns: 1fr; }
}

/* Portfolio : rail horizontal qui sort de la page */
.case-rail {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 1.2rem;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.case-rail .work-card {
  flex: 0 0 clamp(260px, 24vw, 400px);
  scroll-snap-align: start;
}
.case-rail::-webkit-scrollbar { height: 6px; }
.case-rail::-webkit-scrollbar-thumb { background: rgba(20,20,20,0.18); border-radius: 3px; }
.case-rail::-webkit-scrollbar-track { background: rgba(20,20,20,0.05); }

/* Portfolio : masonry de cartes projets, extensible */
.work-masonry {
  columns: 3;
  column-gap: 30px;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.work-masonry .work-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 40px;
}
.work-masonry .work-card img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .work-masonry { columns: 2; } }
@media (max-width: 600px) { .work-masonry { columns: 1; } }

/* =========================================================
   V3 — retours
   ========================================================= */

/* Hero accueil : encart secondaire plus haut dans la page */
.hero-section:not(.case-hero) .hero-grid .hero-aside {
  top: auto;
  bottom: calc(100% - 1.5rem);
}

/* Titres de cas : lignes contrôlées par les <br> */
.case-hero .hero-display { max-width: none; }

/* Manifesto : aligné à gauche, sans veuves ni orphelines */
.manifesto-section { text-align: left; }
.manifesto { margin: 0; text-wrap: balance; }
.manifesto-sub { margin: 2rem 0 0; text-wrap: pretty; }

/* Visuels pleine largeur, empilés, sans légende */
.media-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.media-stack img { width: 100%; height: auto; display: block; }

/* Prose en deux colonnes */
.prose-cols {
  column-count: 2;
  column-gap: clamp(2.5rem, 5vw, 5rem);
  max-width: none;
}
.prose-cols p { break-inside: avoid; }
@media (max-width: 900px) { .prose-cols { column-count: 1; } }

/* Références : logos cliquables */
.references-grid a {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Contact : email + LinkedIn sur la même ligne */
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.contact-lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--ink-dark);
  max-width: 62ch;
  margin: 0 0 2rem;
}

/* V3.1 — hero accueil remonté, décalage conservé */
.hero-section:not(.case-hero) .hero {
  padding-bottom: clamp(7rem, 18vh, 14rem);
}

/* =========================================================
   V4 — MODERNISATION
   ========================================================= */

/* ---------- Tokens révisés ---------- */
:root {
  --meta: #6B6A72;                     /* contraste AA sur blanc */
  --accent: #3D56D6;                   /* bleu froid, hérité du Klein */
  --accent-soft: rgba(61, 86, 214, 0.14);
  --glass-glow: rgba(92, 116, 190, 0.42); /* glow froid, plus de tonalité olive */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Échelle typographique ---------- */
.hero-display {
  font-size: clamp(2.7rem, 7vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.hero-sub { font-size: clamp(1.2rem, 1.9vw, 30px); line-height: 1.25; }
.case-hero .hero-display {
  font-size: clamp(2.3rem, 5vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 42px);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.manifesto { font-size: clamp(2.2rem, 4.6vw, 68px); line-height: 1.15; }
.studio-split-title { font-size: clamp(2rem, 3.6vw, 48px); }
.site-footer-tagline { font-size: clamp(1.8rem, 3vw, 40px); }
.cta-text strong, .cta-text em { font-size: clamp(1.5rem, 2.8vw, 34px); }

/* ---------- Motion : révélation raffinée ---------- */
.reveal {
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

/* Entrée du hero, orchestrée au chargement */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero .reveal { opacity: 1; transform: none; transition: none; }
.hero-text > * { animation: rise .9s var(--ease-out) backwards; }
.hero-text > *:nth-child(1) { animation-delay: .08s; }
.hero-text > *:nth-child(2) { animation-delay: .18s; }
.hero-text > *:nth-child(3) { animation-delay: .3s; }
.hero-text > *:nth-child(4) { animation-delay: .44s; }
.hero-aside { animation: rise .9s .5s var(--ease-out) backwards; }

/* ---------- Nav flottante persistante ---------- */
.floating-nav {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.5rem 0 1.1rem;
  height: 50px;
  background: rgba(10, 9, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 40px -12px rgba(7, 4, 12, 0.55);
  transform: translate(-50%, -140%);
  transition: transform .5s var(--ease-out);
}
.floating-nav.is-visible { transform: translate(-50%, 0); }
.floating-nav-brand { display: inline-flex; align-items: center; margin-right: 0.5rem; }
.floating-nav-brand img { height: 14px; width: auto; }
.floating-nav nav { display: inline-flex; align-items: center; height: 100%; }
.floating-nav nav a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-light);
  border-radius: 100px;
  transition: opacity .25s ease;
}
.floating-nav nav a:hover { opacity: 0.7; }
.floating-nav nav a.is-active { opacity: 1; }

/* ---------- Marquee (accueil, sous le hero) ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.floating-section { display: flex; align-items: stretch; }
.marquee-track {
  display: flex;
  flex: 0 0 auto;
  animation: marquee 55s linear infinite;
  will-change: transform;
}
.marquee-track img {
  height: clamp(280px, 30vw, 460px);
  width: auto;
  flex: 0 0 auto;
  display: block;
}
.floating-section:hover .marquee-track { animation-play-state: paused; }

/* ---------- Index éditorial (Morceaux choisis) ---------- */
.work-index { border-top: 1px solid rgba(20, 20, 20, 0.14); }
.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto 2rem;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.3rem, 2.6vw, 2.1rem) 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.14);
  color: var(--ink-dark);
}
.work-row-num {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--meta);
}
.work-row-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  transition: transform .4s var(--ease-out), color .3s ease;
}
.work-row-tag {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--meta);
  white-space: nowrap;
}
.work-row-arrow {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .3s ease, transform .4s var(--ease-out);
}
.work-row-img {
  position: absolute;
  right: 12%;
  top: 50%;
  width: clamp(180px, 21vw, 320px);
  height: auto;
  transform: translateY(-46%) rotate(-4deg) scale(0.9);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 30px 70px -20px rgba(7, 4, 12, 0.4);
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.work-row:hover .work-row-title,
.work-row:focus-visible .work-row-title { transform: translateX(12px); color: var(--accent); }
.work-row:hover .work-row-arrow,
.work-row:focus-visible .work-row-arrow { opacity: 1; transform: none; }
.work-row:hover .work-row-img { opacity: 1; transform: translateY(-50%) rotate(-1.5deg) scale(1); }
@media (max-width: 900px) {
  .work-row { grid-template-columns: 2.4rem minmax(0, 1fr) 1.4rem; }
  .work-row-tag { display: none; }
  .work-row-img { display: none; }
}

/* ---------- Micro-interactions ---------- */
.section-head-link {
  position: relative;
}
.section-head-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.section-head-link:hover::after { transform: scaleX(1); }
.case-nav .next:hover { color: var(--accent); }
.site-footer-col a { transition: opacity .25s ease, color .25s ease; }
.site-footer-col a:hover { color: #fff; }
.work-card { transition: opacity .35s ease; }
.work-card-media img { transition: transform .9s var(--ease-out); }
.references-grid img { transition: opacity .35s ease, filter .45s ease; }

/* ---------- Accessibilité motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .rotate-infinite, .hero-loader { animation: none !important; }
}

/* ---------- Lien d'évitement clavier ---------- */
.skip-link {
  position: fixed;
  top: 0.8rem; left: 0.8rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--ink-dark);
  color: var(--ink-light);
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 100px;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; outline: 2px solid var(--accent); }


/* =========================================================
   V5 — ACCESSIBILITÉ (WCAG 2.1/2.2 AA)
   ========================================================= */

/* 1.4.3 : contraste du bandeau bas de footer sur fond sombre */
.site-footer-bottom { color: #96959E; }

/* 2.5.8 : cibles de pointeur suffisantes dans le footer */
.site-footer-col a { display: inline-block; padding: 0.25rem 0; }

/* 2.1.1 : focus visible sur les zones défilantes */
.media-strip:focus-visible, .case-rail:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* 2.2.2 : bouton pause des animations et vidéos d'ambiance */
.motion-toggle {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 150;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink-light);
  background: rgba(10, 9, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: opacity .25s ease;
  opacity: 0.65;
}
.motion-toggle:hover, .motion-toggle:focus-visible { opacity: 1; }
html.motion-paused .marquee-track,
html.motion-paused .rotate-infinite,
html.motion-paused .hero-loader { animation-play-state: paused !important; }
