/* ---------------------------------------------------
   /perspectives — la section commerciale du studio.

   Parti pris, à rebours de la maquette de départ : aucun angle
   arrondi, aucune ombre portée, aucun dégradé, aucune pastille de
   couleur. La page n'est faite que de filets d'un pixel, d'une grille
   tenue et de chiffres tabulaires. Ce sont les images qui portent la
   couleur ; la mise en page ne fait que les tenir.
--------------------------------------------------- */

body.px {
  --px-rule: rgba(245, 241, 232, 0.14);
  --px-rule-strong: rgba(245, 241, 232, 0.3);
  --px-dim: rgba(245, 241, 232, 0.58);
  --px-dimmer: rgba(245, 241, 232, 0.4);
  --px-gap: clamp(72px, 9vw, 128px);
  background: var(--bg);
}

.px-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 56px);
}

/* ---- blocs de texte -------------------------------------------- */

.px-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--px-dimmer);
}

.px-h1 {
  font-size: clamp(34px, 5.4vw, 74px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
  max-width: 17ch;
}

.px-h2 {
  font-size: clamp(25px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.px-h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.px-lede {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.52;
  color: var(--px-dim);
  max-width: 56ch;
}

.px-body {
  font-size: 15px;
  line-height: 1.62;
  color: var(--px-dim);
  max-width: 62ch;
}

.px-body + .px-body {
  margin-top: 14px;
}

.px-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ---- masthead --------------------------------------------------- */

body.px .nav {
  background: var(--bg);
  border-bottom: 1px solid var(--px-rule);
  height: 70px;
}

body.px .nav-contain {
  justify-content: space-between;
}

.px-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Le logo est fourni en blanc sur fond transparent : il tient la hauteur,
   la largeur suit le rapport de l'image. */
.px-mark img {
  display: block;
  width: auto;
  height: 21px;
}

.px-mark span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--px-dimmer);
}

body.px .nav-links {
  gap: 30px;
}

body.px .nav-link {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--px-dim);
}

body.px .nav-link:hover {
  color: var(--fg);
}

body.px .nav-link.is-current {
  color: var(--fg);
}

/* Sous ~620px, le libellé et les trois liens ne tiennent plus côte à
   côte : « Studio » s'efface et les liens se resserrent. */
@media (max-width: 620px) {
  body.px .nav {
    height: 60px;
  }

  .px-main {
    padding-top: 60px;
  }

  .px-mark {
    font-size: 13px;
    gap: 0;
  }

  .px-mark img {
    height: 18px;
  }

  .px-mark span {
    display: none;
  }

  body.px .nav-links {
    gap: 15px;
  }

  body.px .nav-link {
    font-size: 10px;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 380px) {
  body.px .nav-links {
    gap: 11px;
  }

  body.px .nav-link {
    font-size: 9.5px;
    letter-spacing: 0.03em;
  }
}

/* ---- rythme des sections --------------------------------------- */

.px-main {
  padding-top: 70px;
}

.px-section {
  padding: var(--px-gap) 0;
  border-top: 1px solid var(--px-rule);
}

.px-section--open {
  border-top: 0;
}

.px-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}

@media (max-width: 860px) {
  .px-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }
}

.px-head .px-label {
  display: block;
  margin-bottom: 18px;
}

/* ---- accroche ---------------------------------------------------- */

.px-hero {
  padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 84px);
}

.px-hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(26px, 3vw, 40px);
}

.px-hero__kicker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--px-rule);
}

.px-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: end;
}

@media (max-width: 980px) {
  .px-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }
}

.px-hero__side p + p {
  margin-top: 16px;
}

.px-hero__side em {
  font-style: normal;
  color: var(--fg);
}

.px-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

/* un bouton sans rayon ni remplissage : un rectangle, un filet */
.px-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--px-rule-strong);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}

.px-btn:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.px-btn--solid {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.px-btn--solid:hover {
  background: transparent;
  border-color: var(--px-rule-strong);
  color: var(--fg);
}

/* ---- chiffres ---------------------------------------------------- */

.px-figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--px-rule);
  margin-top: clamp(44px, 5vw, 76px);
}

.px-figures > div {
  padding: 26px 24px 0 0;
  border-right: 1px solid var(--px-rule);
}

.px-figures > div:last-child {
  border-right: 0;
}

.px-figures > div + div {
  padding-left: 24px;
}

.px-figures b {
  display: block;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.px-figures span {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--px-dimmer);
  max-width: 20ch;
}

@media (max-width: 760px) {
  .px-figures {
    grid-template-columns: repeat(2, 1fr);
  }

  .px-figures > div {
    padding: 22px 18px 22px 0;
    border-bottom: 1px solid var(--px-rule);
  }

  .px-figures > div:nth-child(2n) {
    border-right: 0;
    padding-left: 18px;
  }

  .px-figures > div:nth-child(2n + 1) {
    padding-left: 0;
  }

  .px-figures > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

/* ---- liste numérotée (services, étapes) ------------------------- */

.px-list {
  border-top: 1px solid var(--px-rule);
}

.px-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--px-rule);
}

.px-list li > i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--px-dimmer);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}

.px-list li > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--px-dim);
}

@media (max-width: 760px) {
  .px-list li {
    grid-template-columns: 38px 1fr;
    gap: 8px 16px;
    padding: 22px 0;
  }

  .px-list li > p {
    grid-column: 2;
  }
}

/* ---- index des opérations --------------------------------------- */

.px-index {
  border-top: 1px solid var(--px-rule);
}

.px-index a {
  display: grid;
  grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr) 18px;
  gap: clamp(14px, 3vw, 40px);
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--px-rule);
  transition: color 0.25s var(--ease);
}

.px-index a:hover {
  color: var(--fg);
}

.px-index i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--px-dimmer);
  font-variant-numeric: tabular-nums;
}

.px-index b {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.px-index span {
  font-size: 13.5px;
  color: var(--px-dimmer);
  transition: color 0.25s var(--ease);
}

.px-index a:hover span {
  color: var(--px-dim);
}

.px-index u {
  text-decoration: none;
  color: var(--px-dimmer);
  justify-self: end;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}

.px-index a:hover u {
  color: var(--fg);
  transform: translateX(4px);
}

/* Le placement est explicite : avec une seule contrainte de ligne sur la
   flèche, l'algorithme de grille la posait dans la toute première cellule
   et renvoyait le titre dans la colonne de 16px. */
@media (max-width: 760px) {
  .px-index a {
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    gap: 4px 14px;
    padding: 18px 0;
    align-items: start;
  }

  .px-index i {
    grid-area: 1 / 1;
    padding-top: 3px;
  }

  .px-index b {
    grid-area: 1 / 2;
  }

  .px-index u {
    grid-area: 1 / 3;
  }

  .px-index span {
    grid-area: 2 / 2;
  }
}

/* ---- une opération ---------------------------------------------- */

.px-proj {
  padding-top: clamp(56px, 7vw, 100px);
  border-top: 1px solid var(--px-rule);
  scroll-margin-top: 86px;
}

.px-proj:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.px-proj__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 56px);
}

@media (max-width: 980px) {
  .px-proj__head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.px-proj__meta {
  margin-top: 12px;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--px-dimmer);
}

.px-proj__text h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--px-dimmer);
  margin-bottom: 10px;
}

.px-proj__text h4 + p + h4 {
  margin-top: 26px;
}

.px-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--px-rule);
}

.px-facts li {
  padding: 18px 16px 0 0;
  border-right: 1px solid var(--px-rule);
}

.px-facts li:last-child {
  border-right: 0;
}

.px-facts li + li {
  padding-left: 16px;
}

.px-facts b {
  display: block;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.px-facts span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--px-dimmer);
}

/* ---- galerie ----------------------------------------------------- */

.px-gal {
  display: grid;
  grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
}

.px-gal > * {
  grid-column: span 1;
}

.px-gal > .px-wide {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .px-gal {
    grid-template-columns: 1fr;
  }
}

.px-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.px-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.4s var(--ease);
}

.px-shot:hover img {
  opacity: 0.86;
}

.px-shot figcaption,
.px-cap {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--px-dimmer);
}

/* la pastille d'agrandissement : un carré de 1px, pas un bouton rond */
.px-shot::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(245, 241, 232, 0.55);
  background: rgba(5, 5, 5, 0.35);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.px-shot:hover::after,
.px-shot:focus-visible::after {
  opacity: 1;
}

/* ---- comparateur maquette / rendu ------------------------------- */

.px-ba {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  background: #0b0b0b;
}

.px-ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.px-ba img.px-ba__top {
  clip-path: inset(0 0 0 var(--p, 50%));
}

.px-ba__tag {
  position: absolute;
  bottom: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(5, 5, 5, 0.52);
  padding: 5px 9px;
  pointer-events: none;
}

.px-ba__tag--l { left: 12px; }
.px-ba__tag--r { right: 12px; }

/* la poignée : un filet, et un petit carré au milieu */
.px-ba__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--p, 50%);
  width: 1px;
  background: var(--fg);
  pointer-events: none;
}

.px-ba__bar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--fg);
  background: rgba(5, 5, 5, 0.4);
}

.px-ba input[type='range'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.px-ba input[type='range']:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: -2px;
}

.px-ba__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(245, 241, 232, 0.55);
  background: rgba(5, 5, 5, 0.35);
  z-index: 2;
}

/* ---- tarifs ------------------------------------------------------ */

.px-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--px-rule);
  margin-bottom: clamp(30px, 4vw, 48px);
}

.px-tabs button {
  position: relative;
  padding: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--px-dimmer);
  transition: color 0.25s var(--ease);
}

.px-tabs button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.px-tabs button[aria-selected='true'] {
  color: var(--fg);
}

.px-tabs button[aria-selected='true']::after {
  transform: scaleX(1);
}

.px-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.px-scroll:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

/* le tableau garde sa largeur et defile : encore faut-il le dire */
.px-scroll-hint {
  display: none;
}

@media (max-width: 860px) {
  .px-scroll-hint {
    display: block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--px-dimmer);
  }
}

.px-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  text-align: left;
}

.px-table th,
.px-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--px-rule);
  vertical-align: top;
}

.px-table thead th {
  border-bottom: 1px solid var(--px-rule-strong);
  padding-top: 0;
}

.px-table tbody th {
  font-size: 14px;
  font-weight: 400;
  color: var(--px-dim);
  padding-left: 0;
  width: 34%;
}

.px-table td {
  font-size: 14px;
  color: var(--px-dim);
  width: 22%;
}

.px-table thead th:first-child {
  padding-left: 0;
  width: 34%;
}

/* la colonne mise en avant : des crochets, pas une pastille de couleur */
.px-table .px-col--top {
  box-shadow: inset 1px 0 0 var(--px-rule-strong),
              inset -1px 0 0 var(--px-rule-strong);
}

.px-table thead .px-col--top {
  box-shadow: inset 1px 0 0 var(--px-rule-strong),
              inset -1px 0 0 var(--px-rule-strong),
              inset 0 2px 0 var(--fg);
}

.px-table tfoot .px-col--top {
  box-shadow: inset 1px 0 0 var(--px-rule-strong),
              inset -1px 0 0 var(--px-rule-strong),
              inset 0 -1px 0 var(--px-rule-strong);
}

.px-plan__flag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 10px;
  min-height: 1em;
}

.px-plan__name {
  display: block;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.px-plan__sub {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--px-dimmer);
}

.px-plan__price {
  display: block;
  margin-top: 16px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.px-plan__price sup {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  vertical-align: super;
  margin-left: 6px;
  color: var(--px-dimmer);
}

/* les marques de présence : un trait, un point, pas une coche verte */
.px-mk {
  display: inline-block;
  width: 1.1em;
  color: var(--fg);
}

.px-mk--n {
  color: rgba(245, 241, 232, 0.22);
}

.px-mk--o {
  color: var(--px-dim);
}

.px-table tfoot td,
.px-table tfoot th {
  border-bottom: 0;
  padding-top: 22px;
}

.px-table tfoot .px-btn {
  width: 100%;
  justify-content: center;
}

/* exemple livré, à côté du tableau */
.px-sample {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

@media (max-width: 860px) {
  .px-sample {
    grid-template-columns: 1fr;
  }
}

/* Les attributs width/height de l'<img> sont des indications de
   présentation : sans règle d'auteur sur la hauteur, c'est la hauteur
   intrinsèque qui l'emporte sur aspect-ratio et l'image s'étire. */
.px-sample img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* empilé plutôt qu'en ligne : trois pièces ou cinq, la colonne tient
   sans jamais laisser un bouton orphelin sur une seconde rangée */
.px-switch {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--px-rule);
  margin-top: 16px;
}

.px-switch button {
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--px-dimmer);
  border-bottom: 1px solid var(--px-rule);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.px-switch button:last-child {
  border-bottom: 0;
}

.px-switch button:hover {
  color: var(--fg);
}

.px-switch button[aria-pressed='true'] {
  background: var(--fg);
  color: var(--bg);
}

/* ---- à la carte -------------------------------------------------- */

.px-rows {
  border-top: 1px solid var(--px-rule);
}

.px-rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--px-rule);
  font-size: 15px;
  color: var(--px-dim);
}

.px-rows b {
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

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

.px-contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

@media (max-width: 980px) {
  .px-contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.px-card {
  border: 1px solid var(--px-rule);
}

.px-card > a,
.px-card > div {
  display: block;
  padding: 20px 22px;
  border-bottom: 1px solid var(--px-rule);
}

.px-card > :last-child {
  border-bottom: 0;
}

.px-card a {
  transition: background 0.25s var(--ease);
}

.px-card a:hover {
  background: rgba(245, 241, 232, 0.04);
}

.px-card small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--px-dimmer);
  margin-bottom: 8px;
}

.px-card strong {
  display: block;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.px-card em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--px-dimmer);
}

.px-copied {
  margin-left: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--px-dimmer);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.px-copied.is-on {
  opacity: 1;
}

/* ---- note / mention légère -------------------------------------- */

.px-note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--px-dimmer);
  max-width: 68ch;
  padding-left: 16px;
  border-left: 1px solid var(--px-rule);
}

/* ---- pied de page ----------------------------------------------- */

.px-foot {
  border-top: 1px solid var(--px-rule);
  padding: clamp(40px, 5vw, 64px) 0 40px;
}

.px-foot__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 48px;
}

.px-foot__grid h5 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--px-dimmer);
  margin-bottom: 14px;
}

.px-foot__grid a,
.px-foot__grid p {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--px-dim);
}

.px-foot__grid a {
  transition: color 0.25s var(--ease);
}

.px-foot__grid a:hover {
  color: var(--fg);
}

.px-foot__legal {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--px-rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--px-dimmer);
}

/* ---- visionneuse ------------------------------------------------ */

.px-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 3, 3, 0.96);
  padding: clamp(16px, 4vw, 56px);
}

.px-lightbox.is-open {
  display: flex;
}

.px-lightbox__inner {
  position: relative;
  max-width: 1500px;
  width: 100%;
}

.px-lightbox img,
.px-lightbox .px-ba {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  aspect-ratio: auto;
}

.px-lightbox .px-ba {
  aspect-ratio: 16 / 9;
  max-height: 80vh;
}

.px-lightbox figcaption {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--px-dimmer);
}

.px-lightbox__close {
  position: absolute;
  top: calc(-1 * clamp(14px, 3vw, 40px));
  right: 0;
  transform: translateY(-100%);
  padding: 8px 12px;
  border: 1px solid var(--px-rule-strong);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
}

.px-lightbox__close:hover {
  background: var(--fg);
  color: var(--bg);
}

body.px-locked {
  overflow: hidden;
}

/* ---- accessibilité ---------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  body.px *,
  body.px *::before,
  body.px *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

:where(body.px) a:focus-visible,
:where(body.px) button:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 3px;
}
