@font-face { font-family: "Serif"; src: url("../assets/polices/SourceSerif4-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../assets/polices/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../assets/polices/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../assets/polices/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root { --ambre: #ffb454; --encre: #14181d; --nuit: #0b0d10; --texte: #ffffff; --doux: #d9dde2; --mute: #aab1ba; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--nuit); scroll-behavior: auto; }
body { background: var(--nuit); color: var(--texte); font-family: "Plex", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
[hidden] { display: none !important; }
.pt { color: var(--ambre); }
.bande-maquette { position: fixed; z-index: 60; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--ambre); color: var(--encre); font-size: 12.5px; font-weight: 600; white-space: nowrap; }

.chargement { position: fixed; inset: 0; z-index: 50; background: var(--nuit); display: grid; place-items: center; --r: 0px; -webkit-mask-image: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), transparent var(--r), #000 calc(var(--r) + 1px)); mask-image: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), transparent var(--r), #000 calc(var(--r) + 1px)); }
.chargement svg { width: min(56vw, 520px); height: auto; overflow: visible; }
.chargement .leve { transform: translateY(calc((1 - var(--q, 0)) * 40.2px)); }
.chargement .mesure { position: absolute; left: 24px; bottom: 20px; font-size: 13px; letter-spacing: .08em; color: #8f98a3; font-variant-numeric: tabular-nums; }
.deja .chargement, .sans-rideau .chargement { display: none; }

.tete { position: fixed; z-index: 46; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: 22px 44px; pointer-events: none; color: #ffffff; }
.tete > * { pointer-events: auto; }
.tete.sur-clair { color: var(--encre); }
.tete.sur-clair .mot b { color: var(--ambre); }
.menu-ouvert .tete.sur-clair { color: #ffffff; }
.mot { font-family: "Serif"; font-weight: 600; font-size: 26px; letter-spacing: -0.01em; text-decoration: none; }
.mot b, .mot-pied b { color: var(--ambre); }
.menu { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; min-width: 48px; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: .01em; cursor: pointer; }
.menu:focus-visible, .mot:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.menu i { display: inline-block; width: 22px; height: 2px; background: currentColor; box-shadow: 0 7px 0 currentColor; transform: translateY(-3px); }
.menu-plein { position: fixed; z-index: 45; inset: 0; background: var(--nuit); display: grid; align-content: center; padding: 0 8vw; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.menu-plein ul { list-style: none; display: grid; gap: 10px; }
.menu-plein a { font-family: "Serif"; font-weight: 500; font-size: clamp(36px, 6vw, 72px); text-decoration: none; letter-spacing: -0.02em; }
.menu-plein a:hover, .menu-plein a:focus-visible { color: var(--ambre); }

.ouverture { position: relative; height: 200vh; }
.colle { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
canvas.toile { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.texte-ouv { position: absolute; z-index: 4; left: 6%; top: 22%; width: 40%; }
h1 { font-family: "Serif"; font-weight: 500; letter-spacing: -0.022em; line-height: 1.02; text-wrap: balance; font-size: clamp(42px, min(6.2vw, 10vh), 92px); }
.ligne { margin-top: 18px; font-size: 19px; line-height: 1.5; max-width: 38ch; color: var(--doux); }
.actions { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.btn { display: inline-block; background: var(--ambre); color: var(--encre); border-radius: 999px; padding: 17px 28px; font-weight: 600; font-size: 17px; text-decoration: none; }
.lien { font-weight: 500; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.source { position: absolute; z-index: 4; right: 16px; bottom: 10px; font-size: 11px; color: var(--mute); max-width: 60ch; text-align: right; }
.sans-gl .toile { display: none; }
.sans-gl .ouverture .colle { background: linear-gradient(#2a2826, var(--nuit)); }

.realisations { position: relative; z-index: 1; background: transparent; }
.tete-real { padding: 18vh 7vw 8vh; max-width: 1100px; }
.tete-real h2 { font-family: "Serif"; font-weight: 500; font-size: clamp(36px, 4.6vw, 66px); letter-spacing: -0.02em; line-height: 1.05; }
.tete-real p { margin-top: 14px; color: var(--doux); font-size: 18px; max-width: 46ch; }
.real { position: relative; height: 175vh; }
.real-colle { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: 4vw; padding: 0 7vw; }
.couches { position: relative; height: 74vh; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 20px; perspective: 1900px; }
.pile { position: relative; transform-style: preserve-3d; transform: rotateY(calc(var(--mx, 0) * 7deg - 9deg * var(--u, 0))) rotateX(calc(var(--my, 0) * -5deg + 3deg * var(--u, 0))); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.couche { position: absolute; left: 0; bottom: 0; width: 80%; aspect-ratio: 16 / 10; margin: 0; transform: translate3d(calc(var(--rang) * 12% * var(--u, 0)), calc(var(--rang) * -12% * var(--u, 0)), calc(var(--rang) * -150px * var(--u, 0))); filter: brightness(calc(1 - var(--rang) * .2 * var(--u, 0))); transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .35s; }
.couche:not(.devant):hover { filter: brightness(1); }
.couche.part { animation: part .42s cubic-bezier(.3, .6, .2, 1); }
@keyframes part { 0% { translate: 0 0; } 45% { translate: -6% -10%; } 100% { translate: 0 0; } }
.ouvre-c { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; border-radius: 10px; cursor: zoom-in; }
.couche:not(.devant) .ouvre-c { cursor: pointer; }
.ouvre-c:focus-visible { outline: 3px solid var(--ambre); outline-offset: 4px; }
.couche img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px; display: block; background: #1a1d22; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85); }
.couche.marque img { object-fit: contain; background: #f3efe8; padding: 8%; }
.couche.tel img { object-fit: contain; background: #0b0d10; }
.couche figcaption { display: none; }
.feuillets { display: flex; align-items: center; gap: 14px; }
.pas { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: none; color: var(--texte); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.pas:hover, .pas:focus-visible { border-color: var(--ambre); color: var(--ambre); }
.compte { font-size: 15px; color: var(--doux); font-variant-numeric: tabular-nums; }
.compte b { color: var(--texte); font-weight: 600; }
.ouvrir-r { justify-self: start; margin-top: 6px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--ambre); background: none; color: var(--ambre); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.ouvrir-r:hover, .ouvrir-r:focus-visible { background: var(--ambre); color: var(--encre); }
.legende-real { display: grid; gap: 12px; }
.legende-real .etat { font-size: 13px; font-weight: 600; color: var(--ambre); }
.legende-real h3 { font-family: "Serif"; font-weight: 500; font-size: clamp(32px, 3.4vw, 52px); letter-spacing: -0.02em; line-height: 1.05; }
.legende-real p { color: var(--doux); font-size: 17px; line-height: 1.5; max-width: 34ch; }
.legende-real .metier { color: var(--mute); font-size: 14px; }
.legende-real .credits { color: var(--mute); font-size: 12px; line-height: 1.5; max-width: 46ch; }
.pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 7vw 60px; background: #f5f3ee; color: #545b65; border-top: 1px solid #e0dcd4; font-size: 14px; }
.mot-pied { font-family: "Serif"; font-weight: 600; font-size: 22px; color: var(--encre); }

@media (max-width: 699px) {
  .tete { padding: 12px 16px; }
  .mot { font-size: 22px; display: inline-flex; align-items: center; min-height: 44px; }
  .lien { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  .texte-ouv { left: 20px; right: 20px; width: auto; top: 84px; }
  h1 { font-size: 40px; }
  .ligne { font-size: 16.5px; margin-top: 14px; }
  .actions { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; margin-top: 22px; }
  .btn { padding: 16px 22px; font-size: 16px; }
  .ouverture canvas.toile { top: 34%; height: 66%; }
  .tete-real { padding: 12vh 20px 4vh; }
  .real { height: auto; padding: 4vh 0 8vh; }
  .real-colle { position: static; height: auto; grid-template-columns: minmax(0, 1fr); padding: 0; gap: 18px; }
  .couches { order: 2; height: auto; perspective: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 6px; scrollbar-width: none; }
  .couches::-webkit-scrollbar { display: none; }
  .pile { display: contents; transform: none; }
  .couche { position: relative; inset: auto; flex: 0 0 82vw; height: auto; transform: none; filter: none; scroll-snap-align: center; aspect-ratio: auto; }
  .couche figcaption { display: block; margin-top: 8px; font-size: 14.5px; color: var(--doux); }
  .couche img { height: auto; aspect-ratio: 4 / 3; }
  .feuillets { display: none; }
  .legende-real { order: 1; padding: 0 20px; }
  .pied { padding: 24px 20px 70px; }
  .bande-maquette { font-size: 11.5px; white-space: normal; width: max-content; max-width: calc(100% - 24px); text-align: center; bottom: 10px; }
  .source { left: 16px; right: 16px; bottom: 62px; max-width: none; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .couche { --u: 1 !important; }
  .chargement { display: none; }
}
.annonce-b { position: fixed; z-index: 70; left: 50%; bottom: 56px; transform: translate(-50%, 12px); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--encre); font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.annonce-b.vue { opacity: 1; transform: translate(-50%, 0); }
.visionneuse { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 18px 28px 22px; background: rgba(9, 10, 12, .97); color: var(--texte); }
.visionneuse[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; }
.visionneuse::backdrop { background: rgba(9, 10, 12, .6); }
.v-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.v-etat { font-size: 13px; font-weight: 600; color: var(--ambre); }
.v-tete h2 { font-family: "Serif"; font-weight: 500; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; }
.v-fermer { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: var(--texte); font-size: 28px; line-height: 1; cursor: pointer; }
.v-fermer:hover, .v-fermer:focus-visible { border-color: var(--ambre); color: var(--ambre); }
.v-scene { margin: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 10px; }
.v-scene img { width: 100%; height: 100%; min-height: 0; object-fit: contain; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.v-scene figcaption { color: var(--doux); font-size: 15px; }
.v-bas { display: flex; align-items: center; justify-content: center; gap: 18px; }
.v-compte { font-variant-numeric: tabular-nums; color: var(--doux); min-width: 4ch; text-align: center; }
.vue-ouverte { overflow: hidden; }
.fait-analyse { font-weight: 600; color: var(--encre) !important; }
@media (max-width: 699px) { .visionneuse { padding: 14px 14px 18px; } .ouvrir-r { margin-top: 2px; } }
@media (prefers-reduced-motion: reduce) { .couche, .pile { transition: none; } .couche.part { animation: none; } }
.real-js .liste-real { display: none; }
.choix-forme { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; }
.choix-forme button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--doux); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.choix-forme button[aria-pressed="true"] { background: var(--texte); color: var(--encre); font-weight: 600; }
.scene-real { padding: 0 7vw 16vh; }
.ctrl-livre { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.ctrl-livre .pas:disabled { opacity: .3; cursor: default; }
.astuce { text-align: center; margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.livre { position: relative; width: min(1180px, 100%, 74vh * 1.6); aspect-ratio: 1.6; margin: 2vh auto 0; perspective: 2600px; touch-action: pan-y; user-select: none; outline: none; }
.livre:focus-visible { outline: 2px solid var(--ambre); outline-offset: 8px; }
.dos, .fond { position: absolute; top: 0; width: 50%; height: 100%; }
.dos { left: 0; }
.fond { left: 50%; }
.feuille { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left center; transform: rotateY(var(--a, 0deg)); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .7, .2, 1); }
.recto, .verso { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.verso { transform: rotateY(180deg); }
.pg-g, .pg-d { position: absolute; inset: 0; padding: 7% 8% 9%; background-color: #efeae1; color: var(--encre); overflow: hidden; }
.pg-g { display: flex; flex-direction: column; gap: 12px; background-image: linear-gradient(to left, rgba(40, 30, 20, .22), rgba(40, 30, 20, 0) 9%); border-radius: 10px 0 0 10px; }
.pg-d { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; background-image: linear-gradient(to right, rgba(40, 30, 20, .22), rgba(40, 30, 20, 0) 9%); border-radius: 0 10px 10px 0; }
.verso .pg-g { border-radius: 10px 0 0 10px; }
.pg-g .etat { font-size: 13px; font-weight: 600; color: #9a5b12; }
.pg-g h3 { font-family: "Serif"; font-weight: 500; font-size: clamp(26px, 2.6vw, 42px); letter-spacing: -0.02em; line-height: 1.04; }
.pg-g .ligne-r { font-size: 16px; line-height: 1.5; color: #333a42; max-width: 36ch; }
.pg-g .metier { font-size: 13.5px; color: #5d646d; }
.vignettes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.vig { display: grid; gap: 5px; padding: 0; border: 0; background: none; color: #4a5059; font: inherit; font-size: 12.5px; text-align: left; cursor: zoom-in; }
.vig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 6px; background: #ddd6ca; }
.vig img.marque, .grande img.marque { object-fit: contain; background: #fff; padding: 6%; }
.vig img.tel, .grande img.tel { object-fit: contain; background: #0b0d10; }
.pg-g .ouvrir-r { color: #8a4f0c; border-color: #8a4f0c; justify-self: start; align-self: flex-start; }
.pg-g .ouvrir-r:hover, .pg-g .ouvrir-r:focus-visible { background: #8a4f0c; color: #fff; }
.pg-g .credits { font-size: 11px; color: #5d646d; }
.pg-g .credits a { color: inherit; }
.grande { display: block; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.grande img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 6px; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }
.pg-d .leg { font-size: 13px; color: #5d646d; }
.folio { position: absolute; bottom: 3.5%; font-size: 12px; color: #8b8f95; font-variant-numeric: tabular-nums; }
.pg-g .folio { left: 8%; }
.pg-d .folio { right: 8%; }
.coin { position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; background: linear-gradient(135deg, rgba(0, 0, 0, 0) 50%, #d9d2c4 50%, #f7f3ec 78%); border-radius: 0 0 10px 0; box-shadow: -2px -2px 6px rgba(0, 0, 0, .12); cursor: grab; }
.fin-livre h3 { margin-top: 4px; }
.fin-livre .btn { align-self: flex-start; margin-top: 10px; }
.fin-d { display: grid; place-items: center; text-align: center; color: #5d646d; }
.relire { border: 0; background: none; color: #8a4f0c; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 44px; }
.livre.simple { width: min(100%, 420px); aspect-ratio: .6; }
.livre.simple .dos { width: 100%; }
.livre.simple .feuille { left: 0; width: 100%; }
.livre.simple .pg-d { bottom: auto; height: 50%; padding-bottom: 4%; border-radius: 10px 10px 0 0; background-image: none; }
.livre.simple .pg-g.sous { top: 50%; padding-top: 4%; border-radius: 0 0 10px 10px; background-image: none; }
.livre.simple .pg-g.sous .vignettes { display: none; }
.livre.simple .verso { background: #e4ddd0; border-radius: 10px; }
.livre.simple .dos .pg-g { border-radius: 10px; background-image: none; }
.livre.simple .coin { display: none; }
.bande-forme, [data-forme="bande"] .scene-real { overflow: hidden; padding-left: 0; padding-right: 0; }
.bande { --w: min(44vw, 640px); position: relative; margin: 6vw -10vw 2vw; transform: rotate(-8deg); touch-action: pan-y; cursor: grab; outline: none; user-select: none; }
.bande:active { cursor: grabbing; }
.bande:focus-visible .centre .eclat { outline: 2px solid var(--ambre); outline-offset: 8px; }
.piste { display: flex; gap: 3.2vw; padding-left: calc(50% - var(--w) / 2); will-change: transform; }
.carte-b { flex: 0 0 var(--w); display: grid; gap: 14px; transform: rotate(calc(8deg * var(--e, 0))) scale(calc(.8 + .2 * var(--e, 0))); opacity: calc(.45 + .55 * var(--e, 0)); }
.eclat { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: none; cursor: pointer; }
.centre .eclat { cursor: zoom-in; }
.lame { position: absolute; inset: 0; z-index: calc(3 - var(--i)); transform: translate(calc(var(--i) * 8% * var(--e, 0)), calc(var(--i) * -10% * var(--e, 0))) scale(calc(1 - var(--i) * .04 * var(--e, 0))); }
.lame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px; background: #1a1d22; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.lame img.marque { object-fit: contain; background: #f3efe8; padding: 8%; }
.lame img.tel { object-fit: contain; background: #0b0d10; }
.cartouche { display: grid; gap: 4px; }
.cartouche .etat { font-size: 12.5px; font-weight: 600; color: var(--ambre); }
.cartouche h3 { font-family: "Serif"; font-weight: 500; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -0.02em; }
.cartouche .metier { font-size: 13.5px; color: var(--mute); }
.detail-b { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 0 7vw; margin-top: 3vw; min-height: 130px; }
.detail-b .ligne-r { font-size: 18px; color: var(--doux); max-width: 52ch; }
.detail-b .noms { font-size: 14px; color: var(--mute); }
.detail-b .ouvrir-r { justify-self: center; }
.detail-b .credits { font-size: 11.5px; color: var(--mute); max-width: 70ch; }
@media (max-width: 699px) {
  .scene-real { padding: 0 16px 10vh; }
  .bande { --w: 76vw; margin: 12vw -14vw 4vw; transform: rotate(-6deg); }
  .carte-b { transform: rotate(calc(6deg * var(--e, 0))) scale(calc(.84 + .16 * var(--e, 0))); }
  .choix-forme button { min-height: 44px; }
  .detail-b .ligne-r { font-size: 16px; }
  .pg-g .ouvrir-r { min-height: 44px; }
  .livre.simple .pg-g h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .feuille { transition: none; } }
.bande { --w: min(30vw, 470px); }
.piste { gap: 2.4vw; }
.sommaire { grid-template-rows: auto minmax(0, 1fr); }
.sommaire .etat { font-size: 13px; font-weight: 600; color: #9a5b12; }
.som { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; min-height: 0; overflow: hidden; }
.som button { display: grid; gap: 4px; width: 100%; padding: 0; border: 0; background: none; color: var(--encre); font: inherit; font-size: 13px; font-weight: 500; text-align: left; cursor: pointer; }
.som img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 6px; background: #ddd6ca; }
.som img.marque { object-fit: contain; background: #fff; }
.som button:hover span, .som button:focus-visible span { color: #8a4f0c; text-decoration: underline; }
.couv { justify-content: center; }
.couv h3 { font-size: clamp(36px, 3.8vw, 60px); }
.livre.simple .sommaire.plein { height: 100%; border-radius: 10px; }
.livre.simple .som { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 699px) { .bande { --w: 64vw; } .som button { min-height: 44px; } }
.tete { gap: 28px; }
.courriel-t { margin-left: auto; font-size: 14.5px; font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.courriel-t:hover { text-decoration: underline; text-underline-offset: 5px; }
.carte-b { transform: perspective(1400px) rotateY(calc(var(--d, 0) * -15deg)) rotate(calc(8deg * var(--e, 0))) scale(calc(.8 + .2 * var(--e, 0))) skewX(calc(var(--v, 0) * -4deg)); filter: blur(calc(var(--v, 0) * 3px)); transform-origin: 50% 50%; }
.grand-nom { font-family: "Serif"; font-weight: 500; font-size: clamp(40px, 5.6vw, 92px); letter-spacing: -0.025em; line-height: 1; }
.progres { width: min(320px, 60vw); height: 2px; background: rgba(255, 255, 255, .16); margin: 6px 0 4px; }
.progres i { display: block; height: 100%; background: var(--ambre); transition: width .4s; }
.v-suite { text-align: center; color: var(--doux); font-size: 15px; }
.v-suite a { color: var(--ambre); font-weight: 600; }
@media (max-width: 699px) {
  .courriel-t { display: none; }
  .carte-b { transform: perspective(1000px) rotateY(calc(var(--d, 0) * -12deg)) rotate(calc(6deg * var(--e, 0))) scale(calc(.84 + .16 * var(--e, 0))); filter: none; }
  .grand-nom { font-size: 38px; }
  .v-suite { font-size: 14px; }
  .v-suite a { display: inline-flex; min-height: 44px; align-items: center; }
}
.carte-b .cartouche { transition: opacity .3s; } .carte-b.centre .cartouche { opacity: 0; }
.ia { background: #121417; padding: 16vh 7vw 14vh; display: grid; justify-items: center; text-align: center; gap: 18px; }
.ia h2 { font-family: "Serif"; font-weight: 500; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.02em; line-height: 1.05; }
.holo { width: min(1000px, 100%); }
.holo { display: grid; justify-items: center; }
.holo .fixe { display: none; width: min(420px, 80%); height: auto; margin: 2vh auto; }
.holo .dit { font-size: 14px; color: var(--mute); margin-top: 6px; }
.benefices { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1000px; margin-top: 4vh; text-align: left; }
.benefices li { border-top: 1px solid #2b3036; padding-top: 14px; color: var(--doux); font-size: 16.5px; line-height: 1.5; }
.benefices strong { display: block; color: var(--texte); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.ia .claude { font-size: 14px; color: var(--mute); margin-top: 8px; }
.sans-gl .holo .fixe { display: block; }
@media (max-width: 699px) {
  .ia { padding: 12vh 16px 10vh; }
  .benefices { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
.son { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.son i { display: inline-block; width: 16px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 100% / 2px 40% no-repeat, linear-gradient(currentColor, currentColor) 5px 100% / 2px 100% no-repeat, linear-gradient(currentColor, currentColor) 10px 100% / 2px 65% no-repeat, linear-gradient(currentColor, currentColor) 15px 100% / 1px 30% no-repeat; opacity: .55; }
.son[aria-pressed="true"] i { opacity: 1; }
.son:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 699px) { .son span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .son { min-width: 48px; justify-content: center; } }
@media (max-width: 699px) { .ia { padding-bottom: calc(10vh + 64px); } }
.trois-d { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: #121417; overflow: hidden; }
.scene-3d { position: absolute; inset: 0; }
.scene-3d canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.fixe-3d { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.texte-3d { position: absolute; z-index: 2; right: 7vw; top: 20vh; width: min(30vw, 420px); }
.texte-3d h2 { font-family: "Serif"; font-weight: 500; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.02em; line-height: 1.05; }
.texte-3d p { margin-top: 14px; color: var(--doux); font-size: 17px; line-height: 1.5; }
.sans-3d .scene-3d { display: none; }
.rive-ia { position: absolute; left: 0; top: 0; width: 100%; height: 42vh; z-index: -1; pointer-events: none; }
.sans-3d .fixe-3d { display: block; }
@media (prefers-reduced-motion: reduce) { .trois-d .scene-3d canvas { cursor: default; } }
@media (max-width: 699px) {
  .trois-d { height: auto; min-height: 0; display: grid; }
  .scene-3d { position: relative; inset: auto; height: 62vh; }
  .fixe-3d { position: relative; height: 62vh; }
  .rive-ia { top: 62vh; bottom: 0; height: auto; }
  .texte-3d { position: relative; right: auto; top: auto; width: auto; padding: 24px 16px calc(8vh + 64px); }
}
.ouverture .texte-ouv, .ouverture .source { z-index: 2; }
.trois-d, .ia, .a-propos, .joindre, .pied { position: relative; z-index: 1; }
.tete { transition: transform .35s cubic-bezier(.3, .7, .2, 1), opacity .25s; }
.tete.rangee { transform: translateY(-110%); opacity: 0; }
.menu-ouvert .tete.rangee { transform: none; opacity: 1; }
.bande { transform: rotate(-17deg); margin: 13vw -24vw 10vw; }
.carte-b { transform: perspective(1400px) rotateY(calc(var(--d, 0) * -15deg)) rotate(calc(17deg * var(--e, 0))) scale(calc(.8 + .2 * var(--e, 0))) skewX(calc(var(--v, 0) * -4deg)); }
@media (max-width: 699px) {
  .bande { transform: rotate(-14deg); margin: 22vw -30vw 14vw; }
  .carte-b { transform: perspective(1000px) rotateY(calc(var(--d, 0) * -12deg)) rotate(calc(14deg * var(--e, 0))) scale(calc(.84 + .16 * var(--e, 0))); }
}
@media (prefers-reduced-motion: reduce) { .carte-b { filter: none; } }
.livre3d { width: 100%; height: min(88vh, 900px); margin: 0 auto; cursor: grab; outline: none; }
.livre3d:active { cursor: grabbing; }
.livre3d:focus-visible { outline: 2px solid var(--ambre); outline-offset: 6px; }
.livre3d canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 699px) { .livre3d { height: min(70vh, 92vw); } }
.holo-gl { display: block; width: min(900px, 100%); height: min(78vh, 760px); margin: 0 auto; touch-action: pan-y; }
.holo .fixe { display: none; }
.sans-holo .holo-gl, .sans-holo .holo .dit { display: none; }
.sans-holo .holo .fixe { display: block; }
.credit-holo { font-size: 11.5px; color: var(--mute); margin-top: 4px; }
@media (max-width: 699px) { .holo-gl { height: 62vh; } }
.visionneuse[open] { grid-template-rows: auto minmax(0, 1fr) auto; }
.v-corps { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 28px; min-height: 0; }
.v-fiche { overflow-y: auto; padding-right: 8px; color: var(--doux); font-size: 15.5px; line-height: 1.55; }
.v-fiche h3 { font-family: "Serif"; font-weight: 500; font-size: 22px; color: var(--texte); margin: 18px 0 6px; letter-spacing: -0.01em; }
.v-fiche ul { list-style: none; display: grid; gap: 10px; }
.v-fiche li { padding-left: 16px; position: relative; }
.v-fiche li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--ambre); }
.v-dl { display: grid; gap: 4px; }
.v-dl dt { font-size: 12.5px; font-weight: 600; color: var(--ambre); margin-top: 8px; }
.v-dl dd { margin: 0; color: var(--texte); }
.v-fiche .credits { font-size: 11.5px; color: var(--mute); margin-top: 14px; }
.v-fiche .credits a { color: inherit; }
.v-images { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 10px; min-height: 0; }
@media (max-width: 899px) {
  .visionneuse[open] { overflow-y: auto; display: block; }
  .v-corps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .v-fiche { overflow: visible; padding: 0; }
  .v-images { grid-template-rows: auto auto auto; }
  .v-scene img { height: auto; max-height: 60vh; }
  .v-tete { margin-bottom: 10px; }
}

.joindre { padding: 16vh 7vw; background: #f5f3ee; color: var(--encre); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 6vw; align-items: start; }
.joindre h2 { font-family: "Serif"; font-weight: 500; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 20px; }
.j-texte p { font-size: 18px; max-width: 46ch; color: #3d434b; margin-top: 12px; }
.j-texte .j-courriel a { color: var(--encre); }
.j-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; background: #fff; border: 1px solid #e0dcd4; border-radius: 18px; padding: 28px; }
.j-form .plein { grid-column: 1 / -1; }
.j-form .champ { display: grid; gap: 6px; }
.j-form label, .j-form legend { font-size: 15px; font-weight: 600; color: var(--encre); }
.j-form .fac { font-weight: 400; color: #5b626b; }
.j-form input:not([type="radio"]):not([type="checkbox"]), .j-form select, .j-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--encre); background: #fff; border: 1px solid #b9b4aa; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.j-form textarea { resize: vertical; }
.j-form :focus-visible { outline: 3px solid #d98a1c; outline-offset: 2px; }
.j-form fieldset, .j-form fieldset.champ { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.j-form fieldset legend { width: 100%; margin-bottom: 8px; }
.j-form fieldset label { flex: 0 0 auto; width: auto; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #b9b4aa; border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.j-form fieldset label:has(input:checked) { background: var(--encre); color: #fff; border-color: var(--encre); }
.j-form .case { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.4; }
.j-form .case input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--encre); }
.j-form .case a { color: var(--encre); }
.j-form [aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) { border-color: #b3261e; }
.j-form fieldset:has([aria-invalid="true"]) legend, .j-form .case:has([aria-invalid="true"]) { color: #b3261e; }
.j-form .source-autre { display: grid; gap: 6px; margin-top: 8px; }
.j-form .source-autre[hidden] { display: none; }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.j-erreur { grid-column: 1 / -1; color: #b3261e; font-weight: 600; }
.j-erreur[hidden], .j-merci[hidden] { display: none; }
.j-form .btn { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 17px; }
.j-merci { grid-column: 1 / -1; display: grid; gap: 6px; font-size: 17px; color: #3d434b; }
.j-merci-titre { font-family: "Serif"; font-size: 30px; color: var(--encre); }
.j-maquette { font-size: 14px; color: #545b65; }
.j-form.envoye > :not(.j-merci) { display: none; }
@media (max-width: 899px) {
  .joindre { grid-template-columns: minmax(0, 1fr); padding: 12vh 20px; gap: 32px; }
  .j-form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}
.a-propos { padding: 16vh 7vw 6vh; background: #f5f3ee; color: var(--encre); }
.a-propos h2 { font-family: "Serif"; font-weight: 500; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 36px; }
.ap-phrases { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; font-family: "Serif"; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; color: var(--encre); }
.ap-phrases li { max-width: 34ch; }
.ap-phrases li:nth-child(even) { margin-left: 30vw; }
.a-propos .note-maquette { margin-top: 28px; font-size: 14px; color: #545b65; }
.a-propos + .joindre { padding-top: 10vh; }
@media (max-width: 899px) { .a-propos { padding: 12vh 20px 4vh; } .ap-phrases { max-width: none; } .ap-phrases li:nth-child(even) { margin-left: 0; } }
.j-merci:focus { outline: none; }
.joindre, .a-propos { scroll-margin-top: 72px; }
.voir-site { display: inline-block; margin-top: 10px; color: var(--ambre); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sous-soleil { background: radial-gradient(circle at var(--sx, -9999px) var(--sy, -9999px), #2b1a0b var(--sr, 0px), currentColor calc(var(--sr, 0px) + 0.6px)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sous-soleil .pt { -webkit-text-fill-color: currentColor; }
.ctrl-livre.discret { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ctrl-livre.discret .pas { display: none; }
.astuce[hidden] { display: none; }
.page-b { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; overscroll-behavior: contain; background: #0a0908; color: #f3ede4; }
.page-b::backdrop { background: #0a0908; }
.pb-tete { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 5vw; background: #0a0908; color: #f3ede4; }
.pb-nom { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: "Serif"; font-size: 22px; font-weight: 500; }
.pb-court { display: none; }
.pb-fermer { flex: none; min-height: 44px; border: 0; background: none; color: #e2d9cc; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.pb-fermer:hover { color: #ffffff; }
.page-b:focus { outline: none; }
.pb-fermer:focus-visible, .page-b a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.pb-cadre { position: fixed; left: 0; top: 0; z-index: 2; overflow: hidden; pointer-events: none; background: #0a0908; will-change: transform; }
.pb-cadre video { display: block; width: 100%; height: 100%; object-fit: contain; }
.pb-reflet { position: fixed; left: 0; top: 0; z-index: 2; pointer-events: none; background: radial-gradient(75% 90% at 50% 0, rgba(150, 128, 102, .34), transparent 72%), #0a0908; will-change: transform; }
.pb-reflet canvas { display: block; width: 100%; height: 100%; filter: blur(5px) brightness(.62) saturate(1.1); -webkit-mask: linear-gradient(#000 0, rgba(0, 0, 0, .55) 40%, transparent 100%); mask: linear-gradient(#000 0, rgba(0, 0, 0, .55) 40%, transparent 100%); }
.pb-ambre .pb-reflet { background: radial-gradient(75% 90% at 50% 0, rgba(214, 140, 60, .4), transparent 72%), #0a0908; }
.pb-ambre .pb-reflet canvas { filter: blur(5px) brightness(.68) saturate(1.2) sepia(.2); }
.pb-reflet, .pb-reflet canvas { transition: background .8s, filter .8s; }
.pb-arrivee { height: 75vh; }
.pb-lecture { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 5vw; align-items: start; padding: 0 5vw 0 6vw; }
.pb-place { position: sticky; top: 13vh; justify-self: end; width: min(100%, calc(60vh * 1.6)); aspect-ratio: 16 / 10; }
.pb-arret { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; }
.pb-premier { min-height: 62vh; justify-content: flex-start; padding-top: 4vh; }
.pb-texte h1 { font-family: "Serif"; font-weight: 500; font-size: clamp(48px, 4.9vw, 80px); line-height: 1; letter-spacing: -0.025em; }
.pb-etat { margin-bottom: 12px; font-size: 15px; font-weight: 500; color: #e9a23b; }
.pb-ligne { margin-top: 22px; max-width: 32em; font-size: 19px; line-height: 1.55; color: #e2d9cc; }
.pb-phrase { font-family: "Serif"; font-size: clamp(30px, 2.9vw, 46px); line-height: 1.16; letter-spacing: -0.012em; }
.pb-forts p { font-family: "Serif"; font-size: clamp(24px, 2vw, 32px); line-height: 1.25; }
.pb-forts p + p { margin-top: 28px; }
.pb-pied { min-height: 0; padding: 0 0 8vh; font-size: 15px; color: #c9bfb2; }
.pb-texte .voir-site { color: #f2b45a; }
.pb-texte .credits { margin-top: 20px; font-size: 14px; color: #a99f92; }
.pb-texte .credits a { color: inherit; }
.pb-fin { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; padding: 0 0 6vh; }
.pb-fin h2 { font-family: "Serif"; font-weight: 500; font-size: clamp(44px, 4.4vw, 72px); line-height: 1.05; letter-spacing: -0.02em; }
.pb-fin h2 span { white-space: nowrap; }
@media (max-width: 699px) {
  .pb-tete { height: 52px; padding: 0 16px; }
  .pb-nom { font-size: 19px; }
  .pb-long { display: none; }
  .pb-court { display: inline; }
  .pb-arrivee { height: 60vh; }
  .pb-lecture { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 20px; }
  .pb-place { order: -1; position: sticky; top: 52px; justify-self: stretch; width: 100%; aspect-ratio: 16 / 10; margin-bottom: calc((100vw - 40px) * 10 / 16 * .3 + 24px); }
  .pb-arret { min-height: 52vh; padding: 4vh 0; }
  .pb-premier { min-height: 44vh; padding-top: 0; }
  .pb-texte h1 { font-size: 46px; }
  .pb-phrase { font-size: 31px; }
  .pb-ligne { font-size: 17px; }
  .pb-forts p { font-size: 24px; }
  .pb-fin { min-height: 0; padding: 6vh 0 16vh; }
  .pb-fin h2 { font-size: 42px; }
}
