/* Faire-P Digital — habillage : matières cuites (papier, lin, soie, velours), bandes profondes et leurs raccords,
   reliefs gaufrés, scènes de couverture, styles de prénoms et de boutons. Les classes fpd-surf-*, fpd-deep-*, fpd-seam-*,
   fpd-names-*, fpd-btn-* viennent du catalogue des designs (FPD_Designs::body_classes). */

/* ---------- Matières : carte d'éclairage neutre fusionnée (hard-light) avec la couleur du thème ---------- */
.fpd-surf-paper { --tile: url(../img/materials/paper.webp); }
.fpd-surf-linen { --tile: url(../img/materials/linen.webp); }
.fpd-surf-silk { --tile: url(../img/materials/silk.webp); }
.fpd-surf-velvet { --tile: url(../img/materials/velvet.webp); }
.fpd-deep-paper { --deep-tile: url(../img/materials/paper.webp); }
.fpd-deep-linen { --deep-tile: url(../img/materials/linen.webp); }
.fpd-deep-silk { --deep-tile: url(../img/materials/silk.webp); }
.fpd-deep-velvet { --deep-tile: url(../img/materials/velvet.webp); }
.fpd-mat { position: absolute; inset: 0; background-color: var(--mat, var(--fpd-envelope)); background-image: var(--mat-tile, var(--tile)); background-size: 256px 256px; background-blend-mode: var(--tile-blend, hard-light); }
.fpd-section, .fpd-cover, .fpd-std { background-color: var(--fpd-paper); background-image: var(--tile); background-size: 256px 256px; background-blend-mode: var(--tile-blend, hard-light); }
.fpd-cover, .fpd-std { background-color: var(--fpd-bg); }
/* Sur une couleur sombre, hard-light brûle les reflets de la matière : on passe à une fusion douce (fonds sombres, bandes profondes sombres). */
.fpd--dark { --tile-blend: soft-light; }
.fpd-deepdark { --deep-blend: soft-light; }

/* ---------- Bandes profondes (compte à rebours, événements, cadeaux, pied de page) ---------- */
.fpd-section--deep, .fpd-footer { background-color: var(--fpd-deep); background-image: var(--deep-tile); background-size: 256px 256px; background-blend-mode: var(--deep-blend, hard-light); color: var(--fpd-deep-ink); --sec-accent: var(--fpd-deep-ink); --sec-on: var(--fpd-deep); }
.fpd-section--deep .fpd-card { background: color-mix(in srgb, var(--fpd-deep) 85%, #fff); border-color: color-mix(in srgb, var(--fpd-gold) 62%, transparent); outline-color: color-mix(in srgb, var(--fpd-gold) 30%, transparent); }
/* Sur une bande sombre, un fond éclairci ferait une dalle grise : double filet doré, sans fond */
.fpd-deepdark .fpd-section--deep .fpd-card { background: transparent; border-color: color-mix(in srgb, var(--fpd-gold) 72%, transparent); outline-color: color-mix(in srgb, var(--fpd-gold) 36%, transparent); }
.fpd-section--deep .fpd-timeline__dot { background: var(--fpd-deep); }
.fpd-section--deep::before, .fpd-section--deep::after, .fpd-footer::before { content: ''; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.fpd-section--deep::before, .fpd-footer::before { top: -1px; }
.fpd-section--deep::after { bottom: -1px; }
.fpd-section--deep + .fpd-section--deep::before, .fpd-section--deep + .fpd-footer::before, .fpd-section--deep:has(+ .fpd-section--deep)::after, .fpd-section--deep:has(+ .fpd-footer)::after { display: none; }
/* Festons */
.fpd-seam-scallop .fpd-section--deep::before, .fpd-seam-scallop .fpd-footer::before { height: 17px; background: radial-gradient(circle at 50% 0, var(--fpd-paper) 0 15.5px, transparent 16.5px) center top / 34px 17px repeat-x; }
.fpd-seam-scallop .fpd-section--deep::after { height: 17px; background: radial-gradient(circle at 50% 100%, var(--fpd-paper) 0 15.5px, transparent 16.5px) center bottom / 34px 17px repeat-x; }
/* Arcades (orient) */
.fpd-seam-arches .fpd-section--deep::before, .fpd-seam-arches .fpd-footer::before { height: 26px; background: radial-gradient(ellipse 52% 100% at 50% 0, var(--fpd-paper) 0 97%, transparent 100%) center top / 40px 26px repeat-x; }
.fpd-seam-arches .fpd-section--deep::after { height: 26px; background: radial-gradient(ellipse 52% 100% at 50% 100%, var(--fpd-paper) 0 97%, transparent 100%) center bottom / 40px 26px repeat-x; }
/* Dentelle cuite, posée à cheval sur le raccord */
.fpd-seam-lace .fpd-section--deep { padding-top: 136px; padding-bottom: 136px; }
.fpd-seam-lace .fpd-footer { padding-top: 140px; }
.fpd-seam-lace .fpd-section--deep::before, .fpd-seam-lace .fpd-footer::before { top: -8px; height: 70px; background: url(../img/materials/lace-top.webp) center top / 149px 70px repeat-x; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .3)); }
.fpd-seam-lace .fpd-section--deep::after { bottom: -8px; height: 70px; background: url(../img/materials/lace-bottom.webp) center bottom / 149px 70px repeat-x; filter: drop-shadow(0 -4px 6px rgba(0, 0, 0, .26)); }
/* Bord déchiré */
.fpd-seam-deckle .fpd-section--deep::before, .fpd-seam-deckle .fpd-footer::before { height: 13px; background: var(--fpd-paper); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='13'%3E%3Cpath d='M0,0H150V5L143,8 136,4 128,9 121,5 113,10 105,6 97,9 90,4 82,8 75,5 67,10 59,6 51,9 44,4 36,8 29,5 21,10 13,6 6,9 0,5Z'/%3E%3C/svg%3E") repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='13'%3E%3Cpath d='M0,0H150V5L143,8 136,4 128,9 121,5 113,10 105,6 97,9 90,4 82,8 75,5 67,10 59,6 51,9 44,4 36,8 29,5 21,10 13,6 6,9 0,5Z'/%3E%3C/svg%3E") repeat-x; }
.fpd-seam-deckle .fpd-section--deep::after { height: 13px; background: var(--fpd-paper); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='13'%3E%3Cpath d='M0,13H150V8L142,5 135,9 127,4 119,8 112,3 104,7 96,4 89,9 81,5 73,8 66,3 58,7 50,4 43,9 35,5 27,8 20,3 12,7 5,4 0,8Z'/%3E%3C/svg%3E") repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='13'%3E%3Cpath d='M0,13H150V8L142,5 135,9 127,4 119,8 112,3 104,7 96,4 89,9 81,5 73,8 66,3 58,7 50,4 43,9 35,5 27,8 20,3 12,7 5,4 0,8Z'/%3E%3C/svg%3E") repeat-x; }
/* Vague */
.fpd-seam-wave .fpd-section--deep::before, .fpd-seam-wave .fpd-footer::before { height: 16px; background: var(--fpd-paper); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cpath d='M0,0H120V7Q90,18 60,7T0,7Z'/%3E%3C/svg%3E") repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cpath d='M0,0H120V7Q90,18 60,7T0,7Z'/%3E%3C/svg%3E") repeat-x; }
.fpd-seam-wave .fpd-section--deep::after { height: 16px; background: var(--fpd-paper); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cpath d='M0,16H120V9Q90,-2 60,9T0,9Z'/%3E%3C/svg%3E") repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cpath d='M0,16H120V9Q90,-2 60,9T0,9Z'/%3E%3C/svg%3E") repeat-x; }
/* Frise de carreaux */
.fpd-seam-tiles .fpd-section--deep::before, .fpd-seam-tiles .fpd-section--deep::after, .fpd-seam-tiles .fpd-footer::before { height: 36px; background: var(--seam-tile, radial-gradient(circle at 50% 50%, var(--fpd-accent2) 0 5px, transparent 6px)) center / 32px 32px repeat-x, var(--fpd-paper); border-block: 2px solid var(--fpd-accent); }
.fpd-seam-tiles .fpd-section--deep { padding-top: 112px; padding-bottom: 112px; }
.fpd-seam-tiles .fpd-footer { padding-top: 118px; }
/* Double filet doré */
.fpd-seam-rule .fpd-section--deep::before, .fpd-seam-rule .fpd-section--deep::after, .fpd-seam-rule .fpd-footer::before { left: 9%; right: 9%; height: 5px; border-block: 1px solid var(--fpd-gold); opacity: .85; }
.fpd-seam-rule .fpd-section--deep::before, .fpd-seam-rule .fpd-footer::before { top: 14px; }
.fpd-seam-rule .fpd-section--deep::after { bottom: 14px; }

/* ---------- Couverture : fonds particuliers ---------- */
.fpd-cover { --t0: var(--fpd-reveal, .8s); }
.fpd-motif-stars .fpd-cover, .fpd-motif-stars.fpd--savethedate .fpd-std { background-image: linear-gradient(180deg, var(--fpd-bg) 0%, color-mix(in srgb, var(--fpd-accent2) 32%, var(--fpd-bg)) 100%); background-size: auto; background-blend-mode: normal; }
.fpd-motif-glass .fpd-cover { background-image: linear-gradient(160deg, #f6f8fa, #dde3e9); background-size: auto; background-blend-mode: normal; }
.fpd-motif-wax .fpd-cover { background-color: var(--fpd-envelope); background-image: url(../img/materials/linen.webp); }
.fpd-motif-wax .fpd-cover::before { content: ''; position: absolute; inset: 5% 6.5%; background-color: var(--fpd-paper); background-image: url(../img/materials/paper.webp); background-size: 256px 256px; background-blend-mode: hard-light; box-shadow: 0 16px 36px rgba(60, 40, 20, .22), 0 1px 0 rgba(255, 255, 255, .6) inset; }
.fpd-motif-arch .fpd-cover__content { padding-top: min(12%, 56px); }
/* Bohème : script au pinceau, déjà gras (pas d'engraissement), un peu plus petit car il chasse large */
.fpd-motif-arch.fpd-names-script .fpd-cover__names { --nm-size: clamp(48px, 14vw, 70px); --nm-max: 8; line-height: 1.12; }
.fpd-motif-arch.fpd-names-script:not(.fpd--dark) .fpd-cover__names, .fpd-motif-arch.fpd-names-script:not(.fpd--dark) .fpd-std__names { -webkit-text-stroke: 0; }
/* Champêtre : la couronne (diamètre --wr) n'entoure que les prénoms ; l'accroche passe au-dessus, la date et la ville dessous. */
.fpd-motif-leaves .fpd-cover__core { --wr: min(84vw, 360px); display: flow-root; }
.fpd-motif-leaves.fpd-names-script .fpd-cover__names { --nm-size: clamp(50px, 15vw, 76px); --nm-max: 8; margin: calc(var(--wr) * .5 - var(--nm-size) * 1.31 + 6px) 0; }
.fpd-motif-leaves.fpd-names-script:not(.fpd--dark) .fpd-cover__names { color: color-mix(in srgb, var(--fpd-ui) 22%, var(--fpd-ink)); }
.fpd-motif-leaves .fpd-cover .fpd-eyebrow { margin-bottom: 22px; }
.fpd-motif-leaves .fpd-cover .fpd-ornament { margin-top: 24px; }
@media (max-height: 700px) { .fpd-motif-leaves .fpd-cover__core { --wr: min(70vw, 300px); } .fpd-motif-leaves.fpd-names-script .fpd-cover__names { --nm-size: clamp(44px, 12.4vw, 62px); } }
.fpd-motif-arabesque .fpd-cover__content { padding-top: 16%; max-width: 76%; }
.fpd-motif-tiles .fpd-cover__content { padding-top: 6%; }
/* Écrans courts : le texte, centré, remonte vers le décor du haut ; on le redescend sous l'arche et sous la guirlande */
@media (max-height: 700px) { .fpd-motif-tiles .fpd-cover__content { padding-top: 50px; } .fpd-motif-arch .fpd-cover__content { padding-top: 70px; } }

/* ---------- Scènes et accessoires ---------- */
.fpd-scene { position: absolute; inset: 0; pointer-events: none; }
/* Pas de z-index ici : la scène ne doit pas isoler ses enfants, sinon les reliefs (mix-blend-mode) ne se fondent plus dans le papier. */
.fpd-scene--cover { overflow: hidden; }
.fpd-scene--core { overflow: visible; z-index: 0; }
.fpd-cover__core > :not(.fpd-scene) { position: relative; z-index: 1; }
.fpd-prop { position: absolute; }
.fpd-prop > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fpd-par { transform: translate3d(0, calc(var(--fpd-scroll, 0) * var(--par, 0) * 1px), 0); will-change: transform; }
.fpd-swayprop > svg { transform-origin: var(--ox, 50%) var(--oy, 100%); animation: fa-sway 8s ease-in-out infinite alternate; --amp: 1.5deg; }
.fpd-blur { filter: blur(5px); }
.fpd-stamp { opacity: 0; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .38)); }
.is-play .fpd-stamp { animation: fpd-stamp .75s cubic-bezier(.2, .8, .2, 1) calc(var(--t0, 0s) + 1.6s) both; }
.is-static .fpd-stamp { opacity: 1; transform: rotate(-6deg); }
@keyframes fpd-stamp { 0% { opacity: 0; transform: scale(1.8) rotate(-16deg); } 55% { opacity: 1; transform: scale(.95) rotate(-6deg); } 100% { opacity: 1; transform: scale(1) rotate(-6deg); } }
/* Reliefs gaufrés et dentelle sur la couverture */
.fpd-relief { position: absolute; width: min(60%, 300px); aspect-ratio: 1; background-size: 100% 100%; mix-blend-mode: hard-light; opacity: 0; }
.fpd-relief--tl { left: 0; top: 0; background-image: url(../img/materials/relief-corner-tl.webp); }
.fpd-relief--tr { right: 0; top: 0; background-image: url(../img/materials/relief-corner-tl.webp); transform: scaleX(-1); }
.fpd-relief--bl { left: 0; bottom: 0; background-image: url(../img/materials/relief-corner-bl.webp); }
.fpd-relief--br { right: 0; bottom: 0; background-image: url(../img/materials/relief-corner-bl.webp); transform: scaleX(-1); }
.fpd-lace { position: absolute; left: 0; right: 0; height: 60px; opacity: 0; }
.fpd-lace--top { top: -7px; background: url(../img/materials/lace-top.webp) center top / 128px 60px repeat-x; filter: drop-shadow(0 4px 5px rgba(90, 70, 50, .22)); }
.fpd-lace--bottom { bottom: -7px; background: url(../img/materials/lace-bottom.webp) center bottom / 128px 60px repeat-x; filter: drop-shadow(0 -3px 5px rgba(90, 70, 50, .2)); }
.fpd-embossline { position: absolute; inset: 66px 20px; border: 1px solid rgba(120, 100, 80, .16); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .95), 1px 1px 0 rgba(255, 255, 255, .95); opacity: 0; }
.is-play .fpd-relief, .is-play .fpd-lace, .is-play .fpd-embossline, .is-play .fpd-glasspane { animation: fa-fade 1.7s ease calc(var(--t0, 0s) + .1s) both; }
.is-static .fpd-relief, .is-static .fpd-lace, .is-static .fpd-embossline, .is-static .fpd-glasspane { opacity: 1; animation: none; }
.fpd-medallion::before { content: ''; position: absolute; inset: 0; background: url(../img/materials/relief-medallion.webp) center / 100% 100%; mix-blend-mode: hard-light; }
/* Sur fond sombre le gaufrage ne se lit plus : le médaillon devient un double ovale doré. */
.fpd--dark .fpd-medallion::before { inset: 9% 7%; background: none; mix-blend-mode: normal; border: 1px solid var(--fpd-gold); border-radius: 50%; outline: 1px solid color-mix(in srgb, var(--fpd-gold) 50%, transparent); outline-offset: 7px; }
/* Plaque de verre dépoli (thème Transparent) */
.fpd-glasspane { position: absolute; inset: 12% 7%; overflow: hidden; background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .2)); -webkit-backdrop-filter: blur(7px) saturate(1.15); backdrop-filter: blur(7px) saturate(1.15); border: 1px solid rgba(255, 255, 255, .8); border-radius: 3px; box-shadow: 0 30px 60px rgba(60, 70, 90, .2), inset 0 0 0 1px rgba(255, 255, 255, .35); opacity: 0; }
.fpd-glasspane::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 2px; }
.fpd-glasspane::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-160%) skewX(-12deg); animation: fpd-glint 9s cubic-bezier(.6, 0, .2, 1) 3s infinite; }
@keyframes fpd-glint { 0% { transform: translateX(-160%) skewX(-12deg); } 22%, 100% { transform: translateX(420%) skewX(-12deg); } }

/* ---------- Prénoms : script calligraphié, capitales espacées ou grand romain ---------- */
.fpd-nm { display: block; }
.fpd-names-script .fpd-cover__names, .fpd-names-script .fpd-std__names { font-family: var(--fpd-script); line-height: 1; }
.fpd-names-script .fpd-cover__names { --nm-size: clamp(62px, 18vw, 108px); --nm-max: 11; }
.fpd-names-script .fpd-std__names { font-size: clamp(62px, 18vw, 108px); }
.fpd-names-script .fpd-cover__names .fpd-amp, .fpd-names-script .fpd-std__names .fpd-amp { font-family: var(--fpd-script); font-style: normal; font-size: .5em; line-height: 1; margin: .16em 0 .06em; color: var(--fpd-ui); -webkit-text-stroke: 0; }
.fpd-names-script:not(.fpd--dark) .fpd-cover__names, .fpd-names-script:not(.fpd--dark) .fpd-std__names { color: color-mix(in srgb, var(--fpd-ui) 46%, var(--fpd-ink)); -webkit-text-stroke: .3px currentColor; }
/* Creux de presse : un liseré clair sous l'encre, comme un texte imprimé en relief dans le papier */
body:not(.fpd--dark) .fpd-cover:not(.has-photo) .fpd-cover__names, body:not(.fpd--dark) .fpd-section:not(.fpd-section--deep) .fpd-title { text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.fpd-names-caps .fpd-cover__names, .fpd-names-caps .fpd-std__names { text-transform: uppercase; letter-spacing: .17em; text-indent: .17em; line-height: 1.14; }
.fpd-names-caps .fpd-cover__names { --nm-size: clamp(32px, 9.4vw, 60px); --nm-max: 9; }
.fpd-names-caps .fpd-std__names { font-size: clamp(32px, 9.4vw, 60px); }
.fpd-names-caps .fpd-cover__names .fpd-amp { font-size: .95em; text-transform: none; letter-spacing: 0; text-indent: 0; line-height: 1; }
.fpd-names-display .fpd-nm, .fpd-names-caps .fpd-nm { overflow: hidden; padding: .1em .14em; margin: -.1em -.14em; }
.fpd-names-display .fpd-nm > span, .fpd-names-caps .fpd-nm > span { display: block; transform: translateY(114%); }
.fpd-names-display .is-play .fpd-nm > span, .fpd-names-caps .is-play .fpd-nm > span { animation: fpd-line 1s cubic-bezier(.2, .8, .2, 1) calc(var(--t0, 0s) + var(--d, 0s)) both; }
@property --fpd-wipe { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.fpd-names-script .fpd-nm { padding: .34em .3em; margin: -.34em -.3em; -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--fpd-wipe) - 16%), transparent var(--fpd-wipe)); mask-image: linear-gradient(90deg, #000 calc(var(--fpd-wipe) - 16%), transparent var(--fpd-wipe)); }
.fpd-names-script .is-play .fpd-nm { animation: fpd-wipe .95s cubic-bezier(.3, .5, .25, 1) calc(var(--t0, 0s) + var(--d, 0s)) both; }
@keyframes fpd-line { to { transform: none; } }
@keyframes fpd-wipe { from { --fpd-wipe: 0%; } to { --fpd-wipe: 118%; } }
.fpd-std .fpd-nm, .fpd-std .fpd-nm > span, .is-static .fpd-nm, .is-static .fpd-nm > span { -webkit-mask-image: none !important; mask-image: none !important; transform: none !important; animation: none !important; }
/* Dorure animée sur les thèmes sombres */
.fpd--dark .fpd-cover__names .fpd-nm > span, .fpd--dark .fpd-cover__names.is-foil { background: linear-gradient(100deg, color-mix(in srgb, var(--fpd-gold) 88%, #000) 0%, var(--fpd-gold) 22%, color-mix(in srgb, var(--fpd-gold) 42%, #fff) 45%, var(--fpd-gold) 68%, color-mix(in srgb, var(--fpd-gold) 88%, #000) 100%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fpd--dark .is-play .fpd-cover__names .fpd-nm > span { animation: fpd-line 1.15s cubic-bezier(.2, .8, .2, 1) calc(var(--t0, 0s) + var(--d, 0s)) both, fpd-foil 9s linear infinite; }
.fpd--dark.fpd-names-script .is-play .fpd-cover__names .fpd-nm > span { animation: fpd-foil 9s linear infinite; }
@keyframes fpd-foil { to { background-position: -220% 0; } }

/* Petits textes des thèmes clairs : accroche de couverture et grands titres manuscrits tirés vers l'encre */
body:not(.fpd--dark) .fpd-cover:not(.has-photo) .fpd-eyebrow { color: color-mix(in srgb, var(--fpd-ui) 60%, var(--fpd-ink)); font-size: 11.5px; }
body:not(.fpd--dark) .fpd-section:not(.fpd-section--deep) .fpd-script { color: color-mix(in srgb, var(--fpd-ui) 50%, var(--fpd-ink)); }
/* Police d'affichage fine (Cormorant) : dates, adresses et notes en demi-gras, sinon elles s'effacent sur le papier */
.fpd-display-thin .fpd-cover__date, .fpd-display-thin .fpd-std__date, .fpd-display-thin .fpd-note, .fpd-display-thin .fpd-venue__address, .fpd-display-thin .fpd-timeline__body small, .fpd-display-thin .fpd-countdown__until, .fpd-display-thin .fpd-transport__venue, .fpd-display-thin .fpd-footer__text, .fpd-display-thin .fpd-faq__item summary, .fpd-display-thin .fpd-subtitle, .fpd-display-thin .fpd-libre__list strong, .fpd-display-thin .fpd-libre__quote-text { font-weight: 600; }
/* Motif blanc « imprimé » sur le verre : un liseré d'ombre et de lumière le fait lire comme un gaufrage */
.fpd-emboss { filter: drop-shadow(0 1px 0 rgba(84, 98, 118, .55)) drop-shadow(0 -1px 0 rgba(255, 255, 255, .9)); }
/* Thèmes dont les prénoms ne sont pas en script : le pied de page et le nom du lieu gardent l'identité de la couverture */
.fpd-names-caps .fpd-footer__names, .fpd-names-display .fpd-footer__names { font-family: var(--fpd-display); font-size: clamp(26px, 7.6vw, 38px); line-height: 1.2; }
.fpd-names-caps .fpd-footer__names { text-transform: uppercase; letter-spacing: .16em; text-indent: .16em; }
.fpd-names-caps .fpd-footer__names .fpd-amp { text-transform: none; letter-spacing: 0; }
.fpd-names-caps .fpd-script, .fpd-names-display .fpd-script { font-family: var(--fpd-display); font-size: clamp(27px, 7.8vw, 38px); line-height: 1.16; }
.fpd-names-display .fpd-script { font-style: italic; }
.fpd-names-caps .fpd-script { text-transform: uppercase; letter-spacing: .12em; font-size: clamp(21px, 6.2vw, 30px); }
/* Velours : la couverture garde son rideau (formes et plis dans fpd-opening.css, partagés avec l'ouverture) ; reflet lent sur le poil du velours */
.fpd-motif-velvet .fpd-cover__content { max-width: 72%; padding-top: 10%; }
.fpd-motif-velvet .fpd-cover::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .07) 48%, transparent 66%) 0 0 / 260% 100% no-repeat; animation: fpd-sheen 13s ease-in-out infinite alternate; }
@keyframes fpd-sheen { to { background-position: 100% 0; } }
/* Dentelle : chancelière fine aux capitales simples (lisible), un peu plus grande car elle court petit */
.fpd-motif-lace.fpd-names-script .fpd-cover__names { --nm-size: clamp(72px, 21vw, 120px); }
.fpd-motif-lace .fpd-script { font-size: clamp(50px, 15vw, 70px); }
/* Velours : italique Bodoni, accordé au cadre art déco */
.fpd-motif-velvet.fpd-names-display .fpd-cover__names, .fpd-motif-velvet.fpd-names-display .fpd-footer__names { font-style: italic; font-weight: 500; }
/* Police d'affichage sans minuscules (Cinzel) : notes, adresses et questions passent dans la police de texte */
.fpd-display-caps .fpd-note, .fpd-display-caps .fpd-countdown__until, .fpd-display-caps .fpd-transport__venue, .fpd-display-caps .fpd-timeline__body small, .fpd-display-caps .fpd-footer__text, .fpd-display-caps .fpd-venue__address, .fpd-display-caps .fpd-faq__item summary, .fpd-display-caps .fpd-field input, .fpd-display-caps .fpd-field textarea, .fpd-display-caps .fpd-libre__quote-text, .fpd-display-caps .fpd-libre__list strong { font-family: var(--fpd-body); }
.fpd-display-caps .fpd-faq__item summary { font-size: 16.5px; font-weight: 500; }

/* Orient : le zellige de la couverture se prolonge, discret, sur les bandes profondes et le pied de page */
.fpd-motif-arabesque .fpd-section--deep, .fpd-motif-arabesque .fpd-footer { background-image: var(--zel-tile, none), var(--deep-tile); background-size: 68px 68px, 256px 256px; background-blend-mode: normal, var(--deep-blend, hard-light); }
/* Save the Dates : une silhouette de carte par design (arche, bandeau de couleur, galons de dentelle) */
.fpd-design-tourtereaux .fpd-std__card { border-radius: 220px 220px 3px 3px; padding-top: 76px; }
.fpd-design-tourtereaux .fpd-std__card::before { border-radius: 210px 210px 2px 2px; }
.fpd-design-tropical .fpd-std__card { padding-top: 0; }
.fpd-design-tropical .fpd-std__card::before { top: 84px; }
.fpd-design-tropical .fpd-std__inner > .fpd-eyebrow { margin: 0 -30px 44px; padding: 28px 0 26px; background: var(--fpd-ui); color: var(--fpd-paper); }
/* Save the Date : la carte couvre le centre, les reliefs d'angle n'en laisseraient que des fragments */
.fpd--savethedate .fpd-relief, .fpd--savethedate .fpd-embossline { display: none; }
/* Minimal : le papier porte une empreinte — cuvette de presse autour de la page et grand monogramme gaufré à sec sous le bouton */
.fpd-motif-none .fpd-cover::after { content: ''; position: absolute; inset: 5.5% 6.5%; border-radius: 2px; pointer-events: none; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .1), inset 1px 0 0 rgba(0, 0, 0, .06), inset 0 -1px 0 rgba(255, 255, 255, .95), inset -1px 0 0 rgba(255, 255, 255, .8), inset 0 0 26px rgba(0, 0, 0, .025); }
/* Le monogramme gaufré prend la place du chevron, au pied du texte (masqué sur les écrans courts, où il toucherait le filet du bas) */
.fpd-motif-none .fpd-scroll-hint { width: auto; height: auto; margin: 30px auto -8px; }
.fpd-motif-none .fpd-scroll-hint::before { content: attr(data-mono); position: static; display: block; width: auto; height: auto; border: 0; transform: none; animation: none; font-family: var(--fpd-display); font-weight: 500; font-size: clamp(56px, 19vw, 108px); line-height: 1; letter-spacing: .06em; text-indent: .06em; color: transparent; text-shadow: 0 1.5px 0 rgba(255, 255, 255, .95), 0 -1px 0 rgba(0, 0, 0, .14); }
@media (max-height: 760px) { .fpd-motif-none .fpd-scroll-hint { display: none; } }
/* Minimal : capitales légères très espacées, rien d'autre */
.fpd-motif-none .fpd-cover__names { font-weight: 300; letter-spacing: .3em; text-indent: .3em; --nm-max: 8; }
.fpd-motif-none .fpd-cover__names .fpd-amp { font-weight: 300; }

/* ---------- Boutons carrés (thèmes graphiques) ---------- */
.fpd-btn-square .fpd-btn, .fpd-btn-square .fpd-choice__option, .fpd-btn-square .fpd-counter { border-radius: 0; }

@media (prefers-reduced-motion: reduce) {
  .fpd-nm, .fpd-nm > span { -webkit-mask-image: none !important; mask-image: none !important; transform: none !important; animation: none !important; }
  .fpd-relief, .fpd-lace, .fpd-embossline, .fpd-glasspane, .fpd-stamp { opacity: 1 !important; animation: none !important; }
  .fpd-glasspane::after, .fpd-swayprop > svg, .fpd-motif-velvet .fpd-cover::after { animation: none; }
  .fpd-par { transform: none; }
}
