/* VM Studio - feuille de style du portfolio.
   Mise en page : cinq filets verticaux qui rappellent les cinq barres du logo, un grand titre,
   une grille de travaux, une bande de contact claire en fin de page. */
:root {
  --ink: #070707;                      /* fond demande par Valentin le 09/11 17h46 (« essaye 070707 ») */
  --ink-raised: #222222;
  --ink-hover: #282828;
  --paper: #FAFAFA;
  --mute: rgba(250, 250, 250, 0.58);   /* texte secondaire sur --ink : 6,3:1 */
  --line: rgba(250, 250, 250, 0.14);
  --line-faint: rgba(250, 250, 250, 0.07);
  --ink-mute: rgba(25, 25, 25, 0.62);  /* texte secondaire sur --paper : 4,9:1 */
  --ink-line: rgba(25, 25, 25, 0.18);

  /* Couleurs des travaux NosAssos, lues dans les fichiers sources (logo et carrousel) ; elles ne servent
     qu'aux vignettes de ces travaux. */
  --ivory: #FFFBF7;
  --navy: #0E1A33;                     /* sur ivoire : 16,6:1 */
  --orange: #FF7725;

  --font: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  --gutter: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 56px), env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--ink);
  z-index: 30;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}
img { max-width: 100%; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Lien d'evitement : visible seulement au clavier */
.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 40;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* En-tete */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
/* 09/11 20h41 (Valentin : « la barre de menu doit laisser apparaître le contenu en flou derrière », « gaussian blur ») */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(7, 7, 7, 0.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    backdrop-filter: blur(18px) saturate(1.1);
    /* 09/11 21h35 (Valentin : « barre noire au dessus de la barre de menu ») : bande noire inset du haut retiree */
  }
}
/* 10/11 12h00 (Valentin : « Liquid Glass », flou conservé, réfraction très discrète) : légère déformation du fond flouté
   par le filtre #verre-liquide de la page ; Chrome et Edge seulement, les autres navigateurs gardent le flou seul */
@supports (backdrop-filter: blur(1px) url(#verre-liquide)) and (not (font: -apple-system-body)) and (not (-moz-appearance: none)) {
  html:has(#verre-liquide) .site-header { backdrop-filter: blur(18px) saturate(1.1) url(#verre-liquide); }
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 17px; letter-spacing: 0.01em; }
.brand svg { height: 26px; width: auto; display: block; }
/* 09/11 18h02 (Valentin : « en majuscules, écriture fine ») */
.brand span { text-transform: uppercase; font-weight: 200; letter-spacing: 0.06em; }
.nav { display: flex; gap: clamp(16px, 3vw, 40px); font-size: 14px; letter-spacing: 0.02em; }
.nav a { color: var(--mute); transition: color 0.2s ease; padding-block: 4px; }
.nav a:hover { color: var(--paper); }
/* 09/11 21h41 (Valentin : « version smartphone uniquement », Travaux, Services et Contact à côté du logo, réduits si besoin) */
@media (max-width: 600px) {
  .site-header .wrap { column-gap: 16px; }
  .nav { gap: 10px; font-size: clamp(11px, 3.2vw, 13px); white-space: nowrap; }
}

/* Accueil */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  /* 09/11 18h11 (Valentin : « filtre noir par-dessus comme si elle passait derrière le fond noir ») : voile #070707 de 90 % a 100 % (84 % avant) */
  background: linear-gradient(to bottom, rgba(7, 7, 7, 0.9), rgba(7, 7, 7, 0.95) 55%, #070707), url(img/fond-nantes-1920.webp) center / cover no-repeat, var(--ink);
}
@media (max-width: 800px) {
  .hero { background: linear-gradient(to bottom, rgba(7, 7, 7, 0.9), rgba(7, 7, 7, 0.95) 55%, #070707), url(img/fond-nantes-960.webp) center / cover no-repeat, var(--ink); }
}
/* 09/11 17h46 : filets verticaux decoratifs retires (demande de Valentin) ; 18h11 : alternative avec leur retour,
   page variante-lignes/ seulement (class="hero lignes"), filets d'avant a l'identique */
.hero.lignes::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--line-faint) 1px, transparent 1px);
  background-size: 20% 100%;
}
.hero .wrap { position: relative; padding-top: clamp(72px, 14vw, 200px); padding-bottom: 28px; }
/* 09/11 18h36 (Valentin : logos.png « à la place de celle de la ville ») : essai, page variante-logos/ seulement */
.hero.fond-logos { background: url(img/fond-logos-1920.webp) center / cover no-repeat, var(--ink); }
@media (max-width: 800px) { .hero.fond-logos { background: url(img/fond-logos-960.webp) center / cover no-repeat, var(--ink); } }
/* 09/11 20h17 (Valentin : « motifs logo 2 », image WhatsApp) : accueil seulement */
.hero.fond-logos.fond-logos-2 { background: url(img/fond-logos-2.jpg) center / cover no-repeat, var(--ink); }
/* 09/11 18h21 (Valentin : « Mets mon logo en gros, avec « VM Studio » inscrit à côté », modele de son CV) :
   essai, page variante-cv/ seulement. Logo en colonne, VM fin / STUDIO gras, filet epais, metier dessous. */
.hero-cv { display: flex; align-items: center; gap: clamp(24px, 5vw, 80px); }
.hero-cv .cv-logo { flex: none; height: clamp(120px, 24vw, 340px); width: auto; display: block; color: var(--paper); }
.hero-cv .cv-texte { min-width: 0; flex: 1; }
.hero-cv .cv-nom { margin: 0; font-size: clamp(2rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-cv .cv-nom .fin { font-weight: 200; }
.hero-cv .cv-nom .gras { font-weight: 600; }
.hero-cv .cv-filet { display: block; height: 4px; background: var(--paper); margin: clamp(14px, 2vw, 28px) 0; max-width: 100%; }
.hero-cv .cv-metier { margin: 0; font-weight: 300; font-size: clamp(0.95rem, 1.7vw, 1.5rem); letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper); }
@media (max-width: 520px) {
  .hero-cv { gap: 18px; }
  .hero-cv .cv-logo { height: 104px; }
  .hero-cv .cv-nom { font-size: 1.85rem; }
  .hero-cv .cv-filet { height: 3px; margin: 10px 0; }
  .hero-cv .cv-metier { font-size: 0.8rem; letter-spacing: 0.04em; }
}
/* Titre d'accueil : demande de Valentin du 09/11 17h14, police « a diminuer grandement » et « plus fine »
   (500 -> 200, maximum 8,5 rem -> 3,4 rem). Variante MAJUSCULES par la classe .caps (en ligne) ;
   variante minuscules prete : retirer class="caps" du h1 dans index.html. */
.hero h1 {
  margin: 0;
  font-weight: 200;
  font-size: clamp(1.7rem, 3.9vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1.caps {
  text-transform: uppercase;
  font-size: clamp(1.45rem, 3.3vw, 2.9rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
/* 09/11 20h39 (Valentin : accueil « très subtil », « DESIGN GRAPHIQUE & PRODUCTION AUDIOVISUELLE sur la même ligne ») :
   sans image de fond, titre sur une seule ligne, apparition en fondu flou au chargement */
.hero.hero-sobre { background: var(--ink); }
.hero h1.une-ligne {
  white-space: nowrap;
  /* 09/11 20h54 (Valentin : « remet à la taille de tout à l'heure ») : 2,9 rem comme avant, reduit seulement si la ligne ne tient pas */
  font-size: min(2.9rem, 3.1vw);
  animation: titre-apparait 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  will-change: opacity, filter;
}
@keyframes titre-apparait {
  from { opacity: 0; filter: blur(10px); transform: translateY(8px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1.une-ligne { animation: none; }
}
/* 09/11 21h08 (Valentin : « reste à sa place mais en bien plus gros, en 2 lignes ») : page variante-titre-gros/ seulement */
.hero h1.deux-lignes {
  font-size: min(4.8rem, 5.2vw);
  line-height: 1.08;
  animation: titre-apparait 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  will-change: opacity, filter;
}
@media (max-width: 600px) { .hero h1.deux-lignes { font-size: 8vw; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1.deux-lignes { animation: none; }
}
/* 09/11 21h07 (Valentin : le titre « dans la barre de menu, entre le logo et le bouton travaux ») et 21h09
   (« la section travaux doit commencer directement ») : page variante-titre-menu/ seulement */
.header-titre {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  transition: opacity 0.4s ease, filter 0.4s ease;
}
/* 09/11 21h25 (Valentin) : disparait quand les images passent derriere la barre, revient au-dessus */
.header-titre.cache { opacity: 0; filter: blur(6px); pointer-events: none; }
/* 09/11 21h31 (Valentin) : « vm studio » disparait aussi, seul le pictogramme reste */
.brand span { transition: opacity 0.4s ease, filter 0.4s ease; }
.brand.nom-cache span { opacity: 0; filter: blur(6px); }
/* 09/11 21h44 (Valentin : « traits violets lors de l'effet flou ») : texte lisse en niveaux de gris pendant le flou, sans franges colorees */
.header-titre, .site-header .brand span { will-change: filter, clip-path; -webkit-font-smoothing: antialiased; }
/* 09/11 22h56 (Valentin : disparition plus fluide) : marge interieure invisible pour que le flou ne soit pas coupe net par le fondu */
.header-titre { padding-block: 8px; margin-block: -8px; }
.site-header .brand span { padding: 8px; margin: -8px; }
@media (max-width: 900px) {
  .header-titre { order: 3; flex-basis: 100%; text-align: left; font-size: 11px; }
}
/* 10/11 13h48 (Valentin : « parfaitement centrés ») : le titre de la barre au centre exact de la page, quelle que soit la largeur du logo et du menu */
@media (min-width: 901px) {
  .site-header .wrap:has(> .header-titre) { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .site-header .wrap:has(> .header-titre) .brand { justify-self: start; }
  .site-header .wrap:has(> .header-titre) .nav { justify-self: end; }
}
/* 10/11 09h29 et 09h35 (Valentin : « pas en style VHS, un peu un truc dans l'idée mais plus classique ») :
   alternative ?banniere seulement. Menu : logo seul. Banniere : logo + VM Studio, puis VM Studio s'efface en flou
   et « Design graphique & montage vidéo » s'ecrit de gauche a droite, 2 lignes de la hauteur du logo. */
.banniere-classique[hidden] { display: none; }
/* 10/11 12h44 (Valentin : « on oublie l'animation ») : VM Studio et le titre de nouveau visibles dans la barre */
/* 10/11 09h58 et 10h00 (Valentin : « beaucoup plus petite », « plus discrète », « centrés ») : bannière réduite et centrée,
   « VMstudio » comme son image (VM gras, studio fin en italique), en alternance avec Design graphique et Production audiovisuelle */
.banniere-classique { --ban-h: clamp(28px, 4.4vw, 56px); border-bottom: 1px solid var(--line); }
.banniere-classique .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 22px);
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 56px);
}
.ban-logo { flex: none; height: var(--ban-h); width: auto; display: block; color: var(--paper);
  position: relative; z-index: 5; overflow: visible; pointer-events: none;
  animation: ban-apparait 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
/* 10/11 09h58 (Valentin) : au défilement le V s'étire vers le haut de la page et le M vers le bas (index.html) */
.ban-v, .ban-m { transform-box: fill-box; will-change: transform; }
.ban-v { transform-origin: 50% 100%; }
.ban-m { transform-origin: 50% 0; }
.ban-mots { display: grid; align-items: center; justify-items: start; height: var(--ban-h); min-width: 0; max-width: 100%;
  overflow: hidden; transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.ban-mots > span { grid-area: 1 / 1; white-space: nowrap; text-transform: uppercase; font-weight: 200;
  font-size: calc(var(--ban-h) * 0.42); letter-spacing: 0.06em; line-height: 1;
  -webkit-font-smoothing: antialiased; will-change: opacity, filter;
  opacity: 0; filter: blur(8px); transition: opacity 0.9s ease, filter 0.9s ease; }
.ban-mots > span.actif { opacity: 1; filter: blur(0); transition-delay: 0.35s; }
.ban-nom { text-transform: none; letter-spacing: -0.01em; font-size: calc(var(--ban-h) * 0.62); }
.ban-nom b { font-weight: 600; }
.ban-nom i { font-weight: 200; font-style: italic; }
/* 10/11 10h36 (Valentin : « le logo ne doit jamais bouger », il passe sous les images en flou, sans aller dessus ;
   le logo du menu n'apparaît que quand celui de la bannière a disparu) */
.alt-banniere main > .section { position: relative; z-index: 6; }
.ban-mots > span.ban-double { display: flex; flex-direction: column; justify-content: center; gap: calc(var(--ban-h) * 0.1); }
.ban-double small { font-size: calc(var(--ban-h) * 0.22); font-weight: 200; letter-spacing: 0.06em; text-transform: uppercase; }
.ban-mots > span.ban-deux-lignes { line-height: 1.1; }
/* 10/11 11h06 (Valentin, logo-VM-typo.pdf : « exactement la même », tailles, graisse, organisation) : Lato, VM gras,
   studio très fin en italique, sous-titre fin en minuscules de la largeur de VMstudio ; le V M haut a 1/4 du logo,
   le sous-titre en bas du logo ; VMstudio ne bouge pas quand le sous-titre s'ajoute */
.banniere-classique .wrap { gap: calc(var(--ban-h) * 0.2); }
.ban-mots > span.ban-nom { align-self: start; font-family: 'Lato', sans-serif; font-size: calc(var(--ban-h) * 0.7);
  letter-spacing: 0; padding-top: calc(var(--ban-h) * 0.135); }
.ban-nom b { font-weight: 700; }
.ban-nom i { font-weight: 100; }
.ban-mots > span.ban-double { justify-content: flex-start; gap: calc(var(--ban-h) * 0.025); }
.ban-double small { font-family: 'Lato', sans-serif; font-size: calc(var(--ban-h) * 0.12); font-weight: 300;
  letter-spacing: 0.01em; text-transform: none; line-height: 1; }
.alt-banniere .site-header .brand { transition: opacity 0.5s ease, filter 0.5s ease; }
.alt-banniere.ban-logo-visible .site-header .brand { opacity: 0; filter: blur(6px); pointer-events: none; }
/* 10/11 11h26 (Valentin) : alternative ?grand, mêmes consignes et même animation, bannière beaucoup plus grande,
   logo beaucoup plus gros à gauche, textes beaucoup plus gros sur toute la largeur (ajustés dans index.html) */
.ban-grand .banniere-classique { --ban-h: clamp(120px, 22vw, 340px); }
.ban-grand .banniere-classique .wrap { justify-content: flex-start; padding-top: clamp(48px, 7vw, 110px); padding-bottom: clamp(48px, 7vw, 110px); }
.ban-grand .ban-mots { flex: 1 1 auto; transition: none; }
.ban-grand .ban-mots > span { transform-origin: 0 50%; }
/* 10/11 11h38 (Valentin) : deux variantes d'introduction, même animation, seuls la place et la taille du logo changent.
   ?variante-a : logo centré de taille fixe, puis au centre de la barre ; ?variante-b : logo à gauche, 50 % de la largeur,
   puis à gauche de la barre. C'est le même logo qui glisse jusqu'à sa place dans la barre (index.html). */
html.intro-en-cours { overflow: hidden; scrollbar-gutter: stable; }
.intro-a .banniere-classique, .intro-b .banniere-classique { position: fixed; inset: 0; z-index: 40; border: 0;
  background: var(--ink); overflow: hidden; transition: background-color 1.2s ease; }
.intro-a .banniere-classique.part, .intro-b .banniere-classique.part { background-color: transparent; }
.intro-fin .banniere-classique { display: none; }
.intro-a .ban-logo, .intro-b .ban-logo { position: absolute; transform-origin: 0 0; }
.intro-a .ban-mots, .intro-b .ban-mots { position: absolute; max-width: none; width: auto; transition: opacity 0.6s ease; }
.banniere-classique.part .ban-mots { opacity: 0; }
.intro-a .banniere-classique { --intro-h: clamp(90px, 16vh, 160px); --ban-h: min(calc(var(--intro-h) * 0.55), 13vw); }
.intro-a .ban-logo { height: var(--intro-h); top: calc(50% - var(--intro-h) / 2); left: 50%; margin-left: calc(var(--intro-h) * -0.4597); }
.intro-a .ban-mots { left: var(--gutter); right: var(--gutter-r); top: calc(50% + var(--intro-h) / 2 + 4vh); justify-items: center; text-align: center; }
.intro-b .banniere-classique { --ban-h: 5.6vw; }
.intro-b .ban-logo { width: 50vw; height: auto; left: var(--gutter); top: calc(50% - 27.2vw); }
.intro-b .ban-mots { left: calc(var(--gutter) + 50vw + 3vw); right: var(--gutter-r); top: calc(50% - var(--ban-h) / 2); }
/* 10/11 12h29 et 12h30 (Valentin) : ?variante-b, logo à gauche aligné sur celui de la barre ; pictogramme seul, puis VMstudio
   à sa droite, puis « Design graphique et production audiovisuelle », puis de nouveau seul, en boucle ; au défilement le V
   monte jusqu'en haut de la page et le M descend jusqu'à l'image Keller Williams (index.html) */
.intro-b .banniere-classique { position: relative; inset: auto; z-index: auto; height: 100vh; height: 100svh; overflow: visible; transition: none; }
.intro-b .ban-logo { z-index: 30; }
.intro-b .ban-mots { z-index: 4; transition: none; }
.intro-a .site-header .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.intro-a .site-header .wrap { min-height: 62px; }
.intro-a .site-header .nav { margin-left: auto; }
.intro-fin .site-header .brand { transition: none; }
/* 10/11 11h58 (Valentin) : ?variante-a suit le défilement, le logo se déforme (V vers le haut, M vers le bas) en rejoignant
   le centre de la barre (index.html) ; seule la phrase remplace VMstudio, ses deux lignes s'ajoutent l'une après l'autre */
.intro-a .banniere-classique { position: relative; inset: auto; z-index: auto; height: 100vh; height: 100svh; overflow: visible; transition: none; }
.intro-a .ban-logo, .intro-a .ban-mots { position: fixed; }
.intro-a .ban-logo { z-index: 30; }
.intro-a .ban-mots { z-index: 4; transition: none; }
.intro-a .ban-mots > span { display: none; }
.intro-a .ban-mots > span.ban-deux-lignes { display: block; opacity: 1; filter: none; }
.intro-a .ban-deux-lignes > span { display: inline-block; animation: ban-apparait 0.9s ease 0.5s backwards; }
.intro-a .ban-deux-lignes > span + br + span { animation-delay: 1.6s; }
.intro-a .site-header .brand { transition: none; }
@keyframes ban-apparait {
  from { opacity: 0; filter: blur(10px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ban-logo { animation: none; }
  .ban-mots, .ban-mots > span { transition: none; filter: none; }
  .intro-a .ban-deux-lignes > span { animation: none; }
}
/* 10/11 10h01 (Valentin : Travaux, Services et Contact centrés, « une autre disposition » pour leur titre) :
   alternative ?banniere seulement, le titre passe au-dessus, centré, et le contenu se centre dessous */
/* 10/11 10h36 (Valentin : « Travaux centrée, c'est top », Services et Contact de nouveau alignés à gauche) */
.alt-banniere #travaux .label, .alt-banniere #travaux .content { grid-column: 1 / -1; }
.alt-banniere #travaux .label { text-align: center; }
.alt-banniere .filters { justify-content: center; }
/* 10/11 19h13 (Valentin) : titre Travaux aligné sur ceux de Services et Contact, Services et Contact alignés à gauche,
   Services en deux colonnes (Design graphique à gauche, Production audiovisuelle à droite) */
.alt-banniere #travaux .label { text-align: left; }
.alt-banniere #services .label, .alt-banniere #services .content,
.alt-banniere .contact .label, .alt-banniere .contact .content { grid-column: 1 / -1; }
@media (min-width: 801px) {
  .alt-banniere #services .content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .alt-banniere #services .service { padding: 0; border-top: 0; }
  .alt-banniere #services .service ul { grid-template-columns: minmax(0, 1fr); }
}
.section.debut .wrap { padding-top: clamp(32px, 4vw, 56px); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(56px, 9vw, 120px);
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Sections */
.section { border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.section .wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
  padding-block: clamp(56px, 9vw, 128px);
}
.label {
  grid-column: 1 / span 3;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.content { grid-column: 4 / -1; min-width: 0; }
@media (max-width: 800px) {
  .label, .content { grid-column: 1 / -1; }
}

/* Travaux */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 32px; padding: 0; list-style: none; }
.filters button {
  appearance: none;
  background: none;
  border: 0;
  padding: 4px 0;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--mute);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.filters button:hover { color: var(--paper); }
.filters button[aria-pressed="true"] { color: var(--paper); border-bottom-color: var(--paper); }
/* 10/11 13h48 (Valentin : « juste en blanc », « pas souligné ») */
.filters button[aria-pressed="true"] { border-bottom-color: transparent; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
}
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.tile { margin: 0; min-width: 0; }
.thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  background: var(--ink-raised);
  color: var(--paper);
  overflow: hidden;
  transition: background 0.3s ease;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
/* Vignette « a plat » : la piece est posee entiere sur un fond ivoire, sans recadrage */
.thumb.field { background: var(--ivory); padding: 9%; }
.thumb.field img { object-fit: contain; }
.thumb.field.tight { padding: 0; }
.tile:hover .thumb { background: var(--ink-hover); }
.tile:hover .thumb.field { background: var(--ivory); }
.tile:hover .thumb img, .tile:focus-within .thumb img { transform: scale(1.03); }
/* 10/11 13h05 (Valentin) : petite flèche en bas à droite quand le projet a d'autres images à voir */
.thumb.plus::after {
  content: "\2192";
  /* 10/11 19h55 (Valentin : « j'aime pas la flèche actuelle ») : pictogramme plus, dessiné en traits fins */
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  color: var(--paper);
  background: linear-gradient(var(--paper), var(--paper)) center / 12px 1px no-repeat, linear-gradient(var(--paper), var(--paper)) center / 1px 12px no-repeat, rgba(7, 7, 7, 0.55);
  border-radius: 999px;
  pointer-events: none;
}
/* 10/11 13h48 (Valentin : « épurer l'interface ») : catégorie et description d'un travail visibles seulement au survol de l'image */
@media (hover: hover) {
  .tile .cat, .tile .meta { opacity: 0; transition: opacity 0.3s ease; }
  .tile:hover .cat, .tile:hover .meta, .tile:focus-within .cat, .tile:focus-within .meta { opacity: 1; }
}
.tile figcaption {
  display: flex;
  justify-content: space-between;
  gap: 4px 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  font-size: 15px;
}
.tile .cat { color: var(--mute); font-size: 13px; letter-spacing: 0.02em; }
.tile .meta {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--mute);
  overflow-wrap: anywhere;
}

/* Vignette texte : une piece sans visuel se dit en mots, elle ne se simule pas */
.thumb.text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 2vw, 28px);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.45;
}
.thumb.text p { margin: 0; text-wrap: pretty; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 12px; letter-spacing: 0.04em; color: var(--mute); }
.swatches li { display: flex; align-items: center; gap: 8px; }
.swatches i { width: 12px; height: 12px; border-radius: 999px; border: 1px solid var(--line); display: inline-block; }
.swatches code { font-family: inherit; font-variant-numeric: tabular-nums; }

.more { margin: 40px 0 0; font-size: 15px; }
.more a { color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 0.2s ease, border-color 0.2s ease; }
.more a:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* Services */
.service { padding-block: 0 48px; }
.service + .service { padding-top: 48px; border-top: 1px solid var(--line); }
.service:last-child { padding-bottom: 0; }
.service h3 {
  margin: 0 0 24px;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.service ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
@media (max-width: 520px) { .service ul { grid-template-columns: minmax(0, 1fr); } }
.service li { padding: 12px 0; border-top: 1px solid var(--line-faint); color: var(--paper); font-weight: 300; }
.service .specs { margin: 20px 0 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }

/* Contact : la valeur claire de l'identite */
.contact { background: var(--paper); color: var(--ink); scroll-margin-top: 80px; }
.contact .wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
  padding-block: clamp(56px, 9vw, 128px);
}
.contact .label { color: var(--ink-mute); }
.contact-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(28px, 4vw, 48px); }
.mail { font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 400; letter-spacing: -0.01em; user-select: all; overflow-wrap: anywhere; }
.copy, .cta {
  appearance: none;
  display: inline-block;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.copy:hover, .cta:hover { background: var(--ink); color: var(--paper); }
.cta.plain { background: var(--ink); color: var(--paper); }
.cta.plain:hover { background: var(--ink-hover); }
.channels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.contact a:focus-visible, .contact button:focus-visible { outline-color: var(--ink); }
.socials { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: clamp(32px, 5vw, 64px) 0 0; padding: 0; list-style: none; font-size: 15px; }
.socials a { border-bottom: 1px solid var(--ink-line); padding-bottom: 2px; transition: border-color 0.2s ease; }
.socials a:hover { border-bottom-color: var(--ink); }

.site-footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--ink-line); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.site-footer svg { height: 20px; width: auto; display: block; color: var(--ink); }
.mentions { width: 100%; margin: 0; font-size: 12px; color: var(--ink-mute); }

/* Pages projet (09/11, demande de Valentin) : modele de ses pages projet d'origine, images en pleine largeur empilees,
   libelle sous l'image, puis precedent / suivant. */
.nav a[aria-current] { color: var(--paper); }
.projet-head { padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(32px, 5vw, 64px); }
.crumb { margin: 0 0 clamp(20px, 3vw, 36px); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.crumb a { color: var(--mute); transition: color 0.2s ease; }
.crumb a::before { content: "\2190\00a0"; }
.crumb a:hover { color: var(--paper); }
.projet h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.projet-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 300;
  color: var(--mute);
}
.projet-desc { max-width: 40em; margin-top: 24px; font-weight: 300; }
.projet-desc p { margin: 0 0 16px; text-wrap: pretty; }
.projet-link { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.2s ease; }
.projet-link:hover { border-bottom-color: var(--paper); }
.projet-images { display: grid; gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(56px, 9vw, 128px); }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; background: var(--ink-raised); }
/* 09/11 17h49 (Valentin : « plus petites », « on n'y voit rien ») : l'image entiere tient a l'ecran ;
   clic = plein ecran (lightbox.js) */
.shot:not(.field) img { width: auto; max-width: min(100%, 1040px); max-height: 78vh; margin-inline: auto; cursor: zoom-in; }
.shot:not(.field) figcaption { max-width: min(100%, 1040px); margin-inline: auto; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 0; background: #000; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: 16px; appearance: none;
  border: 1px solid var(--line); background: rgba(0, 0, 0, 0.6); color: var(--paper); font: inherit; font-size: 13px;
  letter-spacing: 0.04em; padding: 8px 14px; cursor: pointer; }
.shot.field { background: var(--ivory); padding: clamp(40px, 10vw, 160px); }
.shot.field img { width: auto; max-width: min(100%, 640px); max-height: 60vh; margin-inline: auto; background: none; }
.shot figcaption { padding-top: 14px; font-size: 13px; letter-spacing: 0.02em; color: var(--mute); }
.projet-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px 24px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.projet-nav a { transition: color 0.2s ease; }
.projet-nav .prev, .projet-nav .next { display: flex; flex-direction: column; gap: 4px; }
.projet-nav .next { text-align: right; }
.projet-nav span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.projet-nav strong { font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
.projet-nav .all { font-size: 14px; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.projet-nav a:hover strong, .projet-nav .all:hover { color: var(--paper); }
.projet-nav .prev:hover strong, .projet-nav .next:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 640px) {
  .projet-nav { grid-template-columns: 1fr 1fr; }
  .projet-nav .all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
.contact-compact .wrap { padding-block: clamp(40px, 6vw, 80px); }
.contact-line { margin: 0; font-size: clamp(1.1rem, 2.4vw, 1.7rem); letter-spacing: -0.01em; }
.contact-line a { border-bottom: 1px solid var(--ink-line); overflow-wrap: anywhere; transition: border-color 0.2s ease; }
.contact-line a:hover { border-bottom-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
