/* ==========================================================================
   Bluur : feuille de styles unique
   Direction : clair, éditorial, premium. Plans de netteté comme signature.
   Polices auto-hébergées (RGPD) : Archivo Variable + Newsreader Variable.
   ========================================================================== */

/* --- Polices ------------------------------------------------------------ */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-var-italic.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* --- Jetons -------------------------------------------------------------- */

:root {
  /* Couleurs */
  --ink: #14161a;
  --ink-2: #3a4048;
  --graphite: #6a7079;
  --paper: #f4f5f7;
  --plane: #ffffff;
  --hair: #e1e4e9;
  --hair-strong: #c9ced6;

  /* Charte « L'heure bleue » : du bleu de nuit à la lueur d'horizon. */
  --nuit: #0a1024;
  --nuit-2: #142a5c;
  --bleu: #2e5aac;
  --mauve: #b76e8e;
  --peche: #e9a69b;
  --creme: #f7f3ea;

  /* Couleur d'action : le bleu de la charte (contraste 6:1 sur le fond). */
  --focus: var(--bleu);
  --focus-tint: rgba(46, 90, 172, 0.08);

  /* Familles */
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Newsreader', ui-serif, Georgia, 'Times New Roman', serif;

  /* Rythme */
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --maxw: 1320px;
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4.5rem;
  --s-7: 6.5rem;
  --s-8: 9rem;

  --section-y: clamp(4.5rem, 10vw, 9rem);
}

/* --- Réinitialisation ---------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 380;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video,
iframe { max-width: 100%; display: block; }

a { color: inherit; }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection {
  background: var(--focus);
  color: #fff;
}

/* --- Utilitaires --------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--gutter);
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* --- Typographie --------------------------------------------------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 560;
  font-stretch: 100%;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--focus);
  flex: none;
}

.eyebrow--plain::before { display: none; }

.display-xl,
.display-l,
.display-m {
  font-family: var(--sans);
  font-stretch: 116%;
  margin: 0;
  text-wrap: balance;
}

.display-xl {
  font-size: clamp(2.9rem, 7.6vw, 6.4rem);
  font-weight: 630;
  line-height: 0.93;
  letter-spacing: -0.038em;
}

.display-l {
  font-size: clamp(1.9rem, 3.5vw, 2.95rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.display-m {
  font-size: clamp(1.375rem, 2.2vw, 1.85rem);
  font-weight: 600;
  font-stretch: 110%;
  line-height: 1.1;
  letter-spacing: -0.024em;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 320;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

.prose p { margin: 0 0 1.15em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }

.muted { color: var(--graphite); }

/* --- Liens ---------------------------------------------------------------- */

.link {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 520;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--hair-strong);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.link::after {
  content: '→';
  font-size: 0.95em;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.link:hover,
.link:focus-visible {
  color: var(--focus);
  border-color: var(--focus);
}

.link:hover::after { transform: translateX(4px); }

.link--invert { color: var(--paper); border-color: rgba(244, 245, 247, 0.34); }
.link--invert:hover,
.link--invert:focus-visible { color: #fff; border-color: #fff; }

/* --- En-tête -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 245, 247, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--hair);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 74px;
}

/* Le logotype est un tracé, pas du texte : la couleur suit color, la
   taille suit la hauteur fixée ici. */
.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s ease;
}

.wordmark__mark {
  height: 24px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .wordmark__mark { height: 20px; }
}

.wordmark:hover,
.wordmark:focus-visible { color: var(--focus); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
}

.nav a {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.15rem;
  height: 1px;
  background: var(--focus);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.nav a:hover,
.nav a:focus-visible { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav a[aria-current='page'] { color: var(--focus); }
.nav a[aria-current='page']::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hair-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 520;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hair);
    padding: var(--s-2) var(--gutter) var(--s-4);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav[data-open='true'] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    padding: 0.85rem 0;
    width: 100%;
    border-bottom: 1px solid var(--hair);
  }
}

/* --- Plan de flou (signature) -------------------------------------------- */

.bokeh {
  position: absolute;
  inset: -18% -10% auto -10%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
  filter: blur(58px);
  opacity: 0.72;
}

.bokeh span {
  position: absolute;
  border-radius: 50%;
  display: block;
  animation: drift 34s ease-in-out infinite alternate;
}

/* Les quatre taches reprennent les teintes de la charte, très diluées :
   le bleu domine, le mauve et la pêche n'affleurent qu'en bordure. */
.bokeh span:nth-child(1) {
  width: 30vw; height: 30vw; left: 4%; top: 12%;
  background: rgba(46, 90, 172, 0.17);
  animation-duration: 38s;
}
.bokeh span:nth-child(2) {
  width: 22vw; height: 22vw; left: 46%; top: 4%;
  background: rgba(183, 110, 142, 0.11);
  animation-duration: 46s; animation-delay: -8s;
}
.bokeh span:nth-child(3) {
  width: 26vw; height: 26vw; right: 2%; top: 34%;
  background: rgba(233, 166, 155, 0.2);
  animation-duration: 42s; animation-delay: -16s;
}
.bokeh span:nth-child(4) {
  width: 15vw; height: 15vw; left: 26%; top: 58%;
  background: rgba(46, 90, 172, 0.11);
  animation-duration: 50s; animation-delay: -24s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3vw, -3vw, 0) scale(1.14); }
}

/* --- Héros ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 7vw, 6rem);
}

.hero__inner { position: relative; z-index: 1; }

/* Pages dont le héros n'a pas de second niveau : on resserre le bas. */
.hero--short { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Bloc de texte isolé, calé sur la marge gauche. */
.callout {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
  max-width: 56ch;
}

.hero__head { max-width: none; }

/* Le calibrage en « ch » doit porter sur le titre lui-même : l'unité dépend
   de la police locale, pas de celle du conteneur. */
.hero .display-xl {
  margin-top: clamp(1.25rem, 2.6vw, 2.25rem);
  max-width: 17ch;
}

.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
}

/* Le plan média déborde sur le bord droit de la fenêtre. */
.hero__media {
  position: relative;
  margin-right: calc(var(--gutter) * -1);
}

/* Un portrait en 4:5 sur toute la colonne serait démesuré : on le borne,
   on annule le débord et on le ramène vers le texte. */
.hero__media--inset { margin-right: 0; }

/* Plan d'ouverture contenu : pas de débord sur le bord droit, largeur bornée,
   calé sur la marge droite de la page. Le double sélecteur passe devant la
   règle de débord, y compris dans la requête au-delà de 1400 px. */
.hero__media.hero__media--contenu { margin-right: 0; }

.hero__media--contenu .media {
  max-width: 620px;
  margin-left: auto;
}

.hero__media--inset .media--portrait {
  max-width: 440px;
  margin-inline: auto;
}

/* Ouverture à deux colonnes : le texte et un plan vertical côte à côte.
   Empilé sous le titre, un 9:16 ferait une ouverture haute de deux écrans. */
.hero--split { padding-block: clamp(2.5rem, 5vw, 4.5rem); }

.hero__split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero--split .display-xl {
  font-size: clamp(2.5rem, 5.1vw, 4.5rem);
  max-width: 15ch;
  margin-top: clamp(1rem, 2vw, 1.75rem);
}

.hero--split .lede { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 42ch; }
.hero--split .link { margin-top: clamp(1.25rem, 2.5vw, 2rem); }

@media (max-width: 880px) {
  .hero__split { grid-template-columns: minmax(0, 1fr); }
  .hero__plan { order: -1; max-width: 330px; }
  .hero--split .display-xl { max-width: none; }
}

@media (min-width: 1400px) {
  .hero__media { margin-right: calc((100vw - var(--maxw)) / -2 - var(--gutter)); }
}

@media (max-width: 880px) {
  .hero__body { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__media { margin-right: calc(var(--gutter) * -1); order: -1; }
  .hero .display-xl { max-width: none; }
}

/* --- Emplacement média ---------------------------------------------------- */

.media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--plane);
  border: 1px solid var(--hair);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

/* Format natif des tournages du studio. Un plan 9:16 ne peut pas occuper
   toute la largeur d'une colonne : il serait plus haut que l'écran. Chaque
   emplacement vertical est donc borné là où il est posé. */
.media--vertical { aspect-ratio: 9 / 16; }

.media--vertical video,
.media--vertical img { background: var(--ink); }

.media > img,
.media > video,
.media > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.media__placeholder {
  text-align: center;
  padding: var(--s-3);
  max-width: 30ch;
}

.media__placeholder .eyebrow {
  justify-content: center;
  margin-bottom: 0.6rem;
}

.media__placeholder p {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 420;
  line-height: 1.5;
  color: var(--graphite);
  margin: 0;
}

/* Mire discrète, pour que l'emplacement vide reste lisible comme un cadre. */
.media__placeholder::after {
  content: '';
  display: block;
  width: 34px;
  height: 1px;
  background: var(--hair-strong);
  margin: 0.9rem auto 0;
}

/* --- Lecteur vidéo chargé au clic --------------------------------------------
   Affiche + bouton de lecture. Le lecteur (YouTube ou fichier) ne remplace
   l'affiche qu'au clic : rien n'est chargé chez YouTube avant. */

.play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* Voile bas : garde la mention lisible sur une affiche claire. */
.play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 36, 0) 58%, rgba(10, 16, 36, 0.5) 100%);
}

.play__icon {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(10, 16, 36, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.play__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -5px;
  border-left: 15px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.play:hover .play__icon,
.play:focus-visible .play__icon {
  transform: scale(1.07);
  background: var(--focus);
  border-color: var(--focus);
}

.play:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }

.play__note {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.75rem;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 540;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.media.is-playing { background: #000; border-color: #000; }

/* Bouton « avec le son » posé sur la boucle muette de l'accueil. */
.play--son {
  inset: auto auto 0.85rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem 0.6rem 0.75rem;
  background: rgba(10, 16, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 540;
  letter-spacing: 0.02em;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.play--son::before { display: none; }

.play--son::after {
  content: '';
  order: -1;
  border-left: 9px solid #fff;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
}

.play--son:hover,
.play--son:focus-visible { background: var(--focus); border-color: var(--focus); }
.play--son:focus-visible { outline-offset: 3px; }

/* Mention sous un média (source, crédit). */
.hero__media--inset .media-note { max-width: 440px; margin-inline: auto; }

.media-note {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 420;
  color: var(--graphite);
  margin: 0.6rem 0 0;
}

/* --- Sections ------------------------------------------------------------- */

.section { padding-block: var(--section-y); }

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--ruled { border-top: 1px solid var(--hair); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head .display-l { max-width: 18ch; }

.section__head > .eyebrow { grid-column: 1 / -1; margin-bottom: -0.75rem; }

@media (max-width: 880px) {
  .section__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* --- Bandeau clients ------------------------------------------------------ */

.clients {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}

.clients__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(1.25rem, 4vw, 3.5rem);
}

.clients__label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 560;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0;
  flex: none;
}

.clients__name {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* Logo fourni par le client : on le ramène à la hauteur optique des noms
   composés à côté, en neutralisant sa couleur d'origine. */
.clients__logo {
  height: clamp(2rem, 3.4vw, 2.6rem);
  width: auto;
  display: block;
  filter: grayscale(1) brightness(0.28);
}

/* --- Prestations ---------------------------------------------------------- */

/* Filets entre les colonnes uniquement : le texte de la première colonne
   reste aligné sur la marge du reste de la page. */
.offer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hair);
}

.offer__item {
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.5rem, 2.6vw, 2.5rem);
  border-left: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.offer__item:first-child { padding-left: 0; border-left: 0; }
.offer__item:last-child { padding-right: 0; }

.offer__item .display-m { margin-block: 0.35rem 0; }

.offer__item p { margin: 0; color: var(--ink-2); }

.offer__item .link { margin-top: auto; padding-top: var(--s-4); align-self: flex-start; }

@media (max-width: 880px) {
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer__item {
    border-left: 0;
    border-top: 1px solid var(--hair);
    padding-inline: 0;
  }
  .offer__item:first-child { border-top: 0; }
  .offer__item:last-child { padding-right: 0; }
}

/* --- Grille réalisations : bascule de netteté ----------------------------- */

.work {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* Grille de plans verticaux : trois colonnes étroites, sinon chaque
   vignette dépasserait la hauteur de l'écran. */
.work--vertical {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.5rem);
  max-width: 900px;
}

.work--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
}

@media (max-width: 700px) {
  .work--vertical { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Colonnes étroites : le nom passe au-dessus de la catégorie. */
  .work--vertical .work__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

.work__item {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: filter 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.45s ease;
}

/* Mise au point : viser un élément défocalise les autres. */
@media (hover: hover) and (min-width: 881px) {
  .work:hover .work__item:not(:hover),
  .work:focus-within .work__item:not(:focus-within):not(:hover) {
    filter: blur(3.5px);
    opacity: 0.55;
  }

  /* Une vidéo en cours de lecture ne passe jamais au flou. */
  .work:hover .work__item:not(:hover):has(.is-playing),
  .work:focus-within .work__item:not(:focus-within):not(:hover):has(.is-playing) {
    filter: none;
    opacity: 1;
  }
}

.work__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
}

.work__title {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 560;
  font-stretch: 108%;
  letter-spacing: -0.012em;
  margin: 0;
}

.work__tag {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 520;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--graphite);
  flex: none;
}

.work__note {
  font-size: 1rem;
  color: var(--ink-2);
  margin: 0;
}

/* --- Déclaration éditoriale ----------------------------------------------- */

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 9fr) minmax(0, 2fr);
  gap: var(--s-3);
}

.statement__body { grid-column: 2; }

.statement q {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.24;
  letter-spacing: -0.015em;
  quotes: '«\00a0' '\00a0»';
  text-wrap: balance;
}

.statement figcaption {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: var(--s-3);
}

@media (max-width: 880px) {
  .statement { grid-template-columns: minmax(0, 1fr); }
  .statement__body { grid-column: 1; }
}

/* --- Duo texte + média ---------------------------------------------------- */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.duo__text .display-l { max-width: 16ch; }
.duo__text .prose { max-width: 46ch; }

.duo--reverse .duo__text { order: 2; }

.duo__text { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }

@media (max-width: 880px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo--reverse .duo__text { order: 0; }
}

/* --- Liste détaillée (page prestations) ----------------------------------- */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hair);
}

.detail:last-of-type { border-bottom: 1px solid var(--hair); }

/* Quand la colonne de droite est plus courte que la liste de gauche,
   on la cale au milieu plutôt qu'en haut. */
.detail--milieu { align-items: center; }

.detail__aside { display: flex; flex-direction: column; gap: var(--s-2); }

.detail__list {
  list-style: none;
  margin: var(--s-3) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.detail__list li {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 420;
  color: var(--ink-2);
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-top: 1px solid var(--hair);
  position: relative;
}

.detail__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.15rem;
  width: 5px; height: 5px;
  background: var(--focus);
}

/* Un plan vertical isolé dans une colonne de texte. */
.detail .media--vertical { max-width: 340px; }

/* Triptyque de photos verticales. */
.photos-verticales {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.4vw, 1.1rem);
  margin-top: 2rem;
  max-width: 680px;
}

@media (max-width: 880px) {
  .detail { grid-template-columns: minmax(0, 1fr); }
}

/* --- Bandeau sombre de fin ------------------------------------------------ */

/* L'heure bleue : un ciel de nuit et, au ras du bord bas, la dernière lueur.
   Le texte reste sur les zones sombres (contraste vérifié au-dessus de 5:1). */
.endband {
  position: relative;
  background:
    radial-gradient(75% 130% at 50% 122%,
      rgba(233, 166, 155, 0.52) 0%,
      rgba(183, 110, 142, 0.4) 20%,
      rgba(46, 90, 172, 0.36) 46%,
      rgba(46, 90, 172, 0) 76%),
    linear-gradient(180deg, var(--nuit) 0%, #0f1a3c 100%);
  color: var(--paper);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.endband__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.endband .display-l { color: #fff; }

.endband .eyebrow { color: rgba(244, 245, 247, 0.6); }
.endband .eyebrow::before { background: #fff; }

.endband__side {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  align-items: flex-start;
}

.endband__mail {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  font-weight: 520;
  font-stretch: 108%;
  letter-spacing: -0.015em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.25rem;
  transition: border-color 0.25s ease;
  overflow-wrap: anywhere;
}

.endband__mail:hover { border-color: #fff; }

@media (max-width: 880px) {
  .endband__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* --- Formulaire ------------------------------------------------------------ */

.form {
  display: grid;
  gap: var(--s-3);
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }

.field label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}

.field input,
.field select,
.field textarea {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 380;
  color: var(--ink);
  background: var(--plane);
  border: 1px solid var(--hair-strong);
  border-radius: 0;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.field textarea { resize: vertical; min-height: 9rem; line-height: 1.55; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px var(--focus-tint);
}

.field--row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

@media (max-width: 640px) {
  .field--row { grid-template-columns: minmax(0, 1fr); }
}

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 560;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 1rem 2rem;
  cursor: pointer;
  justify-self: start;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible { background: var(--focus); border-color: var(--focus); color: #fff; }

.form__note {
  font-size: 0.9375rem;
  color: var(--graphite);
  margin: 0;
}

.notice {
  border-left: 2px solid var(--focus);
  background: var(--focus-tint);
  padding: 1rem 1.25rem;
  margin-bottom: var(--s-3);
  font-size: 1rem;
}

.notice--error { border-color: #b42318; background: rgba(180, 35, 24, 0.06); }

/* --- Bloc contact --------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

.facts { margin: 0; }

.facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--s-2);
  padding: 0.9rem 0;
  border-top: 1px solid var(--hair);
}

.facts div:last-child { border-bottom: 1px solid var(--hair); }

.facts dt {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  padding-top: 0.25rem;
}

.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }

.facts a { color: var(--ink); text-decoration-color: var(--hair-strong); text-underline-offset: 3px; }
.facts a:hover { color: var(--focus); text-decoration-color: var(--focus); }

/* --- Pied de page --------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--hair);
  padding-block: var(--s-4) var(--s-5);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: baseline;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.site-footer a,
.site-footer p {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 420;
  color: var(--graphite);
  margin: 0;
  text-decoration: none;
}

.site-footer a:hover { color: var(--focus); }

/* --- Page article / texte long -------------------------------------------- */

.longform { max-width: 68ch; }

.longform h2 {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 2.5rem 0 0.85rem;
}

.longform h2:first-child { margin-top: 0; }

.longform ul { padding-left: 1.1rem; margin: 0 0 1.15em; }
.longform li { margin-bottom: 0.4em; }

/* --- Mouvement réduit ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .work:hover .work__item:not(:hover) { filter: none; opacity: 1; }
}

/* --- Impression ------------------------------------------------------------ */

@media print {
  .site-header, .endband, .bokeh, .nav-toggle { display: none; }
  body { background: #fff; }
}
