@font-face {
font-family: "Bodoni Moda";
font-style: normal;
font-weight: 400 900;
font-display: swap;
src: url("/fonts/bodoni-moda-latin-ext.woff2") format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Bodoni Moda";
font-style: normal;
font-weight: 400 900;
font-display: swap;
src: url("/fonts/bodoni-moda-latin.woff2") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Bodoni Moda";
font-style: italic;
font-weight: 400 900;
font-display: swap;
src: url("/fonts/bodoni-moda-italic-latin-ext.woff2") format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Bodoni Moda";
font-style: italic;
font-weight: 400 900;
font-display: swap;
src: url("/fonts/bodoni-moda-italic-latin.woff2") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: "Caprasimo";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/caprasimo-latin-ext.woff2") format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: "Caprasimo";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/caprasimo-latin.woff2") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.pfm[data-style="Champagne"] {
--pfm-fond: #f1ddcc; --pfm-encre: #35241a; --pfm-accent: #6e5020; --pfm-bas: #35241a;
--cx: 50.7; --lw: 36; --lt: 36.8; --lh: 34.6; --y-bas: 80.4; --h-bas: 13;
}
.pfm[data-style="Rétro"] {
--pfm-fond: #f5dbcf; --pfm-encre: #8f2610; --pfm-accent: #8f2610; --pfm-bas: #8f2610;
--cx: 50; --lw: 42; --lt: 36.5; --lh: 30; --y-bas: 76; --h-bas: 15;
}
.pfm[data-style="Botanique"] {
--pfm-fond: #f2dfd2; --pfm-encre: #fbf4e6; --pfm-accent: #fbf4e6; --pfm-bas: #33352a;
--cx: 53; --lw: 38; --lt: 37.5; --lh: 34; --y-bas: 78.5; --h-bas: 14;
}
.pfm[data-style="Pivoine"] {
--pfm-fond: #ecd9d3; --pfm-encre: #3d231d; --pfm-accent: #7d3434; --pfm-bas: #3d231d;
--cx: 50.2; --lw: 31; --lt: 38.4; --lh: 28.6; --y-bas: 78; --h-bas: 14.5;
}
.pfm {
--pfm-t: 1; --pfm-p: 1; --pfm-d: 1; --pfm-n: 1; --pfm-m: 1;
position: relative; overflow: hidden; background-color: var(--pfm-fond); color: var(--pfm-encre); line-height: 1.15;
}
.pfm :where(p, ul, li) { margin: 0; padding: 0; }
.pfm__scene {
position: absolute; left: 50%; top: 50%; width: 101cqw; height: calc(101cqw * 5056 / 3392); transform: translate(-50%, -50%);
}
.pfm__photo { display: block; width: 100%; height: 100%; max-width: none; }
.pfm__etiquette {
position: absolute; left: calc((var(--cx) - var(--lw) / 2) * 1%); width: calc(var(--lw) * 1%);
top: calc(var(--lt) * 1%); height: calc(var(--lh) * 1%);
display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.pfm__etiquette > * { flex: none; max-width: 100%; }
.pfm__edition, .pfm__date, .pfm__rang, .pfm__prenoms {
font-family: "Josefin Sans", system-ui, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; text-indent: .2em;
}
.pfm__edition { font-size: 1.6cqw; color: var(--pfm-accent); white-space: nowrap; margin-bottom: 2.4cqw !important; }
.pfm__nom { width: 100%; }
.pfm__nom > span { display: block; width: 100%; white-space: nowrap; }
.pfm__nom > span[hidden] { display: none; }
.pfm__nom[data-coupe] > span { white-space: normal; overflow-wrap: anywhere; }
.pfm__motif { width: 5.4cqw; height: auto; margin: 2cqw 0 1.8cqw; overflow: visible; fill: none; stroke: var(--pfm-accent); stroke-width: 3.6; stroke-linejoin: round; stroke-linecap: round; }
.pfm__motif--brin { display: none; width: 5.8cqw; stroke-width: 2.6; }
.pfm__phrase { width: 100%; line-height: 1.12; text-wrap: balance; overflow-wrap: normal; font-size: calc(3.9cqw * var(--pfm-p)); }
.pfm__phrase[hidden] { display: none; }
.pfm__phrase[data-coupe] { overflow-wrap: anywhere; }
.pfm__date { width: 100%; white-space: nowrap; font-size: calc(1.55cqw * var(--pfm-d)); letter-spacing: .14em; text-indent: .14em; }
.pfm__date::before { content: ""; display: block; width: 6cqw; height: .18cqw; margin: 2cqw auto 1.5cqw; background: var(--pfm-accent); }
.pfm__bas {
position: absolute; left: 7%; right: 7%; top: calc(var(--y-bas) * 1%); height: calc(var(--h-bas) * 1%);
display: flex; flex-direction: column; justify-content: center; gap: 3.4cqw; text-align: center; color: var(--pfm-bas);
}
.pfm__notes { display: flex; justify-content: center; align-items: stretch; list-style: none; }
.pfm__notes[hidden] { display: none; }
.pfm__notes li { flex: 0 1 28cqw; min-width: 0; display: flex; flex-direction: column; gap: .8cqw; padding: 0 1.6cqw !important; }
.pfm__notes li[hidden] { display: none; }
.pfm__notes li:not([hidden]) ~ li:not([hidden]) { border-left: .16cqw solid currentColor; }
.pfm__rang { font-size: 1.45cqw; }
.pfm__note {
display: block; width: 100%; white-space: nowrap; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic;
font-weight: 600; font-size: calc(3.5cqw * var(--pfm-n)); line-height: 1.15; font-variant-numeric: lining-nums;
}
.pfm__prenoms { width: 100%; white-space: nowrap; font-size: calc(2.9cqw * var(--pfm-m)); letter-spacing: .26em; text-indent: .26em; line-height: 1.2; }
.pfm .affiche-exemple { opacity: 1; }
.pfm[data-style="Champagne"] .pfm__nom { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: calc(10.6cqw * var(--pfm-t)); line-height: .9; }
.pfm[data-style="Champagne"] .pfm__phrase { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; }
.pfm[data-style="Rétro"] .pfm__nom { font-family: "Caprasimo", "Cooper Black", Georgia, serif; font-size: calc(9.4cqw * var(--pfm-t)); line-height: 1; }
.pfm[data-style="Rétro"] .pfm__fin { font-style: italic; }
.pfm[data-style="Rétro"] .pfm__phrase { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; font-size: calc(4.1cqw * var(--pfm-p)); }
.pfm[data-style="Rétro"] .pfm__motif--coeur { fill: var(--pfm-accent); }
.pfm[data-style="Rétro"] .pfm__edition, .pfm[data-style="Rétro"] .pfm__date, .pfm[data-style="Rétro"] .pfm__rang, .pfm[data-style="Rétro"] .pfm__prenoms { font-weight: 700; letter-spacing: .14em; text-indent: .14em; }
.pfm[data-style="Botanique"] .pfm__nom { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: calc(10.4cqw * var(--pfm-t)); line-height: .94; }
.pfm[data-style="Botanique"] .pfm__phrase { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; }
.pfm[data-style="Botanique"] .pfm__motif--coeur { display: none; }
.pfm[data-style="Botanique"] .pfm__motif--brin { display: block; }
.pfm[data-style="Pivoine"] .pfm__nom { font-family: "Bodoni Moda", "Didot", Georgia, serif; font-style: italic; font-weight: 600; font-size: calc(7.4cqw * var(--pfm-t)); line-height: 1.02; }
.pfm[data-style="Pivoine"] .pfm__edition { font-size: 1.45cqw; margin-bottom: 1.6cqw !important; }
.pfm[data-style="Pivoine"] .pfm__motif { width: 4.6cqw; margin: 1.4cqw 0 1.2cqw; }
.pfm[data-style="Pivoine"] .pfm__phrase { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: calc(3.5cqw * var(--pfm-p)); }
.pfm[data-style="Pivoine"] .pfm__date { font-size: calc(1.45cqw * var(--pfm-d)); }
.pfm[data-style="Pivoine"] .pfm__date::before { margin: 1.4cqw auto 1.1cqw; }
.affiche__champ > label, .pfm-pyramide > label { display: block; font-size: 1.3rem; margin-bottom: .3rem; }
.pfm-pyramide > input { margin-bottom: 1rem; }
.pfm-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.pfm-styles input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pfm-styles label {
display: flex; flex-direction: column; align-items: center; gap: .3rem; cursor: pointer; margin: 0;
font-size: 1.4rem; font-weight: 600; text-align: center; line-height: 1.25;
border: .15rem solid rgba(var(--color-foreground), .15); border-radius: .8rem; padding: .8rem .6rem;
}
.pfm-styles img { width: 8rem; height: 10rem; object-fit: cover; border-radius: .6rem; }
.pfm-styles label small { font-weight: 400; font-size: 1.2rem; opacity: .8; }
.pfm-styles input:checked + label { border-color: rgb(var(--color-foreground)); }
.pfm-styles input:focus-visible + label { outline: .2rem solid rgb(var(--bleu-focus)); outline-offset: .2rem; }
.pfm-idees { display: flex; flex-wrap: wrap; gap: .6rem; margin: .6rem 0; }
.pfm-idees[hidden] { display: none; }
.pfm-idees button {
min-height: 4.4rem; padding: .4rem 1.2rem; border: .1rem solid currentColor; border-radius: 99rem; background: transparent;
font: inherit; font-size: 1.3rem; cursor: pointer; text-align: left; max-width: 100%;
}
@media (max-width: 749px) {
.pfm-accords { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: .4rem; }
.pfm-accords button { flex: none; max-width: none; scroll-snap-align: start; white-space: nowrap; }
}
.pfm-pyramide { min-width: 0; }
@media (min-width: 750px) { .pfm-styles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }