/* ==========================================================================
   Armand Rampnoux — feuille de style du site
   Les réglages globaux sont dans :root. Pour changer le fond des sections
   sombres ou la largeur des titres, c'est ici, une seule fois.
   ========================================================================== */

/* Police Archivo, hébergée avec le site (plus aucun appel à Google Fonts).
   Fichier variable : graisses 100 à 900, largeurs 62 % à 125 %. Licence : assets/fonts/OFL.txt */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #000000;          /* fond des tuiles et sections sombres (essais : #0D1B2A bleu nuit, #1A1A1A anthracite) */
  --paper: #ffffff;           /* fond des sections claires */
  --ink: #000000;             /* texte sur fond clair */
  --muted-on-dark: #c4c4c4;   /* texte secondaire sur fond sombre */
  --caption-on-dark: #a8a8a8; /* légendes et libellés sur fond sombre */
  --muted-on-light: #3d3d3d;  /* texte secondaire sur fond clair */
  --body-on-light: #2b2b2b;   /* texte courant sur fond clair */
  --logo-grey: #666666;       /* « PHOTOGRAPHE » dans le logo */
  --rule-dark: #333333;       /* filets sur fond sombre */
  --display-stretch: 125%;    /* largeur des titres gras : 125% étendue, 100% normale, 75% condensée */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-stretch: 100%;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.page-dark { background: var(--ground); color: #ffffff; }

img { display: block; max-width: 100%; }
/* Copies légères pour téléphones : <picture> choisit le fichier, sans changer la mise en page */
picture { display: contents; }

a { color: inherit; }
a:hover { opacity: 0.72; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 16px; background: #ffffff; color: #000000;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---------- Paire de titres : ligne fine + ligne grasse élargie ---------- */

h1, h2, h3 { overflow-wrap: break-word; }

.d-thin { display: block; font-weight: 200; font-stretch: 100%; }
.d-bold { display: block; font-weight: 800; font-stretch: var(--display-stretch); letter-spacing: -0.015em; }

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

.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding: 22px 40px;
  background: #ffffff; color: #000000;
}

.brand {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  text-decoration: none; font-size: 22px; line-height: 1.1;
}
.brand-name { font-weight: 800; font-stretch: var(--display-stretch); letter-spacing: -0.01em; }
.brand-role { font-weight: 300; color: var(--logo-grey); }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.site-nav ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0;
  font-size: 14px; font-weight: 500; letter-spacing: 0.03em;
}
.site-nav ul a { display: inline-block; padding: 12px 0; text-decoration: none; }
.site-nav ul a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Bouton « MENU » : il n'existe que sur téléphone (voir la fin de ce fichier) */
.menu-toggle { display: none; }

.btn-outline-dark {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid #000000; text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: 0.03em;
}

/* ---------- Boutons et liens ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  text-decoration: none; font-size: 15px; font-weight: 600;
}
.btn-light { background: #ffffff; color: #000000; }
.btn-ghost-light { border: 1px solid #ffffff; color: #ffffff; }
.btn-dark { background: #000000; color: #ffffff; }

.link { display: inline-block; padding: 10px 0; font-size: 15px; font-weight: 600; text-underline-offset: 4px; }

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

.on-dark { background: var(--ground); color: #ffffff; }

/* ---------- Bloc partagé texte + image (ouverture, contact) ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 720px; }
.split--contact { min-height: 640px; }

.panel { display: flex; flex-direction: column; gap: 28px; padding: 64px 56px; }
.panel--bottom { justify-content: flex-end; }
.panel--center { justify-content: center; }

.hero-title { margin: 0; font-size: clamp(40px, 4.2vw, 62px); line-height: 0.98; }
.hero-title .d-bold, .h-contact .d-bold { letter-spacing: -0.015em; }

.rule-light { width: 100%; max-width: 420px; height: 1px; margin: 0; border: 0; background: #ffffff; }
.rule-light--wide { max-width: 520px; }

.lede { margin: 0; max-width: 440px; font-size: 18px; line-height: 1.5; color: var(--muted-on-dark); }
.lede--contact { max-width: 420px; line-height: 1.55; }

.media-cell { position: relative; min-height: 420px; overflow: hidden; }
.media-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.h-contact { margin: 0; font-size: clamp(36px, 3.8vw, 56px); line-height: 0.98; }

.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 17px; }
.contact-list a { display: inline-block; padding: 8px 0; text-underline-offset: 4px; }

/* ---------- Grille de tuiles façon magazine ---------- */

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ground); color: #ffffff; }

.tile-text {
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px;
  background: var(--ground);
}
.tile-title { margin: 0; font-size: 28px; line-height: 1.02; }
.tile-title .d-bold { letter-spacing: -0.01em; }
.tile-rule { height: 1px; background: #ffffff; }
.tile-meta { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted-on-dark); }
.tile-text .link { margin-top: auto; }

.tile-cell { position: relative; min-height: 280px; overflow: hidden; }
.tile-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.badge {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border: 1px solid #ffffff; border-radius: 50%;
  font-size: 13px; font-weight: 600;
}

/* ---------- Offres (fond clair) ---------- */

.section-light { background: var(--paper); color: var(--ink); }
.section-offres { padding: 112px 0 120px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; }
.h-section { margin: 0; font-size: clamp(36px, 4vw, 60px); line-height: 0.98; }
.intro-light { margin: 0; max-width: 440px; font-size: 18px; line-height: 1.55; color: var(--muted-on-light); }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 64px; }
.offer { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 2px solid #000000; }
.offer h3 { margin: 0; font-size: 26px; line-height: 1.04; }
.offer h3 .d-bold { letter-spacing: 0; }
.offer p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body-on-light); }

/* ---------- Mosaïque (extrait de carnet) ---------- */

.extrait-head { padding-top: 88px; padding-bottom: 40px; }
.h-extrait { margin: 0; font-size: clamp(32px, 3.4vw, 52px); line-height: 0.98; }
.extrait-meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.extrait-meta p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted-on-dark); }

.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: min(16.667vw, 300px); grid-auto-flow: dense; }
.mosaic > * { position: relative; overflow: hidden; margin: 0; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }
.m-big { grid-column: span 2; grid-row: span 2; }

/* ---------- Références ---------- */

.section-preuves { padding: 112px 0; }
.proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.proof-left { display: flex; flex-direction: column; gap: 20px; }
.h-proof { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.02; }
.h-proof .d-bold { letter-spacing: -0.01em; }
.proof-left p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--muted-on-light); }

.testimonial { margin: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 24px; border-top: 2px solid #000000; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; font-weight: 300; }
.testimonial figcaption { font-size: 15px; line-height: 1.5; color: var(--muted-on-light); }
.testimonial figcaption strong { font-weight: 700; color: #000000; }

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

.site-footer { background: var(--ground); color: #b0b0b0; border-top: 1px solid var(--rule-dark); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 28px; padding-bottom: 28px; font-size: 14px; line-height: 1.5;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: #ffffff; text-underline-offset: 4px; }

/* ==========================================================================
   Page carnet
   ========================================================================== */

.carnet-intro { padding: 64px 0 56px; }
.carnet-intro .wrap { display: flex; flex-direction: column; gap: 40px; }

.breadcrumb { font-size: 14px; color: var(--caption-on-dark); }
.breadcrumb a { text-underline-offset: 4px; }
.breadcrumb .sep { padding: 0 8px; }
.breadcrumb [aria-current] { color: #ffffff; }

.carnet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 64px; }
.carnet-title { margin: 0; max-width: 900px; font-size: clamp(44px, 5.4vw, 84px); line-height: 0.96; }
.carnet-title .d-bold { letter-spacing: -0.02em; }

.facts { margin: 0; display: grid; grid-template-columns: auto auto; gap: 10px 28px; font-size: 15px; line-height: 1.4; }
.facts dt { color: var(--caption-on-dark); }
.facts dd { margin: 0; font-weight: 600; }

.etapes { border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.etapes ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 4px 36px; font-size: 15px; font-weight: 600; }
.etapes a, .etapes span { display: inline-block; padding: 18px 0; }
.etapes a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.etape-todo { color: #8c8c8c; }

.chap-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end;
  padding-top: 88px; padding-bottom: 72px;
}
.chap-text { display: flex; flex-direction: column; gap: 28px; }
.h-chap { margin: 0; font-size: clamp(36px, 4vw, 60px); line-height: 0.98; }
.chap-date { margin: 0; font-size: 15px; color: var(--caption-on-dark); }
.recit { margin: 0; max-width: 580px; font-size: 20px; line-height: 1.6; color: #d6d6d6; }

.fig { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.caption { font-size: 14px; line-height: 1.4; color: var(--caption-on-dark); }

.img-pano, .img-opener, .img-xl, .img-half, .img-rain { width: 100%; object-fit: cover; }
.img-pano { height: 620px; }
.img-opener { height: 720px; object-position: 50% 60%; }
.img-xl { height: 640px; }
.img-half { height: 300px; }
.img-rain { height: 560px; }

.opener { margin: 0; }
.opener .caption { padding-top: 14px; }

.chapter { padding-top: 104px; }
.chapter > .wrap { display: flex; flex-direction: column; gap: 32px; }
.h-sub { margin: 0; font-size: 28px; line-height: 1.04; }
.h-sub .d-bold { letter-spacing: 0; }

.avant { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 8px; }
.avant-col { display: flex; flex-direction: column; gap: 8px; }

.piste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 8px; }
.piste > * { position: relative; overflow: hidden; margin: 0; }
.piste img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.pluie { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px; }

.cta-band { margin-top: 120px; padding: 96px 0; }
.h-cta { margin: 0; max-width: 680px; font-size: clamp(34px, 3.8vw, 56px); line-height: 0.98; }
.cta-text { display: flex; flex-direction: column; gap: 20px; max-width: 460px; }
.cta-text p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--body-on-light); }
.cta-text .actions { gap: 12px 24px; align-items: center; }
.cta-text .link { padding: 12px 0; }

/* Liens d'agrandissement des images (visionneuse) */
a.zoom { display: block; cursor: zoom-in; }
.mosaic a.zoom, .piste a.zoom { position: absolute; inset: 0; }
a.zoom:hover { opacity: 1; }
a.zoom:focus-visible { outline-offset: -4px; outline: 2px solid #ffffff; }

/* ---------- Visionneuse ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(0, 0, 0, 0.96); color: #ffffff;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }

.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 14px; color: var(--caption-on-dark); }
.lb-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 12px; min-height: 0; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 0; height: 100%; justify-content: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lb-cap { font-size: 14px; line-height: 1.4; color: var(--caption-on-dark); text-align: center; max-width: 70ch; }
.lb-bottom { height: 20px; }

.lb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  background: transparent; color: #ffffff; border: 1px solid #555555; border-radius: 50%;
  cursor: pointer;
}
.lb-btn:hover { border-color: #ffffff; }
.lb-btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */

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

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .split .media-cell { order: -1; }
  .offers { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .proof { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chap-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .avant, .pluie { grid-template-columns: minmax(0, 1fr); }
  .img-opener { height: 440px; }
  .img-pano { height: 480px; }
  .img-xl { height: 420px; }
  .img-rain { height: 380px; }
}

@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .piste { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .lb-stage { grid-template-columns: minmax(0, 1fr); }
  .lb-prev, .lb-next { position: absolute; bottom: 16px; }
  .lb-prev { left: 20px; }
  .lb-next { right: 20px; }
  .lb-bottom { height: 80px; }
}

@media (max-width: 600px) {
  :root { --display-stretch: 100%; } /* titres moins larges sur téléphone, pour que « SPA-FRANCORCHAMPS » tienne */
  .site-header { padding: 18px 20px; gap: 8px 24px; }
  .site-nav ul { gap: 0 18px; font-size: 13px; }
  .site-nav ul a { padding: 12px 0; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .panel { padding: 40px 24px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile-text { aspect-ratio: auto; min-height: 300px; }
  /* Une seule colonne : chaque photo passe au-dessus de son texte. Sur ordinateur, le damier alterne
     texte et photo (ordre du code : photo, texte, texte, photo, texte, photo, photo, texte). */
  .tiles > :nth-child(1) { order: 1; }
  .tiles > :nth-child(2) { order: 2; }
  .tiles > :nth-child(3) { order: 4; }
  .tiles > :nth-child(4) { order: 3; }
  .tiles > :nth-child(5) { order: 6; }
  .tiles > :nth-child(6) { order: 5; }
  .tiles > :nth-child(7) { order: 7; }
  .tiles > :nth-child(8) { order: 8; }
  .tile-cell { min-height: 320px; }
  .media-cell { min-height: 360px; }
  .img-opener { height: 340px; }
  .img-half { height: 240px; }
}

/* ==========================================================================
   Galeries automatiques des carnets (construites par carnet.js)
   ========================================================================== */

.upper .d-bold { text-transform: uppercase; }

.chap-head--solo { grid-template-columns: minmax(0, 1fr); }

.gallery { display: flex; flex-direction: column; gap: 8px; }
.g-row { display: flex; align-items: flex-start; gap: 8px; }
.g-stack { display: flex; flex-direction: column; gap: 8px; }
.g-item { margin: 0; }
.g-item img { display: block; max-width: none; object-fit: cover; background: #111111; }
.g-cap {
  margin-top: 10px; height: 20px;
  font-size: 14px; line-height: 20px; color: var(--caption-on-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.g-row--phone { flex-direction: column; }
.g-row--phone .g-stack { gap: 8px; }

.g-carte img { width: 100%; height: auto; max-height: 720px; object-fit: cover; }
.g-carte .g-cap { white-space: normal; height: auto; }
.g-opener { margin: 0; }
.g-opener img { width: 100%; height: 720px; object-fit: cover; object-position: 50% 60%; }
.g-opener .caption { padding-top: 14px; }

.g-missing a { position: relative; display: block; }
.g-missing img { background: #2a0d0d; }
.g-missing-text {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center; font-size: 14px; font-weight: 600; color: #ff9b9b;
}

@media (max-width: 900px) {
  .g-opener img { height: 440px; }
}
@media (max-width: 600px) {
  .g-opener img { height: 340px; }
}

/* Badge « Coming soon » et emplacement d'aperçu du TTE */
.badge { width: 84px; height: 84px; padding: 8px; text-align: center; line-height: 1.2; }
.tile-preview { background: #111111; }
.tile-placeholder { display: none; }
.tile-preview.is-empty .tile-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #8c8c8c;
}

/* ==========================================================================
   Bandeau d'introduction des galeries et des articles
   ========================================================================== */

.gintro { padding: 64px 0 88px; }
.gintro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.gintro-grid--solo { grid-template-columns: minmax(0, 1fr); }
.gintro-text { display: flex; flex-direction: column; gap: 32px; }
.gintro-text .breadcrumb { margin-bottom: 8px; }

.gfacts { margin: 0; display: flex; flex-wrap: wrap; gap: 16px 56px; padding-top: 20px; border-top: 1px solid #ffffff; max-width: 560px; }
.gfact dt { font-size: 13px; letter-spacing: 0.04em; color: var(--caption-on-dark); }
.gfact dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; }

.gintro-desc { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.6; color: #d6d6d6; }

.gintro-fig { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gintro-fig a { display: block; cursor: zoom-in; }
.gintro-fig img { width: 100%; aspect-ratio: 4 / 5; max-height: 680px; object-fit: cover; }
.gintro-fig.g-missing a { position: relative; }
.gintro-fig.g-missing img { background: #2a0d0d; }

.gallery-wrap { padding-bottom: 8px; }
.g-row--single { justify-content: center; }

@media (max-width: 900px) {
  .gintro-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .gintro-fig img { max-height: 560px; }
}

/* Showcase de l'accueil : chaque photo mène à la galerie */
.mosaic a.mos-link { position: absolute; inset: 0; display: block; }
.mosaic a.mos-link:hover { opacity: 1; }
.mosaic a.mos-link:hover img { filter: brightness(1.08); }
.mosaic a.mos-link:focus-visible { outline: 2px solid #ffffff; outline-offset: -4px; }

/* Bandeau « From the media center to your garage » */
.proof-left .proof-note { font-size: 15px; color: #6b6b6b; }

/* ==========================================================================
   Page Client Spotlight
   ========================================================================== */

.art-section { padding-top: 104px; }
.art-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.h-art { margin: 0; font-size: clamp(32px, 3.4vw, 52px); line-height: 0.98; }
.art-body { display: flex; flex-direction: column; gap: 32px; }
.art-body > p { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.6; color: #d6d6d6; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid #ffffff; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-value { font-size: 40px; line-height: 1; font-weight: 800; font-stretch: var(--display-stretch); }
.stat-label { font-size: 15px; line-height: 1.4; color: var(--caption-on-dark); }

.art-gallery { padding-top: 88px; }

.art-quote { margin: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 1px solid #ffffff; }
.art-quote blockquote { margin: 0; }
.art-quote blockquote p { margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.35; font-weight: 300; color: #ffffff; }
.art-quote figcaption { font-size: 15px; line-height: 1.5; color: var(--caption-on-dark); }
.art-quote figcaption strong { color: #ffffff; font-weight: 700; }
.art-results { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; color: #d6d6d6; }

.cover-fig img { width: 100%; aspect-ratio: 4 / 5; max-height: 680px; object-fit: cover; }

@media (max-width: 900px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .art-section { padding-top: 72px; }
}

/* Press book (article Client Spotlight) : une ou deux pages, côte à côte, sous le texte */
.pressbook { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid #ffffff; }
.pressbook-pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.pressbook-page { margin: 0; }
.pressbook-page img { display: block; width: 100%; height: auto; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ==========================================================================
   Page Profile
   ========================================================================== */

/* Ouverture : le nom en très grand, calculé d'après la largeur de sa colonne (unité cqw) pour ne jamais toucher le portrait */
.pf-hero { padding: 56px 0 24px; overflow: hidden; }
.pf-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.pf-hero-text { container-type: inline-size; display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.pf-name { margin: 0; font-size: clamp(44px, 7vw, 104px); font-size: clamp(38px, 11cqw, 104px); line-height: 0.88; color: #ffffff; }
.pf-name .d-bold { white-space: nowrap; }
.pf-role { margin: 0; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--caption-on-dark); }
.pf-lede { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.6; color: #d6d6d6; }
.pf-portrait { position: relative; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pf-portrait img { width: 100%; aspect-ratio: 4 / 5; max-height: 720px; object-fit: cover; }
.pf-placeholder { display: none; }
.pf-portrait.is-empty .pf-placeholder {
  display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 5; max-height: 720px;
  background: #111111; border: 1px dashed #444444; color: #777777; font-size: 15px; letter-spacing: 0.08em;
}

/* Sections de la page */
.pf-section { padding-top: 112px; }
.pf-head { margin-bottom: 48px; }

/* Fiche d'engagement : huit lignes numérotées, comme une feuille de temps */
.pf-entry { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid #ffffff; }
.pf-entry > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: start; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule-dark); }
.pf-n { grid-row: span 2; padding-top: 2px; font-size: 13px; color: var(--caption-on-dark); font-variant-numeric: tabular-nums; }
.pf-entry dt { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--caption-on-dark); }
.pf-entry dd { margin: 6px 0 0; font-size: 18px; line-height: 1.35; font-weight: 600; }

/* Ta parole en grand */
.pf-statement { margin: 0; padding-top: 40px; border-top: 1px solid #ffffff; }
.pf-statement blockquote { margin: 0; }
.pf-statement p { margin: 0; max-width: 1120px; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.15; font-weight: 200; }
.pf-statement figcaption { margin-top: 28px; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--caption-on-dark); }

/* Lap by lap : une ligne de piste avec un repère par étape */
.pf-laps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
.pf-laps::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: linear-gradient(90deg, #ffffff 0 80%, #555555 80% 100%); }
.pf-lap { position: relative; padding-top: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pf-lap::before { content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 6px var(--ground); }
.pf-lap--next::before { background: var(--ground); border: 2px solid #ffffff; }
.pf-lap-label { font-size: 13px; letter-spacing: 0.08em; color: var(--caption-on-dark); }
.pf-lap-year { font-size: 30px; line-height: 1; font-weight: 800; font-stretch: var(--display-stretch); letter-spacing: -0.015em; }
.pf-lap p { margin: 0; font-size: 16px; line-height: 1.55; color: #d6d6d6; }
.pf-lap .link { padding: 4px 0; }

/* How I work : trois temps */
.pf-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pf-step { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid #ffffff; }
.pf-step-n { font-size: clamp(48px, 5vw, 72px); line-height: 1; font-weight: 200; }
.pf-step h3 { margin: 0; font-size: 20px; font-weight: 800; font-stretch: var(--display-stretch); text-transform: uppercase; letter-spacing: -0.01em; }
.pf-step p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.6; color: #d6d6d6; }

/* Through my lens : une bande de photos qui défile à l'horizontale */
.pf-strip { display: flex; gap: 8px; margin-top: 40px; padding: 0 40px 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 40px; scrollbar-width: thin; scrollbar-color: #555555 transparent; }
.pf-strip a { flex: 0 0 auto; display: block; height: clamp(240px, 30vw, 460px); scroll-snap-align: start; }
.pf-strip img { height: 100%; width: auto; }
.pf-strip a:hover img { filter: brightness(1.08); }
.pf-strip-tools { display: flex; align-items: center; gap: 12px; }
.pf-arrow { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff; background: transparent; color: #ffffff; font: inherit; font-size: 18px; cursor: pointer; }
.pf-arrow:hover { background: #ffffff; color: #000000; }
.pf-arrow:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.pf-strip-tools .link { margin-left: 12px; }

@media (max-width: 1000px) {
  .pf-laps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
  .pf-laps::before { display: none; }
}

@media (max-width: 900px) {
  .pf-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pf-name .d-bold { white-space: normal; }
  .pf-entry { grid-template-columns: minmax(0, 1fr); }
  .pf-steps { grid-template-columns: minmax(0, 1fr); }
  .pf-section { padding-top: 88px; }
}

@media (max-width: 600px) {
  .pf-laps { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-left: 36px; }
  .pf-laps::before { display: block; left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, #ffffff 0 85%, #555555 85% 100%); }
  .pf-lap { padding-top: 0; }
  .pf-lap::before { left: -36px; top: 4px; }
  .pf-strip { padding: 0 20px 14px; scroll-padding-left: 20px; }
}

/* ==========================================================================
   Page Mentions légales (legal/index.html)
   ========================================================================== */

.lg-intro { padding: 64px 0 48px; }
.lg-intro .wrap { display: flex; flex-direction: column; gap: 24px; }
.lg-intro--en { padding-top: 120px; }
.lg-title { margin: 0; }
.lg-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--caption-on-dark); }
.lg-note a { color: #ffffff; text-underline-offset: 4px; }
.lg-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 56px; padding: 32px 0; border-top: 1px solid var(--rule-dark); }
.lg-block:last-child { border-bottom: 1px solid var(--rule-dark); }
.lg-block h2 { grid-column: 1; grid-row: 1; margin: 0; font-size: 15px; line-height: 1.4; font-weight: 800; font-stretch: var(--display-stretch); text-transform: uppercase; letter-spacing: 0.02em; }
.lg-block > p, .lg-list { grid-column: 2; }
.lg-block p { margin: 0; max-width: 720px; font-size: 17px; line-height: 1.6; color: #d6d6d6; }
.lg-block a { color: #ffffff; text-underline-offset: 4px; }
.lg-list { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lg-list > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; }
.lg-list dt { padding-top: 3px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--caption-on-dark); }
.lg-list dd { margin: 0; font-size: 17px; line-height: 1.5; color: #ffffff; }
.footer-inner p a { margin-left: 16px; white-space: nowrap; }

@media (max-width: 900px) {
  .lg-block { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lg-block h2 { grid-row: auto; }
  .lg-block > p, .lg-list { grid-column: 1; }
  .lg-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Pied de page sur mobile : les liens passent ensemble sur leur propre ligne */
@media (max-width: 600px) {
  .footer-inner p { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .footer-inner p a { margin-left: 0; }
}

/* ---------- Menu des téléphones (600 px de large ou moins) ----------
   Le nom reste à gauche, un bouton « MENU » à droite ; le menu s'ouvre en dessous.
   Rien ici ne s'applique aux tablettes ni aux ordinateurs. Le bouton est créé par assets/js/menu.js. */
@media (max-width: 600px) {
  .site-header.has-menu { flex-wrap: wrap; align-items: center; row-gap: 0; column-gap: 16px; }
  /* Le nom tient sur une ligne : 22 px sur la plupart des téléphones, un peu moins sur les plus étroits */
  .site-header.has-menu .brand { flex: 1 1 0; min-width: 0; font-size: clamp(18px, 5.6vw, 22px); }
  .site-header.has-menu .menu-toggle {
    display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 16px;
    border: 1px solid #000000; background: #ffffff; color: #000000; border-radius: 0;
    font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; cursor: pointer;
  }
  .site-header.has-menu.menu-open .menu-toggle { background: #000000; color: #ffffff; }
  .site-header.has-menu .site-nav { display: none; }
  .site-header.has-menu.menu-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; flex-basis: 100%;
    gap: 0; margin-top: 16px; padding-bottom: 8px; border-top: 1px solid #000000;
  }
  .site-header.has-menu.menu-open .site-nav ul { flex-direction: column; gap: 0; font-size: 17px; }
  .site-header.has-menu.menu-open .site-nav ul li { border-bottom: 1px solid #e2e2e2; }
  .site-header.has-menu.menu-open .site-nav ul a { display: block; padding: 16px 0; }
  .site-header.has-menu.menu-open .site-nav .btn-outline-dark { justify-content: center; min-height: 52px; margin-top: 20px; }
}

