/* Faire-P Digital — visuels de l'atelier. L'écran fermé est une image rendue (--open-img) : chaque pièce mobile de l'ouverture
   porte une matière de la taille de la scène et n'en montre que sa part, si bien que l'image se lit d'un seul tenant avant
   le toucher. Fermoir : sceau qui se fend ou médaillon qui s'efface, initiales en texte. Puis les décors de la couverture.
   Les séquences de base (rabats, portes, rideau, iris, moitiés) sont dans fpd-opening.css ; ce fichier les habille. */

/* ---------- Scène : une colonne de la largeur de la page ---------- */
.fpd-open--art { --open-ink: var(--closed-ink, var(--fpd-ink)); perspective: none; } /* pas de fond : la page se découvre dessous dès que la matière s'écarte */
.fpd-open--art.fpd-open--flaps { perspective: 1300px; }
.fpd-open--ink-light { --open-ink: var(--closed-ink, #fff); }
.fpd-open--art .fpd-open__names, .fpd-open--art .fpd-open__hint { text-shadow: 0 0 6px rgba(255, 255, 255, .7), 0 1px 1px rgba(255, 255, 255, .6); }
.fpd-open--art.fpd-open--ink-light .fpd-open__names, .fpd-open--art.fpd-open--ink-light .fpd-open__hint { text-shadow: 0 1px 5px rgba(0, 0, 0, .65), 0 0 1px rgba(0, 0, 0, .5); }
.fpd-stage { position: absolute; top: 0; bottom: 0; left: max(0px, calc(50% - 360px)); right: max(0px, calc(50% - 360px)); perspective: 1300px; perspective-origin: 50% 50%; }
/* Écran large : de part et d'autre de la scène (jamais devant la page), un halo flou de la même matière, qui s'éteint au toucher */
@media (min-width: 721px) {
  .fpd-open--art:not(.fpd-open--flaps)::before { content: ''; position: absolute; inset: -70px; background: var(--open-img) center / cover no-repeat; filter: blur(36px) brightness(.5) saturate(.85); opacity: 1; -webkit-mask-image: linear-gradient(to right, #000 calc(50% - 360px), transparent calc(50% - 360px), transparent calc(50% + 360px), #000 calc(50% + 360px)); mask-image: linear-gradient(to right, #000 calc(50% - 360px), transparent calc(50% - 360px), transparent calc(50% + 360px), #000 calc(50% + 360px)); }
  .fpd-open--art:not(.fpd-open--flaps).is-playing::before { animation: fpd-open-out .7s ease .2s both; }
}
@media (max-width: 720px) { .fpd-open--art::before { display: none; } }
/* La couleur de l'enveloppe tient la place de l'image le temps qu'elle se charge (pas de fusion : l'image garde ses couleurs) */
.fpd-open--art .fpd-mat, .fpd-drapeprop--art .fpd-mat { background: var(--fpd-envelope) var(--open-img) center / cover no-repeat; background-blend-mode: normal; }
.fpd-open--art .fpd-open__names, .fpd-open--art .fpd-open__hint { z-index: 9; }
.fpd-open--art .fpd-open__names { font-size: calc(var(--ou) * 17); font-weight: 600; }
/* Un voile très léger au pied de l'écran porte les prénoms et l'invite, quelle que soit la matière dessous ; il s'éteint au toucher */
.fpd-open--art::after { content: ''; position: absolute; left: max(0px, calc(50% - 360px)); right: max(0px, calc(50% - 360px)); bottom: 0; height: 27%; z-index: 8; pointer-events: none; background: linear-gradient(to top, rgba(255, 255, 255, .5), rgba(255, 255, 255, .22) 45%, transparent); transition: opacity .35s ease; }
.fpd-open--art.fpd-open--ink-light::after { background: linear-gradient(to top, rgba(0, 0, 0, .46), rgba(0, 0, 0, .2) 45%, transparent); }
.fpd-open--art.is-playing::after { opacity: 0; }

/* ---------- Enveloppe (flaps) : elle couvre toute la scène ---------- */
.fpd-open-flaps.fpd-has-art { --ex: max(0px, calc(50% - 360px)); --et: 0%; --eb: 0%; }
.fpd-open--art.fpd-open--flaps .fpd-open__names { bottom: calc(max(5.5%, var(--ou) * 30) + var(--ou) * 34); color: var(--open-ink); font-weight: 400; }
.fpd-open--art.fpd-open--flaps .fpd-open__hint { bottom: max(5.5%, calc(var(--ou) * 30)); }
.fpd-open--art.fpd-open--flaps .fpd-open__closure { --closure-y: 56.5%; }
/* Doublure de l'enveloppe : image du thème (pièce « liner ») quand l'atelier en fournit une, sinon la couleur mêlée d'accent et son treillis */
.fpd-under--liner .fpd-open__back .fpd-mat, .fpd-under--liner .fpd-open__lid--in .fpd-mat { background: var(--liner-img) center / 320px auto; }
.fpd-under--liner .fpd-open__back .fpd-mat::after, .fpd-under--liner .fpd-open__lid--in .fpd-mat::after { display: none; }

/* ---------- Portes : deux battants montrent chacun une moitié de l'image ---------- */
.fpd-open--art .fpd-open__door { overflow: hidden; width: 50.1%; filter: none; box-shadow: 0 0 22px rgba(0, 0, 0, .45); }
.fpd-open--art .fpd-open__door .fpd-mat { width: calc(100% / .501); }
.fpd-open--art .fpd-open__door--right .fpd-mat { left: auto; right: 0; }
.fpd-open--art .fpd-open__door .fpd-mat::before { display: none; }
/* Le chant du battant : un filet d'ombre fin, la jointure appartient d'abord à l'image */
.fpd-open--art .fpd-open__door::after { width: 3px; background: linear-gradient(90deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .08)); }
.fpd-open--art .fpd-open__door--left .fpd-mat::after, .fpd-open--art .fpd-open__door--right .fpd-mat::after { background: none; border: 0; }
.fpd-open--art.fpd-open--doors.is-playing .fpd-open__door--left { animation-delay: .42s; }
.fpd-open--art.fpd-open--doors.is-playing .fpd-open__door--right { animation-delay: .5s; }
.fpd-open--art.fpd-open--doors.is-playing .fpd-open__door::before { animation-delay: .5s; }
/* Lueur chaude par le jour qui s'ouvre entre les battants */
.fpd-open--art.fpd-open--doors .fpd-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 30% 64% at 50% 50%, rgba(255, 214, 150, .5), rgba(255, 190, 110, .14) 55%, transparent 74%); opacity: 0; pointer-events: none; }
.fpd-open--art.fpd-open--doors.is-playing .fpd-stage::before { animation: fpd-glow 1.7s ease .42s both; }

/* ---------- Rideau : les deux pans se froncent vers les bords et restent en scène sur la couverture ---------- */
.fpd-open--art.fpd-open--curtain { left: 0; right: 0; width: auto; transform: none; --drape-s: .2; }
.fpd-open--art .fpd-open__drape { top: 0; bottom: 0; width: 50.1%; overflow: hidden; filter: none; box-shadow: 0 0 26px rgba(0, 0, 0, .55); }
.fpd-open--art .fpd-open__drape .fpd-mat, .fpd-drapeprop--art .fpd-mat { width: calc(100% / .501); clip-path: none; animation: none !important; }
.fpd-open--art .fpd-open__drape--right .fpd-mat, .fpd-drapeprop--art.fpd-drapeprop--right .fpd-mat { left: auto; right: 0; }
.fpd-open--art .fpd-open__drape .fpd-mat::after, .fpd-open--art .fpd-open__drape::after, .fpd-drapeprop--art .fpd-mat::after, .fpd-drapeprop--art::after { display: none; }
.fpd-open--art.fpd-open--curtain.is-playing .fpd-open__drape--left { animation: fpd-drape 1.7s cubic-bezier(.6, 0, .2, 1) .5s both; }
.fpd-open--art.fpd-open--curtain.is-playing .fpd-open__drape--right { animation: fpd-drape 1.7s cubic-bezier(.6, 0, .2, 1) .58s both; }
.fpd-drapeprop--art { top: 0; bottom: auto; height: 100vh; height: 100svh; width: 50.1%; overflow: hidden; filter: none; box-shadow: 0 0 26px rgba(0, 0, 0, .55); transform: scaleX(.2); z-index: 1; }
.fpd-drapeprop--art.fpd-drapeprop--left { left: 0; transform-origin: 0 50%; }
.fpd-drapeprop--art.fpd-drapeprop--right { right: 0; transform-origin: 100% 50%; }
.fpd-cover--art:has(.fpd-drapeprop--art) .fpd-cover__content { max-width: min(72%, 520px); }
/* Lambrequin : le décor « top » d'un rideau est déjà en scène pendant l'ouverture et y reste, au-dessus des pans */
.fpd-open__pelmet, .fpd-open-curtain .fpd-cover__deco--top { opacity: 1; animation: none !important; z-index: 3; }

/* ---------- Deux moitiés (split) ---------- */
.fpd-open--art .fpd-open__half .fpd-mat { top: 0; height: calc(100% / .501); }
.fpd-open--art .fpd-open__half--bottom .fpd-mat { top: auto; bottom: 0; }
.fpd-open--art .fpd-open__half--top { box-shadow: 0 3px 12px rgba(0, 0, 0, .28); }
.fpd-open--art.fpd-open--split.is-playing .fpd-open__half { animation-delay: .5s; }

/* ---------- Feuille unique : elle se soulève (lift), tourne comme une couverture (book) ou sert d'écran à l'iris ---------- */
.fpd-open-lift { --fpd-reveal: 1.25s; }
.fpd-open-book { --fpd-reveal: 1s; }
.fpd-open__sheet { position: absolute; inset: 0; will-change: transform; box-shadow: 0 18px 38px rgba(0, 0, 0, .4); transform-origin: 0 50%; }
.fpd-open__sheet::after { content: ''; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.fpd-open--lift.is-playing .fpd-open__sheet { animation: fpd-vellum 1.45s cubic-bezier(.6, 0, .2, 1) .62s both; }
.fpd-open--book.is-playing .fpd-open__sheet { animation: fpd-book 1.75s cubic-bezier(.4, .1, .25, 1) .5s both; }
.fpd-open--book.is-playing .fpd-open__sheet::after { animation: fpd-door-shade 1.3s ease-in .55s both; }
@keyframes fpd-book { to { transform: rotateY(-108deg); } }
.fpd-open--art.fpd-open--iris .fpd-open__closure { --closure-y: 46%; }
.fpd-open--art.fpd-open--iris.is-playing .fpd-closure__face { animation: fpd-closure-zoom 1.2s cubic-bezier(.6, 0, .2, 1) .15s both; }
@keyframes fpd-closure-zoom { to { transform: scale(3.4); opacity: 0; } }

/* ---------- Ouverture filmée (intro.mp4, poster intro.webp) ----------
   Le film couvre la scène (colonne de 720 px au plus, sa largeur native : jamais agrandi au-delà sur un écran large, où le halo
   flou est tiré du poster). Les prénoms et l'invite, en HTML, s'éteignent en 0,25 s au toucher ; quand le film touche à sa fin
   (fondu vers la couleur de la page), tout l'écran fermé s'efface sur la page qui s'anime dessous (fpd-invitation.js). */
.fpd-open-video { --fpd-reveal: .1s; }
.fpd-open--video .fpd-stage { overflow: hidden; perspective: none; background: var(--fpd-bg) var(--open-img) center / cover no-repeat; }
.fpd-open__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; background: transparent; }
.fpd-open--video .fpd-open__names, .fpd-open--video .fpd-open__hint { transition: opacity .25s ease; }
.fpd-open--video .fpd-open__names { bottom: calc(max(5.5%, var(--ou) * 30) + var(--ou) * 40); }
/* L'invite comme une ligne écrite à la main, dans la police manuscrite du thème */
.fpd-open--video .fpd-open__hint { bottom: max(5.5%, calc(var(--ou) * 30)); font-family: var(--fpd-script); font-size: calc(var(--ou) * 26); font-weight: 400; line-height: 1.2; letter-spacing: 0; text-indent: 0; text-transform: none; }
/* Écran large : le halo sombre reste autour du film tant qu'il joue (il s'efface avec tout l'écran fermé, à la fin) */
.fpd-open--video.fpd-open--art.is-playing::before { animation: none; }
.fpd-open--video.is-playing::after { transition-duration: .25s; }
.fpd-open--video.is-fading { opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.fpd-open--video.is-crossfade { transition-duration: .5s; }
/* Initiales sur le sceau du film. Le sceau est dans l'image ; les initiales sont du texte posé sur son centre libre, dont
   intro.json donne le centre, le rayon et la couleur (--seal-x, --seal-y, --seal-r en pixels du film, --seal-wax).
   --u : un pixel du film mesuré à l'écran (le film couvre la scène). Quand le rabat commence à se lever, fpd-invitation.js
   leur fait suivre le sceau (--dx, --dy, --ds, --dsy), puis les floute et les efface. */
.fpd-open--video .fpd-stage { container-type: size; }
.fpd-open__mono { --u: var(--film-u, max(100cqw / 720, 100cqh / 1280)); --cw: calc(var(--seal-r) * var(--u) * 3.9); position: absolute; left: calc(50% + (var(--seal-x) - 360) * var(--u)); top: calc(50% + (var(--seal-y) - 640) * var(--u)); z-index: 2; transform: translate(-50%, -50%) translate(calc(var(--dx, 0) * var(--u)), calc(var(--dy, 0) * var(--u))) scale(var(--ds, 1), calc(var(--ds, 1) * var(--dsy, 1))); pointer-events: none; }
@supports not (width: 1cqw) { .fpd-open__mono:not(.is-fit) { visibility: hidden; } } /* ancien navigateur : la page mesure --film-u elle-même */
/* En relief dans la cire : la face des lettres a la couleur du sceau, la lumière du film vient d'en haut à gauche. Mesures en em :
   le relief garde ses proportions sur tous les écrans. Cire de couleur, puis ivoire mate, puis métal (or, argent). */
.fpd-open__mono .fpd-mono { display: block; color: color-mix(in srgb, var(--seal-wax) 93%, #fff); text-shadow: -.03em -.042em .022em rgba(255, 255, 255, .5), .044em .07em .06em color-mix(in srgb, var(--seal-wax) 36%, rgba(0, 0, 0, .85)), 0 0 .05em color-mix(in srgb, var(--seal-wax) 55%, rgba(0, 0, 0, .5)); }
.fpd-open__mono--ivory .fpd-mono { color: var(--seal-wax); text-shadow: -.03em -.042em .03em rgba(255, 255, 255, .85), .044em .07em .075em color-mix(in srgb, var(--seal-wax) 45%, rgba(70, 55, 40, .75)), 0 0 .05em color-mix(in srgb, var(--seal-wax) 70%, rgba(70, 55, 40, .4)); }
.fpd-open__mono--metal .fpd-mono { color: color-mix(in srgb, var(--seal-wax) 84%, #fff); text-shadow: -.03em -.042em .022em rgba(255, 252, 235, .8), .044em .07em .06em color-mix(in srgb, var(--seal-wax) 28%, rgba(30, 18, 0, .9)), 0 0 .05em color-mix(in srgb, var(--seal-wax) 50%, rgba(30, 18, 0, .55)); }

/* ---------- Fermoir : sceau qui se fend, ou médaillon qui s'enfonce et s'efface ---------- */
.fpd-open__closure { --cw: var(--closure-w, min(46vw, 190px)); position: absolute; left: 50%; top: var(--closure-top, var(--closure-y, 50%)); z-index: 8; width: var(--cw); aspect-ratio: 1; transform: translate(-50%, -50%); will-change: transform; }
.fpd-closure__half, .fpd-closure__face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--seal-img) center / contain no-repeat; will-change: transform; }
.fpd-closure__half--a { clip-path: polygon(-30% -30%, 56% -30%, 47% 22%, 58% 41%, 44% 58%, 55% 78%, 46% 130%, -30% 130%); }
.fpd-closure__half--b { clip-path: polygon(56% -30%, 130% -30%, 130% 130%, 46% 130%, 55% 78%, 44% 58%, 58% 41%, 47% 22%); }
.fpd-open__closure::before { content: ''; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--fpd-gold) 60%, #fff); opacity: 0; animation: fpd-halo 2.8s cubic-bezier(.2, .8, .2, 1) infinite; pointer-events: none; }
.fpd-open.is-playing .fpd-open__closure::before { animation: none; opacity: 0; }
.fpd-open:not(.is-playing) .fpd-open__closure { animation: fpd-seal-idle 3.8s ease-in-out infinite; }
.fpd-open.is-playing .fpd-open__closure { animation: fpd-seal-press .5s cubic-bezier(.2, .8, .2, 1) both; }
.fpd-open.is-playing .fpd-closure__half--a { animation: fpd-crack-a 1s cubic-bezier(.5, 0, .75, .45) .14s both; }
.fpd-open.is-playing .fpd-closure__half--b { animation: fpd-crack-b 1.05s cubic-bezier(.5, 0, .75, .45) .14s both; }
.fpd-open.is-playing .fpd-closure__face { animation: fpd-closure-out .62s ease .22s both; }
@keyframes fpd-closure-out { to { opacity: 0; transform: scale(1.16); } }
/* Initiales : gravées en relief dans la matière, dorées à chaud ou imprimées, selon le thème */
.fpd-mono { position: relative; font-family: var(--fpd-display); font-weight: 500; font-size: calc(var(--cw) * .15 * var(--mono-k, 1)); line-height: 1; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.fpd-mono small { font-size: .58em; font-style: italic; font-weight: 400; margin: 0 .16em; vertical-align: .2em; letter-spacing: 0; text-transform: none; }
/* En relief : la face de la lettre a la couleur de la matière, la lumière vient d'en haut à gauche, l'ombre tombe en bas à droite */
.fpd-mono--emboss .fpd-mono { color: color-mix(in srgb, var(--fpd-seal) 86%, #fff); text-shadow: -.7px -1px .4px rgba(255, 255, 255, .6), 1px 1.7px 1.5px color-mix(in srgb, var(--fpd-seal) 42%, rgba(0, 0, 0, .78)), 0 0 1.5px color-mix(in srgb, var(--fpd-seal) 55%, rgba(0, 0, 0, .5)); } /* ombre teintée par la matière : grise sur un papier blanc, rouge sombre sur une cire rouge */
.fpd-mono--foil .fpd-mono { color: var(--fpd-gold); background: linear-gradient(118deg, color-mix(in srgb, var(--fpd-gold) 72%, #3a2606) 0%, var(--fpd-gold) 30%, color-mix(in srgb, var(--fpd-gold) 40%, #fff) 48%, var(--fpd-gold) 66%, color-mix(in srgb, var(--fpd-gold) 70%, #3a2606) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .4)); }
.fpd-mono--ink .fpd-mono { color: color-mix(in srgb, var(--mono-ink, var(--fpd-ink)) 84%, transparent); }

/* ---------- Couverture : scène pleine page, décors ancrés en haut et en bas ---------- */
.fpd-motif-art .fpd-cover { background-color: var(--fpd-bg); }
/* Réglages par thème (fpd-themes.css) : --cover-shift décale le bloc de texte vers une zone calme de la scène peinte */
.fpd-cover--art .fpd-cover__content { top: var(--cover-shift, 0px); }
.fpd-cover__deco { position: absolute; left: 0; right: 0; pointer-events: none; background-repeat: no-repeat; background-size: 100% auto; opacity: 0; }
/* Hauteur : celle de l'image à la largeur de la page (900 × 700, page de 720 px au plus), plafonnée à 45 % de l'écran. Surtout pas
   de proportions imposées (aspect-ratio) avec un plafond de hauteur : le plafond se reporterait sur la largeur et le décor
   s'arrêterait avant le bord droit sur les écrans larges. */
.fpd-cover__deco--top { top: 0; height: min(45svh, 77.78vw, 560px); background-position: center top; -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent); mask-image: linear-gradient(to bottom, #000 74%, transparent); }
.fpd-cover__deco--bottom { bottom: 0; height: min(45svh, 77.78vw, 560px); background-position: center bottom; -webkit-mask-image: linear-gradient(to top, #000 74%, transparent); mask-image: linear-gradient(to top, #000 74%, transparent); }
.fpd-cover__deco--full { inset: 0; background-size: cover; background-position: center; }
.is-play .fpd-cover__deco--top { animation: fpd-deco-top 1.9s cubic-bezier(.2, .8, .2, 1) calc(var(--t0, 0s) + .05s) both; }
.is-play .fpd-cover__deco--bottom { animation: fpd-deco-bottom 1.9s cubic-bezier(.2, .8, .2, 1) calc(var(--t0, 0s) + .2s) both; }
.is-play .fpd-cover__deco--full { animation: fa-fade 1.4s ease both; }
.is-static .fpd-cover__deco, .fpd-open-lift .fpd-cover__deco, .fpd-open-iris .fpd-cover__deco--full { opacity: 1; animation: none; }
@keyframes fpd-deco-top { from { opacity: 0; transform: translateY(-5%) scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes fpd-deco-bottom { from { opacity: 0; transform: translateY(5%) scale(1.03); } to { opacity: 1; transform: none; } }
/* Sur une scène peinte, un voile de papier très doux porte le texte */
.fpd-cover--full .fpd-cover__content::before { content: ''; position: absolute; inset: -12% -16%; z-index: -1; background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--fpd-paper) calc(var(--cover-veil, .55) * 100%), transparent) 0%, color-mix(in srgb, var(--fpd-paper) calc(var(--cover-veil, .55) * 55%), transparent) 45%, transparent 72%); pointer-events: none; }
@media (max-height: 700px) { .fpd-cover__deco--top, .fpd-cover__deco--bottom { height: min(34svh, 77.78vw, 560px); } }
/* Séparateur peint (visuel « orn » du thème) */
.fpd-divider--art { width: min(74%, 300px); height: auto; aspect-ratio: 16 / 5; }
.fpd-divider--art img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- Save the Dates : une carte posée sur une matière, des décors à cheval sur ses bords ----------
   full = la matière (colonne de la largeur d'une page) ; top et bottom = décors de 900 × 520 centrés sur le bord haut et le bord
   bas de la carte, plus larges qu'elle de 9 % de chaque côté : leur moitié extérieure repose sur la matière, l'autre sur la carte. */
.fpd-std--art { max-width: 720px; margin: 0 auto; padding: clamp(96px, 27vw, 176px) 26px 48px; box-shadow: 0 0 90px rgba(0, 0, 0, .22); }
.fpd-std__backdrop { position: absolute; inset: 0; background: var(--fpd-bg) center / cover no-repeat; }
/* Écran large : de part et d'autre de la colonne, un halo flou et assombri de la même matière (comme l'écran fermé des invitations) */
.fpd-std__halo { display: none; }
@media (min-width: 721px) { .fpd-std__halo { display: block; position: fixed; inset: -70px; z-index: 0; background: center / cover no-repeat; filter: blur(36px) brightness(.55) saturate(.85); pointer-events: none; } }
.fpd-std--art .fpd-std__card { box-shadow: 0 1px 2px rgba(0, 0, 0, .22), 0 4px 10px rgba(0, 0, 0, .14), 0 34px 64px rgba(0, 0, 0, .32); }
.fpd-std--art .fpd-std__inner { z-index: 2; }
.fpd-std__deco { position: absolute; left: -9%; right: -9%; z-index: 1; aspect-ratio: 900 / 520; background: center / 100% 100% no-repeat; pointer-events: none; }
.fpd-std__deco--top { top: 0; transform: translateY(-50%); }
.fpd-std__deco--bottom { bottom: 0; transform: translateY(50%); }
/* La mention de pied de page se pose sous le décor du bas (il descend de 34 % de la largeur de la carte sous son bord), sur une
   petite étiquette de la couleur de la carte : elle reste lisible sur n'importe quelle matière (natte tressée, zellige…) */
.fpd-std--art .fpd-footer__credit { position: relative; z-index: 2; margin-top: calc(min(100vw - 52px, 440px) * .341 - 10px); padding: 7px 16px; border-radius: 999px; background: color-mix(in srgb, var(--fpd-paper) 88%, transparent); box-shadow: 0 2px 10px rgba(0, 0, 0, .16); opacity: .94; }
/* Bande photomaton dans son cadre : l'image du cadre (520 × 1000) porte le passe-partout, les trois photos se logent dans sa fenêtre */
.has-frame .fpd-strip { width: 214px; height: 412px; padding: 50px 47px; border: 0; background: var(--frame-img) center / 100% 100% no-repeat; box-shadow: none; gap: 7px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .42)); }
.has-frame .fpd-strip__frame { flex: 1; aspect-ratio: auto; }
/* Carte pliée : sa face porte le visuel « fold » sous les initiales et les prénoms */
.has-foldart .fpd-std__fold-face--front { background: var(--fpd-paper) var(--fold-img) center / cover no-repeat; background-blend-mode: normal; box-shadow: none; }
/* Le volet s'efface en fin de course : ouvert, il dépasserait de la colonne et laisserait une bande de papier à gauche de la carte */
.fpd-std--art .fpd-std__fold { transition: transform 1.5s cubic-bezier(.6, 0, .2, 1), opacity .25s ease; }
.fpd-std--art .fpd-std__card.is-unfolded .fpd-std__fold { opacity: 0; transition: transform 1.5s cubic-bezier(.6, 0, .2, 1), opacity .45s ease .9s; }
/* Les décors reposent sur la carte fermée ; ils s'effacent le temps que le volet tourne, puis se reposent sur la carte ouverte */
.fpd-std__card.is-folded .fpd-std__deco { z-index: 3; }
.fpd-std__card.is-unfolded .fpd-std__deco { animation: fpd-deco-lift 1.9s ease both; }
@keyframes fpd-deco-lift { 0% { opacity: 1; z-index: 3; } 11% { opacity: 0; z-index: 3; } 12% { opacity: 0; z-index: 1; } 68% { opacity: 0; z-index: 1; } 100% { opacity: 1; z-index: 1; } }

@media (prefers-reduced-motion: reduce) {
  .fpd-open__closure, .fpd-open__closure::before { animation: none !important; }
  .fpd-cover__deco { opacity: 1 !important; animation: none !important; }
  .fpd-std__card.is-unfolded .fpd-std__deco { animation-duration: .4s; }
  .fpd-std--art .fpd-std__fold, .fpd-std--art .fpd-std__card.is-unfolded .fpd-std__fold { transition: transform .2s, opacity .2s; }
}
