/* Polices hébergées par le site (licence OFL) */
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-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: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-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: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-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: "Sacramento"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/sacramento-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sacramento"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/sacramento-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; }

/* ==========================================================================
   pvnksea — site public
   Mobile d'abord. Les couleurs et les décors viennent de themes.css.
   ========================================================================== */

:root {
    --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --sans: "Nunito", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
    --script: "Sacramento", "Segoe Script", "Brush Script MT", cursive;
    --gutter: clamp(18px, 4.6vw, 40px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow-1: 0 1px 2px rgba(var(--shadow-rgb), .06), 0 6px 18px -10px rgba(var(--shadow-rgb), .22);
    --shadow-2: 0 1px 2px rgba(var(--shadow-rgb), .1), 0 18px 36px -14px rgba(var(--shadow-rgb), .34);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    background: var(--paper);
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-x: clip;
    color: var(--ink);
    background:
        radial-gradient(54rem 36rem at -6% -4%, var(--glow-1), transparent 62%),
        radial-gradient(46rem 38rem at 106% 34rem, var(--glow-2), transparent 62%),
        var(--paper);
    background-repeat: no-repeat;
    font: 400 1rem/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

/* grain de papier, très léger */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .15  0 0 0 0 .2  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { color: var(--ink); background: var(--accent-soft); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.sr-only, .navigation-announcer {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 400;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--paper);
    background: var(--ink);
    font-weight: 800;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.navigation-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 300;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--second));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity .3s ease;
    pointer-events: none;
}
body.is-navigating .navigation-progress { opacity: 1; transform: scaleX(.85); transition: transform 6s cubic-bezier(.1, .7, .2, 1), opacity .2s ease; }
body.is-gallery-updating [data-gallery] { opacity: .55; transition: opacity .2s ease; }

.wrap {
    width: min(1180px, 100% - var(--gutter) * 2);
    margin-inline: auto;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* motif du thème, teinté par la couleur du texte */
.glyph {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    background: currentColor;
    -webkit-mask: var(--motif-1) center / contain no-repeat;
    mask: var(--motif-1) center / contain no-repeat;
}
.glyph.g2 { -webkit-mask-image: var(--motif-2); mask-image: var(--motif-2); }
.glyph.g3 { -webkit-mask-image: var(--motif-3); mask-image: var(--motif-3); }

/* ---------- Typographie ---------- */
.kicker {
    display: inline-block;
    margin: 0 0 4px 2px;
    color: var(--accent-text);
    font: 400 clamp(1.65rem, 5.4vw, 2.05rem)/1 var(--script);
    -webkit-text-stroke: .35px currentColor;
    transform: rotate(-3deg);
    transform-origin: left bottom;
}

.display {
    color: var(--ink);
    font: 600 clamp(2.9rem, 12.4vw, 6.3rem)/.9 var(--serif);
    letter-spacing: -.022em;
    text-wrap: balance;
}
.display em, .title em {
    color: var(--accent-text);
    font-style: italic;
    font-weight: 500;
}

.title {
    color: var(--ink);
    font: 600 clamp(2.15rem, 7.4vw, 3.4rem)/1 var(--serif);
    letter-spacing: -.015em;
    text-wrap: balance;
}

.lede {
    max-width: 34em;
    color: var(--ink-2);
    font-size: clamp(1rem, 2.6vw, 1.08rem);
}
.lede p + p { margin-top: .45em; }

.link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    color: var(--accent-text);
    font-weight: 800;
    font-size: .92rem;
    text-decoration: underline;
    text-decoration-color: var(--accent-soft);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: text-decoration-color .2s ease;
}
.link .icon { transition: transform .25s var(--ease); }
@media (hover: hover) {
    .link:hover { text-decoration-color: currentColor; }
    .link:hover .icon:last-child { transform: translateX(3px); }
}

/* ---------- Boutons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 800 .92rem/1.2 var(--sans);
    letter-spacing: .01em;
    text-align: center;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon { transition: transform .25s var(--ease); }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn-primary {
    color: var(--accent-ink);
    background: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 -2px 0 rgba(0, 0, 0, .08), 0 12px 22px -12px var(--accent);
}
.btn-ghost {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line-2);
    box-shadow: inset 0 -2px 0 rgba(var(--shadow-rgb), .04), 0 4px 12px -8px rgba(var(--shadow-rgb), .3);
}
.btn-danger {
    color: #fff;
    background: var(--danger);
}
[data-theme="halloween"] .btn-danger { color: #2a1222; }

/* bouton « voir plus » : libellé + pastille fléchée */
.btn-more {
    min-height: 56px;
    padding: 7px 8px 7px 26px;
    gap: 16px;
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line-2);
    font-size: .95rem;
    box-shadow: var(--shadow-1);
}
.btn-badge {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--accent-ink);
    background: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26);
    transition: transform .35s var(--ease);
}
.btn-badge .icon { width: 18px; height: 18px; }

@media (hover: hover) {
    .btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 -2px 0 rgba(0, 0, 0, .08), 0 18px 28px -14px var(--accent); }
    .btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); background: var(--accent-wash); }
    .btn:hover .icon-go { transform: translateX(3px); }
    .btn-more:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-2); }
    .btn-more:hover .btn-badge { transform: translateY(3px); }
}

.more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
    margin-top: 40px;
}
.more::before, .more::after {
    content: "";
    flex: 1;
    min-width: 12px;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-2));
}
.more::after { background: linear-gradient(270deg, transparent, var(--line-2)); }

/* ---------- Ornement de séparation ---------- */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--accent);
}
.ornament::before, .ornament::after {
    content: "";
    flex: 1;
    max-width: 240px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-2));
}
.ornament::after { background: linear-gradient(270deg, transparent, var(--line-2)); }
.ornament .glyph { font-size: 24px; opacity: .85; }
.ornament .glyph.g2 { font-size: 13px; opacity: .5; }

/* ==========================================================================
   Décor de saison (toujours derrière le contenu)
   ========================================================================== */
.sky {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: var(--sky);
    background-size: 220px 220px;
}
.drift {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.drift i {
    position: absolute;
    top: 0;
    left: var(--x);
    width: calc(var(--s) * var(--drift-scale));
    height: calc(var(--s) * var(--drift-scale));
    opacity: var(--drift-alpha);
    background: var(--drift-1);
    -webkit-mask: var(--motif-2) center / contain no-repeat;
    mask: var(--motif-2) center / contain no-repeat;
    animation: var(--drift-name) var(--d) linear var(--t) infinite;
    will-change: transform;
}
.drift i:nth-child(3n) { background: var(--drift-2); -webkit-mask-image: var(--motif-3); mask-image: var(--motif-3); }
.drift i:nth-child(4n) { background: var(--drift-3); -webkit-mask-image: var(--motif-1); mask-image: var(--motif-1); }
.drift i:nth-child(1) { --x: 4%;  --y: 18%; --s: 18px; --d: 26s; --t: -3s;  --sway: 9vw;  --spin: 220deg; }
.drift i:nth-child(2) { --x: 17%; --y: 62%; --s: 13px; --d: 34s; --t: -19s; --sway: -6vw; --spin: -180deg; }
.drift i:nth-child(3) { --x: 31%; --y: 8%;  --s: 16px; --d: 30s; --t: -11s; --sway: 7vw;  --spin: 260deg; }
.drift i:nth-child(4) { --x: 47%; --y: 78%; --s: 20px; --d: 38s; --t: -27s; --sway: -8vw; --spin: 140deg; }
.drift i:nth-child(5) { --x: 63%; --y: 30%; --s: 12px; --d: 28s; --t: -7s;  --sway: 5vw;  --spin: -240deg; }
.drift i:nth-child(6) { --x: 76%; --y: 52%; --s: 17px; --d: 33s; --t: -23s; --sway: -9vw; --spin: 200deg; }
.drift i:nth-child(7) { --x: 88%; --y: 14%; --s: 14px; --d: 29s; --t: -15s; --sway: -5vw; --spin: -160deg; }
.drift i:nth-child(8) { --x: 95%; --y: 70%; --s: 19px; --d: 36s; --t: -31s; --sway: -11vw; --spin: 280deg; }
.drift i:nth-child(9) { --x: 56%; --y: 92%; --s: 13px; --d: 31s; --t: -2s;  --sway: 6vw;  --spin: -200deg; }
.drift i:nth-child(10) { --x: 24%; --y: 40%; --s: 15px; --d: 40s; --t: -35s; --sway: 8vw; --spin: 180deg; }
.drift i:nth-child(11) { --x: 39%; --y: 55%; --s: 17px; --d: 35s; --t: -21s; --sway: -7vw; --spin: -220deg; }
.drift i:nth-child(12) { --x: 70%; --y: 84%; --s: 15px; --d: 32s; --t: -9s; --sway: 9vw; --spin: 240deg; }
@media (max-width: 759px) { .drift i:nth-child(2n) { display: none; } }

/* thèmes « en suspension » : les motifs restent en place et se balancent */
[data-theme="halloween"] .drift i,
[data-theme="easter"] .drift i,
[data-theme="summer"] .drift i { top: var(--y); animation-duration: calc(var(--d) / 3); animation-timing-function: ease-in-out; }

@keyframes drift-fall {
    from { transform: translate3d(0, -8vh, 0) rotate(0); }
    to   { transform: translate3d(var(--sway), 108vh, 0) rotate(var(--spin)); }
}
@keyframes drift-rise {
    from { transform: translate3d(0, 108vh, 0) rotate(-12deg); }
    50%  { transform: translate3d(var(--sway), 50vh, 0) rotate(12deg); }
    to   { transform: translate3d(0, -8vh, 0) rotate(-12deg); }
}
@keyframes drift-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-9deg); }
    50%      { transform: translate3d(calc(var(--sway) / 4), -18px, 0) rotate(9deg); }
}
html[data-page-hidden] .drift i { animation-play-state: paused; }

.site-page { position: relative; }
.strip, .masthead, main, .foot { position: relative; z-index: 1; }

/* ==========================================================================
   Bandeau d'état (commissions + langue)
   ========================================================================== */
.strip {
    color: var(--strip-ink);
    background: var(--strip-bg);
    font-size: .8rem;
    line-height: 1.3;
}
.strip-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
}
.strip-status {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 40px;
    margin: 0;
}
.strip-status strong { font-weight: 800; }
.strip-text { display: none; color: var(--strip-dim); }
.strip-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--strip-link);
    font-weight: 800;
}
.strip-cta span { display: none; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.strip-cta .icon { transition: transform .25s var(--ease); }
@media (hover: hover) { .strip-status:hover .strip-cta .icon { transform: translate(2px, -2px); } }
.pulse {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--strip-dot);
}
.pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--strip-dot);
    opacity: 0;
    animation: pulse 2.6s ease-out infinite;
}
.is-closed .pulse { background: var(--strip-dim); }
.is-closed .pulse::after { display: none; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

.lang {
    display: flex;
    flex: none;
    align-items: center;
    margin: 0;
    font-weight: 800;
    letter-spacing: .06em;
}
.lang button {
    min-width: 34px;
    min-height: 40px;
    padding: 0 6px;
    border: 0;
    color: var(--strip-dim);
    background: none;
    transition: color .2s ease;
}
.lang button:hover { color: var(--strip-ink); }
.lang button[aria-pressed="true"] {
    color: var(--strip-ink);
    text-decoration: underline;
    text-decoration-color: var(--strip-link);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.lang i { width: 1px; height: 12px; background: currentColor; opacity: .3; }

@media (max-width: 359px) { .strip { font-size: .76rem; } }
@media (min-width: 600px) {
    .strip { font-size: .84rem; }
    .strip-cta { margin-left: 6px; }
    .strip-cta span { display: inline; }
}
@media (min-width: 1000px) { .strip-text { display: inline; } }

/* ==========================================================================
   En-tête
   ========================================================================== */
.masthead {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
}
.masthead::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--rule-h);
    background: var(--rule);
}
.masthead-in {
    display: grid;
    align-items: center;
    min-height: 58px;
}
.wordmark, .handle { display: none; }

.nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 2px;
}
.nav-link {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 0 2px;
    border: 0;
    color: var(--ink-2);
    background: none;
    font: 800 .84rem/1 var(--sans);
    letter-spacing: .02em;
    transition: color .2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent);
    -webkit-mask: var(--motif-1) center / contain no-repeat;
    mask: var(--motif-1) center / contain no-repeat;
    opacity: 0;
    transform: translate(-50%, 5px) scale(.6);
    transition: opacity .25s ease, transform .3s var(--ease);
}
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (hover: hover) { .nav-link:hover { color: var(--accent-text); } }

.medallion {
    position: relative;
    z-index: 2;
    display: block;
    width: 66px;
    height: 66px;
    margin: 6px 8px -20px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 0 0 0 1px var(--line-2), 0 10px 22px -10px rgba(var(--shadow-rgb), .5);
    transition: transform .35s var(--ease);
}
.medallion img {
    width: 100%;
    height: 100%;
    padding: 4px;
    border-radius: 50%;
    object-fit: cover;
}
.medallion::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 0 0 0 1px var(--line-2);
}
.medallion .glyph {
    position: absolute;
    right: -1px;
    bottom: 3px;
    z-index: 1;
    width: 16px;
    height: 16px;
    color: var(--accent);
}
/* coiffe de saison posée sur le médaillon (bonnet, chapeau, oreilles…) */
.medallion-topper {
    position: absolute;
    top: var(--topper-y);
    left: var(--topper-x);
    z-index: 3;
    width: var(--topper-size);
    aspect-ratio: 1;
    background: var(--topper) center / contain no-repeat;
    rotate: var(--topper-rot);
    filter: drop-shadow(0 2px 3px rgba(var(--shadow-rgb), .28));
    pointer-events: none;
}
@media (hover: hover) { .medallion:hover { transform: rotate(-4deg) scale(1.03); } }

/* guirlande de saison, accrochée sous l'en-tête */
.garland {
    position: relative;
    z-index: 2;
    height: var(--garland-h);
    margin-bottom: calc(var(--garland-h) * -1);
    background: var(--garland) center top / calc(var(--garland-h) * 2.727) var(--garland-h) repeat-x;
    pointer-events: none;
    transition: opacity .35s ease, translate .35s var(--ease);
}
/* dès qu'on fait défiler, la guirlande s'efface pour ne pas passer devant le contenu */
.masthead.is-compact .garland { opacity: 0; translate: 0 -10px; }
@media (max-width: 599px) { .garland { background-size: 96px 35.2px; } }

@media (max-width: 359px) {
    .nav { margin-inline: -8px; gap: 0; }
    .nav-link { font-size: .78rem; letter-spacing: 0; }
    .medallion { width: 58px; height: 58px; margin: 6px 4px -16px; }
}
@media (min-width: 420px) {
    .nav-link { font-size: .9rem; }
    .medallion { margin-inline: 14px; }
}
@media (min-width: 980px) {
    .masthead-in { grid-template-columns: 1fr auto 1fr; min-height: 72px; }
    .wordmark {
        display: block;
        justify-self: start;
        color: var(--ink);
        font: italic 600 1.62rem/1 var(--serif);
        letter-spacing: -.01em;
    }
    .handle {
        display: inline-flex;
        justify-self: end;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        color: var(--ink-2);
        font-weight: 800;
        font-size: .86rem;
        transition: color .2s ease;
    }
    .handle:hover { color: var(--accent-text); }
    .nav { width: 560px; gap: 6px; }
    .nav-link { min-height: 72px; font-size: .93rem; }
    .nav-link::after { bottom: 12px; }
    .medallion { width: 96px; height: 96px; margin: 8px 22px -32px; }
    .medallion img { padding: 5px; }
    .medallion::after { right: -2px; bottom: 2px; width: 30px; height: 30px; }
    .medallion .glyph { right: 4px; bottom: 8px; width: 18px; height: 18px; }
}

main { min-height: 50vh; }
main:focus { outline: none; }

html[data-reveal-ready] [data-reveal] { opacity: 0; translate: 0 16px; transition: opacity .7s ease, translate .7s var(--ease); }
html[data-reveal-ready] [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* ==========================================================================
   Accueil — ouverture
   ========================================================================== */
/* Sur mobile : titre, puis les créations, puis le texte. Sur ordinateur : texte à gauche, créations à droite. */
.hero {
    display: grid;
    grid-template-areas: "head" "art" "body";
    gap: 26px;
    padding-block: calc(40px + var(--garland-h) * .5) 30px;
}
.hero.is-plain { grid-template-areas: "head" "body"; }
.hero-head { grid-area: head; }
.hero-body { grid-area: body; }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-top: 24px;
}
.hero-actions .btn { flex: 1 1 100%; }
.hero-actions .link { margin-left: 4px; }
@media (min-width: 480px) { .hero-actions .btn { flex: 0 1 auto; } }

.hero-art {
    grid-area: art;
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1 / .92;
    margin: 18px auto 8px;
}
/* grande forme du thème derrière les créations (halo, cœur, lune, soleil…) */
.hero-shape {
    position: absolute;
    inset: -3% 1% 3%;
    background: var(--hero-shape-bg);
    opacity: var(--hero-shape-alpha);
    -webkit-mask: var(--hero-shape) center / contain no-repeat;
    mask: var(--hero-shape) center / contain no-repeat;
}
.branch {
    position: absolute;
    inset: -6% -5% auto auto;
    width: 108%;
    height: auto;
    overflow: visible;
    color: var(--branch);
}
.bloom {
    position: absolute;
    width: var(--w);
    aspect-ratio: 1;
    color: var(--bloom);
    background: currentColor;
    -webkit-mask: var(--motif-1) center / contain no-repeat;
    mask: var(--motif-1) center / contain no-repeat;
    translate: -50% -50%;
    rotate: var(--rot, 0deg);
    filter: drop-shadow(0 2px 3px rgba(var(--shadow-rgb), .18));
}
.bloom.deep { color: var(--bloom-deep); }
.bloom.bud { -webkit-mask-image: var(--motif-2); mask-image: var(--motif-2); }
.b1 { left: 2.8%; top: 9.1%; --w: 9.5%; --rot: -12deg; }
.b2 { left: 18.2%; top: 7.8%; --w: 7.5%; --rot: 20deg; }
.b3 { left: 22.5%; top: 2.6%; --w: 4.4%; --rot: -30deg; }
.b4 { left: 32%; top: 10.6%; --w: 4%; --rot: 160deg; }
.b5 { left: 63.4%; top: -7.7%; --w: 7%; --rot: 10deg; }
.b6 { left: 72.6%; top: -1%; --w: 10%; --rot: -18deg; }
.b7 { left: 85%; top: 10.8%; --w: 8%; --rot: 30deg; z-index: 4; }
.b8 { left: 97.5%; top: -.5%; --w: 6.5%; --rot: 6deg; }
.b9 { left: 8%; top: 37%; --w: 3.4%; --rot: 48deg; }
.b10 { left: 96%; top: 42%; --w: 3.8%; --rot: -34deg; }
.b11 { left: 53%; top: 99%; --w: 3.2%; --rot: 120deg; }

.print {
    position: absolute;
    display: block;
    padding: clamp(4px, 1.3vw, 8px);
    border: 0;
    border-radius: 5px;
    background: var(--mat);
    box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .14), 0 18px 34px -14px rgba(var(--shadow-rgb), .42);
    cursor: zoom-in;
    transition: rotate .5s var(--ease), translate .5s var(--ease), box-shadow .4s ease;
}
.print img { width: 100%; aspect-ratio: 1; border-radius: 2px; object-fit: cover; }
.print-1 { z-index: 2; top: 7%; left: 23%; width: 57%; rotate: 2deg; }
.print-2 { z-index: 3; top: 45%; left: 0; width: 40%; rotate: -6deg; }
.print-3 { z-index: 3; top: 51%; right: 0; width: 35%; rotate: 5deg; }
.has-1 .print-1 { top: 10%; left: 18%; width: 64%; }
.has-2 .print-1 { left: 30%; }
.print::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -10px;
    left: 50%;
    width: 34%;
    max-width: 82px;
    height: 20px;
    translate: -50% 0;
    rotate: -4deg;
    opacity: .92;
    background:
        repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 255, 255, .4) 6px 8px),
        var(--accent-soft);
    clip-path: polygon(0 0, 3% 25%, 0 50%, 3% 75%, 0 100%, 100% 100%, 97% 75%, 100% 50%, 97% 25%, 100% 0);
}
.print-2::before { left: 22%; rotate: -32deg; top: -6px; }
.print-3::before { left: 76%; rotate: 28deg; top: -6px; background-color: color-mix(in srgb, var(--second) 45%, var(--paper)); }
@media (hover: hover) {
    .print:hover { z-index: 5; rotate: 0deg; translate: 0 -6px; box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .14), 0 30px 44px -18px rgba(var(--shadow-rgb), .5); }
}

.signature {
    position: absolute;
    right: 36%;
    bottom: -3%;
    z-index: 4;
    color: var(--accent-text);
    font: 400 clamp(1.6rem, 6vw, 2.3rem)/1 var(--script);
    -webkit-text-stroke: .3px currentColor;
    rotate: -6deg;
    white-space: nowrap;
}
.has-1 .signature, .has-2 .signature { right: 8%; bottom: -4%; }

@media (min-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
        grid-template-areas: "head art" "body art";
        gap: 26px clamp(36px, 5vw, 72px);
        padding-block: calc(84px + var(--garland-h) * .4) 60px;
    }
    .hero.is-plain { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
    .hero-head { align-self: end; }
    .hero-head .display { font-size: clamp(3.7rem, 6.5vw, 6.3rem); }
    .hero-body { align-self: start; }
    .hero-actions { margin-top: 32px; }
    .hero-art { align-self: center; margin: 0 0 0 auto; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(40px, 7vw, 76px); }
.section-tight { padding-top: clamp(22px, 4vw, 40px); }

.head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 28px;
    margin-bottom: clamp(20px, 3.4vw, 32px);
}
.head-sub { margin-top: 10px; color: var(--ink-2); max-width: 32em; }
.head-count {
    padding-bottom: 6px;
    color: var(--ink-3);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.empty {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: clamp(36px, 7vw, 64px) 20px;
    border: 1px dashed var(--line-2);
    border-radius: 22px;
    text-align: center;
}
.empty .glyph { color: var(--accent); font-size: 34px; opacity: .8; }
.empty p { max-width: 26em; color: var(--ink-2); font: italic 500 clamp(1.25rem, 3vw, 1.55rem)/1.3 var(--serif); }
.empty-note { color: var(--ink-2); }

.notice {
    display: flex;
    gap: 10px;
    margin: 0 0 18px;
    padding: 12px 16px;
    border-radius: 14px;
    color: var(--ink);
    background: var(--accent-wash);
    font-size: .92rem;
    font-weight: 600;
}
.notice .icon { margin-top: 3px; color: var(--accent-text); }

/* ---------- Avis : « vos petits mots » ---------- */
.notes {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 12px var(--gutter) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}
.notes::-webkit-scrollbar { display: none; }
.notes.is-expanded { flex-direction: column; margin: 0; padding: 8px 0 0; overflow: visible; }
.note {
    position: relative;
    display: flex;
    flex: 0 0 min(84%, 340px);
    flex-direction: column;
    gap: 16px;
    padding: 44px 22px 18px;
    border: 1px solid var(--line);
    border-radius: 20px 20px 20px 5px;
    background: var(--surface);
    box-shadow: var(--shadow-1);
    scroll-snap-align: start;
}
.notes.is-expanded .note { flex: none; }
.note::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 18px;
    height: 30px;
    color: var(--accent-soft);
    font: 700 4rem/1 var(--serif);
}
.note blockquote {
    position: relative;
    flex: 1;
    color: var(--ink);
    font: italic 500 1.26rem/1.36 var(--serif);
    overflow-wrap: anywhere;
}
.note footer {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 13px;
    border-top: 1px dashed var(--line-2);
    font-size: .8rem;
}
.note footer .glyph { color: var(--accent); font-size: 14px; }
.note footer strong { font-weight: 800; overflow-wrap: anywhere; }
.note footer time { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (min-width: 760px) {
    .notes, .notes.is-expanded {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        margin: 0;
        padding: 8px 0 0;
        overflow: visible;
    }
    .note { padding: 48px 26px 20px; transition: rotate .4s var(--ease), translate .4s var(--ease), box-shadow .3s ease; }
    .note::before { left: 22px; }
    .note:nth-child(3n+1) { rotate: -1.1deg; }
    .note:nth-child(3n+2) { rotate: .7deg; translate: 0 8px; }
    .note:nth-child(3n) { rotate: -.5deg; }
    .note:hover { rotate: 0deg; translate: 0 -3px; box-shadow: var(--shadow-2); }
}

.review-inline { max-width: 560px; margin: 34px auto 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-1); }

/* ---------- Galerie : filtres ---------- */
.filters {
    margin-inline: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 34px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 34px), transparent);
}
.filters::-webkit-scrollbar { display: none; }
.filters-track {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow-1);
}
.chip {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 9px 0 17px;
    border-radius: 999px;
    color: var(--ink-2);
    font: 700 .87rem/1 var(--sans);
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, box-shadow .25s ease;
}
.chip:not(:has(.chip-count)) { padding-inline: 20px; }
.chip-count {
    display: grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    border-radius: 999px;
    color: var(--accent-text);
    background: var(--accent-wash);
    font-size: .72rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    transition: background-color .2s ease, color .2s ease;
}
.chip.is-active {
    color: var(--accent-ink);
    background: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 8px 16px -8px var(--accent);
}
.chip.is-active .chip-count { color: inherit; background: rgba(255, 255, 255, .24); }
[data-theme="halloween"] .chip.is-active .chip-count { background: rgba(42, 18, 34, .16); }
@media (hover: hover) {
    .chip:not(.is-active):hover { color: var(--ink); background: var(--accent-wash); }
    .chip:not(.is-active):hover .chip-count { background: var(--surface); }
}
@media (min-width: 900px) {
    .filters { margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
    .filters-track { flex-wrap: wrap; gap: 2px; }
    .chip { gap: 7px; padding: 0 7px 0 12px; font-size: .82rem; }
    .chip:not(:has(.chip-count)) { padding-inline: 17px; }
    .chip-count { min-width: 23px; height: 23px; padding: 0 6px; }
}

/* ---------- Galerie : rangées justifiées (chaque œuvre garde son format) ---------- */
.gallery {
    --row: 150px;
    --cap: 2.4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 12px;
    margin-top: 24px;
}
.gallery::after { content: ""; flex: 2.5 1 0; }
.art {
    flex: var(--r) 1 calc(var(--r) * var(--row));
    min-width: 0;
    max-width: calc(var(--r) * var(--row) * var(--cap));
}
/* une fois le script chargé, chaque rangée est calée au pixel près */
.gallery.is-justified { justify-content: flex-start; }
.gallery.is-justified::after { display: none; }
.gallery.is-justified .art { flex: 0 0 var(--w); max-width: none; }
.art-open {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--r);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: var(--paper-2);
    box-shadow: var(--shadow-1);
    cursor: zoom-in;
    transition: transform .45s var(--ease), box-shadow .35s ease;
}
.art-open::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
    pointer-events: none;
}
.art-open picture, .art-open img { width: 100%; height: 100%; }
.art-open img { object-fit: cover; transition: transform .8s var(--ease); }
.art-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #432a3a;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s ease, transform .3s var(--ease);
}
.art-zoom .icon { width: 18px; height: 18px; }
.art-open:focus-visible .art-zoom { opacity: 1; transform: none; }
@media (hover: hover) {
    .art-open:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
    .art-open:hover img { transform: scale(1.03); }
    .art-open:hover .art-zoom { opacity: 1; transform: none; }
}
.art figcaption { padding: 9px 2px 0; }
.art-cat {
    display: block;
    color: var(--accent-text);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}
.art-title {
    display: block;
    margin-top: 1px;
    color: var(--ink);
    font: italic 600 1.1rem/1.2 var(--serif);
    overflow-wrap: anywhere;
}
@media (min-width: 600px) { .gallery { --row: 190px; --cap: 1.8; gap: 26px 14px; } }
@media (min-width: 900px) {
    .gallery { --row: 230px; --cap: 1.42; gap: 30px 16px; }
    .art-title { font-size: 1.2rem; }
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-top { padding-block: calc(50px + var(--garland-h) * .5) 8px; }
.page-top .display { margin-bottom: 18px; font-size: clamp(2.9rem, 12vw, 5.4rem); }
@media (min-width: 900px) { .page-top { padding-block: calc(86px + var(--garland-h) * .3) 10px; } }

.sheet {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-1);
}

/* ---------- Waitlist ---------- */
.steps { display: flex; margin-top: 4px; }
.steps li {
    position: relative;
    flex: 1;
    padding-top: 22px;
    color: var(--ink-3);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
.steps li:first-child { text-align: left; }
.steps li:last-child { text-align: right; }
.steps li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 50%;
    z-index: 1;
    width: 10px;
    height: 10px;
    translate: -50% 0;
    border: 2px solid var(--line-2);
    border-radius: 50%;
    background: var(--surface);
}
.steps li:first-child::before { left: 0; translate: 0 0; }
.steps li:last-child::before { left: auto; right: 0; translate: 0 0; }
.steps li::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--line-2);
}
.steps li:first-child::after { left: 14px; width: calc(150% - 14px); }
.steps li:nth-child(2)::after { width: calc(150% - 14px); }
.steps li:last-child::after { display: none; }
.steps li.is-done::before { border-color: var(--accent); background: var(--accent); }
.steps li.is-done::after { background: var(--accent); }
.steps li.is-here { color: var(--accent-text); font-weight: 800; }
.steps li.is-here::before {
    top: -2px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 0;
    background: var(--accent);
    -webkit-mask: var(--motif-1) center / contain no-repeat;
    mask: var(--motif-1) center / contain no-repeat;
}


/* ---------- Waitlist : une file d'attente (fil pointillé, pastilles festonnées, une fiche par commande) ---------- */
:root {
    --m-scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='41'/%3E%3Ccircle cx='90' cy='50' r='10'/%3E%3Ccircle cx='82.4' cy='73.5' r='10'/%3E%3Ccircle cx='62.4' cy='88' r='10'/%3E%3Ccircle cx='37.6' cy='88' r='10'/%3E%3Ccircle cx='17.6' cy='73.5' r='10'/%3E%3Ccircle cx='10' cy='50' r='10'/%3E%3Ccircle cx='17.6' cy='26.5' r='10'/%3E%3Ccircle cx='37.6' cy='12' r='10'/%3E%3Ccircle cx='62.4' cy='12' r='10'/%3E%3Ccircle cx='82.4' cy='26.5' r='10'/%3E%3C/svg%3E");
}

/* ---------- En-tête de page : titre à gauche, résumé de la file à droite ---------- */
.wl-top { display: grid; gap: 22px; align-items: end; }
.wl-sum {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-1);
}
.wl-sum div { display: grid; gap: 4px; justify-items: center; padding: 14px 10px 13px; text-align: center; }
.wl-sum div + div { border-left: 1px dashed var(--line-2); }
.wl-sum dt {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-3);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
}
.wl-sum dt .glyph { color: var(--accent); font-size: 11px; opacity: .8; }
.wl-sum dt .pulse { background: var(--accent); }
.wl-sum dt .pulse::after { border-color: var(--accent); }
.wl-sum dd { color: var(--ink); font: 600 2.3rem/1 var(--serif); font-variant-numeric: lining-nums; }
.wl-sum .is-now dd { color: var(--accent-text); font-style: italic; }
@media (min-width: 900px) {
    .wl-top { grid-template-columns: minmax(0, 1fr) auto; }
    .wl-sum { grid-template-columns: repeat(3, auto); }
    .wl-sum div { padding: 16px 26px 15px; }
}

/* ---------- La file ---------- */
.wl { position: relative; display: grid; gap: 16px; }
/* le fil qui relie les pastilles */
.wl::before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 46px;
    left: 19px;
    border-left: 2px dotted var(--line-2);
}
.wl-item {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    animation: wl-in .7s var(--ease) both;
}
.wl-item:nth-child(2) { animation-delay: .07s; }
.wl-item:nth-child(3) { animation-delay: .14s; }
.wl-item:nth-child(4) { animation-delay: .21s; }
.wl-item:nth-child(5) { animation-delay: .28s; }
.wl-item:nth-child(n+6) { animation-delay: .35s; }
@keyframes wl-in { from { opacity: 0; transform: translateY(16px); } }

/* pastille festonnée : un fond papier coupe le fil, deux calques dessinent le liseré */
.wl-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-top: 12px;
    border-radius: 50%;
    color: var(--accent-text);
    background: var(--paper);
    box-shadow: 0 0 0 4px var(--paper);
    font: italic 600 1.08rem/1 var(--serif);
    font-variant-numeric: lining-nums;
    isolation: isolate;
    transition: rotate .5s var(--ease), scale .35s var(--ease);
}
.wl-num::before, .wl-num::after {
    content: "";
    position: absolute;
    z-index: -1;
    -webkit-mask: var(--m-scallop) center / contain no-repeat;
    mask: var(--m-scallop) center / contain no-repeat;
}
.wl-num::before { inset: -2px; background: var(--line-2); }
.wl-num::after { inset: 0; background: var(--surface); }
.is-now .wl-num { color: var(--accent-ink); filter: drop-shadow(0 6px 8px color-mix(in srgb, var(--accent) 45%, transparent)); }
.is-now .wl-num::before, .is-now .wl-num::after { background: var(--accent); }
.is-next .wl-num { color: var(--accent); font-style: normal; font-size: 1.1rem; }
.is-next .wl-num::after { background: var(--accent-wash); }
@media (hover: hover) { .wl-item:hover .wl-num { rotate: 18deg; scale: 1.06; } }

/* ---------- Une commande = une fiche ---------- */
.wl-card {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 16px 16px 18px;
    border: 1px solid var(--line);
    border-radius: 20px 20px 20px 6px;
    background: var(--surface);
    box-shadow: var(--shadow-1);
    transition: transform .35s var(--ease), box-shadow .3s ease, border-color .2s ease;
}
@media (hover: hover) { .wl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); } }

/* la commande en cours : teintée, scotchée, avec le motif du thème en filigrane */
.is-now .wl-card {
    border-color: var(--accent-soft);
    background: linear-gradient(120deg, var(--accent-wash), var(--surface) 74%);
    box-shadow: var(--shadow-2);
}
.is-now .wl-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -11px;
    right: 34px;
    width: 78px;
    height: 21px;
    rotate: 4deg;
    opacity: .92;
    background:
        repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 255, 255, .4) 6px 8px),
        var(--accent-soft);
    clip-path: polygon(0 0, 3% 25%, 0 50%, 3% 75%, 0 100%, 100% 100%, 97% 75%, 100% 50%, 97% 25%, 100% 0);
}
.wl-deco { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.wl-deco::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -44px;
    width: 170px;
    aspect-ratio: 1;
    background: var(--accent);
    opacity: .07;
    rotate: -16deg;
    -webkit-mask: var(--motif-1) center / contain no-repeat;
    mask: var(--motif-1) center / contain no-repeat;
}
.wl-card > :not(.wl-deco) { position: relative; }

.wl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 14px; }
.wl-head h2 { font: 600 1.45rem/1.12 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.wl-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--ink-3);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.wl-cat::before {
    content: "";
    width: 11px;
    height: 11px;
    background: var(--accent);
    opacity: .75;
    -webkit-mask: var(--motif-2) center / contain no-repeat;
    mask: var(--motif-2) center / contain no-repeat;
}
.wl-tags { display: flex; flex: none; flex-wrap: wrap; gap: 6px; }
.wl-empty { margin-bottom: 20px; color: var(--ink-2); font: italic 500 1.4rem/1.3 var(--serif); }
.wl-state, .wl-priority {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7px;
    min-height: 26px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.wl-state { color: var(--accent-ink); background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 6px 12px -6px var(--accent); }
.wl-state .pulse { background: currentColor; }
.wl-state .pulse::after { border-color: currentColor; }
.wl-priority { color: var(--gold); background: var(--gold-wash); }
.wl-priority .icon { width: 12px; height: 12px; }

/* date et délai : deux petites étiquettes douces */
.wl-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-meta li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 4px 13px 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-2);
    background: color-mix(in srgb, var(--accent-wash) 55%, var(--surface));
    font-size: .84rem;
    line-height: 1.3;
}
.is-now .wl-meta li { background: var(--surface); }
.wl-meta .icon { width: 15px; height: 15px; color: var(--accent); }
.wl-meta b { color: var(--ink); font-weight: 800; }

/* avancement : trois motifs du thème reliés par un pointillé */
.wl-steps { margin-top: 2px; }
.wl-steps li { padding-top: 28px; }
.wl-steps li::before,
.wl-steps li:first-child::before,
.wl-steps li:last-child::before {
    top: 2px;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 0;
    background: var(--line-2);
    -webkit-mask: var(--motif-1) center / contain no-repeat;
    mask: var(--motif-1) center / contain no-repeat;
}
.wl-steps li::after { top: 10px; height: 0; background: none; border-top: 2px dotted var(--line-2); }
.wl-steps li:first-child::after { left: 24px; width: calc(150% - 34px); }
.wl-steps li:nth-child(2)::after { left: calc(50% + 14px); width: calc(150% - 42px); }
.wl-steps li.is-done::before { background: var(--accent); }
.wl-steps li.is-done::after { background: none; border-top-color: var(--accent); }
.wl-steps li.is-here::before {
    top: -2px;
    width: 26px;
    height: 26px;
    background: var(--accent);
    animation: wl-bloom 3.2s ease-in-out infinite;
}
.is-now .wl-steps li::before { background-color: color-mix(in srgb, var(--accent) 28%, var(--surface)); }
.is-now .wl-steps li.is-done::before, .is-now .wl-steps li.is-here::before { background-color: var(--accent); }
@keyframes wl-bloom { 0%, 100% { scale: 1; rotate: 0deg; } 50% { scale: 1.14; rotate: 14deg; } }

/* ---------- Fin de file : la place libre ---------- */
.wl-invite {
    justify-items: start;
    border-style: dashed;
    border-color: var(--line-2);
    background: none;
    box-shadow: none;
}
.wl-invite-title { color: var(--accent-text); font: 400 1.9rem/1.05 var(--script); -webkit-text-stroke: .3px currentColor; }
.wl-invite-text { margin-top: 6px; color: var(--ink-2); font-size: .94rem; }
@media (hover: hover) { .wl-invite:hover { background: var(--surface); border-color: var(--accent-soft); } }

/* sur téléphone, l'étiquette passe au-dessus du titre pour lui laisser toute la largeur */
@media (max-width: 599px) { .wl-head { flex-direction: column-reverse; gap: 8px; } }
@media (min-width: 600px) {
    .wl { gap: 18px; }
    .wl::before { left: 25px; top: 36px; bottom: 54px; }
    .wl-item { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
    .wl-num { width: 52px; height: 52px; margin-top: 14px; font-size: 1.36rem; box-shadow: 0 0 0 5px var(--paper); }
    .is-next .wl-num { font-size: 1.3rem; }
    .wl-card { padding: 20px 24px 22px; border-radius: 22px 22px 22px 6px; }
    .wl-head h2 { font-size: 1.62rem; }
    .wl-invite-title { font-size: 2.2rem; }
}
/* sur ordinateur : texte à gauche, avancement à droite */
@media (min-width: 900px) {
    .wl-card:not(.wl-invite) {
        grid-template-columns: minmax(0, 1fr) 250px;
        grid-template-areas: "head steps" "meta steps";
        column-gap: 40px;
        align-items: center;
    }
    .wl-head { grid-area: head; }
    .wl-meta { grid-area: meta; }
    .wl-steps { grid-area: steps; margin: 0; }
    .is-now .wl-card { padding-block: 26px 28px; }
    .is-now .wl-head h2 { font-size: 1.95rem; }
    .wl-invite { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .wl-item, .wl-steps li.is-here::before { animation: none; }
}

/* ---------- Tarifs : une carte, comme au salon de thé ---------- */
.menu-sheet { position: relative; padding: clamp(20px, 4.4vw, 48px); overflow: hidden; }
.menu-sheet > .ornament { margin-bottom: clamp(18px, 3vw, 30px); }
/* grands motifs du thème, à peine visibles, dans les coins de la carte */
.menu-sheet::before, .menu-sheet::after {
    content: "";
    position: absolute;
    width: clamp(110px, 18vw, 200px);
    aspect-ratio: 1;
    background: var(--accent);
    opacity: .06;
    -webkit-mask: var(--motif-1) center / contain no-repeat;
    mask: var(--motif-1) center / contain no-repeat;
    pointer-events: none;
}
.menu-sheet::before { top: -34px; right: -30px; rotate: 18deg; }
.menu-sheet::after { bottom: -40px; left: -34px; rotate: -24deg; }
.menu { position: relative; z-index: 1; }
.offer {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0 14px;
    padding-bottom: 30px;
    break-inside: avoid;
}
.offer-thumb {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-top: 2px;
    overflow: hidden;
    border-radius: 14px;
    color: var(--accent);
    background: var(--accent-wash);
    box-shadow: 0 0 0 1px var(--line), 0 8px 14px -10px rgba(var(--shadow-rgb), .5);
    rotate: -3deg;
    transition: rotate .35s var(--ease), box-shadow .3s ease;
}
.offer:nth-child(even) .offer-thumb { rotate: 3deg; }
.offer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.offer-thumb .glyph { font-size: 24px; }
@media (hover: hover) { a.offer-thumb:hover { rotate: 0deg; box-shadow: 0 0 0 2px var(--accent), 0 10px 18px -10px rgba(var(--shadow-rgb), .6); } }

.offer-top { display: flex; align-items: baseline; gap: 8px; }
.offer-top h2 { font: 600 1.52rem/1.1 var(--serif); letter-spacing: -.01em; }
.leader {
    flex: 1;
    min-width: 14px;
    height: 0;
    border-bottom: 2px dotted var(--line-2);
    translate: 0 -5px;
}
.price {
    flex: none;
    color: var(--accent-text);
    font: 600 1.62rem/1 var(--serif);
    font-variant-numeric: lining-nums;
    text-align: right;
    white-space: nowrap;
}
.price small {
    display: block;
    margin-top: 3px;
    color: var(--ink-3);
    font: 700 .7rem/1.2 var(--sans);
    letter-spacing: .04em;
}
.offer-desc { margin-top: 6px; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
.offer-desc p + p { margin-top: 4px; color: var(--ink-3); font-size: .86rem; font-style: italic; }
.addons { margin-top: 12px; display: grid; gap: 7px; }
.addons li { display: flex; align-items: baseline; gap: 8px; font-size: .88rem; line-height: 1.35; }
.addons li > span:first-child { color: var(--ink-2); }
.addons li > span:first-child::before { content: "+"; margin-right: 7px; color: var(--accent); font-weight: 800; }
.addons .leader { border-bottom-width: 1px; translate: 0 -4px; }
.addons b { flex: none; font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.addons b small { display: block; color: var(--ink-3); font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.offer-more { margin-top: 6px; min-height: 40px; font-size: .84rem; }

.offer-priority {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    margin-top: 4px;
    padding: 16px 18px;
    border: 1px dashed var(--gold);
    border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent);
    border-radius: 16px;
    background: var(--gold-wash);
    column-span: all;
}
.offer-priority + .offer-priority { margin-top: 12px; }
.offer-priority .offer-thumb { width: 44px; height: 44px; margin: 0; rotate: 0deg; color: var(--gold); background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 30%, transparent); border-radius: 50%; }
.offer-priority .offer-thumb .icon { width: 22px; height: 22px; }
.offer-priority .price { color: var(--gold); }
.offer-priority .leader { border-color: color-mix(in srgb, var(--gold) 45%, transparent); }

.dm-note {
    display: grid;
    gap: 14px;
    justify-items: start;
    margin-top: 22px;
    padding: 20px 22px;
    border-radius: 20px;
    background: var(--accent-wash);
}
.dm-note p { color: var(--ink); font-weight: 600; }

@media (max-width: 379px) {
    .offer { grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; }
    .offer-thumb { width: 44px; height: 44px; border-radius: 12px; }
    .offer-top { gap: 6px; }
    .offer-top h2 { font-size: 1.34rem; }
    .price { font-size: 1.44rem; }
    .leader { min-width: 8px; }
}
@media (min-width: 900px) {
    .menu { columns: 2; column-gap: 84px; column-rule: 1px dashed var(--line-2); }
    .offer { grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; padding-bottom: 38px; }
    .offer-thumb { width: 64px; height: 64px; border-radius: 16px; }
    .offer-top h2 { font-size: 1.7rem; }
    .price { font-size: 1.8rem; }
    .offer-priority { grid-template-columns: 44px minmax(0, 1fr); padding: 18px 24px; }
    .dm-note { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 22px 28px; }
}

/* ---------- Conditions ---------- */
.band { background: linear-gradient(180deg, transparent, var(--accent-wash) 18%, var(--accent-wash) 82%, transparent); }
.terms { display: grid; gap: 22px; }
.term { border-top: 1px solid var(--line-2); }
.term:last-child { border-bottom: 1px solid var(--line-2); }
.term summary {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 2px;
    list-style: none;
    cursor: pointer;
    font: 800 1.04rem/1.3 var(--sans);
    transition: color .2s ease;
}
.term summary::-webkit-details-marker { display: none; }
.term-num { color: var(--accent-text); font: italic 500 1.7rem/1 var(--serif); font-variant-numeric: lining-nums; }
.term summary .icon { width: 22px; height: 22px; color: var(--accent); transition: transform .35s var(--ease); }
.term[open] summary .icon { transform: rotate(45deg); }
@media (hover: hover) { .term summary:hover { color: var(--accent-text); } }
.term-body { display: grid; gap: 11px; padding: 0 2px 22px; color: var(--ink-2); }
.term-body ul { display: grid; gap: 11px; }
.term-body li { position: relative; padding-left: 28px; }
.term-body li::before {
    content: "";
    position: absolute;
    top: .32em;
    left: 2px;
    width: 15px;
    height: 15px;
    background: var(--accent);
    opacity: .85;
    -webkit-mask: var(--motif-1) center / contain no-repeat;
    mask: var(--motif-1) center / contain no-repeat;
}
.term-body a { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
    .terms { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; align-items: start; }
    .terms-intro { position: sticky; top: 132px; }
    .term summary { grid-template-columns: 52px minmax(0, 1fr) 26px; min-height: 72px; font-size: 1.1rem; }
    .term-body { padding: 0 34px 26px 62px; }
}

.socials-page { max-width: 560px; }

/* ==========================================================================
   Pied de page : bord festonné + frise de saison
   ========================================================================== */
.foot {
    margin-top: calc(var(--scene-h) + clamp(44px, 8vw, 96px));
    padding-block: 34px calc(34px + env(safe-area-inset-bottom));
    background: var(--paper-2);
}
.foot::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 12px;
    background: var(--paper-2);
    -webkit-mask: radial-gradient(circle at 12px 12px, #000 11.5px, transparent 12px) 0 0 / 24px 12px repeat-x;
    mask: radial-gradient(circle at 12px 12px, #000 11.5px, transparent 12px) 0 0 / 24px 12px repeat-x;
}
.foot-scene {
    position: absolute;
    right: 0;
    bottom: calc(100% + 3px);
    left: 0;
    height: var(--scene-h);
    background: var(--scene) center bottom / auto 100% repeat-x;
    pointer-events: none;
}
.foot-in {
    display: grid;
    gap: 22px;
    justify-items: center;
    text-align: center;
}
.foot-name { font: italic 600 2rem/1 var(--serif); }
.foot-thanks { margin-top: 6px; color: var(--accent-text); font: 400 1.75rem/1 var(--script); -webkit-text-stroke: .3px currentColor; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 20px; }
.foot-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
    color: var(--ink-2);
    font-weight: 800;
    font-size: .88rem;
    transition: color .2s ease;
}
.foot-nav a:hover { color: var(--accent-text); }
.foot-meta { display: grid; gap: 4px; max-width: 34em; color: var(--ink-3); font-size: .78rem; line-height: 1.5; }
@media (min-width: 900px) {
    .foot { padding-block: 44px calc(44px + env(safe-area-inset-bottom)); }
    .foot-in {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        justify-items: stretch;
        gap: 40px;
        text-align: left;
    }
    .foot-meta { justify-self: end; text-align: right; max-width: 30em; }
}

/* ==========================================================================
   Fenêtres : réseaux, langue, avis, visionneuse
   ========================================================================== */
dialog { color: var(--ink); }
.modal {
    width: min(520px, 100% - 28px);
    max-height: calc(100dvh - 28px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 40px 90px -30px rgba(var(--shadow-rgb), .7);
}
.modal::backdrop, .lightbox::backdrop { background: var(--scrim); opacity: .72; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-in { position: relative; padding: 30px 24px 24px; }
.modal-in .kicker { font-size: 1.6rem; }
.modal-in .title { font-size: clamp(1.9rem, 6vw, 2.3rem); margin-bottom: 8px; padding-right: 44px; }
.modal-lede { color: var(--ink-2); }
.x {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    transition: border-color .2s ease, color .2s ease, transform .3s var(--ease);
}
.x:hover { border-color: var(--accent); color: var(--accent-text); transform: rotate(90deg); }

.socials { display: grid; gap: 12px; margin-top: 20px; }
.social {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 6px 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}
.social-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--accent-text);
    background: var(--accent-wash);
}
.social-ico .icon { width: 22px; height: 22px; }
.social small { display: block; color: var(--ink-3); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.social strong { display: block; font-size: 1.05rem; overflow-wrap: anywhere; }
.social .btn { grid-column: 1 / -1; }
@media (min-width: 540px) {
    .social { grid-template-columns: 46px minmax(0, 1fr) auto; }
    .social .btn { grid-column: auto; min-height: 44px; padding-inline: 18px; }
}

.choices { display: grid; gap: 10px; margin-top: 18px; }
.choice {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: var(--paper);
    text-align: left;
    transition: border-color .2s ease, background-color .2s ease, transform .25s var(--ease);
}
.choice img { border-radius: 5px; box-shadow: 0 0 0 1px var(--line); }
.choice strong { display: block; font-size: 1.02rem; }
.choice small { color: var(--ink-3); font-size: .8rem; }
.choice .icon { color: var(--accent); transition: transform .25s var(--ease); }
.choice:hover { border-color: var(--accent); background: var(--accent-wash); }
.choice:hover .icon { transform: translateX(3px); }

.field { display: grid; gap: 6px; margin-top: 16px; }
.field > span { font-size: .82rem; font-weight: 800; }
.field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: var(--paper);
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.counter { margin-top: 6px; color: var(--ink-3); font-size: .78rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.counter.is-over-limit { color: var(--danger); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { display: flex; gap: 8px; margin-top: 12px; color: var(--ink-3); font-size: .78rem; line-height: 1.45; }
.fine .glyph { margin-top: 3px; color: var(--accent); font-size: 12px; }
.form-error { margin-top: 14px; padding: 11px 14px; border-radius: 12px; color: var(--danger); background: var(--danger-wash); font-size: .9rem; font-weight: 700; }
.form-status { min-height: 1.2em; margin-top: 10px; color: var(--ink-3); font-size: .84rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1 1 150px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.review-delete { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.review-delete summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--ink-3); font-size: .86rem; font-weight: 700; cursor: pointer; list-style: none; }
.review-delete summary::-webkit-details-marker { display: none; }
.review-delete summary:hover { color: var(--danger); }
.review-delete p { margin-top: 8px; color: var(--ink-2); font-size: .9rem; }

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff3f7;
    background: var(--scrim);
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fade-in .3s ease; }
@keyframes fade-in { from { opacity: 0; } }
.lb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 6px max(18px, env(safe-area-inset-left));
}
.lb-count { font: italic 500 1.25rem/1 var(--serif); font-variant-numeric: lining-nums; opacity: .85; }
.lb-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: inherit;
    background: rgba(255, 255, 255, .08);
    transition: background-color .2s ease, transform .3s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 6px clamp(8px, 6vw, 84px);
    touch-action: pan-y;
}
.lb-stage picture { display: grid; place-items: center; max-width: 100%; }
.lb-stage img {
    max-width: 100%;
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
    object-fit: contain;
    transition: opacity .15s ease;
}
.lb-stage.is-switching img { opacity: .2; }
.lb-prev, .lb-next { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; }
.lb-prev { left: max(8px, env(safe-area-inset-left)); }
.lb-next { right: max(8px, env(safe-area-inset-right)); }
.lb-cap {
    min-height: 84px;
    padding: 12px 20px max(18px, env(safe-area-inset-bottom));
    text-align: center;
}
.lb-cap small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.lb-cap h2 { margin-top: 3px; font: italic 600 1.5rem/1.2 var(--serif); }
.lb-cap p { margin-top: 4px; font-size: .9rem; opacity: .8; }
@media (max-width: 599px) {
    .lb-stage { padding-inline: 8px; }
    .lb-prev, .lb-next { top: auto; bottom: 8px; translate: 0 0; background: rgba(40, 18, 30, .55); }
}

.toast-region {
    position: fixed;
    left: 50%;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 320;
    display: grid;
    gap: 8px;
    justify-items: center;
    width: max-content;
    max-width: calc(100% - 32px);
    translate: -50% 0;
    pointer-events: none;
}
.toast {
    padding: 11px 18px;
    border-radius: 999px;
    color: var(--paper);
    background: var(--ink);
    font-size: .86rem;
    font-weight: 700;
    box-shadow: var(--shadow-2);
    animation: toast-in .3s var(--ease);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   Accessibilité : mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .drift i { top: var(--y); animation: none; }
}
