@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;
}
@font-face {
font-family: "Anton";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/anton-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: "Anton";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/anton-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;
}
[data-style="Crème"] {
--ec-fond: #f4e3d8; --ec-titre: #6b2a1d; --ec-boite: #6b4a3d; --ec-texte: #4a2c22;
--cx: 54.4; --cy: 44.2; --fw: 44.1; --fh: 40.8; --fa: -10.5deg; --y-ed: 14%; --y-t: 21%; --h-t: 48%; --y-date: 86.5%; --dx: 0%;
}
[data-style="Rétro"] {
--ec-fond: #f8c6c2; --ec-titre: #9c0b1d; --ec-boite: #9c0b1d; --ec-texte: #9c0b1d;
--ec-pastille: #fbbbbc;
--cx: 54.7; --cy: 47.4; --fw: 42.1; --fh: 39.2; --fa: -11.5deg; --y-ed: 20%; --y-t: 25%; --h-t: 43%; --y-date: 89.5%; --dx: 0%;
}
[data-style="Sauge"] {
--ec-fond: #eaded3; --ec-titre: #fbf5e9; --ec-boite: #fbf5e9; --ec-texte: #3c3a2c;
--cx: 55; --cy: 47.8; --fw: 43.3; --fh: 39.7; --fa: -11.5deg; --y-ed: 15%; --y-t: 22%; --h-t: 45%; --y-date: 86.5%; --dx: -1%;
}
[data-style="Moderne"] {
--ec-fond: #f5e4d9; --ec-titre: #17120f; --ec-boite: #17120f; --ec-texte: #17120f;
--cx: 55.2; --cy: 47.4; --fw: 41; --fh: 39.5; --fa: -11.5deg; --y-ed: 14%; --y-t: 17%; --h-t: 50%; --y-date: 91%; --dx: 0%;
}
.ec {
--ec-t: 1; --ec-d: 1; --ec-p: 1; --ec-n: 1;
position: relative; overflow: hidden; background-color: var(--ec-fond); color: var(--ec-texte); line-height: 1.15;
}
.ec :where(p) { margin: 0; padding: 0; }
.ec__scene {
position: absolute; left: 50%; top: 50%; width: 101cqw; height: calc(101cqw * 5056 / 3392); transform: translate(-50%, -50%);
}
.ec__photo { display: block; width: 100%; height: 100%; max-width: none; }
.ec__face {
position: absolute; left: calc((var(--cx) - var(--fw) / 2) * 1%); top: calc((var(--cy) - var(--fh) / 2) * 1%);
width: calc(var(--fw) * 1%); height: calc(var(--fh) * 1%); transform: rotate(var(--fa)); text-align: center;
}
.ec__edition, .ec__date {
position: absolute; left: calc(8% + var(--dx)); right: calc(8% - var(--dx)); transform: translateY(-50%); white-space: nowrap;
font-family: "Josefin Sans", system-ui, sans-serif; font-weight: 600; letter-spacing: .2em; text-indent: .2em; text-transform: uppercase; color: var(--ec-boite);
}
.ec__edition { top: var(--y-ed); font-size: 1.85cqw; }
.ec__date { top: var(--y-date); font-size: calc(1.8cqw * var(--ec-d)); }
.ec__zone {
position: absolute; left: calc(8% + var(--dx)); right: calc(8% - var(--dx)); top: var(--y-t); height: var(--h-t);
display: flex; flex-direction: column; justify-content: center;
}
.ec__titre { width: 100%; color: var(--ec-titre); overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }
.ec__bas {
position: absolute; left: 8%; right: 8%; top: 77%; height: 13%;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.6cqw; text-align: center;
}
.ec__phrase { width: 100%; line-height: 1.2; text-wrap: balance; }
.ec__phrase[hidden] { display: none; }
.ec__titre[data-coupe], .ec__phrase[data-coupe] { overflow-wrap: anywhere; }
.ec__prenoms {
width: 100%; white-space: nowrap; font-family: "Josefin Sans", system-ui, sans-serif; font-weight: 600;
font-size: calc(2.9cqw * var(--ec-n)); line-height: 1.2; letter-spacing: .26em; text-indent: .26em; text-transform: uppercase;
}
.ec .affiche-exemple { opacity: 1; }
.ec[data-style="Crème"] .ec__titre { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: calc(11.6cqw * var(--ec-t)); line-height: .9; }
.ec[data-style="Crème"] .ec__phrase { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: calc(5.2cqw * var(--ec-p)); }
.ec[data-style="Crème"] .ec__phrase::after, .ec[data-style="Sauge"] .ec__phrase::after { content: ""; display: block; width: 9cqw; height: .2cqw; margin: 2cqw auto 0; background: var(--ec-texte); }
.ec[data-style="Crème"] .ec__zone { left: 11%; right: 11%; }
.ec[data-style="Sauge"] .ec__zone { left: 12%; right: 13%; }
.ec[data-style="Rétro"] .ec__date {
left: 50%; right: auto; max-width: 86%; transform: translate(-50%, -50%); padding: .5cqw 1.2cqw; border-radius: 99cqw;
background: var(--ec-pastille); font-size: calc(1.6cqw * var(--ec-d));
}
.ec[data-style="Rétro"] .ec__titre { font-family: "Caprasimo", "Cooper Black", Georgia, serif; font-size: calc(8.8cqw * var(--ec-t)); line-height: .98; }
.ec[data-style="Rétro"] .ec__phrase { font-family: "Caprasimo", "Cooper Black", Georgia, serif; font-size: calc(4.4cqw * var(--ec-p)); }
.ec[data-style="Rétro"] .ec__edition, .ec[data-style="Rétro"] .ec__date, .ec[data-style="Rétro"] .ec__prenoms { font-weight: 700; letter-spacing: .12em; text-indent: .12em; }
.ec[data-style="Sauge"] .ec__titre { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: calc(11cqw * var(--ec-t)); line-height: .92; }
.ec[data-style="Sauge"] .ec__phrase { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: calc(5.2cqw * var(--ec-p)); }
.ec[data-style="Moderne"] .ec__edition { display: none; }
.ec[data-style="Moderne"] .ec__titre { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: calc(10.6cqw * var(--ec-t)); line-height: 1.12; }
.ec[data-style="Moderne"] .ec__phrase { font-family: "Inter", system-ui, sans-serif; font-weight: 600; font-size: calc(4.1cqw * var(--ec-p)); }
.ec[data-style="Moderne"] .ec__date, .ec[data-style="Moderne"] .ec__prenoms { font-family: "Inter", system-ui, sans-serif; letter-spacing: .16em; text-indent: .16em; }
.affiche__champ > label { display: block; font-size: 1.3rem; margin-bottom: .3rem; }
.ec-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.ec-styles input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ec-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;
}
.ec-styles img { width: 8rem; height: 10rem; object-fit: cover; border-radius: .6rem; }
.ec-styles label small { font-weight: 400; font-size: 1.2rem; opacity: .8; }
.ec-styles input:checked + label { border-color: rgb(var(--color-foreground)); }
.ec-styles input:focus-visible + label { outline: .2rem solid rgb(var(--bleu-focus)); outline-offset: .2rem; }
.ec-idees { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.ec-idees[hidden] { display: none; }
.ec-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 (min-width: 750px) { .ec-styles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }