/* ---------- page Portfolio ---------- */
.page-portfolio{padding-bottom:20px}
.tete-page{max-width:1240px;margin:0 auto;padding:46px clamp(16px,3vw,40px) 10px;display:flex;justify-content:center}
.titre-page{width:min(760px,100%);transform:rotate(-.6deg)}
.titre-page>.f{--img:url(../img/_r/pap-ivoire-l.webp);padding:44px clamp(26px,5vw,64px) 40px;text-align:center;display:grid;gap:12px;justify-items:center}
.titre-page h1{font-size:clamp(2.2rem,4vw,3.4rem)}
.titre-page .intro{color:var(--encre-d);max-width:46ch;text-wrap:balance}
.filtres{max-width:1100px;margin:22px auto 6px;padding:0 16px}
.filtres ul{grid-template-columns:repeat(5,minmax(0,1fr))}
.filtres a{border-radius:14px;transition:background .25s}
.filtres a b{font-size:1.4rem}
.filtres a[aria-current] b{color:var(--rose-f);background:no-repeat center bottom/100% 7px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C25 2 55 3 98 5 M6 8 C40 5 70 6 94 7' fill='none' stroke='%23e2557f' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");padding-bottom:6px}
.galerie{max-width:1240px;margin:26px auto 0;padding:0 clamp(16px,3vw,40px)}.grille-oeuvres{columns:3;column-gap:34px}.groupe+.groupe{margin-top:30px}.tete-groupe{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:0 0 26px;padding-bottom:10px;border-bottom:2px dashed rgba(58,38,51,.18)}.tete-groupe h2{margin:0;font:700 2rem/1 var(--f-main);color:var(--prune)}.tete-groupe p{margin:0;color:var(--encre-d);font-size:.95rem}.groupe.cache{display:none}.galerie.filtre .tete-groupe{display:none}
.oeuvre{position:relative;break-inside:avoid;-webkit-column-break-inside:avoid;display:inline-block;width:100%;margin:0 0 40px;padding:12px 12px 10px;background:#fffdf8;transform:rotate(var(--r));box-shadow:0 1px 2px rgba(80,50,30,.12),0 14px 24px -14px rgba(80,50,30,.4);transition:transform .35s,box-shadow .35s}
.oeuvre:hover{transform:rotate(0) translateY(-4px) scale(1.015);box-shadow:0 2px 3px rgba(80,50,30,.12),0 22px 34px -16px rgba(80,50,30,.45)}
.oeuvre .ruban{z-index:3}
.oeuvre .ouvrir{display:block;width:100%;padding:0;border:0;background:none;cursor:var(--crayon),zoom-in}
.oeuvre img{width:100%;height:auto}
.oeuvre figcaption{font:600 1.3rem/1.2 var(--f-main);color:var(--encre-d);text-align:center;padding:8px 4px 2px}
.oeuvre.cache{display:none}
.appel{max-width:820px;margin:20px auto 0;padding:0 16px}
.appel .papier{transform:rotate(.5deg)}
.appel .f{--img:url(../img/_r/pap-ivoire-l.webp);padding:44px clamp(24px,5vw,60px) 46px;text-align:center;display:grid;gap:14px;justify-items:center}
.appel h2{margin:0;font-family:var(--f-titre);font-variation-settings:"SOFT" 100,"WONK" 1;font-weight:600;font-size:clamp(1.9rem,3vw,2.5rem);line-height:1.08;color:var(--prune)}
.appel h2 em{color:var(--rose);font-weight:500}
.appel p{color:var(--encre-d);max-width:44ch;text-wrap:balance}
.appel .actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:6px}
.visionneuse{border:0;padding:0;background:transparent;max-width:none;max-height:none;width:100vw;height:100vh}
.visionneuse::backdrop{background:rgba(58,38,51,.82)}
.visionneuse[open]{display:grid;grid-template-columns:70px 1fr 70px;align-items:center}
.visionneuse figure{margin:0;justify-self:center;background:#fffdf8;padding:14px 14px 10px;max-width:min(88vw,1000px);box-shadow:0 20px 50px rgba(0,0,0,.4)}
.visionneuse img{max-height:78vh;width:auto;max-width:100%;margin:0 auto}
.visionneuse figcaption{font:600 1.5rem/1.2 var(--f-main);text-align:center;color:var(--encre);padding-top:8px}
.visionneuse button{border:0;background:#fffbf3;color:var(--prune);width:52px;height:52px;border-radius:50%;font:700 2rem/1 var(--f-texte);cursor:var(--crayon),pointer;justify-self:center}
.visionneuse .fermer{position:fixed;top:18px;right:18px}
@media (max-width:980px){.grille-oeuvres{columns:2;column-gap:22px}.filtres ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:620px){.grille-oeuvres{columns:1}.filtres ul{grid-template-columns:repeat(2,minmax(0,1fr))}.filtres li:first-child{grid-column:span 2}.filtres .ic{--s:46px}.filtres a b{font-size:1.2rem}.oeuvre{--r:0deg!important}.visionneuse[open]{grid-template-columns:44px 1fr 44px}.visionneuse button{width:40px;height:40px}}
