/* ================================================================
   TRENDY COLORS — V2 (accueil modèle)
   Règles complètes dans DESIGN.md. Ne charge pas style.css.
   ================================================================ */

:root {
  --blanc:   #FFFFFF;
  --encre:   #1F2022;
  --encre-2: #5C6066;
  --surface: #F3F4F5;
  --trait:   #E2E4E6;
  --lime:    #C8F000;

  --police: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max:     none; /* plus de colonne centrée : logo, hero et contenu partent du bord gauche, le menu finit au bord droit */
  --marge:   clamp(20px, 4.4vw, 80px);
  --gout:    clamp(16px, 2vw, 32px);
  --section: clamp(96px, 12vw, 192px);
  --gris-exp:       #F5F5F5;
  --gris-exp-actif: #E9E9E9;
  --nav-h:   68px;

  --hero-focus:   62% 38%;
  --hero-focus-m: 50% 30%;
  --t: 150ms ease;
}
@media (max-width: 1079px) { :root { --nav-h: 60px; } }


/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--encre);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--lime);
}

.v2-skip {
  position: absolute; left: var(--marge); top: -100px; z-index: 200;
  background: var(--lime); color: var(--encre); font-weight: 700;
  padding: 12px 18px; text-decoration: none;
}
.v2-skip:focus { top: 12px; }


/* ── Mise en page ─────────────────────────────────────────────── */
.v2-wrap {
  padding-inline: var(--marge);
}
.v2-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gout);
}
.v2-col-label { grid-column: 1 / 4; }
/* Trait sous l'intitulé de rubrique : il part sous le mot et s'arrête à une gouttière du texte */
.v2-col-label::after {
  content: ''; display: block;
  width: 100%; height: 1px; margin-top: 14px;
  background: var(--encre);
}
.v2-col-main  { grid-column: 4 / 13; }

.v2-section { padding-block: var(--section); }
.v2-section + .v2-section { padding-top: 0; }

/* Studio (blanc) → Expertises (gris clair, pleine largeur) → photo « Voir autrement » collée */
.v2-exp { background: var(--gris-exp); padding-block: 80px !important; }
@media (max-width: 699px) { .v2-exp { padding-block: 48px !important; } }

@media (max-width: 899px) {
  .v2-grid { display: block; }
  .v2-col-label { margin-bottom: 20px; }
  .v2-col-label::after { width: 48px; margin-top: 10px; }
}


/* ── Typographie ──────────────────────────────────────────────── */
.v2-label {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}
.v2-h1 {
  font-size: clamp(2.5rem, 4.6vw, 5.125rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.v2-display {
  font-size: clamp(2.75rem, 6.4vw, 6.75rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.v2-h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem); /* même taille que les titres de section des autres pages (.xp-h2) */
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.v2-h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.v2-intro {
  font-size: clamp(1.375rem, 2.05vw, 2.125rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.015em;
  max-width: 27em;
}
.v2-intro + .v2-intro { margin-top: 1.1em; }


/* ── Liens et boutons ─────────────────────────────────────────── */
.v2-link {
  color: var(--encre);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--t), text-decoration-thickness var(--t);
}
.v2-link:hover { text-decoration-color: var(--lime); text-decoration-thickness: 3px; }

.v2-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  background: var(--lime); color: var(--encre);
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: background-color var(--t), color var(--t);
}
.v2-btn:hover { background: var(--encre); color: var(--blanc); }


/* ── Emplacements provisoires (mode maquette uniquement) ──────── */
.v2-provisoire {
  display: none;
  position: absolute; top: 16px; right: 16px; z-index: 3;
  padding: 6px 10px;
  background: var(--blanc); color: var(--encre);
  border: 1px solid var(--trait);
  font-size: 0.75rem; font-weight: 500; line-height: 1.2;
}
body.maquette .v2-provisoire { display: block; }
body:not(.maquette) .a-renseigner { display: none !important; }


/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center;
  height: var(--nav-h);
  padding-inline: var(--marge);
  /* Barre foncée légèrement transparente, comme le site en ligne : on voit la page défiler dessous */
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 0.4s ease;
}
.navbar.scrolled { background: rgba(10, 10, 10, 0.92); }
.navbar-logo { display: inline-flex; align-items: center; padding: 6px 0; }
.navbar-logo .logo-sombre { display: none; }
.navbar-logo .logo-clair { height: 38px; width: auto; }
@media (max-width: 1079px) { .navbar-logo .logo-clair { height: 34px; } }
@media (max-width: 599px) { .navbar-logo .logo-clair { height: 30px; } }

.navbar-center {
  display: flex; align-items: center; gap: clamp(20px, 2.2vw, 36px);
  margin-left: auto;
}
.navbar-right {
  display: flex; align-items: center; gap: 24px;
  margin-left: clamp(24px, 2.2vw, 36px);
}

.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0;
  background: none; border: 0; cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9375rem; font-weight: 500; line-height: 1;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--blanc); }
.navbar-center .nav-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 3px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.navbar-center .nav-link:hover::after,
.navbar-center .nav-link.active::after,
.nav-sub.is-open .nav-sub-btn::after { transform: scaleX(1); }

.nav-sub { position: relative; }
.nav-sub-chevron {
  width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t);
}
.nav-sub.is-open .nav-sub-chevron { transform: rotate(225deg); margin-top: 3px; }
.nav-sub-menu {
  display: none;
  position: absolute; top: calc(100% + 14px); left: -20px;
  min-width: 300px;
  padding: 8px 0;
  background: rgba(10, 10, 10, 0.94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.nav-sub:hover .nav-sub-menu,
.nav-sub.is-open .nav-sub-menu { display: block; }
.nav-sub-link {
  display: block;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.86); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  border-left: 3px solid transparent;
}
.nav-sub-link:hover, .nav-sub-link:focus-visible { background: rgba(255, 255, 255, 0.07); color: var(--blanc); }
.nav-sub-link.active { color: var(--blanc); }
.nav-sub-link.active { border-left-color: var(--lime); font-weight: 700; }
.nav-sub-link:focus-visible { outline-offset: -3px; box-shadow: none; }
/* Offres clé en main dans le sous-menu */
.nav-sub-titre {
  display: block; margin-top: 8px; padding: 14px 20px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem; font-weight: 500; color: rgba(255, 255, 255, 0.55);
}
.nav-sub-link--offre { padding-top: 10px; padding-bottom: 10px; }
.nav-sub-detail { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 400; color: rgba(255, 255, 255, 0.55); }

.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 0.8125rem; }
.lang-btn {
  min-width: 28px; min-height: 32px; padding: 0 2px;
  background: none; border: 0; cursor: pointer;
  color: rgba(255, 255, 255, 0.55); font-weight: 500;
}
.lang-btn:hover { color: var(--blanc); }
.lang-btn.active { color: var(--blanc); font-weight: 700; }
.lang-sep { color: rgba(255, 255, 255, 0.3); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 16px;
  background: var(--lime); color: var(--encre);
  font-size: 0.875rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t), color var(--t);
}
.nav-cta:hover { background: var(--blanc); color: var(--encre); }

.hamburger {
  display: none;
  position: relative; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.hamburger span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--blanc);
  transition: transform var(--t), opacity var(--t);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile (plein écran foncé sous la barre) */
.mobile-menu { display: none; }
.mobile-menu.open {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px var(--marge) 40px;
  background: rgba(10, 10, 10, 0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow-y: auto;
}
.mobile-menu .nav-link {
  padding: 12px 0;
  font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em;
}
.mobile-menu .nav-link.active { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.mobile-menu .mobile-sub { display: flex; flex-direction: column; padding: 0 0 8px 16px; border-left: 1px solid rgba(255, 255, 255, 0.15); margin-left: 2px; }
.mobile-menu .mobile-sub .nav-link { font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.6); padding: 10px 0; }
.mobile-menu .mobile-cta {
  margin-top: 24px; padding: 0 22px; min-height: 52px;
  background: var(--lime); color: var(--encre);
  font-size: 1rem; letter-spacing: 0;
}
.mobile-menu .mobile-cta.active { text-decoration: none; }
.mobile-menu .lang-switch { margin-top: 28px; font-size: 1rem; }
.mobile-menu .lang-btn { min-height: 44px; min-width: 44px; }

@media (max-width: 1079px) {
  .navbar-center, .navbar-right .lang-switch { display: none; }
  .navbar-right { margin-left: auto; gap: 12px; }
  .hamburger { display: block; }
}
@media (max-width: 599px) {
  .navbar-right .nav-cta { display: none; }
}
@media (min-width: 1080px) {
  .mobile-menu, .mobile-menu.open { display: none; }
}


/* ================================================================
   HERO
   ================================================================ */
.v2-hero {
  position: relative;
  height: min(calc(100svh - var(--nav-h)), 1240px);
  min-height: 560px;
  overflow: hidden;
  color: var(--blanc);
  background: #2A2B26;
}
.v2-hero-media, .v2-hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.v2-hero-media img { object-fit: cover; object-position: var(--hero-focus); }
/* Voile de lecture : uniquement sous le texte, en bas à gauche */
.v2-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(15deg, rgba(10, 11, 9, 0.7) 0%, rgba(10, 11, 9, 0.38) 40%, rgba(10, 11, 9, 0) 66%);
}
.v2-hero-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-bottom: clamp(32px, 5.5vw, 88px);
}
.v2-hero-label { margin-bottom: 10px; }
.v2-hero-sub {
  margin-top: 22px;
  max-width: 36em;
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  font-weight: 400; line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.v2-hero-lieu {
  margin-top: 10px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}
/* Trois lignes : « Ensemble, / construisons l’univers / de votre marque » (dès 600 px) */
@media (min-width: 600px) { .v2-hero .v2-l { display: block; } }

@media (max-width: 699px) {
  .v2-hero { height: calc(100svh - var(--nav-h) - 48px); min-height: 520px; max-height: 760px; }
  .v2-hero-media img { object-position: var(--hero-focus-m); }
  .v2-hero::after { background: linear-gradient(0deg, rgba(10, 11, 9, 0.74) 0%, rgba(10, 11, 9, 0.4) 45%, rgba(10, 11, 9, 0) 70%); }
  .v2-hero .v2-h1 { font-size: clamp(2.125rem, 9.4vw, 2.75rem); }
}


/* ================================================================
   LE STUDIO
   ================================================================ */
.v2-studio .v2-col-label { padding-top: 0.55em; }
.v2-studio-more { margin-top: clamp(28px, 3.5vw, 48px); font-size: 1.0625rem; }


/* ================================================================
   EXPERTISES
   ================================================================ */
.v2-head { align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.v2-head .v2-col-label { padding-bottom: 0.4em; }

.v2-exp-list { list-style: none; margin: 0; padding: 0; }
.v2-exp-list li + li { border-top: 1px solid #DDDDDD; }
/* Toute la ligne est le lien. Le fond de survol déborde de --pad de chaque côté
   (marge négative + marge intérieure) : le contenu reste aligné sur la grille. */
.v2-exp-row {
  --pad: clamp(12px, 1.6vw, 24px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gout);
  align-items: center;
  margin-inline: calc(-1 * var(--pad));
  padding: clamp(28px, 3.2vw, 48px) var(--pad);
  color: var(--encre); text-decoration: none;
  transition: background-color 180ms ease;
}
.v2-exp-row:hover,
.v2-exp-row:focus-visible { background: var(--gris-exp-actif); }
.v2-exp-row:focus-visible { outline: 3px solid var(--encre); outline-offset: -3px; box-shadow: none; }
.v2-exp-num  { grid-column: 1 / 4; font-size: 0.9375rem; font-weight: 500; color: var(--encre-2); }
.v2-exp-name { grid-column: 4 / 8; }
.v2-exp-text { grid-column: 8 / 12; color: var(--encre-2); font-size: 1rem; line-height: 1.5; max-width: 34em; }
.v2-exp-go {
  grid-column: 12 / 13; justify-self: end;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--encre);
  font-size: 1.3rem; font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.v2-exp-row:hover .v2-exp-go,
.v2-exp-row:focus-visible .v2-exp-go { background: var(--lime); border-color: var(--lime); }

@media (max-width: 899px) {
  .v2-exp-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  .v2-exp-num  { grid-column: 1; grid-row: 1; }
  .v2-exp-name { grid-column: 1; grid-row: 2; }
  .v2-exp-text { grid-column: 1; grid-row: 3; }
  .v2-exp-go   { grid-column: 2; grid-row: 2 / 4; align-self: start; width: 44px; height: 44px; }
}


/* ================================================================
   RUPTURE PHOTOGRAPHIQUE
   ================================================================ */
.v2-rupture {
  position: relative;
  height: clamp(480px, 78vh, 900px);
  overflow: hidden;
  color: var(--blanc);
  background: #3A3B36;
}
.v2-rupture-media, .v2-rupture-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.v2-rupture-media img { object-fit: cover; object-position: 50% 60%; }
.v2-rupture::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 11, 9, 0.5) 0%, rgba(10, 11, 9, 0) 45%);
}
.v2-rupture-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-bottom: clamp(24px, 3.5vw, 56px);
}
@media (max-width: 699px) {
  .v2-rupture { height: 78svh; max-height: 640px; }
  .v2-rupture-media img { object-position: 30% 50%; }
}


/* Rupture en deux images côte à côte (diptyque) */
/* Rupture en une image 16:9, sur toute la largeur de la page, affichée entière.
   Mobile : recadrage plus serré, entier. */
.v2-rupture--large { background: var(--blanc); height: auto; max-height: none; aspect-ratio: 16 / 9; width: 100%; }
.v2-rupture--large .v2-rupture-media img { object-position: 50% 50%; }
@media (max-width: 699px) {
  .v2-rupture--large { aspect-ratio: 3480 / 2160; width: 100%; height: auto; max-height: none; }
  .v2-rupture--large .v2-rupture-media img { object-position: 50% 50%; }
  .v2-rupture--large .v2-display { font-size: clamp(2rem, 10vw, 2.75rem); }
}

/* ================================================================
   PROJETS — grille régulière : deux colonnes égales, même ratio d'image
   ================================================================ */
/* Composition A : grand carré à gauche (moitié), 2 × 2 petits carrés à droite */
.v2-work-a {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gout);
  align-items: start;
}
.v2-work-petits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px var(--gout);
}
/* Petites vignettes : légendes plus compactes */
.v2-work-petits .v2-proj-media { margin-bottom: 14px; }
.v2-work-petits .v2-proj-name { font-size: clamp(1.125rem, 1.35vw, 1.375rem); margin-bottom: 6px; }
.v2-work-petits .v2-kind { font-size: 0.8125rem; margin-bottom: 4px; }
.v2-work-petits .v2-proj-desc { font-size: 0.875rem; }
.v2-work-petits .v2-provisoire { top: 8px; right: 8px; font-size: 0.6875rem; padding: 4px 7px; }
.v2-work-petits .v2-device--ecran { padding: 4px; border-radius: 6px; }
.v2-work-petits .v2-device--tel { padding: 3px; border-radius: 10px; }
.v2-work-petits .v2-device--tel img { border-radius: 7px; }
.v2-proj-link { display: block; color: var(--encre); text-decoration: none; }
.v2-proj-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
  background: var(--surface);
}
.v2-proj-media { border-radius: 8px; }
.v2-proj-media > img { width: 100%; height: 100%; object-fit: cover; }
/* Survol : une deuxième image du projet apparaît en fondu, avec un léger recadrage */
.v2-proj-media > .v2-proj-alt,
.xp-img > .v2-proj-alt {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity 450ms ease, transform 900ms cubic-bezier(.2, .7, .2, 1);
}
.v2-proj-link:hover .v2-proj-alt,
.v2-proj-link:focus-visible .v2-proj-alt,
.xp-survol:hover .v2-proj-alt,
.xp-survol:focus-within .v2-proj-alt { opacity: 1; transform: scale(1); }
.v2-proj-media--vide {
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed #B9BDC2;
  color: var(--encre-2); font-size: 0.9375rem; font-weight: 500;
}

.v2-proj-name { margin: 0 0 10px; }
.v2-kind {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
  font-size: 0.875rem; font-weight: 500; color: var(--encre-2);
}
.v2-kind::before { content: ''; width: 9px; height: 9px; background: var(--lime); flex: none; }
.v2-kind--client::before { background: var(--encre); }
.v2-kind--app::before { border-radius: 50%; }
a.v2-proj-link:hover .v2-proj-name,
a.v2-proj-link:focus-visible .v2-proj-name {
  text-decoration: underline; text-decoration-color: var(--lime);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.v2-ext { font-size: 0.7em; font-weight: 500; }
.v2-proj-desc { display: block; color: var(--encre-2); font-size: 1rem; }

/* Mises en scène des applications : vraies captures dans des appareils */
.v2-device { position: absolute; display: block; background: var(--encre); overflow: hidden; }
.v2-device img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.v2-device--ecran {
  left: 9%; right: 9%; top: 50%; transform: translateY(-50%);
  aspect-ratio: 1400 / 1052;
  padding: 7px; border-radius: 10px;
}
.v2-device--ecran img { border-radius: 4px; }
.v2-scene:has(.v2-device--tel) .v2-device--ecran { left: 6%; right: 22%; }
.v2-device--tel {
  right: 6%; bottom: 22%;
  width: 22%; aspect-ratio: 600 / 1299;
  padding: 5px; border-radius: 18px;
}
.v2-device--tel img { border-radius: 13px; }

.v2-work-all { margin-top: clamp(56px, 7vw, 112px); }

@media (max-width: 699px) {
  .v2-work-a { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .v2-work-petits { gap: 32px 16px; }
}


/* ================================================================
   CHIFFRES ET AVIS (à renseigner, visible en mode maquette seulement)
   ================================================================ */
.v2-proof {
  padding-block: clamp(72px, 9vw, 136px);
  background: var(--surface);
}
.v2-proof .v2-col-label { padding-top: 0.3em; }
.v2-proof-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.v2-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gout); }
.v2-figure { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.v2-figures dd { margin-top: 10px; font-size: 0.875rem; font-weight: 500; color: var(--encre-2); }
.v2-quote { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid #C9CDD1; }
.v2-quote p { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.v2-quote figcaption { margin-top: 16px; font-size: 0.875rem; color: var(--encre-2); }
@media (max-width: 899px) {
  .v2-proof-inner { grid-template-columns: minmax(0, 1fr); }
}


/* ================================================================
   CONTACT
   ================================================================ */
.v2-proof + .v2-contact { padding-top: var(--section); }
.v2-contact-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px;
  margin-top: clamp(32px, 4vw, 56px);
}


/* ================================================================
   PIED DE PAGE
   ================================================================ */
.footer { background: var(--encre); color: var(--blanc); padding-block: 64px 48px; }
.footer .container { padding-inline: var(--marge); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand nav" "brand links";
  gap: 24px 40px;
}
.footer-inner > div { grid-area: brand; }
.footer-nav   { grid-area: nav;   display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: flex-end; }
.footer-cookies { padding: 0; background: none; border: 0; cursor: pointer; font: inherit; text-align: left; }
.footer-links { grid-area: links; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; align-self: end; }
.footer-logo { display: inline-block; margin-bottom: 20px; }
/* Fond anthracite : version claire du logo (« trendy » blanc cassé, « colors. » lime) */
.footer-logo .logo-sombre { display: none; }
.footer-logo .logo-clair { height: 34px; width: auto; }
.footer-copy { font-size: 0.875rem; color: rgba(255, 255, 255, 0.62); margin: 0 0 4px; }
.footer-link { color: rgba(255, 255, 255, 0.68); font-size: 0.875rem; text-decoration: none; padding-block: 6px; }
.footer-nav .footer-link { color: var(--blanc); font-size: 0.9375rem; font-weight: 500; }
.footer :focus-visible { outline-color: var(--blanc); }
.footer-link:hover { color: var(--blanc); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 6px; }
/* Mobile : logo + icônes Instagram / LinkedIn sur la 1re ligne, puis menu,
   puis © et e-mail, puis mentions légales et confidentialité sur la dernière ligne.
   display: contents laisse placer chaque élément sans toucher au HTML partagé. */
@media (max-width: 799px) {
  .footer-inner {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    grid-template-areas: none;
    gap: 0 20px;
    align-items: center;
  }
  .footer-inner > div, .footer-links { display: contents; }
  .footer-logo { grid-column: 1 / 4; grid-row: 1; margin: 0; }
  .footer-social-link { grid-row: 1; font-size: 0; padding: 10px; margin: -10px; }
  .footer-social-link:nth-child(1) { grid-column: 4; }
  .footer-social-link:nth-child(2) { grid-column: 5; }
  .footer-social-link svg { width: 22px; height: 22px; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin-top: 28px; }
  .footer-inner > div > .footer-copy:nth-of-type(1) { grid-column: 1 / -1; grid-row: 3; margin-top: 24px; }
  .footer-inner > div > .footer-copy:nth-of-type(2) { grid-column: 1 / -1; grid-row: 4; }
  .footer-links > .footer-link:not(.footer-social-link) { grid-row: 5; margin-top: 24px; white-space: nowrap; }
  .footer-links > .footer-link:nth-child(3) { grid-column: 1; }
  .footer-links > .footer-link:nth-child(4) { grid-column: 2 / -1; }
  .footer-links > .footer-link.footer-cookies:not(.footer-social-link) { grid-row: 6; grid-column: 1 / -1; margin-top: 12px; }
}
@media (max-width: 374px) {
  .footer-inner { column-gap: 14px; }
  .footer-links > .footer-link:not(.footer-social-link) { font-size: 0.75rem; }
}


/* ================================================================
   MODÈLE DE PAGE EXPERTISE (xp-)
   introduction → prestations → réalisations → méthode → questions → contact
   Les grandes séquences alternent blanc et gris clair (.xp-gris).
   ================================================================ */
.xp-section { padding-block: clamp(80px, 9vw, 144px); }
.xp-gris { background: var(--gris-exp); }
@media (max-width: 699px) { .xp-section { padding-block: 64px; } }

.xp-h1 {
  font-size: clamp(2.5rem, 5vw, 5.25rem);
  font-weight: 800; line-height: 0.96; letter-spacing: -0.035em;
}
.xp-h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
}
.xp-h4 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.xp-text { margin-top: 20px; max-width: 32em; color: var(--encre-2); font-size: 1.125rem; line-height: 1.55; }
.xp-head { margin-bottom: clamp(48px, 6vw, 88px); }
.xp-head .v2-col-label { padding-top: 0.75em; }
.xp-num { display: block; margin-bottom: 14px; font-size: 0.9375rem; font-weight: 500; color: var(--encre-2); }
.xp-img { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--surface); }
.xp-img > img { width: 100%; height: 100%; object-fit: cover; }

/* 1. Introduction : texte à gauche, grande image à droite */
.xp-intro { padding-top: clamp(48px, 6vw, 96px); }
.xp-intro-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout);
  align-items: end;
}
.xp-intro-text { grid-column: 1 / 7; padding-bottom: clamp(8px, 2vw, 40px); }
.xp-intro-media { grid-column: 7 / 13; }
.xp-intro-media .xp-img { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 96px); width: 100%; }
.xp-surtitre { margin-bottom: 20px; color: var(--encre-2); }
.xp-fil { color: var(--encre-2); text-decoration: none; }
.xp-fil:hover { color: var(--encre); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.xp-lead { margin-top: 24px; max-width: 32em; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; }
.xp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.xp-cap { margin-top: 12px; font-size: 0.875rem; color: var(--encre-2); }

/* Les moyens : quatre colonnes de texte, trait fin au-dessus de chacune */
.xp-moyens { padding-top: clamp(96px, 11vw, 176px); padding-bottom: clamp(80px, 9vw, 144px); }
.xp-moyens-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gout);
}
.xp-moyens-list li { padding-top: 24px; border-top: 1px solid var(--encre); }
.xp-moyens-list p { margin-top: 12px; color: var(--encre-2); font-size: 1rem; line-height: 1.55; }
.xp-note { margin-top: 48px; max-width: 31em; font-size: 1.125rem; line-height: 1.5; padding-left: 20px; border-left: 3px solid var(--lime); }

/* 2. Prestations : image et texte en alternance, sans cartes */
.xp-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout);
  align-items: center;
}
.xp-row + .xp-row { margin-top: clamp(64px, 8vw, 128px); }
.xp-row-media { grid-column: 1 / 7; aspect-ratio: 4 / 5; }
.xp-row-text { grid-column: 8 / 12; }
.xp-row--inverse .xp-row-media { grid-column: 7 / 13; grid-row: 1; }
.xp-row--inverse .xp-row-text { grid-column: 2 / 6; grid-row: 1; }
.xp-row-text p { margin-top: 18px; max-width: 32em; color: var(--encre-2); font-size: 1.0625rem; line-height: 1.6; }

/* Prestations sans images : texte en grille, trait fin au-dessus de chaque élément */
.xp-grille { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px var(--gout); }
.xp-grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 112px); }
.xp-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xp-grille li { padding-top: 24px; border-top: 1px solid #DDDDDD; }
.xp-grille .v2-h3 { font-size: clamp(1.375rem, 1.9vw, 1.875rem); }
.xp-grille p { margin-top: 14px; max-width: 34em; color: var(--encre-2); font-size: 1.0625rem; line-height: 1.6; }
.xp-exemple { margin-top: clamp(80px, 9vw, 144px); }
.xp-row-text .v2-kind { margin-bottom: 12px; }
.xp-row-link { margin-top: 20px !important; }

/* Mises en scène d'écrans dans les grandes images (vraies captures) */
.xp-scene { background: var(--surface); }
.xp-intro-media .xp-img.xp-scene { aspect-ratio: 4 / 3; }
.xp-intro-media .xp-scene .v2-device--ecran { left: 7%; right: 7%; }
.xp-intro-media .xp-scene:has(.v2-device--tel) .v2-device--ecran { left: 6%; right: 20%; }
.xp-ecran-large { aspect-ratio: 1944 / 880 !important; }
.xp-tel-seul { left: 50%; right: auto !important; top: 50%; bottom: auto !important; width: 38% !important; transform: translate(-50%, -50%); }
.v2-proj-link:hover .xp-tel-seul { transform: translate(-50%, -50%); }

/* 3. Réalisations : trois carrés, mêmes règles que les projets de l'accueil */
.xp-projets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gout); }
.xp-projets--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xp-projets--2 .v2-proj-desc { max-width: 34em; }
.xp-projets .v2-proj-name { font-size: clamp(1.25rem, 1.7vw, 1.625rem); margin-bottom: 8px; }
.xp-more { margin-top: clamp(40px, 5vw, 72px); }

/* 4. Méthode : quatre étapes en colonnes, puis l'offre de départ */
.xp-etapes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gout);
}
.xp-etapes li { padding-top: 24px; border-top: 1px solid #DDDDDD; }
.xp-etapes p { margin-top: 12px; color: var(--encre-2); font-size: 1rem; line-height: 1.55; }
.xp-offre {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px;
  margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid #DDDDDD;
  font-size: 1.125rem;
}
.xp-offre p { max-width: 34em; }

/* 5. Questions fréquentes : lignes ouvrables, signe + / − */
.xp-faq { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--trait); }
.xp-faq details { border-bottom: 1px solid var(--trait); }
.xp-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); font-weight: 600; line-height: 1.35;
}
.xp-faq summary::-webkit-details-marker { display: none; }
.xp-faq summary::after {
  content: '+'; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--encre);
  font-size: 1.375rem; font-weight: 500;
  transition: background-color var(--t), border-color var(--t);
}
.xp-faq details[open] summary::after { content: '−'; background: var(--lime); border-color: var(--lime); }
.xp-faq summary:hover::after { background: var(--lime); border-color: var(--lime); }
.xp-faq summary:focus-visible { outline-offset: 2px; box-shadow: none; }
.xp-faq details p { padding: 0 64px 28px 0; max-width: 36em; color: var(--encre-2); line-height: 1.6; }

/* 6. Contact */
.xp-contact-title { font-size: clamp(2.5rem, 6vw, 6rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; }
.xp-contact-title span { display: inline-block; }

@media (max-width: 1079px) {
  .xp-moyens-list, .xp-etapes, .xp-grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .xp-intro-text, .xp-intro-media { grid-column: 1 / -1; }
  .xp-intro-media { margin-top: 40px; }
  .xp-intro-media .xp-img { max-height: none; }
  .xp-row-media, .xp-row-text,
  .xp-row--inverse .xp-row-media, .xp-row--inverse .xp-row-text { grid-column: 1 / -1; grid-row: auto; }
  .xp-row-text { margin-top: 28px; }
  .xp-projets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-head .v2-col-label { padding-top: 0; }
}
@media (max-width: 599px) {
  .xp-moyens-list, .xp-etapes, .xp-projets, .xp-grille--2, .xp-grille--3 { grid-template-columns: minmax(0, 1fr); }
  .xp-row-media { aspect-ratio: 1 / 1; }
  .xp-faq details p { padding-right: 0; }
}


/* ================================================================
   PAGE PROJETS (rz-)
   ================================================================ */
.rz-intro { padding-bottom: 0; }
.rz-h1 { max-width: 14em; }
.rz-sauts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; }
.rz-demos { padding-top: 0; }
.rz-test { padding-top: clamp(64px, 7vw, 112px); }
.rz-test-media { display: block; }
.rz-note { font-size: 0.9375rem !important; }
.rz-client .xp-row-media { aspect-ratio: 16 / 10; }
.rz-client .v2-proj-media--vide { display: flex; align-items: center; justify-content: center; border: 1px dashed #B9BDC2; color: var(--encre-2); font-weight: 500; }


/* ================================================================
   FICHES PROJET (body.fiche) : contenu d'origine, habillage V2
   hero photo → chiffres → contexte et brief → galerie → direction artistique
   → résultat et livrables → appel à l'action. Fonds en alternance (.xp-gris).
   ================================================================ */
.fiche .container { padding-inline: var(--marge); }
.fiche .proj-section, .fiche .proj-section-sm { padding-block: clamp(80px, 9vw, 144px); }
.fiche .proj-section-sm { padding-block: clamp(56px, 6vw, 96px); }
@media (max-width: 699px) { .fiche .proj-section, .fiche .proj-section-sm { padding-block: 64px; } }

/* Hero : photo plein écran, texte en bas à gauche, comme l'accueil */
.proj-hero {
  position: relative; overflow: hidden; color: var(--blanc);
  height: min(calc(100svh - var(--nav-h)), 1100px); min-height: 600px;
  background: #2A2B26;
}
.proj-hero picture, .proj-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.proj-hero-bg { object-fit: cover; object-position: center 35%; }
.proj-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(15deg, rgba(10, 11, 9, 0.74) 0%, rgba(10, 11, 9, 0.4) 42%, rgba(10, 11, 9, 0) 70%);
}
.proj-hero-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 var(--marge) clamp(32px, 5vw, 80px);
}
.proj-breadcrumb {
  display: inline-block; margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.85); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
}
.proj-breadcrumb:hover { color: var(--blanc); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.proj-breadcrumb:focus-visible { outline-color: var(--blanc); }
.proj-cat-badge { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 500; }
.proj-cat-badge::before { content: ''; width: 9px; height: 9px; background: var(--lime); flex: none; }
.proj-title {
  margin-top: 12px;
  font-size: clamp(2.75rem, 6vw, 6.25rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.035em;
}
.proj-intro { margin-top: 20px; max-width: 36em; font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.45; color: rgba(255, 255, 255, 0.92); }
.proj-meta { display: flex; flex-wrap: wrap; gap: 12px 48px; margin-top: 28px; }
.proj-meta-item { display: flex; flex-direction: column; gap: 4px; }
.proj-meta-label { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
.proj-meta-value { font-size: 0.9375rem; font-weight: 600; }

/* Hero d'une fiche en deux images côte à côte (sans séparation) */
.proj-hero-duo { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proj-hero-duo img { width: 100%; height: 100%; object-fit: cover; }

/* Fiche Frame : galerie de trois images et étapes */
.fm-galerie, .fm-etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gout); margin-top: clamp(40px, 5vw, 72px); }
.fm-galerie .proj-media, .fm-etapes .proj-media { aspect-ratio: 4 / 5; }
.fm-etapes { list-style: none; padding: 0; margin-bottom: 0; }
.fm-etapes p { margin-top: 14px; max-width: 30em; color: var(--encre-2); font-size: 1rem; line-height: 1.55; }
.fm-mention { margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--trait); max-width: 40em; font-size: 0.9375rem; color: var(--encre-2); }
@media (max-width: 699px) {
  .fm-galerie, .fm-etapes { grid-template-columns: minmax(0, 1fr); }
}

/* Intitulés et titres de section */
.fiche .section-label { display: block; font-size: 0.9375rem; font-weight: 500; }
.fiche .section-label::after { content: ''; display: block; width: 48px; height: 1px; margin-top: 12px; background: var(--encre); }
.fiche .section-title {
  margin-top: 24px;
  font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
}
.fiche .section-subtitle { margin-top: 20px; max-width: 34em; color: var(--encre-2); font-size: 1.125rem; line-height: 1.55; }

/* Chiffres (contenus d'origine) */
.proj-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gout); }
.proj-number-item { display: flex; flex-direction: column; padding-top: 24px; border-top: 1px solid var(--encre); }
.proj-number-value { font-size: clamp(2.75rem, 5vw, 4.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.proj-number-label { margin-top: 14px; font-size: 1.0625rem; font-weight: 700; }
.proj-number-sub { margin-top: 8px; max-width: 30em; color: var(--encre-2); font-size: 0.9375rem; line-height: 1.55; }

/* Contexte et brief : deux colonnes de texte, sans cartes */
.proj-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 6vw, 112px); }
.proj-card-label { display: block; font-size: 0.9375rem; font-weight: 500; }
.proj-card-label::after { content: ''; display: block; width: 48px; height: 1px; margin-top: 12px; background: var(--encre); }
.proj-card-title { margin-top: 24px; font-size: clamp(1.75rem, 2.8vw, 2.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.proj-card-text, .fiche .proj-rich-text { margin-top: 20px; max-width: 34em; color: var(--encre-2); font-size: 1.0625rem; line-height: 1.65; }
.fiche .proj-rich-text p + p { margin-top: 1em; }

/* Galerie : grandes images arrondies, mêmes gouttières que la grille */
.proj-gallery-main { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gout); margin-top: clamp(40px, 5vw, 72px) !important; }
.proj-gallery-col { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gout); }
.proj-gallery-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gout); margin-top: var(--gout) !important; }
.proj-media { position: relative; overflow: hidden; border-radius: 8px; background: var(--surface); }
.proj-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proj-media-tall { aspect-ratio: 4 / 5; }
.proj-media-short { aspect-ratio: 4 / 5; }

/* Direction artistique : titre à gauche (reste visible), texte à droite */
.proj-approach-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); }
.proj-approach-sticky { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.proj-approach-grid > .proj-rich-text { grid-column: 6 / 12; margin-top: 0; max-width: 32em; font-size: 1.125rem; color: var(--encre); }

/* Livrables */
.proj-deliverables { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--trait); }
.xp-gris .proj-deliverables, .xp-gris .proj-deliverables li { border-color: #DDDDDD; }
.proj-deliverables li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--trait); font-size: 1rem; line-height: 1.5; }
.proj-deliverables li::before { content: ''; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; background: var(--lime); }

/* Appel à l'action */
.proj-cta .section-title { font-size: clamp(2.5rem, 5.5vw, 5.5rem); line-height: 0.95; letter-spacing: -0.035em; }
.proj-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: 36px; }
.fiche .btn-primary {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px;
  background: var(--lime); color: var(--encre); font-weight: 700; text-decoration: none;
  transition: background-color var(--t), color var(--t);
}
.fiche .btn-primary:hover { background: var(--encre); color: var(--blanc); }
.fiche .btn-outline-dark { color: var(--encre); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.fiche .btn-outline-dark:hover { text-decoration-color: var(--lime); text-decoration-thickness: 3px; }

@media (max-width: 899px) {
  .proj-numbers, .proj-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .proj-approach-sticky, .proj-approach-grid > .proj-rich-text { grid-column: 1 / -1; position: static; }
  .proj-approach-grid > .proj-rich-text { margin-top: 28px; }
}
@media (max-width: 599px) {
  .proj-hero { height: calc(100svh - var(--nav-h) - 32px); min-height: 560px; max-height: 780px; }
  .proj-hero-overlay { background: linear-gradient(0deg, rgba(10, 11, 9, 0.8) 0%, rgba(10, 11, 9, 0.45) 50%, rgba(10, 11, 9, 0) 78%); }
  .proj-title { font-size: clamp(2.5rem, 12vw, 3.25rem); }
  .proj-meta { gap: 12px 28px; }
  .proj-gallery-main, .proj-gallery-row { grid-template-columns: minmax(0, 1fr); }
  .proj-gallery-col { grid-template-rows: none; }
  .proj-gallery-col .proj-media { aspect-ratio: 4 / 5; }
}


/* ================================================================
   PAGE STUDIO (st-)
   ================================================================ */
.st-h1 { max-width: 13em; }
.st-intro-bas { margin-top: 8px; }
.st-intro-bas .xp-actions { margin-top: 32px; }
.st-triptyque { margin-top: clamp(56px, 7vw, 112px); }
.st-triptyque-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gout); }
.st-triptyque-images .xp-img { aspect-ratio: 4 / 5; }
.st-intro { padding-bottom: clamp(80px, 9vw, 144px); }
.st-competences li { border-top-color: var(--trait); }
.v2-exp-page .v2-exp-list li + li { border-top: 1px solid #DDDDDD; }
@media (max-width: 599px) {
  .st-triptyque-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-triptyque-images .xp-img:first-child { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
}


/* ================================================================
   PAGE CONTACT (ct-) : formulaire Web3Forms (identifiants inchangés)
   ================================================================ */
.ct-page { padding-bottom: clamp(80px, 9vw, 144px); }
.ct-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); align-items: start; }
.ct-intro { grid-column: 1 / 6; }
.ct-form { grid-column: 7 / 13; padding: clamp(28px, 3.5vw, 48px); background: var(--gris-exp); border-radius: 8px; }
.ct-tips-titre { margin-top: 36px; font-weight: 600; }
.ct-tips { margin: 12px 0 0; padding: 0; list-style: none; }
.ct-tips li { position: relative; padding: 6px 0 6px 20px; color: var(--encre-2); }
.ct-tips li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; background: var(--lime); }
.ct-mail { margin-top: 32px; }
.ct-lieu { margin-top: 12px; font-size: 0.875rem; color: var(--encre-2); }

.form-group + .form-group { margin-top: 22px; }
.form-label { display: block; margin-bottom: 8px; font-size: 0.9375rem; font-weight: 600; }
.form-input, .form-textarea {
  display: block; width: 100%;
  padding: 14px 16px; min-height: 52px;
  background: var(--blanc); color: var(--encre);
  border: 1px solid #C9CDD1; border-radius: 0;
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color var(--t);
}
.form-textarea { resize: vertical; min-height: 160px; }
.form-input::placeholder, .form-textarea::placeholder { color: #8A8F95; }
.form-input:hover, .form-textarea:hover { border-color: var(--encre-2); }
.form-input:focus-visible, .form-textarea:focus-visible { border-color: var(--encre); outline: 3px solid var(--encre); outline-offset: 0; box-shadow: 0 0 0 6px var(--lime); }
.form-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.form-submit { margin-top: 28px; border: 0; cursor: pointer; font-family: inherit; }
.form-success { display: none; padding: 24px; background: var(--blanc); border-left: 3px solid var(--lime); }
.form-success p { font-size: 1.125rem; font-weight: 600; }
.form-error-msg { margin-top: 16px; color: #B3261E; font-size: 0.9375rem; }
.form-error-msg:empty { display: none; }

@media (max-width: 899px) {
  .ct-intro, .ct-form { grid-column: 1 / -1; }
  .ct-form { margin-top: 48px; }
}


/* ================================================================
   OFFRES (La Toile, La Capsule) et PAGE TOUTES LES EXPERTISES
   ================================================================ */
.of-h1 { font-size: clamp(2.25rem, 4.2vw, 4.5rem); }
.of-h1 .of-nom, .of-h1 .of-accroche { display: block; }
.of-h1 .of-accroche { margin-top: 0.12em; }
.of-faits { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-size: 1.0625rem; }
.of-faits > span { display: inline-flex; align-items: center; gap: 10px; }
.of-faits > span::before { content: ''; width: 9px; height: 9px; background: var(--lime); flex: none; }
.of-faits strong { font-weight: 800; }
.of-liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 112px);
}
.of-liste li { position: relative; padding: 16px 0 16px 24px; border-top: 1px solid #DDDDDD; font-size: 1.0625rem; line-height: 1.5; }
.of-liste li::before { content: ''; position: absolute; left: 0; top: 25px; width: 8px; height: 8px; background: var(--lime); }
.of-liste a { color: var(--encre); text-underline-offset: 4px; }
.of-liste--1 { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
.of-label { margin-bottom: 20px; }
.xp-row-text .xp-h2 { margin-bottom: 4px; }
.xp-etapes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.of-note { font-size: 0.9375rem !important; }
.of-note a, .xp-row-text p a:not(.v2-link) { color: var(--encre); text-underline-offset: 4px; }
.xp-titre-lien { color: inherit; text-decoration: none; }
.xp-titre-lien:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hub-offres .xp-row-text .v2-kind { margin: 12px 0 0; }
@media (max-width: 899px) {
  .xp-etapes--3 { grid-template-columns: minmax(0, 1fr); }
  .of-liste { grid-template-columns: minmax(0, 1fr); }
}


/* ================================================================
   PAGES LÉGALES (body.legal) : habillage seul, texte d'origine intact.
   Les styles en ligne d'origine sont neutralisés ici.
   ================================================================ */
.legal { --font-display: var(--police); --c-text: var(--encre); --c-text-muted: var(--encre-2); }
.legal .container { padding-inline: var(--marge); }
.legal .portfolio-page-hero { padding: clamp(48px, 6vw, 96px) 0 clamp(32px, 4vw, 56px); }
.legal .section-label { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--encre-2); }
.legal .section-title { margin-top: 20px; font-size: clamp(2.5rem, 5vw, 5.25rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.035em; }
.legal .section { padding-bottom: clamp(80px, 9vw, 144px); }
.legal .section > .container > div { max-width: 46em; padding-top: 0 !important; }
.legal h2 {
  font-family: var(--police) !important; text-transform: none !important;
  font-size: clamp(1.375rem, 2vw, 1.75rem) !important; font-weight: 800; letter-spacing: -0.015em;
  padding-top: 24px; border-top: 1px solid var(--trait);
}
.legal .section p, .legal .section li { font-size: 1.0625rem; max-width: 33em; }
.legal .section a { text-underline-offset: 4px; }


/* ================================================================
   PAGES INTÉRIEURES : contenu limité à un conteneur centré de 1 280 px.
   Les fonds de section et les photos pleine largeur restent bord à bord.
   L'accueil (data-page="index") n'est pas concerné ; menu et pied de page non plus.
   ================================================================ */
body.v2:not([data-page="index"]) { --contenu: 1280px; }
body.v2:not([data-page="index"]) main .v2-wrap,
.fiche main .container,
.legal main .container {
  max-width: calc(var(--contenu) + 2 * var(--marge)) !important;
  margin-inline: auto;
  padding-inline: var(--marge);
}
/* Titre des fiches projet : aligné sur la colonne centrale des sections (même largeur que
   main .container), pour que le titre, l'intro et les textes partent du même bord. */
.fiche .proj-hero-content {
  max-width: calc(var(--contenu) + 2 * var(--marge));
  margin-inline: auto;
  padding-inline: var(--marge);
}


/* ================================================================
   PHOTOS CLAIRES : pas de voile sombre (il les délave), texte anthracite.
   Hero des fiches : au format de l'image (16:9) sur ordinateur, sans recadrage.
   ================================================================ */
.v2-rupture--clair::after { content: none; }
.v2-rupture--clair .v2-display { color: var(--encre); }
/* Hero claire : l'image entière en haut, le texte de la hero juste en dessous, sur fond blanc */
.proj-hero--clair { color: var(--encre); height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; background: var(--blanc); overflow: visible; }
.proj-hero--clair picture { position: relative; display: block; inset: auto; height: auto; aspect-ratio: 16 / 9; overflow: hidden; }
.proj-hero--clair .proj-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-hero--clair .proj-hero-content { position: static; padding-top: clamp(32px, 4vw, 64px); padding-bottom: 0; }
.proj-hero--clair .proj-hero-overlay { display: none; }
.proj-hero--clair .proj-breadcrumb, .proj-hero--clair .proj-meta-label { color: var(--encre-2); }
.proj-hero--clair .proj-breadcrumb:hover { color: var(--encre); }
.proj-hero--clair .proj-breadcrumb:focus-visible { outline-color: var(--encre); }
.proj-hero--clair .proj-intro { color: var(--encre); }
@media (min-width: 700px) {
  .fiche .proj-hero { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}

/* ── Mouvement réduit ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Survol des applications : les appareils bougent légèrement (pas de deuxième image disponible) */
.v2-device { transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
.v2-proj-link:hover .v2-device--ecran,
.v2-proj-link:focus-visible .v2-device--ecran { transform: translateY(-50%) scale(1.035); }
.v2-proj-link:hover .v2-device--tel,
.v2-proj-link:focus-visible .v2-device--tel { transform: translateY(-8%); }

/* ── Fiches applications (FotoResto, FotoBoutik) ── */
.ou-hero-ecran { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: var(--surface); padding: clamp(24px, 5vw, 80px); }
.ou-hero-ecran img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--trait); }
.proj-hero--clair .proj-meta-label { color: var(--encre-2); }
.proj-hero--clair a.proj-meta-value { color: var(--encre); }
.ou-vide { display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; border: 1px dashed #B9BDC2; border-radius: 6px; color: var(--encre-2); font-size: 0.9375rem; font-weight: 500; background: rgba(255,255,255,.4); }
.ou-etapes { list-style: none; padding: 0; margin: clamp(40px, 5vw, 72px) 0 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gout); }
.ou-etapes li { border-top: 1px solid var(--encre); padding-top: 20px; }
.ou-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--lime); font-weight: 700; margin-bottom: 18px; }
.ou-etape-titre { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.ou-etapes p { color: var(--encre-2); font-size: 1rem; line-height: 1.55; max-width: 30em; margin: 0; }
.ou-paires { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gout); margin-top: clamp(40px, 5vw, 72px); }
.ou-paire { margin: 0; }
.ou-paire-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ou-tag { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--encre-2); margin-bottom: 6px; }
.ou-tag--apres { color: var(--encre); }
.ou-paire figcaption { margin-top: 14px; color: var(--encre-2); font-size: 1rem; line-height: 1.5; }
.ou-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gout); margin-top: clamp(40px, 5vw, 64px); }
.ou-chiffre { border-top: 1px solid var(--encre); padding-top: 16px; }
.ou-nombre { display: block; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.ou-nombre-label { display: block; margin-top: 10px; color: var(--encre-2); font-size: 1rem; }
.ou-listes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 6vw, 112px); margin-top: clamp(48px, 6vw, 88px); }
.ou-liste-titre { font-size: 1.25rem; font-weight: 700; margin: 0; }
.xp-gris .ou-listes .proj-deliverables, .xp-gris .ou-listes .proj-deliverables li { border-color: #DDDDDD; }
.ou-qui strong { font-weight: 700; }
.ou-galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gout); margin-top: clamp(40px, 5vw, 72px); }
.ou-ecrans { display: flex; align-items: flex-end; gap: var(--gout); margin-top: var(--gout); }
.ou-ecran { margin: 0; flex: 1 1 0; background: var(--blanc); padding: clamp(12px, 2vw, 24px); border-radius: 8px; }
.ou-ecran img { width: 100%; height: auto; border-radius: 6px; display: block; }
.ou-ecran--tel { flex: 0 0 22%; }
@media (max-width: 899px) {
  .ou-etapes, .ou-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ou-paires { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699px) {
  .ou-etapes, .ou-listes, .ou-galerie { grid-template-columns: minmax(0, 1fr); }
  .ou-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ou-ecran--tel { flex-basis: 30%; }
}
.proj-cta-actions .btn > [aria-hidden="true"] { margin-left: 6px; }

/* Projet Monsieur Berdah : maquette mobile du site à côté du résultat */
.mb-livrables { display: block; margin-top: clamp(32px, 4vw, 56px); }
.mb-mobile { aspect-ratio: 1200 / 1608; align-self: start; }

/* FotoResto : photos avant / après */
.ou-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--surface); }
.ou-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Quatre paires : deux par ligne */
.ou-paires--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); row-gap: clamp(40px, 5vw, 64px); }
@media (max-width: 699px) { .ou-paires--4 { grid-template-columns: minmax(0, 1fr); } }

/* FotoBoutik : galerie en mosaïque, tailles alternées */
.ob-mosaique { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gout); row-gap: clamp(32px, 4vw, 64px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.ob-m { margin: 0; overflow: hidden; border-radius: 6px; background: var(--surface); aspect-ratio: 4 / 5; }
.ob-m img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ob-m--l { grid-column: span 7; }
.ob-m--s { grid-column: span 5; margin-top: clamp(48px, 9vw, 160px); }
.ob-m--t { grid-column: span 4; }
.ob-m--w { grid-column: span 8; aspect-ratio: 4 / 3; }
.ob-m--decale { margin-top: clamp(32px, 6vw, 96px); }
.ob-m--bas { align-self: end; }
@media (max-width: 699px) {
  .ob-mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; row-gap: var(--gout); }
  .ob-m--l, .ob-m--s, .ob-m--t, .ob-m--w { grid-column: span 1; margin-top: 0; }
  .ob-m--l, .ob-m--w { grid-column: span 2; }
}

/* Deux captures côte à côte, empilées sur mobile */
@media (max-width: 699px) { .ou-ecrans--duo { flex-direction: column; } .ou-ecrans--duo .ou-ecran { width: 100%; } }

/* La Toile : exemple de sites réalisés (un grand visuel, deux petits) */
.of-exemple { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gout); margin-top: clamp(40px, 5vw, 72px); }
.of-ex-media { display: block; overflow: hidden; border-radius: 6px; background: var(--surface); height: clamp(280px, 30vw, 480px); }
.of-ex-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.of-ex-media:hover img { transform: scale(1.02); }
.of-ex-legende { display: grid; grid-template-columns: 2fr 2fr; gap: var(--gout); margin-top: 14px; font-size: 0.9375rem; color: var(--encre-2); }
@media (max-width: 699px) {
  .of-exemple { grid-template-columns: 1fr 1fr; }
  .of-ex-large { grid-column: 1 / -1; }
  .of-ex-media { height: auto; aspect-ratio: 4 / 5; }
  .of-ex-large { aspect-ratio: 4 / 3; }
  .of-ex-legende { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .of-ex-media img { transition: none; } }

/* Avis clients (accueil) : deux colonnes, texte de lecture, nom en dessous */
.v2-avis-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) var(--gout); margin-top: clamp(40px, 5vw, 72px); }
.v2-avis-item { padding-top: 24px; border-top: 1px solid var(--encre); }
.v2-avis-item blockquote p { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.5; max-width: 34em; }
.v2-avis-item figcaption { margin-top: 18px; font-size: 0.9375rem; font-weight: 700; }
.v2-avis-item figcaption span { font-weight: 400; color: var(--encre-2); }
@media (max-width: 799px) { .v2-avis-grille { grid-template-columns: minmax(0, 1fr); } }
/* Page Monsieur Berdah : avis complet */
.mb-avis blockquote p + p { margin-top: 1em; }
.mb-avis figcaption { margin-top: 20px; font-size: 0.9375rem; font-weight: 700; }
.mb-avis figcaption span { font-weight: 400; color: var(--encre-2); }

/* Chiffres à trois colonnes, avec préfixe (« près de 200 ») — FotoBoutik */
.ou-chiffres-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ou-prefixe { font-size: 1.25rem; font-weight: 400; letter-spacing: 0; color: var(--encre-2); }
.ou-sans-coupure { white-space: nowrap; }
@media (max-width: 1079px) { .ou-chiffres-3 { grid-template-columns: minmax(0, 1fr); } }
