/* Planche contact (Lezieu, refaite le 06/11 d'après Ethan W Photography) : l'accueil et ses noms qui roulent, le menu presque noir, la planche, la page d'un dossier, la visionneuse.
   Couleurs de la mise en page : --fond (les pages claires, la planche), --texte (leur texte), --accent (le rouge des lettres qui roulent) ;
   les surfaces sombres (le voile sur les photos, le menu, la visionneuse) restent sombres, quelles que soient les couleurs choisies. Typo : --serif pour les noms, --sans pour les petites capitales. */

.m-contact { --pc-nuit: #0F0E0C; --pc-creme: #F4EFE4; --pc-gris: color-mix(in srgb, var(--texte) 42%, var(--fond)); --pc-trait: color-mix(in srgb, var(--texte) 14%, transparent); background: var(--pc-nuit); }

/* ---- les petites capitales */
.m-contact :is(.pc-lab, .pc-meta, .pc-pied, .pc-kick, .pc-etiq, .pc-suite-t, .pc-fin-tag, .pc-fin-meta, .pc-bas button, .pc-prev-n, .pc-prev-l, .pc-voirp, .pc-cta, .pc-fe-t) { font-family: var(--sans); font-weight: 400; text-transform: uppercase; }

/* ---- un mot dont les lettres roulent : à l'arrêt, la seconde lettre attend dessous */
.pc-mot { display: inline-block; position: relative; overflow: hidden; vertical-align: top; white-space: nowrap; padding-block: .16em .06em; margin-block: -.16em -.06em; }
.pc-roule { display: inline-block; position: relative; }
.pc-roule i { display: inline-block; font-style: normal; will-change: transform; }
.pc-r { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--accent); }
.pc-b { transition: transform calc(.35s * var(--t, 1)) cubic-bezier(.33, 1, .68, 1) calc((400ms + (var(--c) - var(--n)) * 12ms) * var(--t, 1)); }
.pc-r i { transform: translateY(122%); transition: transform calc(.65s * var(--t, 1)) cubic-bezier(.7, 0, .84, 0) calc((var(--c) - var(--n)) * 15ms * var(--t, 1)); }
:is(.allume, .pc-fin:hover) .pc-b { transform: translateY(-122%); transition: transform .45s cubic-bezier(.55, 0, 1, .45) calc(var(--n) * 16ms); }
:is(.allume, .pc-fin:hover) .pc-r i { transform: none; transition: transform .85s cubic-bezier(.16, 1, .3, 1) calc(120ms + var(--n) * 20ms); }
@media (hover: none) { .pc-fin:hover .pc-b { transform: none; } .pc-fin:hover .pc-r i { transform: translateY(122%); } }
.pc-num { flex: none; font: 400 11px/1 var(--sans); letter-spacing: .18em; color: #8A8474; transition: color .9s; }

/* ---- l'accueil */
.pc-accueil { position: absolute; inset: 0; background: var(--pc-nuit); color: var(--pc-creme); overflow: hidden; }
.pc-fonds, .pc-voile { position: absolute; inset: 0; }
.pc-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s; pointer-events: none; }
.pc-fond.vu { opacity: 1; }
.pc-voile { background: rgba(12, 11, 10, .58); }
.pc-liste { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .6cqw; padding: 74px 0 52px var(--pc-g, 20cqw); overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.pc-liste::-webkit-scrollbar { display: none; }
.pc-rang { position: relative; flex: none; display: flex; align-items: center; width: max-content; max-width: 100%; }
.pc-rang:first-child { margin-top: auto; } .pc-rang:last-child { margin-bottom: auto; }
.m-contact .pc-nom { display: inline-flex; align-items: baseline; gap: 1.2cqw; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: 400 var(--pc-fs, 80px)/1.08 var(--serif); letter-spacing: var(--b-ls, 0); text-transform: var(--b-tt, uppercase); white-space: nowrap; text-align: left; }
.pc-rang.actif .pc-num, .pc-mr.allume .pc-num { color: var(--accent); }
.pc-fil { position: absolute; left: 0; right: 0; bottom: .22em; height: 1px; background: rgba(244, 239, 228, .55); transform: scaleX(0); transform-origin: left center; opacity: 0; pointer-events: none; }
.pc-meta { display: inline-flex; align-items: center; gap: 16px; margin-left: 2.4cqw; opacity: 0; transition: opacity .5s; white-space: nowrap; font-size: 11px; letter-spacing: .18em; color: #CFC8BA; pointer-events: none; }
.pc-meta i { flex: none; width: 1px; height: min(clamp(30px, 3.6cqw, 62px), calc(var(--pc-fs, 80px) * 1.05)); background: var(--pc-creme); rotate: 20deg; }
.pc-rang.actif .pc-meta, .pc-rang.allume .pc-meta { opacity: 1; }
.m-contact .pc-pied[hidden] { display: none; }
.pc-pied { position: absolute; left: 24px; right: 24px; bottom: 14px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; color: #A49C8E; pointer-events: none; }

/* ---- le haut de l'écran : clair sur les photos et le menu, foncé sur les pages claires */
.pc-haut { position: absolute; z-index: 30; left: 0; right: 0; top: 0; height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 24px; color: var(--pc-creme); pointer-events: none; transition: color .35s; }
.pc-haut > * { position: relative; pointer-events: auto; }
.pc-haut::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 130%; background: linear-gradient(var(--fond) 25%, transparent); opacity: 0; pointer-events: none; transition: opacity .35s; }   /* sur les photos d'une page claire : le haut reste lisible */
.m-contact.sur-clair:not(.menu-ouvert, .en-planche) .pc-haut:not(.cache)::before { opacity: .94; }
.m-contact.sur-clair:not(.menu-ouvert) .pc-haut, .m-contact.en-planche .pc-haut { color: var(--texte); }
.pc-haut :is(.pc-gauche, .pc-droite, .pc-logo) { transition: translate .4s cubic-bezier(.55, 0, 1, .45), opacity .28s; }
.pc-haut.cache { pointer-events: none; }
.pc-haut.cache > * { translate: 0 -72px; opacity: 0; pointer-events: none; }
.m-contact:is(.menu-ouvert, .en-planche) .pc-haut.cache > * { translate: 0 0; opacity: 1; pointer-events: auto; }
.pc-gauche { display: flex; align-items: center; gap: 20px; justify-self: start; }
.pc-droite { justify-self: end; }
.pc-menu-b, .pc-maison { display: flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: none; color: inherit; cursor: pointer; }
.pc-maison[hidden] { display: none; }
.pc-lab { font-size: 12px; letter-spacing: .16em; }
.pc-barres { position: relative; width: 18px; height: 8px; }
.pc-barres i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: top .35s, rotate .35s; }
.pc-barres i:first-child { top: 0; } .pc-barres i:last-child { top: 7px; }
.pc-menu-b.ouvert .pc-barres i { top: 4px; rotate: 45deg; } .pc-menu-b.ouvert .pc-barres i:last-child { rotate: -45deg; }
.m-contact .pc-logo { max-width: 34cqw; padding: 0 .3em; border: 0; background: none; color: inherit; cursor: pointer; font: 400 clamp(17px, 1.5cqw, 21px)/1.3 var(--serif); letter-spacing: var(--b-ls, 0); text-transform: var(--b-tt, uppercase); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-contact .pc-logo.script { font: 400 clamp(24px, 2cqw, 29px)/1.3 "Pinyon Script", cursive; letter-spacing: 0; text-transform: none; }
.m-contact .pc-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid color-mix(in srgb, currentColor 55%, transparent); border-radius: 999px; background: transparent; color: inherit; cursor: pointer; font-size: 11px; letter-spacing: .14em; transition: background-color .35s, color .35s, border-color .35s; white-space: nowrap; }
.pc-cta[hidden] { display: none; }
.pc-cta-r { display: inline-block; position: relative; overflow: hidden; height: 1.25em; line-height: 1.25; }
.pc-cta-r span { display: block; transition: translate .5s cubic-bezier(.22, 1, .36, 1); }
.pc-cta-r span + span { position: absolute; left: 0; top: 100%; }
@media (hover: hover) {
  .pc-cta:hover .pc-cta-r span { translate: 0 -100%; }
  .pc-cta:hover { background: var(--pc-creme); border-color: var(--pc-creme); color: var(--pc-nuit); }
  .m-contact.sur-clair:not(.menu-ouvert) .pc-cta:hover { background: var(--texte); border-color: var(--texte); color: var(--fond); }
}

/* ---- le voile clair, d'une page à l'autre */
.pc-rideau { position: absolute; inset: 0; z-index: 25; background: var(--fond); opacity: 0; pointer-events: none; }

/* ---- la page d'un dossier */
.pc-page { position: absolute; inset: 0; z-index: 10; overflow-y: auto; overflow-x: hidden; background: var(--fond); color: var(--texte); scrollbar-width: none; }
.pc-page::-webkit-scrollbar { display: none; }
.pc-page[hidden] { display: none; }
.pc-heros { position: relative; height: var(--H, 800px); overflow: hidden; background: var(--pc-nuit); cursor: pointer; }
.pc-heros-im { position: absolute; inset: -8% 0; will-change: translate; }
.pc-heros-im img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-heros-deg { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 13, 11, .55), rgba(15, 13, 11, .06) 45%, rgba(15, 13, 11, .25)); }
.pc-heros-cap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 86px 32px 30px; text-align: center; color: #FAF7F0; }
.pc-h1 { margin: 0; font: 400 80px/.98 var(--serif); letter-spacing: var(--b-ls, 0); text-transform: var(--b-tt, uppercase); text-wrap: balance; }
.pc-kick { margin-top: 18px; font-size: 10px; letter-spacing: .22em; color: rgba(250, 247, 240, .85); }
.pc-plaque { max-width: 1560px; margin: 0 auto; padding: clamp(90px, calc(var(--H, 800px) * .15), 160px) 28px clamp(20px, calc(var(--H, 800px) * .04), 50px); }
.pc-etiq { border-top: 1px solid var(--pc-trait); padding-top: 18px; font-size: 11px; letter-spacing: .22em; }
.pc-etiq-sous { margin-top: 4px; color: var(--pc-gris); }
.pc-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4cqw; margin-top: clamp(24px, calc(var(--H, 800px) * .04), 44px); }
.pc-case { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.pc-voir { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: color-mix(in srgb, var(--texte) 10%, var(--fond)); cursor: zoom-in; }
.pc-voir img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pc-case .pc-voir:hover img { opacity: .92; }
.pc-x { z-index: 2; }

/* au bout de la page : le dossier précédent, le suivant */
.pc-suite { margin-top: clamp(60px, calc(var(--H, 800px) * .1), 110px); padding: clamp(40px, calc(var(--H, 800px) * .07), 70px) clamp(28px, 4cqw, 58px) 10px; border-top: 1px solid var(--pc-trait); overflow: hidden; }
.pc-suite-t { margin-bottom: 26px; font-size: 11px; letter-spacing: .22em; color: var(--pc-gris); }
.pc-fin { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; width: 100%; padding: clamp(16px, calc(var(--H, 800px) * .026), 30px) 0; border: 0; border-top: 1px solid var(--pc-trait); background: none; color: var(--texte); cursor: pointer; text-align: left; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.pc-fin:last-child { border-bottom: 1px solid var(--pc-trait); }
.pc-fin-tag { display: block; margin-bottom: 10px; font-size: 10px; letter-spacing: .16em; color: var(--accent); }
.pc-fin-nom { display: block; font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: var(--b-ls, 0); text-transform: var(--b-tt, uppercase); }
.pc-fin-meta { flex: none; font-size: 10px; letter-spacing: .16em; color: var(--pc-gris); opacity: 0; translate: -8px 0; transition: opacity .4s .06s, translate .4s .06s; }
@media (hover: hover) { .pc-fin:hover { transform: translateX(1.1cqw); } .pc-fin:hover .pc-fin-meta { opacity: 1; translate: 0 0; } }
.pc-bas { padding: 34px 0 40px; text-align: center; }
.m-contact .pc-bas button { padding: 8px 12px; border: 0; background: none; color: var(--pc-gris); cursor: pointer; font-size: 11px; letter-spacing: .16em; transition: color .3s; }
.m-contact .pc-bas button:hover { color: var(--texte); }

/* ---- le menu, presque noir */
.pc-mo { position: absolute; inset: 0; z-index: 20; background: var(--pc-nuit); color: var(--pc-creme); overflow: hidden; }
.pc-mo.seule { background: transparent; }
.pc-mo[hidden] { display: none; }
.pc-mo-rangs { position: absolute; inset: 74px 0 42px; display: flex; flex-direction: column; padding: 0 clamp(24px, 7cqw, 120px); overflow-y: auto; scrollbar-width: none; }
.pc-mo-rangs::-webkit-scrollbar { display: none; }
.pc-mo.seule .pc-mo-rangs { display: none; }
.pc-mo-int { margin-block: auto; }
.pc-mr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 2cqw; padding: calc(var(--H, 800px) * .024) 0; border-top: 1px solid rgba(244, 239, 228, .14); cursor: pointer; }
.pc-mr:last-child { border-bottom: 1px solid rgba(244, 239, 228, .14); }
.pc-mr-nom { display: flex; align-items: baseline; gap: 1.1cqw; overflow: hidden; padding-block: .16em .06em; margin-block: -.16em -.06em; font: 400 var(--pc-fm, 64px)/1.08 var(--serif); letter-spacing: var(--b-ls, 0); text-transform: var(--b-tt, uppercase); white-space: nowrap; }
.pc-mr .pc-num { color: var(--accent); opacity: .9; }
.pc-vigs { position: relative; display: flex; gap: 12px; min-height: var(--pc-v, 110px); padding: 0; border: 0; background: none; color: inherit; cursor: pointer; transition: padding-right .45s cubic-bezier(.22, 1, .36, 1); }
.pc-vigs:hover { padding-right: 168px; }
.pc-vig { flex: none; display: block; width: var(--pc-v, 110px); height: var(--pc-v, 110px); border-radius: 10px; background-size: cover; background-position: center; opacity: 0; transform: scale(.8); transition: opacity .4s cubic-bezier(.16, 1, .3, 1), transform .4s cubic-bezier(.16, 1, .3, 1); }
.pc-mr.allume .pc-vig { opacity: 1; transform: none; animation: pc-vig .55s cubic-bezier(.215, .61, .355, 1) calc((4 - var(--n)) * 35ms) backwards; }
.pc-mr .pc-vig.partie { opacity: 0; animation: none; transition: none; }
@keyframes pc-vig { from { opacity: 0; transform: translateX(20%) scale(.8); } }
.pc-voirp { position: absolute; right: 0; top: 50%; display: inline-flex; align-items: center; gap: 7px; margin-right: 12px; font-size: 11px; letter-spacing: .16em; white-space: nowrap; opacity: 0; transform: translate(10px, -50%); transition: opacity .35s, transform .35s; }
.pc-vigs:hover .pc-voirp { opacity: 1; transform: translateY(-50%); }

/* ---- la planche contact */
.pc-cover { position: absolute; left: 0; right: 0; top: 0; height: 0; background: var(--fond); opacity: 0; pointer-events: none; z-index: 4; }
.pc-prev { position: absolute; inset: 74px 0 0; z-index: 5; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; padding: calc(var(--H, 800px) * .05) clamp(24px, 7cqw, 120px) calc(var(--H, 800px) * .08); color: var(--texte); }
.pc-prev::-webkit-scrollbar { display: none; }
.pc-prev[hidden] { display: none; }
.pc-prev-t { overflow: hidden; padding-block: .16em .04em; margin-block: -.16em -.04em; }
.pc-prev-t span { display: block; font: 400 clamp(30px, 4.6cqw, 72px)/1.04 var(--serif); letter-spacing: var(--b-ls, 0); text-transform: var(--b-tt, uppercase); }
.pc-prev-n { margin-top: 10px; font-size: 11px; letter-spacing: .16em; color: var(--pc-gris); }
.m-contact .pc-prev-l { display: block; width: max-content; margin-top: calc(var(--H, 800px) * .02); padding: 0 0 3px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--texte) 40%, transparent); background: none; color: var(--texte); cursor: pointer; font-size: 12px; letter-spacing: .16em; }
.pc-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(90px, 11cqw, 170px), 1fr)); gap: 12px; margin-top: calc(var(--H, 800px) * .04); }
.pc-cell { position: relative; margin: 0; aspect-ratio: 1; will-change: transform; }
.pc-cell .pc-voir { border-radius: 10px; overflow: hidden; cursor: pointer; }
.pc-cell .pc-x { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 12px; z-index: 4; }
/* la loupe de labo (08/11) : une grande loupe ronde qui suit la souris sur la planche ; dessous, la photo survolée entière sur le papier ; un reflet sur le verre, cerclée de métal noir strié */
.pc-prev.sous-loupe .pc-cells, .pc-prev.sous-loupe .pc-cells * { cursor: none; }
.pc-loupe { position: absolute; left: 0; top: 0; z-index: 35; box-sizing: border-box; padding: var(--bord, 12px); border-radius: 50%; pointer-events: none;
  opacity: 0; visibility: hidden; scale: .94; transition: opacity .15s ease, scale .22s cubic-bezier(.2, .9, .3, 1.1), visibility 0s linear .22s;
  background: repeating-conic-gradient(rgba(255, 255, 255, .07) 0 .45deg, rgba(255, 255, 255, 0) .45deg 1.5deg),
    conic-gradient(from 210deg, #0c0c0d, #3d3e42 9%, #121214 20%, #2a2b2e 33%, #7a7c81 45%, #1a1a1c 55%, #303134 68%, #5a5c61 80%, #101011 91%, #0c0c0d);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(0, 0, 0, .6), 0 34px 60px -18px rgba(0, 0, 0, .55), 0 8px 18px rgba(0, 0, 0, .28); }
.pc-loupe.vu { opacity: 1; visibility: visible; scale: 1; transition-delay: 0s; }
.pc-lp-verre { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(205, 208, 214, .4), 0 0 0 3px rgba(0, 0, 0, .55); }
.pc-lp-im { position: absolute; left: 0; top: 0; max-width: none; border-radius: 3px; box-shadow: 0 8px 26px rgba(0, 0, 0, .28), 0 1px 3px rgba(0, 0, 0, .2); }
/* le bord du verre, un peu plus sombre */
.pc-lp-verre::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, .12) 84%, rgba(0, 0, 0, .34) 100%); box-shadow: inset 0 0 26px rgba(0, 0, 0, .4); }
/* le reflet, sur le verre : une tache de lumière en haut à gauche, inclinée ; la lumière qui accroche la tranche du verre */
.pc-lp-verre::after { content: ''; position: absolute; z-index: 2; left: 11%; top: 7%; width: 48%; height: 24%; border-radius: 50%; rotate: -34deg;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .36), rgba(255, 255, 255, .1) 55%, rgba(255, 255, 255, 0)); mix-blend-mode: screen; filter: blur(1px); }
.pc-loupe::after { content: ''; position: absolute; z-index: 2; inset: var(--bord, 12px); border-radius: 50%; pointer-events: none;
  box-shadow: inset 10px 14px 16px -12px rgba(255, 255, 255, .55), inset -8px -10px 16px -12px rgba(255, 255, 255, .3); }

/* ---- la vignette du choix des modèles */
.tz .m-contact :is(.pc-haut, .pc-pied) { display: none; }
.tz .m-contact .pc-liste { padding: 12px 0 12px var(--pc-g, 20cqw); }

/* ---- sur téléphone : le titre en haut, une barre flottante en bas, une feuille pour les dossiers */
@container (max-width: 620px) {
  .pc-voile { background: rgba(12, 11, 10, .64); }
  .pc-liste { gap: clamp(16px, calc(var(--H, 800px) * .034), 34px); padding: 66px 0 124px var(--pc-g, 24px); }
  .pc-nom { gap: 10px; }
  .pc-pied { bottom: 84px; justify-content: center; font-size: 10px; }
  .pc-haut { height: 60px; padding: 0 16px; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; }
  .m-contact .pc-logo { max-width: 100%; justify-self: center; }
  .pc-heros-cap { justify-content: center; padding: 70px 24px 90px; }
  .pc-plaque { padding: 56px 20px 16px; }
  .pc-grille { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pc-suite { margin-top: 44px; padding: 34px 22px 8px; }
  .pc-bas { padding: 24px 0 96px; }
  .pc-prev { inset: 60px 0 0; padding: 18px 20px 110px; }
  .pc-cells { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .pc-cell .pc-voir { border-radius: 8px; }
}
.pc-dock { position: absolute; z-index: 32; left: 50%; bottom: 12px; translate: -50% 0; display: flex; align-items: stretch; gap: 4px; width: min(calc(100% - 22px), 434px); padding: 6px; border: 1px solid rgba(244, 239, 228, .14); border-radius: 999px; background: rgba(24, 21, 18, .62); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-sizing: border-box; }
.m-contact .pc-dock button { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 4px; border: 0; border-radius: 999px; background: none; color: var(--pc-creme); cursor: pointer; font: 400 9px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: background-color .3s; }
.pc-dock button svg { width: 18px; height: 18px; }
.pc-dock button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-contact .pc-dock button.on { background: rgba(244, 239, 228, .13); }
.m-contact .pc-dock .pc-dock-cta, .m-contact .pc-dock .pc-dock-cta.on { background: var(--accent); color: var(--b-accent-ink, #fff); }
.pc-feuille { position: absolute; z-index: 31; left: 11px; right: 11px; bottom: 82px; max-height: calc(100% - 160px); overflow-y: auto; scrollbar-width: none; padding: 14px 0 6px; border: 1px solid rgba(244, 239, 228, .14); border-radius: 22px; background: rgba(28, 24, 20, .88); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--pc-creme); }
.pc-feuille::-webkit-scrollbar { display: none; }
.pc-feuille[hidden] { display: none; }
.pc-fe-t { padding: 0 18px 10px; font-size: 10px; letter-spacing: .18em; color: #A49C8E; }
.pc-fe-l { display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 12px 9px 18px; border: 0; border-top: 1px solid rgba(244, 239, 228, .1); background: none; color: inherit; cursor: pointer; text-align: left; }
.pc-fe-l .pc-num { color: var(--accent); }
.pc-fe-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 19px/1.2 var(--serif); letter-spacing: var(--b-ls, 0); text-transform: var(--b-tt, uppercase); }
.pc-fe-l img { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }

/* ---- la visionneuse de Lezieu, habillée comme celle du site : presque noire, le numéro en haut à gauche, un ✕ sans cadre, les flèches sur toute la hauteur */
.lb.peau-contact { --pcl-f: rgba(12, 11, 9, .97); --pcl-t: #F4EFE4; background: var(--pcl-f); color: var(--pcl-t); font-family: var(--pc-typo); }
.lb.peau-contact :is(.lb-top, .lb-bot) { color: var(--pcl-t); font: 400 11px/1 var(--pc-typo); text-transform: uppercase; letter-spacing: .14em; }
.lb.peau-contact .lb-top { padding: 16px 20px 6px clamp(100px, 8vw, 120px); }
.lb.peau-contact :is(.lb-top, .lb-bot) button { background: transparent; color: var(--pcl-t); border: 0; border-radius: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; font-weight: 400; opacity: .75; transition: opacity .25s; }
.lb.peau-contact :is(.lb-top, .lb-bot) button:hover { background: transparent; opacity: 1; }
.lb.peau-contact :is(.lb-top, .lb-bot) :is(button[aria-pressed=true], button.on) { opacity: 1; }
.lb.peau-contact .lb-zoom { background: transparent; }
.lb.peau-contact :is(.lb-name, .lb-pct, .lb-info .lb-name) { font-family: var(--pc-typo); color: var(--pcl-t); font-size: 10px; letter-spacing: .14em; }
.lb.peau-contact .lb-exif { color: color-mix(in srgb, var(--pcl-t) 55%, transparent); text-transform: none; letter-spacing: 0; }
.lb.peau-contact .lb-k { color: var(--pcl-t); border-color: color-mix(in srgb, var(--pcl-t) 35%, transparent); opacity: .6; }
.lb.peau-contact .lb-x, .lb.peau-contact .lb-x.lb-plein { border: 0 !important; background: transparent !important; }
.lb.peau-contact .lb-bot { border-top: 0; }
.lb.peau-contact .lb-bot .lb-tiroir { background: var(--pcl-f); color: var(--pcl-t); border: 0; }
.lb.peau-contact .lb-bot :is(.lba, .lbd) { background: transparent; border: 0; color: var(--pcl-t); }
.lb.peau-contact .lb-bot :is(.lba, .lbd).on { background: transparent; color: var(--pcl-t); opacity: 1; }
.lb.peau-contact .lb-bot .lba:is(.off, .ko).on { color: #F0707F; }
.lb.peau-contact .lb-bot .lba.ok.on { color: #7CCB97; }
.lb.peau-contact .lb-bot .lba.rt.on { color: #E8B062; }
.lb.peau-contact .lb-bot .lbd kbd { background: color-mix(in srgb, var(--pcl-t) 16%, transparent); }
.lb.peau-contact .lb-view { margin-bottom: clamp(14px, 4vh, 48px); }
.lb.peau-contact .lb-im { transition: opacity .3s ease; }
.lb.peau-contact .lb-fant { display: none; }
.lb.peau-contact .lb-nav { top: 0; bottom: 0; height: auto; width: clamp(64px, 12vw, 160px); transform: none; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--pcl-t); opacity: .75; transition: opacity .25s; }
.lb.peau-contact .lb-nav:hover { background: none; opacity: 1; }
.lb.peau-contact .lb-nav.prev { left: 0; } .lb.peau-contact .lb-nav.next { right: 0; }
.lb.peau-contact.zoomed .lb-nav { width: 64px; }
.pc-lb-n { position: absolute; z-index: 3; left: 28px; top: 26px; font: 400 10px/1 var(--pc-typo); letter-spacing: .16em; color: var(--pcl-t); pointer-events: none; }
.lb.peau-contact:is(.dessin) .pc-lb-n { opacity: 0; }
@media (max-width: 760px), (pointer: coarse) and (max-height: 500px) {
  .lb.peau-contact .lb-top { padding: 12px 12px 4px 74px; }
  .lb.peau-contact .lb-nav { width: 56px; }
  .pc-lb-n { left: 16px; top: 22px; }
}
/* l'aperçu téléphone de la Mise en page (.device.mobile) : les mêmes règles qu'un vrai téléphone (15/11) */
.device.mobile .lb.peau-contact .lb-top { padding: 12px 12px 4px 74px; }
.device.mobile .lb.peau-contact .lb-nav { width: 56px; }
.device.mobile .pc-lb-n { left: 16px; top: 22px; }

.lb-dans.peau-contact .lb-exif { display: none; }
.lb-dans.peau-contact .lb-nav { width: 90px; }
.lb-dans.peau-contact .lb-top { padding-left: 90px; }
/* fond blanc (08/11), choisi dans la visionneuse */
.lb.lb-blanc.peau-contact { --pcl-f: #FAF8F3; --pcl-t: #1A1814; }
.lb.lb-blanc.peau-contact .lb-bot .lba:is(.off, .ko).on { color: #C8102E; }
.lb.lb-blanc.peau-contact .lb-bot .lba.ok.on { color: #2C7A4B; }
.lb.lb-blanc.peau-contact .lb-bot .lba.rt.on { color: #B7791F; }
/* dans l'aperçu téléphone de la Mise en page, le bouton Ordinateur / Téléphone est posé sur le bas de l'écran : la barre passe au-dessus */
body:has(.gsel-bar) .pc-dock { bottom: 84px; }   /* une barre de sélection ou « Valider le retrait » est en bas : les dossiers restent accessibles */
body:has(.gsel-bar) .pc-feuille { bottom: 154px; }
.device.mobile .pc-dock { bottom: 52px; }
.device.mobile .pc-feuille { bottom: 122px; }
.device.mobile .pc-pied { bottom: 124px; }
.device.mobile .pc-liste { padding-bottom: 164px; }
