@font-face{font-family:"Bebas";src:url(/static/fonts/BebasNeue-Regular.ttf) format("truetype");font-display:swap}
/* Interface themes. Only the site's chrome changes: posters (images) keep their own palettes in every theme.
   Light « papier chaud » by default; dark « graphite » from the device preference, or forced with data-theme
   (header button, remembered in localStorage). */
:root{color-scheme:light;
  --bg:#f6f3ee;--bg2:#fbf8f3;--panel:#fffdf9;--head:#fbf9f5;--line:#e4ddd2;--hair:#1b22330f;
  --ink:#1b2233;--ink2:#3b4558;--mut:#5f6676;--acc:#2f4f8a;--on-acc:#fffdf9;--sel:#ece6db;
  --cyan:#127485;--gold:#8a5f12;--red:#b8322a;--ok:#1c704b;--danger-line:#e8c4bd;
  --flash:#ece6db;--flash-err:#f6e1dc;--tuto:#e9f1ec;--tuto-line:#c6dccf;--busy:#fffdf9eb;
  --mat:#e9e3d8;--loader-a:#e3dccf;--loader-b:#f6f3ee;--gift-a:#ece4d6;--gift-b:#f8f5ef;--sect:#ebe5d9;
  --shadow:#1b223340;
  --paper:#eeebe4;--paperink:#10203c;--strava:#fc5200;--on-strava:#ffffff;--r:6px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;
  --bg:#121417;--bg2:#0e1013;--panel:#1a1d22;--head:#0f1114;--line:#2a2f37;--hair:#ffffff0d;
  --ink:#ecedf0;--ink2:#c5c9d1;--mut:#a5acb8;--acc:#9db7e0;--on-acc:#121417;--sel:#252c38;
  --cyan:#78ebff;--gold:#f2c66d;--red:#ff8a8a;--ok:#7be0b2;--danger-line:#5a2a36;
  --flash:#1f2633;--flash-err:#3a1f24;--tuto:#142320;--tuto-line:#24443d;--busy:#121417e6;
  --mat:#0c0e11;--loader-a:#232a36;--loader-b:#121417;--gift-a:#1d2430;--gift-b:#15181d;--sect:#eeebe4;
  --shadow:#000b}}
:root[data-theme="dark"]{color-scheme:dark;
  --bg:#121417;--bg2:#0e1013;--panel:#1a1d22;--head:#0f1114;--line:#2a2f37;--hair:#ffffff0d;
  --ink:#ecedf0;--ink2:#c5c9d1;--mut:#a5acb8;--acc:#9db7e0;--on-acc:#121417;--sel:#252c38;
  --cyan:#78ebff;--gold:#f2c66d;--red:#ff8a8a;--ok:#7be0b2;--danger-line:#5a2a36;
  --flash:#1f2633;--flash-err:#3a1f24;--tuto:#142320;--tuto-line:#24443d;--busy:#121417e6;
  --mat:#0c0e11;--loader-a:#232a36;--loader-b:#121417;--gift-a:#1d2430;--gift-b:#15181d;--sect:#eeebe4;
  --shadow:#000b}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;overflow-x:hidden;background:var(--bg);color:var(--ink);font:15px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--acc)}
h1,h2,h3,.disp{font-family:Bebas,Impact,sans-serif;font-weight:400;letter-spacing:.03em;line-height:1}
h1{font-size:clamp(44px,7vw,84px);margin:0}
h2{font-size:28px;margin:0 0 12px;color:var(--acc)}
h3{font-size:22px;margin:0 0 6px}
.wrap{max-width:1180px;margin:auto;padding:0 20px}
header.top{border-bottom:1px solid var(--line);background:var(--head);position:sticky;top:0;z-index:50;transition:transform .25s ease,box-shadow .25s ease}
header.top.scrolled{box-shadow:0 6px 18px -12px var(--shadow)}
header.top.hide{transform:translateY(-100%)}
html{scroll-padding-top:80px}
@media(prefers-reduced-motion:reduce){header.top{transition:none}}
header.top .wrap{display:flex;align-items:center;gap:14px;height:62px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);min-width:0}
.brand img{width:34px;height:34px}
.brand span{font-family:Bebas,sans-serif;font-size:28px;letter-spacing:.08em;white-space:nowrap;overflow:hidden}
header.top nav{margin-left:auto;display:flex;gap:20px;font:400 19px/1 Bebas,Impact,sans-serif;letter-spacing:.06em}
header.top nav a{color:var(--mut);text-decoration:none}
header.top nav a:hover{color:var(--ink)}header.top nav a.on{color:var(--ink);box-shadow:0 2px 0 var(--acc)}
footer{border-top:1px solid var(--line);margin-top:60px;padding:24px 0 40px;color:var(--mut);font-size:12.5px}
/* ---- home */
.h-kicker{font:600 12px system-ui,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:var(--acc);margin:0 0 14px}
.h-hero{display:grid;grid-template-columns:1fr 1.05fr;gap:56px;align-items:center;padding:72px 0 64px}
.h-hero h1{font-size:clamp(56px,8vw,104px);letter-spacing:.02em}
.h-lead{font-size:18px;line-height:1.65;color:var(--ink2);max-width:520px;margin:22px 0 28px}
.h-cta{display:flex;gap:12px;flex-wrap:wrap}
.h-cta .btn{padding:14px 22px}
.h-proof{margin-top:26px;font-size:12.5px;letter-spacing:.06em;color:var(--mut)}
.h-art{position:relative;aspect-ratio:1/1.02}
.h-frame{position:absolute;margin:0;background:#141416;padding:2.2%;box-shadow:0 30px 60px -18px #000c,0 6px 14px #0007}
.h-frame img{display:block;width:100%;height:auto;outline:1px solid #ffffff14}
.h-frame:before{content:"";position:absolute;inset:2.2%;box-shadow:inset 0 0 0 1px #0004;pointer-events:none}
.h-frame.front{width:58%;left:22%;top:6%;z-index:2}
.h-frame.back{width:44%;left:0;top:20%;opacity:.9;transform:scale(.96)}
.h-phone{position:absolute;margin:0;width:22%;right:0;bottom:2%;z-index:3;background:#0d0f14;border-radius:22px;padding:7px;
  box-shadow:0 24px 48px -12px #000c,inset 0 0 0 2px #2c3240}
.h-phone img{display:block;width:100%;border-radius:16px}
.h-section{padding:72px 0;border-top:1px solid var(--hair)}
.h-head{max-width:640px;margin-bottom:34px}
.h-head h2,.h-paper h2,.h-clubs h2{font-size:clamp(34px,4.4vw,52px);color:var(--ink);margin:0 0 12px}
.h-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:26px 22px}
.h-card{text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:12px}
.h-shot{background:var(--mat);border-radius:6px;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;overflow:hidden;
  box-shadow:0 18px 34px -16px #000b;transition:transform .35s ease,box-shadow .35s ease}
.h-shot img{width:100%;height:100%;object-fit:cover}
.h-card:hover .h-shot{transform:translateY(-4px);box-shadow:0 26px 44px -18px #000d}
.h-meta h3{font-size:24px;margin:0 0 2px}
.h-meta span{display:block;font-size:13.5px;color:var(--mut)}
.h-meta em{display:block;font-style:normal;font-size:12px;color:var(--gold);margin-top:4px}
.h-paper{background:var(--sect);color:var(--paperink);margin:0 calc(50% - 50vw);padding:84px calc(50vw - 50%)}
.h-paper-in{display:grid;grid-template-columns:.8fr 1fr;gap:64px;align-items:center}
.h-paper h2{color:var(--paperink)}
.h-paper .h-kicker{color:#5d6f8f}
.h-paper p{font-size:16.5px;line-height:1.7;color:#33435f;max-width:560px}
.h-detail img{width:100%;display:block;box-shadow:0 30px 60px -24px #10203c88}
.h-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px 30px;margin:30px 0 0}
.h-facts div{border-top:1px solid #10203c22;padding-top:12px}
.h-facts dt{font-family:Bebas,sans-serif;font-size:40px;line-height:1;color:var(--paperink)}
.h-facts dd{margin:4px 0 0;font-size:13.5px;color:#5d6f8f}
.h-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:26px;counter-reset:s}
.h-steps li{counter-increment:s;border-top:1px solid var(--line);padding-top:18px}
.h-steps li:before{content:"0" counter(s);font-family:Bebas,sans-serif;font-size:46px;color:var(--acc);display:block;line-height:1;margin-bottom:10px}
.h-steps b{display:block;font:600 17px system-ui,sans-serif;margin-bottom:6px}
.h-steps span{color:var(--mut);font-size:14.5px;line-height:1.6}
.h-clubs-in{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.h-clubs p{color:var(--ink2);line-height:1.7;max-width:540px}
.h-list{padding-left:18px;color:var(--ink2);line-height:1.9}
.h-clubs-art{display:flex;gap:18px;justify-content:center}
.h-clubs-art a{width:46%;display:block}.h-clubs-art a img{width:100%}.h-clubs-art img{width:46%;box-shadow:0 24px 44px -18px #000c;border-radius:4px}
.h-clubs-art > :last-child{margin-top:48px}
.h-code{display:flex;justify-content:center}
.h-code .codebox{width:min(560px,100%);text-align:center;padding:30px}
.h-code .codebox form{margin-top:12px}
@media(max-width:900px){.h-hero,.h-paper-in,.h-clubs-in{grid-template-columns:1fr;gap:40px}.h-hero{padding:40px 0}
  .h-art{max-width:520px;width:100%;margin:auto}.h-steps{grid-template-columns:1fr}.h-detail{max-width:420px}}
@media(max-width:560px){.h-section{padding:52px 0}.h-gallery{grid-template-columns:1fr 1fr;gap:20px 14px}.h-meta h3{font-size:20px}
  .h-facts{grid-template-columns:1fr 1fr}.h-facts dt{font-size:32px}.h-paper{padding:60px calc(50vw - 50%)}}
.hero{padding:56px 0 28px;display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center}
.hero p.lead{font-size:18px;color:var(--ink2);max-width:560px}
@media(max-width:860px){.hero{grid-template-columns:1fr}}
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.codebox form{display:flex;gap:8px}
input[type=text],input[type=email],input[type=url],input[type=search],input[type=tel],input[type=password],input[type=number],input[type=date],input[type=color],select,textarea{width:100%;background:var(--bg2);border:1px solid var(--line);
  border-radius:4px;color:var(--ink);padding:10px 11px;font:inherit}
input[type=color]{padding:2px;height:42px}
textarea{min-height:90px}
input:focus,select:focus,textarea:focus{outline:2px solid var(--acc);outline-offset:1px}
.btn{display:inline-block;border:0;border-radius:4px;background:var(--acc);color:var(--on-acc);font:600 15px system-ui,sans-serif;
  padding:12px 18px;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn.small{padding:8px 12px;font-size:13px}
.btn:disabled{opacity:.45;cursor:not-allowed}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.tpl{display:block;text-decoration:none;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.tpl:hover,.tpl.on{border-color:var(--acc)}
.tpl .sw{height:120px}
.tpl .b{padding:12px 14px}
.tpl small{color:var(--mut);display:block}
.sw.alpine{background:radial-gradient(circle at 70% 30%,#5f86c4,#0d1d3a 70%)}
.sw.galerie{background:var(--paper);position:relative}.sw.galerie:after{content:"";position:absolute;inset:12px 46px 26px 14px;background:#24477f}
.sw.neon{background:repeating-linear-gradient(0deg,#0b1830 0 13px,#1d3357 13px 14px),repeating-linear-gradient(90deg,transparent 0 17px,#1d3357 17px 18px);background-blend-mode:screen;position:relative}
.sw.neon:after{content:"";position:absolute;left:20%;top:25%;width:55%;height:45%;border:3px solid var(--cyan);border-radius:40% 30% 45% 25%;box-shadow:0 0 14px var(--cyan)}
.sw.profil{background:linear-gradient(transparent 55%,var(--paper) 55%),var(--paper);position:relative}
.sw.profil:before{content:"";position:absolute;inset:10px 12px 52px;background:#24477f}
.sw.profil:after{content:"";position:absolute;left:12px;right:12px;bottom:8px;height:36px;background:#3a5687;clip-path:polygon(0 100%,0 70%,15% 55%,30% 65%,48% 15%,60% 40%,75% 30%,90% 60%,100% 50%,100% 100%)}
.sw.minimal{background:var(--paper);position:relative}.sw.minimal:after{content:"";position:absolute;left:30%;top:18%;width:40%;height:55%;border:3px solid var(--paperink);border-radius:46% 30% 50% 36%}
.sw.glycemie{background:linear-gradient(#0d1d3a 62%,#081224 62%);position:relative}
.sw.glycemie:after{content:"";position:absolute;left:10px;right:10px;bottom:12px;height:28px;border-top:3px solid var(--ok);border-radius:50% 50% 0 0/100% 100% 0 0;opacity:.9}
.sw.epreuve{background:linear-gradient(#e84c3d 26%,#3b1612 26%,#3b1612 76%,#21100d 76%)}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{border:1px solid var(--line);border-radius:20px;padding:3px 10px;font-size:12.5px;color:var(--ink2)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:30px 0}
@media(max-width:760px){.steps{grid-template-columns:1fr}}
.steps .n{font-family:Bebas,sans-serif;font-size:42px;color:var(--acc)}
.err,.flash.err{color:var(--red)}
.flash{padding:10px 14px;border-radius:9px;background:var(--flash);margin:12px 0}
.flash.err{background:var(--flash-err)}
.muted{color:var(--mut)}
.layout{display:grid;grid-template-columns:400px 1fr;gap:26px;margin-top:26px;align-items:start}
.layout.sess{grid-template-columns:1fr 360px}
@media(max-width:920px){.layout,.layout.sess{grid-template-columns:1fr}}
.grid.small{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
input[type=file]{width:100%;color:var(--mut);font-size:13px}
input[type=file]::file-selector-button{background:var(--bg2);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:7px 11px;margin-right:10px;cursor:pointer}
@media(max-width:560px){h1{font-size:44px}}
.field{margin:10px 0}
.field label.l{display:block;font-size:13px;color:var(--ink2);margin-bottom:4px}
.field .help{font-size:12px;color:var(--mut);margin-top:3px}
.field.check{display:flex;gap:10px;align-items:flex-start}
.field.check input{margin-top:4px;width:18px;height:18px;accent-color:var(--acc)}
.drop{display:block;border:1.5px dashed var(--line);border-radius:10px;padding:18px;text-align:center;cursor:pointer;color:var(--mut)}
.drop.on,.drop:hover{border-color:var(--acc);color:var(--ink)}
.byline{border:1px solid var(--line);border-radius:10px;padding:4px 14px 6px;margin:14px 0}
.byline>.l{font-size:12px;color:var(--mut);text-transform:uppercase;letter-spacing:.08em;margin-top:8px}
.byline .field{margin:8px 0}
.byline [data-reveal]{margin:-2px 0 12px 28px}
.tuto{background:var(--tuto);border:1px solid var(--tuto-line);border-radius:10px;padding:12px 14px;font-size:13.5px;white-space:pre-line}
.evhead{display:flex;gap:18px;align-items:center;margin-top:26px}
.evhead img{max-height:90px;max-width:160px}
.evwelcome{max-width:760px;white-space:pre-line}
.stage{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:16px;min-height:520px;display:flex;flex-direction:column;gap:12px}
.bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.bar .lbl{font-size:12px;color:var(--mut);width:60px}
.seg{border:1px solid var(--line);background:transparent;color:var(--ink);padding:7px 11px;border-radius:8px;font:500 13px system-ui,sans-serif;cursor:pointer;position:relative}
.seg.on{border-color:var(--acc);background:var(--sel)}
.seg.wait{opacity:.5}
.seg.wait:after{content:"";position:absolute;right:4px;top:4px;width:5px;height:5px;border-radius:50%;background:var(--acc);animation:p 1s infinite}
@keyframes p{50%{opacity:.2}}
.view{flex:1;display:flex;align-items:center;justify-content:center;min-height:380px}
#vc>img.art{max-width:100%;max-height:70vh;box-shadow:0 20px 50px #0009}   /* « affiche seule » */
.view img.art{cursor:zoom-in;transition:filter .5s}
/* computing: last image blurred + message; new image appears from blur to sharp */
.view{position:relative}
#vc{width:100%;display:flex;align-items:center;justify-content:center}
#vc.blur img.art{filter:blur(9px) saturate(.6) brightness(.75)}
img.art.reveal{animation:reveal .9s ease-out}
@keyframes reveal{from{filter:blur(14px) brightness(.7);opacity:.6}to{filter:none;opacity:1}}
#vo{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;padding:16px}
.busycard{display:flex;flex-direction:column;align-items:center;gap:6px;width:min(100%,280px);box-sizing:border-box;text-align:center;
  background:var(--busy);border:1px solid var(--line);border-radius:14px;padding:16px 20px;box-shadow:0 12px 30px var(--shadow)}
.busycard b{font:600 15px system-ui,sans-serif}
.busycard progress{appearance:none;display:block;width:100%;height:6px;margin-top:4px;border:0;border-radius:3px;
  overflow:hidden;background:var(--line);color:var(--acc)}
.busycard progress::-webkit-progress-bar{background:var(--line)}
.busycard progress::-webkit-progress-value{background:var(--acc);border-radius:3px}
.busycard progress::-moz-progress-bar{background:var(--acc);border-radius:3px}
.drawing-space{height:clamp(150px,25vh,230px);width:100%;border-radius:10px;
  background:radial-gradient(ellipse at center,var(--loader-a),var(--loader-b) 74%)}
.drawing{display:block;width:clamp(54px,10vw,82px);height:auto;flex:none;transform:rotate(-4deg);
  filter:drop-shadow(2px 4px 3px var(--shadow))}
.drawing-paper,.drawing-finish{fill:var(--panel);stroke:var(--acc)}
.drawing-paper{stroke:var(--line)}
.drawing-contours{stroke:var(--cyan);opacity:.30;stroke-width:1.3}
.drawing-guide,.drawing-route,.drawing-caption{fill:none;stroke-linecap:round;stroke-linejoin:round}
.drawing-guide{stroke:var(--line);stroke-width:3}
.drawing-route{stroke:var(--acc);stroke-width:3;stroke-dasharray:1;animation:route-ink 3.6s ease-in-out infinite}
.drawing-start,.drawing-caption{fill:var(--acc)}
.drawing-caption{stroke:var(--mut);stroke-width:2}
.drawing-finish{stroke-width:2;animation:route-arrival 3.6s ease-in-out infinite}
@keyframes route-ink{0%,10%{stroke-dashoffset:1;opacity:1}72%,90%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes route-arrival{0%,62%,100%{opacity:.3}76%,90%{opacity:1}}
@media(prefers-reduced-motion:reduce){.drawing-route,.drawing-finish,img.art.reveal{animation:none}}
/* poster in situation (session page) */
.scene{margin:0;width:100%;max-width:min(820px,88vh);display:flex;flex-direction:column;align-items:center;gap:8px}
.scene figcaption{font-size:12.5px;text-align:center}
.scene.preview-scene{aspect-ratio:auto;overflow:visible;background:none}
.scene.preview-scene>*{position:relative;flex-shrink:0}
.room{position:relative;width:100%;aspect-ratio:4/3;border-radius:10px;overflow:hidden;
  background:#e4ddd0 url('/static/rooms/lin.webp') center/cover no-repeat}
.room.wall-sauge{background-color:#b9c4b0;background-image:url('/static/rooms/sauge.webp')}
.room.wall-nuit{background-color:#2a3a52;background-image:url('/static/rooms/nuit.webp')}
.room>*{position:absolute}
.room .pframe{background:#1b1b1d;border-radius:1px;box-shadow:0 14px 28px -6px #0008,0 3px 6px #0004}
.room .mat{background:#f7f5f0;box-shadow:inset 0 0 0 1px #0001,inset 1px 2px 3px #0002}
.room .art{object-fit:cover;box-shadow:inset 0 0 0 1px #0002}
.phone{height:min(66vh,600px);max-width:78vw;aspect-ratio:9/19;background:#0d0f14;border-radius:38px;padding:12px;box-shadow:0 20px 50px #000a,inset 0 0 0 2px #2c3240}
.phone .screen{width:100%;height:100%;border-radius:28px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.phone .screen.story{background:#000;justify-content:center}
.phone .art{width:100%;display:block}
.phone .post-h{display:flex;gap:8px;align-items:center;padding:34px 10px 8px}
.phone .post-h i{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#9cc2ff,#7be0b2)}
.phone .post-h b,.phone .post-t b{display:block;height:7px;border-radius:4px;background:#d8dbe2;width:40%}
.phone .post-a{display:flex;gap:10px;padding:10px}
.phone .post-a i{width:18px;height:18px;border-radius:50%;border:2px solid #444}
.phone .post-t{padding:0 10px;display:grid;gap:6px}.phone .post-t b:last-child{width:70%}
#perso .field>.l{font-size:13px;color:var(--ink2);margin-bottom:6px}
#perso .shown{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}
#perso .shown>.l{font-size:13px;font-weight:600;color:var(--ink)}
#perso .shown .field{margin:8px 0}
#perso .shown>.help{font-size:12px;color:var(--mut)}
.row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tploff{display:none!important}
.swatches,.segs{display:flex;flex-wrap:wrap;gap:6px}
.swatch{width:28px;height:28px;border-radius:50%;border:2px solid var(--line);cursor:pointer;padding:0;
  background:conic-gradient(#78ebff,#ffd678,#ff6fa8,#7be0b2,#78ebff)}
.swatch.on{outline:2px solid var(--acc);outline-offset:2px}
.pal{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px;border:1px solid #fff3}
.pal-nuit{background:linear-gradient(135deg,#06102a,#2c5088,#96b0d6)}.pal-ardoise{background:linear-gradient(135deg,#0d0f13,#505662,#b6bcc6)}
.pal-foret{background:linear-gradient(135deg,#07140f,#34624a,#a8cab0)}.pal-terre{background:linear-gradient(135deg,#1c110a,#845c3a,#e6caa6)}
.pal-encre{background:linear-gradient(135deg,#050507,#3a3a40,#9e9ea4)}.pal-lagon{background:linear-gradient(135deg,#14646f,#2ca0a6,#faf0d4)}.pal-papier{background:#eeebe4}.pal-noir{background:#10141c}
.walls{display:inline-flex;gap:6px;margin-left:8px;vertical-align:middle}
.sw-wall{width:22px;height:22px;border-radius:50%;border:2px solid var(--line);cursor:pointer;padding:0}
.sw-wall.on{border-color:var(--acc)}
.sw-wall.wall-lin{background:#e4ddd0}.sw-wall.wall-sauge{background:#b9c4b0}.sw-wall.wall-nuit{background:#2a3a52}
#zoom{border:0;padding:0;background:transparent;max-width:96vw;max-height:96vh;overflow:visible}
#zoom::backdrop{background:#000c}
.lightbox{border:0;padding:0;background:transparent;max-width:96vw;max-height:96vh;overflow:visible}.lightbox::backdrop{background:#000c}
.lightbox img{max-width:96vw;max-height:90vh;display:block;cursor:zoom-out;box-shadow:0 20px 60px #000}.lightbox .btn{position:absolute;top:8px;right:8px}
a[data-zoom]{cursor:zoom-in}
#zoom img{max-width:96vw;max-height:90vh;display:block;cursor:zoom-out;box-shadow:0 20px 60px #000}
#zoom .btn{position:absolute;top:8px;right:8px}
/* story animée: the template's example (looping, muted), then the customer's own MP4 */
.vex{margin:0 0 10px;display:grid;justify-items:center;gap:4px}
.vex video{width:min(100%,220px);aspect-ratio:9/16;border-radius:10px;background:var(--bg2);display:block}
.vid{width:100%;max-height:440px;border-radius:10px;background:#000;display:block;margin:4px 0 10px}
.vacts{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 6px}
.lightbox{border:0;padding:0;background:transparent;max-width:96vw;max-height:96vh;overflow:visible}
.lightbox::backdrop{background:#000c}
.lightbox img{max-width:96vw;max-height:90vh;display:block;cursor:zoom-out;box-shadow:0 20px 60px #000}
.lightbox .btn{position:absolute;top:8px;right:8px}
/* « Fermer » over an enlarged poster: an opaque chip (a ghost button vanished on a light or busy poster, on phones) */
#zoom .btn,.lightbox .btn{background:var(--panel);color:var(--ink);border:1px solid var(--line);box-shadow:0 2px 12px #0009;
  opacity:1;min-height:36px;padding:6px 14px;font-weight:600}
#zoom .btn::before,.lightbox .btn::before{content:"✕";margin-right:6px}
.log{font:12px/1.6 ui-monospace,Menlo,monospace;color:var(--mut);max-height:150px;overflow:auto}
.log div:last-child{color:var(--ink)}
.spinner{width:34px;height:34px;border:3px solid var(--line);border-top-color:var(--acc);border-radius:50%;animation:s 1s linear infinite;margin:auto}
@keyframes s{to{transform:rotate(360deg)}}
.side .card{margin-bottom:14px}
.dl a{margin-right:6px}
.range{display:flex;gap:10px;align-items:center}
.range input{flex:1;accent-color:var(--acc)}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{text-align:left;padding:8px;border-bottom:1px solid var(--line)}
th{color:var(--mut);font-weight:500}
.kpi{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.kpi .card b{display:block;font-family:Bebas,sans-serif;font-size:40px;font-weight:400}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:600px){.row2{grid-template-columns:1fr}}
.model .mhead{display:flex;gap:14px;align-items:center;margin-bottom:6px}
.model .mhead .sw{width:88px;height:62px;border-radius:8px;flex:none;overflow:hidden}
.model.off{opacity:.6}
.model details summary{cursor:pointer;color:var(--acc);font-size:13.5px;margin-top:4px}
.model .row2 .field{margin:6px 0}
a.chip{text-decoration:none}
.codegate{max-width:520px;margin-top:22px}
.codegate form{display:flex;gap:8px}
.adminnav{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:22px 0 10px}
.adminnav h1{font-size:46px}
@media(max-width:560px){.adminnav{gap:6px 14px}.adminnav h1{font-size:40px;width:100%}.adminnav form{margin-left:0!important}}
.evprev{display:grid;grid-template-columns:1fr 260px;gap:20px;align-items:start}
.evprev img{width:100%;display:block;box-shadow:0 14px 30px -12px #000b;border-radius:4px;transition:filter .3s,opacity .3s}
.evprev img.busy{filter:blur(4px);opacity:.55}
.cmp{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start}
.cmp-side{position:sticky;top:80px}
.cmp-side img{width:100%;display:block;box-shadow:0 14px 30px -12px #000b;border-radius:4px;transition:filter .3s,opacity .3s}
.cmp-side img.busy{filter:blur(4px);opacity:.55}
.cmp-bloc{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:10px 0;background:var(--bg2)}
.cmp-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.cmp-head span{display:flex;gap:4px}
.cmp-add{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cmp-add select,.cmp-add input{width:auto;flex:1 1 180px}
.cmp-pal{display:flex;gap:6px}
.cmp-pal input[type=color]{width:52px;flex:none}
.cmp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
@media(max-width:800px){.cmp{grid-template-columns:1fr}.cmp-side{position:static}.cmp-stats{grid-template-columns:1fr 1fr}}
/* real thumbnails (static/showcase, event previews): the poster on a dark mat, never cropped */
.thumb{display:flex;align-items:center;justify-content:center;background:var(--mat);padding:12px}
.thumb img{max-width:100%;max-height:100%;display:block;box-shadow:0 10px 22px -10px #000c;border-radius:2px}
.tpl .thumb{height:170px}
.model .mhead .thumb{width:76px;height:96px;padding:6px;border-radius:8px;flex:none}
.evmodel{display:flex;gap:16px;align-items:center;margin-top:16px;max-width:760px}
.evmodel .thumb{width:130px;height:170px;border-radius:8px;flex:none}
.evmodel p{margin:0}
@media(max-width:700px){.evprev{grid-template-columns:1fr}}
.kpilink{text-decoration:none;color:var(--ink)}
.kpilink:hover,.kpilink.on{border-color:var(--acc)}
.st{display:inline-block;border-radius:20px;padding:2px 9px;font-size:12px;border:1px solid currentColor;white-space:nowrap}
.st-dispo{color:var(--ok)}.st-used{color:var(--acc)}.st-off{color:var(--red)}.st-expired{color:var(--gold)}
.gold{display:inline-block;border-radius:20px;padding:2px 9px;font-size:12px;font-weight:600;color:var(--gold);border:1px solid currentColor;white-space:nowrap}
.tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 12px}
@media(max-width:760px){.tgrid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.tgrid{grid-template-columns:1fr}}
.scroll{overflow-x:auto}
.acts{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.acts form{display:flex;gap:6px}
.btn.danger{color:var(--red);border-color:var(--danger-line)}
.tfilter{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.tfilter input,.tfilter select{width:auto;flex:1 1 160px;padding:8px 10px}
.tbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:8px}
.tickets .code{font-family:ui-monospace,Menlo,monospace;font-size:13px}
.tickets th,.tickets td:nth-child(-n+3),.tickets td:nth-child(5){white-space:nowrap}
.tickets td:nth-child(n+7){white-space:nowrap;font-size:13px}
.tickets td:nth-child(6){min-width:110px}
.pager{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.bars{display:flex;align-items:flex-end;gap:3px;height:90px}
.bars i{flex:1;background:var(--acc);border-radius:2px 2px 0 0;min-height:2px}.bars i.zero{background:var(--line)}
.barsx{display:flex;justify-content:space-between;font-size:11.5px;color:var(--mut);margin-top:4px}
.adelta{font-size:12.5px;color:var(--mut)}.adelta.up{color:var(--ok)}.adelta.down{color:var(--red)}
.afunnel{display:grid;gap:8px}.afunnel div{display:grid;grid-template-columns:minmax(120px,190px) 1fr 52px 54px;gap:10px;align-items:center;font-size:13.5px}
.afunnel u{display:block;min-width:0;overflow:hidden;text-decoration:none}.afunnel i{display:block;height:14px;max-width:100%;background:var(--acc);border-radius:3px}.afunnel b{text-align:right}
.ashare{display:grid;grid-template-columns:96px 1fr 48px;gap:10px;align-items:center;font-size:13.5px;margin:6px 0}
.ashare i{display:block;height:10px;background:var(--line);border-radius:5px;overflow:hidden}.ashare u{display:block;height:100%;background:var(--acc)}.ashare b{text-align:right}
.sgauge{display:grid;grid-template-columns:minmax(120px,220px) 1fr auto;gap:10px;align-items:center;font-size:13.5px;margin:8px 0}
.sgauge i{display:block;height:10px;background:var(--line);border-radius:5px;overflow:hidden}.sgauge u{display:block;height:100%;background:var(--acc)}
.sgauge.warn u{background:var(--red)}.sgauge b{text-align:right;font-weight:600;white-space:nowrap}
.sbudgets{display:grid;gap:8px;margin:14px 0 6px}.sbudgets label{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13.5px}
.sbudgets input{width:90px}.sbudgets .btn{justify-self:start}.ssync{margin:6px 0 4px}
@media(max-width:600px){.sgauge{grid-template-columns:1fr auto}.sgauge i{grid-column:1/-1;grid-row:2}}
@media(max-width:600px){.afunnel div{grid-template-columns:1fr 60px 50px}.afunnel u{grid-column:1/-1;order:3}}

/* ---- shop: order box on the session page */
.codeline{display:flex;gap:8px;margin-top:10px}
.seg.paid:before{content:"✓ ";color:var(--ok)}
/* after a purchase: bought models / formats stand out, the others are dimmed with their price (still clickable) */
.seg.paid{border-color:var(--ok);font-weight:600}
.seg.paid.on{border-color:var(--acc)}
.seg.dim{color:var(--mut);border-style:dashed}
.seg.dim:not(.on){opacity:.7}
.seg.dim:hover{opacity:1;color:var(--ink)}
.seg small{margin-left:6px;font-weight:400;font-size:11.5px;color:var(--mut)}
.dlmain{display:grid;gap:8px;margin:4px 0 10px}
.dlmain .btn{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;padding:10px 16px;margin:0}
.dlmain .btn small{font-weight:400;opacity:.8;font-size:12.5px}
.dl .more{margin:12px 0 0;font-size:14px}
.buy{display:grid;gap:8px;margin-top:6px}
.buy .opt,.buy .fopt{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;cursor:pointer}
.buy .opt.on,.buy .fopt.on{border-color:var(--acc);background:var(--sel)}
.buy .opt input,.buy .fopt input{accent-color:var(--acc);width:16px;height:16px;margin:0}
.buy .opt span{flex:1;display:flex;flex-direction:column}.buy .opt small{color:var(--mut);font-size:12.5px}
.buy .fopt span{flex:1}
.buy em{font-style:normal;font-weight:600;white-space:nowrap}
.buy .fmts{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.buy .fopt{padding:8px 10px;font-size:13.5px;gap:7px}
.vchips{display:flex;flex-wrap:wrap;gap:6px}
.vchip{border:1px solid var(--ok);color:var(--ok);border-radius:20px;padding:3px 4px 3px 11px;font-size:12.5px;display:inline-flex;align-items:center;gap:4px}
.vchip.bad{border-color:var(--red);color:var(--red)}
.vchip button{background:none;border:0;color:inherit;font-size:16px;line-height:1;cursor:pointer;padding:0 6px}
.sum{display:grid;gap:3px;font-size:14px;margin-top:4px}
.sum>div{display:flex;justify-content:space-between}
.sum .tot{font-size:17px;font-weight:600;border-top:1px solid var(--line);padding-top:6px;margin-top:3px}
.paynote{font-size:12.5px;margin:2px 0 0}
/* ---- admin › boutique */
.tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);padding-bottom:10px}
.tabs a{padding:7px 13px;border-radius:9px;text-decoration:none;color:var(--ink);border:1px solid transparent}
.tabs a.on{border-color:var(--acc);background:var(--sel)}
.paystate .ok{color:var(--ok)}
.euro{position:relative}.euro:after{content:"€";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--mut);pointer-events:none}
.euro input{padding-right:28px}
/* ---- gift cards: /offrir and the printable card */
.gift-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;margin:34px 0 26px}
.gift-art{position:relative;aspect-ratio:1/1}
.gift-art .h-frame.front{width:62%;left:19%;top:4%}
.giftform{max-width:640px;margin:0 auto 30px}
.amounts{display:flex;flex-wrap:wrap;gap:8px}
.amount{cursor:pointer}.amount input{position:absolute;opacity:0;pointer-events:none}
.amount span{display:inline-block;min-width:86px;text-align:center;border:1px solid var(--line);border-radius:10px;padding:12px 14px;font:400 26px Bebas,sans-serif;letter-spacing:.03em}
.amount input:checked+span{border-color:var(--acc);background:var(--sel)}
.amount input:focus-visible+span{outline:2px solid var(--acc)}
.amount.other span{font:500 15px system-ui,sans-serif;padding:19px 14px}
.giftbar{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin:26px 0 14px}
.giftbar p{margin:0}
.giftcard{display:grid;grid-template-columns:40% 60%;background:#f8f5ee;color:#14243e;overflow:hidden;max-width:1000px;margin:0 auto;box-shadow:0 20px 60px #15243e20}
.gc-art{background:#102039;display:flex;flex-direction:column;padding:36px 28px 26px;overflow:hidden}
.gc-logo{width:188px;max-width:100%;height:auto;align-self:flex-start}
.gc-mosaic{position:relative;width:100%;max-width:332px;aspect-ratio:332/366;margin:24px auto 22px;flex-shrink:0}
.gc-poster{position:absolute;width:35%;height:auto;display:block;box-shadow:5px 10px 18px #0006}
.gc-poster:nth-child(1){left:1%;top:0;transform:rotate(-7deg)}
.gc-poster:nth-child(2){right:1%;top:5%;transform:rotate(7deg)}
.gc-poster:nth-child(3){left:32.5%;top:27%;z-index:2;transform:rotate(-3deg)}
.gc-poster:nth-child(4){left:1%;top:53%;transform:rotate(5deg)}
.gc-poster:nth-child(5){right:1%;top:56%;transform:rotate(-6deg)}
.gc-caption{color:#c0cde0;font-size:10px;line-height:1.6;letter-spacing:1px;text-align:center;text-transform:uppercase;margin:auto 0 0}
.gc-body{padding:40px 36px 28px;display:flex;flex-direction:column;min-width:0}
.gc-top{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d9d6ce;padding-bottom:20px}
.gc-kicker{font:500 10px system-ui,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#7a6a4f;margin:0}
.gc-amount{font:400 52px/1 Bebas,sans-serif;margin:0;white-space:nowrap}
.public-site .giftcard .gc-headline{color:#14243e}
.gc-headline{font:400 54px/.99 Bebas,sans-serif;letter-spacing:.4px;margin:26px 0 22px;color:#14243e}
.gc-to{font:400 33px/1.1 Bebas,sans-serif;margin:0;overflow-wrap:anywhere}
.gc-msg{font:italic 17px/1.6 Georgia,serif;margin:14px 0 8px;color:#2c3a55;white-space:pre-line;overflow-wrap:anywhere}
.gc-from{font-size:12px;margin:0 0 24px;color:#68717c;overflow-wrap:anywhere}
.gc-redeem{margin-top:auto;border-top:1px solid #d9d6ce;padding-top:19px}
.gc-code-label{font-size:9px;letter-spacing:2px;text-transform:uppercase;margin:0 0 9px}
.gc-code{font:600 21px/1.2 Consolas,monospace;letter-spacing:2px;margin:0 0 12px;overflow-wrap:anywhere}
.gc-how{font-size:11px;line-height:1.7;color:#536075;margin:0;overflow-wrap:anywhere}
.gc-meta{font-size:10px;color:#68717c;margin:18px 0 0}
.gift-preview .giftcard{grid-template-columns:40% 60%}.gift-preview .gc-art{padding:20px 14px}.gift-preview .gc-body{padding:20px}.gift-preview .gc-headline{font-size:34px}.gift-preview .gc-amount{font-size:38px}.gift-preview .gc-top{flex-wrap:wrap}.gift-preview .gc-caption{font-size:8px}.gift-preview .gc-to{font-size:26px}
@media(max-width:760px){.gift-hero{grid-template-columns:1fr}.giftcard,.gift-preview .giftcard{grid-template-columns:1fr}.gc-art,.gift-preview .gc-art{padding:26px 24px}.gc-mosaic{max-width:290px}.gc-body{padding:26px}.gc-headline{font-size:46px}.gc-logo{width:160px}}
@media print{
  header.top,footer,.noprint{display:none!important}
  body,main.wrap{background:#fff!important;margin:0;padding:0}
  .giftcard{box-shadow:none;border:1px solid #ccc;max-width:none;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
.h-gift-in{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:var(--r);padding:30px 34px;background:linear-gradient(120deg,var(--gift-a),var(--gift-b))}
.h-gift-in h2{margin-bottom:8px}.h-gift-in p.muted{max-width:560px;margin:0}
.upnote{font-size:12.5px;color:var(--ok);margin:4px 0 0}
.upsell{background:none;border:1px dashed var(--acc);color:var(--acc);border-radius:9px;padding:7px 10px;font:500 13px system-ui,sans-serif;cursor:pointer;margin-top:6px;width:100%}
.upsell:hover{background:var(--sel)}
/* ---- theme button (header) */
.themebtn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;margin-left:4px;border-radius:50%;
  border:1px solid var(--line);background:transparent;color:var(--mut);cursor:pointer;padding:0;flex:none}
.themebtn:hover{color:var(--ink);border-color:var(--mut)}
.themebtn:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.themebtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;display:none}
.themebtn .i-auto .fill{fill:currentColor;stroke:none}.themebtn .i-dark path{fill:currentColor;stroke:none}
.themebtn:not([data-mode]) .i-auto,.themebtn[data-mode="auto"] .i-auto,.themebtn[data-mode="light"] .i-light,.themebtn[data-mode="dark"] .i-dark{display:block}
@media print{.themebtn{display:none}}
.erase{font-size:12.5px;line-height:1.6;margin:4px 2px 0}
/* « revenir plus tard » : copy the page's link or get it by e-mail */
.keep{margin:14px 2px 0;font-size:13.5px}
.keep p{margin:0}
.keep .codeline{max-width:460px}
.keep .codeline input{flex:1;min-width:0}
.keep #linkmsg:empty{display:none}
.keep #linkmsg{margin-top:6px}
/* organiser's page (/organisateur/<slug>) */
.orghead{display:flex;align-items:center;gap:16px}.orghead h1{margin:0}.orghead .evlogo{display:block;flex:none}
.org .small{font-size:13px}.org .code{font-family:ui-monospace,Menlo,monospace;letter-spacing:.02em}
.org .card h2{font-size:22px;margin-top:0}.org .codeline input{flex:1;min-width:0}
.pbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:13.5px;margin-bottom:10px}.pbar form{margin-left:auto}
.pevent{display:block;text-decoration:none;color:var(--ink);margin-top:12px}.pevent:hover{border-color:var(--acc)}
.pevent h2{margin:0}.pevent p{margin:2px 0 0}.pevent .chips{margin-top:10px}
.pdfacts{display:flex;gap:8px;flex-wrap:wrap}
.orgposter{display:grid;grid-template-columns:minmax(0,260px) 1fr;gap:20px;align-items:start}.orgposter h2{margin-top:0}
.orgposter .pthumb{aspect-ratio:auto}.orgposter .pthumb img{height:auto}
@media(max-width:600px){.orgposter{grid-template-columns:1fr}}
.ptiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.ptile{display:flex;flex-direction:column;gap:6px;min-width:0}.ptile b{overflow-wrap:anywhere}
.pthumb{display:block;aspect-ratio:1;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--mat)}
.pthumb img{display:block;width:100%;height:100%;object-fit:contain}
.pthumb.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--mut);font-size:13px;text-decoration:none}.pcard{max-width:560px}.pcard .pcode{font:600 26px ui-monospace,Menlo,monospace;letter-spacing:.35em;max-width:240px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.linkbtn{background:none;border:0;padding:0;color:var(--acc);font:inherit;text-decoration:underline;cursor:pointer}
/* ---- step indicator (create, previews) */
.stepper{list-style:none;display:flex;flex-wrap:wrap;gap:6px 22px;padding:0;margin:24px 0 0;font-size:13px;color:var(--mut)}
.stepper li{display:flex;align-items:center;gap:8px}
.stepper li+li:before{content:"";width:22px;height:1px;background:var(--line);margin-right:14px}
.stepper i{font-style:normal;width:22px;height:22px;border-radius:50%;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;font-size:12px}
.stepper li.on{color:var(--ink);font-weight:600}.stepper li.on i{background:var(--acc);border-color:var(--acc);color:var(--on-acc)}
.stepper li.done i{border-color:var(--ok);color:var(--ok)}
@media(max-width:560px){.stepper li+li:before{display:none}.stepper{gap:6px 14px}}
/* ---- file help, sample route */
.howto{margin:10px 0 4px;font-size:13.5px}
.howto summary{cursor:pointer;color:var(--acc)}
.howto ul{margin:8px 0;padding-left:18px;line-height:1.6;color:var(--ink2)}
.howto p{margin:4px 0 0;font-size:12.5px}
.sample{margin:6px 0 2px;font-size:13.5px}
/* ---- FAQ (home) */
.faq{max-width:820px;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:4px 0}
.faq summary{cursor:pointer;list-style:none;padding:14px 30px 14px 0;font:600 16px system-ui,sans-serif;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";position:absolute;right:4px;top:10px;font:400 24px system-ui,sans-serif;color:var(--mut)}
.faq details[open] summary:after{content:"–"}
.faq p{margin:0 0 16px;color:var(--ink2);line-height:1.7;max-width:720px}
.linkbtn{text-align:left}
.flash.ok{background:var(--tuto);border:1px solid var(--tuto-line)}
#gluimport.optional{opacity:.7}
#gluimport.optional .field label.l:after{content:" (facultatif)";color:var(--mut);font-weight:400}
/* Screenshot calibration: a full-size workspace, local to the browser. */
.shotbox{margin-top:12px;border:1px solid var(--line);border-radius:8px;padding:16px;background:var(--bg2)}
.shotbox .linkbtn{margin:12px}.shotbox p{margin-top:0}
.shoteditor{border:1px solid var(--line);border-radius:12px;padding:22px;background:var(--panel);color:var(--ink);width:min(1440px,96vw);max-width:96vw;max-height:96vh;max-height:96dvh;overflow:auto;box-sizing:border-box}
.shoteditor::backdrop{background:var(--shadow);backdrop-filter:blur(4px)}
html:has(.shoteditor[open]){overflow:hidden}
.shothead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;background:var(--panel)}.shothead h2,.shothead p{margin:0}
.shotactions{display:flex;align-items:center;gap:8px}.shotactions .btn{margin:0}
.shotwork{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.shotimage{min-width:0}
.shottools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.shottools .btn,.shotadjust .btn{min-width:44px;min-height:44px;padding:8px 12px;margin:0}
.shottools output{min-width:52px;text-align:center;font-variant-numeric:tabular-nums}.shottools [aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--acc)}
.shotstage{position:relative}.shotviewport{height:clamp(280px,60vh,760px);height:clamp(280px,60dvh,760px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:8px;background:var(--mat)}
#shotcv{display:block;max-width:none;margin:auto;cursor:crosshair;touch-action:none;outline-offset:-3px}
#shotcv.panning{cursor:grab}#shotcv.panning:active{cursor:grabbing}
.shotloupe{position:absolute;top:12px;right:12px;width:140px;height:140px;border:2px solid var(--acc);border-radius:50%;pointer-events:none;box-shadow:0 4px 20px var(--shadow);background:var(--panel)}
.shotstep{margin:0 0 12px;font-weight:600;color:var(--ink);min-height:3em}
.shotmarks{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.shotmarks div{display:flex;flex-direction:column;gap:6px;min-width:0}.shotmarks input{min-width:0;width:100%;box-sizing:border-box}
.shotmarks .chip{background:var(--bg2);cursor:pointer;font:inherit;font-size:12.5px;text-align:left;min-height:44px;white-space:normal;color:var(--ink2)}
.shotmarks .chip.set:before{content:"✓ ";color:var(--acc)}.shotmarks .chip.on{border-color:var(--acc);color:var(--ink);box-shadow:0 0 0 1px var(--acc)}
.shotadjust{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:16px 0}.shotadjust span{flex-basis:100%}
.shotres{margin:14px 0;font-size:13.5px;color:var(--ink2)}
@media(max-width:850px){.shoteditor{padding:14px}.shotwork{display:flex;flex-direction:column;gap:12px}.shotimage,.shotmarks{width:100%}.shotcontrols{display:contents}.shotstep{order:-1}.shotviewport{height:42vh;height:42dvh;min-height:210px}.shothead{position:sticky;top:-14px;z-index:2;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line)}.shothead h2{font-size:24px}.shotactions{width:100%;justify-content:space-between}.shothead .btn{font-size:12px;padding:10px}.shotstep{min-height:0}.shotloupe{width:110px;height:110px}.shotimage>.help{margin-bottom:0}}

/* Strava: pick an activity instead of a file */
.strava{margin:6px 0 4px}
/* official Strava assets (_strava.html), never altered: button 48 px high, « Powered by » smaller than our logo */
.stv-connect{display:inline-block;line-height:0;border-radius:6px}.stv-connect img{height:48px;width:auto;display:block}
.stv-connect:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
.stv-powered{margin:10px 0 0;line-height:0}.stv-powered img{height:14px;width:auto}
.stv-powered .for-dark{display:none}
:root[data-theme="dark"] .stv-powered .for-light{display:none}:root[data-theme="dark"] .stv-powered .for-dark{display:inline}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .stv-powered .for-light{display:none}:root:not([data-theme="light"]) .stv-powered .for-dark{display:inline}}
.stvrow{display:grid;gap:2px}
.stvview{justify-self:end;font-size:12.5px;font-weight:700;color:var(--strava);text-decoration:underline;padding:0 4px}
.stvnote{font-size:13px;margin:8px 0 0}
.stvhead{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.stvhead .linkbtn{margin-left:auto}
.stvlist{display:grid;gap:6px;max-height:340px;overflow:auto;margin-top:8px;padding:2px}
.stvitem{display:flex;gap:10px;align-items:center;text-align:left;padding:8px 10px;border:1px solid var(--line);border-radius:10px;
  background:var(--panel);color:var(--ink);font:inherit;cursor:pointer;min-height:52px}
.stvitem svg{width:40px;height:40px;flex:none;border-radius:6px;background:var(--sel)}
.stvitem path{fill:none;stroke:var(--strava);stroke-width:4;stroke-linejoin:round;stroke-linecap:round}
.stvitem b{display:block;font-weight:600}.stvitem small{color:var(--mut)}
.stvitem.on{border-color:var(--strava);box-shadow:0 0 0 2px var(--strava) inset}
.stvmore{justify-self:start;margin:4px 2px}
.or{display:flex;align-items:center;gap:10px;color:var(--mut);font-size:13px;margin:12px 0 8px}
.or::before,.or::after{content:"";flex:1;border-top:1px solid var(--line)}
.howto-mobile{display:none}
@media (pointer:coarse){.howto-mobile{display:block}}
/* « Ton affiche est prête » */
.ready{border:0;border-radius:var(--r);padding:0;background:var(--panel);color:var(--ink);width:min(1000px,calc(100vw - 32px));
  max-height:calc(100vh - 32px);overflow:auto;box-shadow:0 24px 70px var(--shadow)}
.ready::backdrop{background:#000a}
.readyg{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;padding:22px;align-items:center}
.readys{background:var(--mat);border-radius:10px;padding:10px;display:flex;justify-content:center}
.readys .scene{max-width:100%}
.readys .phone{height:min(54vh,520px)}
.readyt h2{margin:0 0 4px}
.readydl{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.readydl .btn{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;padding:10px 16px;min-width:130px}
.readydl .btn small{font-weight:400;opacity:.8;font-size:12.5px}
.share{border-top:1px solid var(--line);padding-top:12px}
.sharebtns{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}
.small{font-size:13px}
.readyx{margin:14px 0 0}
.dl .btn{margin-right:6px}
@media (max-width:760px){.readyg{grid-template-columns:1fr;padding:16px;gap:14px}.readydl .btn{flex:1}
  .readys .phone{height:34vh;padding:7px;border-radius:24px}.readys .phone .screen{border-radius:18px}.readys .scene figcaption{display:none}}
/* « Tes fichiers » */
.frow{margin:0 0 12px}.frow .l{font-weight:600;margin-bottom:6px}
.fgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px}
.fcell{border:1px solid var(--line);border-radius:8px;padding:6px 8px;display:flex;flex-direction:column;gap:2px;font-size:13px;background:var(--bg2)}
.fcell b{font-weight:600;color:var(--ink)}.fcell a{margin-right:8px;font-weight:600}
.fcell.ok{border-color:var(--ok)}
.facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
/* Agenda, actus */
.agenda{display:grid;gap:12px}
.ev{display:grid;grid-template-columns:72px 1fr auto;gap:16px;align-items:start;background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:16px}
.ev.past{opacity:.92}
.ev.evadd{border-style:dashed;background:transparent}.evshot{display:block;width:130px;text-align:center;color:var(--mut);text-decoration:none}.evshot img{width:100%;display:block;border:1px solid var(--line);border-radius:2px}.evshot small{font-size:11.5px}.ev.evadd .evday b{color:var(--acc)}
.evday{display:flex;flex-direction:column;align-items:center;border-radius:10px;background:var(--sel);padding:8px 4px;line-height:1.05}
.evday b{font:400 34px Bebas,system-ui;color:var(--ink)}.evday span{font-size:13px;font-weight:600;color:var(--ink2)}.evday small{font-size:12px;color:var(--mut)}
.evbody h3{margin:0 0 2px}.evbody p{margin:4px 0}.evmeta{color:var(--mut);font-size:14px}
.evcta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px!important;font-size:13.5px}
.evlogo{width:64px;height:64px;object-fit:contain}
.orgcta{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.orgcta h2{margin:0}
.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.post{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel);color:var(--ink);text-decoration:none}
.post:hover{border-color:var(--acc)}.post b{font-size:17px}.post small{color:var(--mut)}
.kind{font-weight:600;color:var(--acc)}.kind.k-promo{color:var(--gold)}
.article{max-width:720px}.article h1{margin:4px 0 14px}
.promo{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border:1px dashed var(--gold);border-radius:10px;padding:12px 16px;margin:16px 0}
.promo b{font:600 20px ui-monospace,monospace;letter-spacing:.06em;color:var(--ink)}
@media (max-width:640px){.ev{grid-template-columns:56px 1fr;padding:12px;gap:12px}.evlogo{display:none}.evshot{grid-column:2;width:150px}.evday b{font-size:28px}}.printbox{border:1px solid var(--line);border-radius:10px;padding:14px}.printbox h3{margin-top:0}
.mailready{border-color:var(--ok)}.mailkinds{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}.giftsend{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}.giftsend input{max-width:280px}

/* Contact */
.contact{max-width:760px}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.kinds{display:grid;gap:6px}
.kindopt{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px 12px;cursor:pointer;background:var(--panel)}
.kindopt:has(input:checked){border-color:var(--acc);box-shadow:0 0 0 1px var(--acc) inset}.footnav{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px}.footnav a{color:var(--mut)}
/* social pages (Facebook, Instagram): one-colour icons of static/brand (scripts/make_logos.py) painted in the text colour */
.social{display:flex;gap:14px;margin-left:auto;align-items:center}
.social a{display:block;width:22px;height:22px;background:currentColor;color:var(--mut);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.social a:hover,.social a:focus-visible{color:var(--acc)}
.social .s-facebook{--ico:url(/static/brand/social-facebook.svg)}.social .s-instagram{--ico:url(/static/brand/social-instagram.svg)}

/* Admin layout: grouped side navigation, page header, calm card titles */
.admin{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;margin:22px 0 40px;align-items:start}
.anav{position:sticky;top:80px;display:flex;flex-direction:column;gap:14px;font-size:14px}
.anav-title{font:400 22px Bebas,Impact,sans-serif;letter-spacing:.04em;color:var(--ink)}
.anav-group{display:flex;flex-direction:column;gap:2px}
.anav-group span{font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--mut);margin:0 0 4px 10px}
.anav a{display:flex;justify-content:space-between;align-items:center;padding:7px 10px;border-radius:4px;color:var(--ink2);text-decoration:none}
.anav a:hover{background:var(--sel);color:var(--ink)}
.anav a.on{background:var(--sel);color:var(--ink);font-weight:600;box-shadow:inset 3px 0 0 var(--acc)}
.nbadge{background:var(--acc);color:var(--on-acc);border-radius:10px;font-size:11.5px;padding:1px 7px;font-weight:600}
.sstate{display:inline-flex;align-items:center;gap:5px;border:1px solid currentColor;border-radius:10px;font-size:11.5px;padding:1px 8px;font-weight:700}
.sstate::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.sstate.closed{color:var(--red)}.sstate.open{color:var(--ok)}
.anav-out{margin:4px 0 0 10px}
.ahead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:18px;
  padding-bottom:14px;border-bottom:1px solid var(--line)}
.ahead h1{font-size:44px;line-height:1;margin:0}
.akicker{margin:0 0 4px;font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--mut)}
.ahead .asub{margin:6px 0 0;color:var(--mut)}
.aactions{display:flex;gap:8px;flex-wrap:wrap}
.amain h2,.amain h3{font-family:inherit;font-weight:650;letter-spacing:0;line-height:1.3;color:var(--ink)}
.amain h2{font-size:18px;margin:0 0 12px}.amain h3{font-size:15.5px;margin:0 0 10px}
.amain .card + .card,.amain form.card + .card,.amain .card + form.card{margin-top:14px}
.amain table{width:100%}
.amain .kpi{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.amain .kpi .card{padding:14px 16px}.amain .kpi .card span{font-size:13px}
.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.toolbar .segs{display:flex;gap:6px}
.msg{margin-bottom:12px}.msg header{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin-bottom:6px}
.msg.done{opacity:.65}.msgbody{white-space:pre-wrap;margin:8px 0 12px}
.badge{display:inline-block;border-radius:20px;padding:2px 9px;font-size:12px;font-weight:600;background:var(--sel);color:var(--ink2)}
.badge.k-club{color:var(--ok)}.badge.k-sav{color:var(--gold)}
.empty{text-align:center;padding:28px}
.pdfview{width:100%;height:min(78vh,1100px);border:1px solid var(--line);border-radius:10px;background:var(--mat)}
dialog.pdfdlg{width:min(980px,calc(100vw - 24px));max-height:calc(100vh - 24px);border:0;border-radius:var(--r);padding:14px;background:var(--panel);color:var(--ink)}
dialog.pdfdlg::backdrop{background:#000a}
.pdfdlg .bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
@media(max-width:860px){.admin{grid-template-columns:minmax(0,1fr);gap:12px}.amain{min-width:0}
  .anav{position:static;min-width:0;max-width:100%;flex-direction:row;overflow-x:auto;gap:4px;white-space:nowrap;scrollbar-width:none;padding-bottom:4px;border-bottom:1px solid var(--line)}
  .anav-title,.anav-group span{display:none}.anav-group{flex-direction:row;gap:2px}.anav a.on{box-shadow:inset 0 -2px 0 var(--acc)}
  .anav-out{margin:0}.ahead h1{font-size:36px}}.waiver{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;color:var(--mut);margin:10px 0}.waiver input{margin-top:3px}

/* Legal pages */
.legal{max-width:820px}.legal h2{font:650 19px/1.3 system-ui,sans-serif;letter-spacing:0;color:var(--ink);margin:26px 0 8px}
.legal p,.legal li{line-height:1.6}
.legalnav{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0 6px;font-size:14px}
mark.todo{background:var(--flash-err);color:var(--red);border-radius:4px;padding:0 4px}
/* Home carousel: posters in situation (illustrations: fixed colours, never the interface theme) */
.cr{position:relative;min-width:0}
.cr-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;border-radius:16px;
  box-shadow:0 30px 60px -28px var(--shadow)}
.cr-track::-webkit-scrollbar{display:none}
.cr-slide{flex:0 0 100%;scroll-snap-align:center;margin:0;position:relative}
.cr-slide figcaption{position:absolute;left:14px;bottom:14px;right:14px;display:flex;flex-direction:column;gap:2px;
  background:#0b0d12c4;color:#f4f2ee;backdrop-filter:blur(6px);border-radius:10px;padding:9px 12px;font-size:13px;max-width:max-content}
.cr-slide figcaption b{font:400 20px/1 Bebas,Impact,sans-serif;letter-spacing:.05em}
.cr-ctrl{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}
.cr-btn{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--ink);font-size:20px;line-height:1;cursor:pointer}
.cr-btn:hover{border-color:var(--acc)}
.cr-dots{display:flex;gap:8px}.cr-dots button{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:var(--line);cursor:pointer}
.cr-dots button[aria-current="true"]{background:var(--acc);width:24px;border-radius:5px}
.scene{position:relative;aspect-ratio:1/1.02;overflow:hidden;background:linear-gradient(#ebe4d8,#ddd4c5)}
.scene>*{position:absolute}
.scene .pf{background:#18181b;padding:1.6%;box-shadow:0 22px 40px -14px #000b,0 4px 10px #0005}
.scene .pf .mt{background:#f7f5f0;padding:7%;box-shadow:inset 1px 2px 4px #0002}
.scene .pf img{display:block;width:100%;height:auto}
.scene .pf.dark .mt{background:#101216}
/* salon */
.s-salon .floor{left:0;right:0;bottom:0;height:17%;background:linear-gradient(#a98a6c,#8a6d52)}
.s-salon .board{left:16%;width:68%;top:69%;height:14%;background:linear-gradient(#f3efe8,#e1d9cc);box-shadow:0 12px 18px -8px #0007}
.s-salon .books{left:22%;top:64.5%;width:13%;height:4.5%;background:linear-gradient(#7d4b3a 0 33%,#3f5a73 33% 66%,#c9a85a 66%)}
.s-salon .vase{left:70%;top:55%;width:6.5%;height:14%;background:linear-gradient(90deg,#c9b9a3,#efe6d8 45%,#bfae96);border-radius:40% 40% 18% 18%/22% 22% 12% 12%}
.s-salon .pf.one{left:31%;top:7%;width:38%}
/* duo */
.s-duo{background:linear-gradient(#bfc9b5,#a9b59f)}
.s-duo .pf.left{left:14%;top:10%;width:34%}.s-duo .pf.right{left:52%;top:10%;width:34%}
.s-duo .sofa{left:8%;width:84%;bottom:4%;height:27%;background:linear-gradient(#8a7562,#6f5c4b);border-radius:18px 18px 8px 8px;box-shadow:0 18px 30px -12px #0008}
.s-duo .cushion{bottom:22%;width:17%;height:11%;border-radius:10px;background:linear-gradient(#e9dcc6,#d6c6aa);box-shadow:0 6px 10px -4px #0006}
.s-duo .c1{left:20%;transform:rotate(-6deg)}.s-duo .c2{left:63%;transform:rotate(5deg);background:linear-gradient(#2c6e73,#1f5559)}
/* story */
.s-story{background:radial-gradient(circle at 30% 20%,#2a3d66,#0e1424 70%)}
.s-story .glow{left:20%;top:15%;width:60%;height:70%;background:radial-gradient(#78ebff55,transparent 65%);filter:blur(10px)}
.s-story .ph{background:#0b0d12;padding:1.4%;border-radius:22px;box-shadow:0 26px 50px -14px #000d,inset 0 0 0 2px #2c3240}
.s-story .ph img{display:block;width:100%;border-radius:17px}
.s-story .ph.back{left:16%;top:12%;width:30%;transform:rotate(-8deg);opacity:.85}
.s-story .ph.front{left:43%;top:6%;width:36%;transform:rotate(3deg)}
.s-story .bubble{right:9%;top:66%;background:#f4f2ee;color:#111;font:600 13px system-ui;padding:8px 12px;border-radius:20px;box-shadow:0 10px 20px -6px #000a}
/* bureau */
.s-bureau{background:linear-gradient(#2b3a50,#1d2838)}
.s-bureau .lamp{left:-10%;top:-12%;width:70%;height:70%;background:radial-gradient(#ffd99a66,transparent 62%)}
.s-bureau .desk{left:0;right:0;bottom:0;height:16%;background:linear-gradient(#6b4f3a,#4f3a2a);box-shadow:0 -2px 0 #0003}
.s-bureau .mug{right:16%;bottom:16%;width:7%;height:8%;background:linear-gradient(90deg,#d9d4cb,#f4f1ea 50%,#cfc9be);border-radius:2px 2px 8px 8px}
.s-bureau .pf.one{left:29%;top:8%;width:40%}
/* club */
.s-club{background:linear-gradient(#f0ece4,#e2dbcf)}
.s-club .pf.one{left:20%;top:7%;width:40%}
.s-club .ribbon{left:69%;top:10%;width:12%;height:34%;background:linear-gradient(90deg,#c0392b 0 33%,#f4f2ee 33% 66%,#2b4f8a 66%);
  clip-path:polygon(0 0,100% 0,62% 100%,38% 100%)}
.s-club .medal{left:68%;top:41%;width:14%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe9a8,#d9a73b 55%,#a5761d);
  box-shadow:0 10px 18px -6px #0008,inset 0 0 0 4px #c8952c}
@media(prefers-reduced-motion:reduce){.cr-track{scroll-behavior:auto}}
/* Header on phones: logo · « Créer » · theme · ☰ ; the links fold into a panel */
.hcta,.burger,header.top nav .m-only{display:none}
.burger{width:40px;height:40px;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer;
  align-items:center;justify-content:center;padding:0}
.burger svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;transition:transform .2s}
.burger path{transition:transform .2s,opacity .2s;transform-origin:12px 12px}
header.top.open .burger .l1{transform:translateY(5px) rotate(45deg)}
header.top.open .burger .l2{opacity:0}
header.top.open .burger .l3{transform:translateY(-5px) rotate(-45deg)}
@media(max-width:760px){
  header.top .wrap{height:60px;gap:10px;position:relative}
  header.top .wrap .hcta{display:inline-flex;margin-left:auto;padding:8px 14px}
  .brand span{font-size:24px}
  .burger{display:inline-flex}
  header.top nav{display:none;position:absolute;left:0;right:0;top:100%;margin:0;flex-direction:column;gap:0;
    background:var(--head);border-bottom:1px solid var(--line);box-shadow:0 18px 30px -18px var(--shadow);padding:6px 16px 14px;font-size:24px}
  header.top nav a{padding:12px 4px;border-bottom:1px solid var(--line)}
  header.top nav a:last-child{border-bottom:0}
  header.top nav a.on{box-shadow:inset 3px 0 0 var(--acc);padding-left:12px}
  header.top nav .m-only{display:block}
  header.top.open nav{display:flex}
  header.top nav + .themebtn{margin-left:auto}      /* no « Créer » button (maintenance page) */
}
@media(prefers-reduced-motion:reduce){.burger path{transition:none}}
/* the site name stays on one line in the header: smaller on narrow phones, the header « Créer » button gives way below 350 px (it stays in the menu and on the page) */
@media(max-width:370px){header.top .wrap{gap:8px}.brand{gap:8px}.brand img{width:30px;height:30px}.brand span{font-size:22px}}
@media(max-width:350px){header.top .wrap .hcta{display:none}.themebtn{margin-left:auto}}
/* actus: photos in the text, cover, editor toolbar */
.article figure{margin:22px 0}
.article figure img{width:100%;height:auto;display:block;border-radius:10px}
.article figcaption{font-size:13.5px;color:var(--ink2);margin-top:6px}
.article h2{margin-top:26px}
.article ul{padding-left:22px}
.article .cover img{max-height:460px;object-fit:cover}
.post .post-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-bottom:8px;display:block}
.rt-bar{margin-bottom:8px}
.rt-prev{border:1px dashed var(--line);border-radius:10px;padding:4px 16px;margin-top:10px}
.evtitle{min-width:0}.evtitle h1{font-size:clamp(36px,9vw,56px);overflow-wrap:anywhere}
.legal table{display:block;overflow-x:auto;max-width:100%}
.moreposts{text-align:center;margin:18px 0}
.logbox summary{cursor:pointer;font:600 14px system-ui,sans-serif;color:var(--ink2)}
.logbox[open] summary{margin-bottom:8px}
.logbox .log{white-space:pre-wrap;overflow-wrap:anywhere}
/* phones and tablets: customise before buying (the side column comes under the preview) */
@media(max-width:920px){.layout.sess .side{display:flex;flex-direction:column}.layout.sess .side>*{order:2}
  .layout.sess #perso,.layout.sess #glu{order:1}}
/* phones: the models in one swipeable row, the file drop zone right under it */
@media(max-width:600px){.grid.small{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding-bottom:6px;
  margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
  .grid.small .tpl{flex:0 0 132px;scroll-snap-align:start}.grid.small .tpl .thumb{height:120px}
  .grid.small .tpl .b{padding:8px 10px}.grid.small .tpl h3{font-size:17px}.grid.small .tpl small{display:none}}
.evtabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:14px;overflow-x:auto}
.evtabs button{background:none;border:0;border-bottom:2px solid transparent;color:var(--ink2);font:600 14px system-ui,sans-serif;
  padding:10px 14px;cursor:pointer;white-space:nowrap}
.evtabs button.on{color:var(--ink);border-bottom-color:var(--acc)}
[data-tab][hidden]{display:none!important}
/* actus: the feed shows each post (up to its « Lire la suite » cut) */
.feed{display:grid;gap:18px;max-width:760px}
.feed-post{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:18px 22px}
.feed-post h2{margin:2px 0 8px}.feed-post h2 a{color:var(--ink);text-decoration:none}.feed-post h2 a:hover{color:var(--acc)}
.feed-cover{width:calc(100% + 44px);margin:-18px -22px 14px;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:var(--r) var(--r) 0 0}
.readmore{color:var(--acc);font-weight:600}

/* site closed, seen through the gate (base.html): bar fixed at the bottom, hidden for the visit by its × */
.gatebar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:12px;
  width:max-content;max-width:calc(100% - 32px);background:var(--panel);color:var(--ink);border:1px solid var(--line);
  border-radius:999px;padding:8px 8px 8px 16px;box-shadow:0 14px 34px -14px var(--shadow);font-size:13.5px}
.gatebar p{margin:0;min-width:0}
.gatebar p span{color:var(--mut)}
.gatebar a{white-space:nowrap;font-weight:600;text-decoration:none}
.gatebar a:hover{text-decoration:underline}
.gatebar button{flex:none;width:30px;height:30px;border-radius:50%;border:0;background:var(--sel);color:var(--ink);font-size:18px;line-height:1;cursor:pointer}
.gb-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px color-mix(in srgb,var(--gold) 22%,transparent)}
body:has(.gatebar:not([hidden])){padding-bottom:72px}
/* creation steps: their « Retour / Suivant » bar is pinned at the bottom: the notice stays at the end of the page */
body:has(.wnav) .gatebar{position:static;transform:none;width:max-content;max-width:calc(100% - 32px);margin:12px auto 16px}
body:has(.wnav):has(.gatebar:not([hidden])){padding-bottom:0}
@media(max-width:640px){.gatebar{bottom:10px;gap:10px;font-size:12.5px}.gatebar p span,.gatebar a[href="/maintenance"]{display:none}.gatebar p b{white-space:nowrap}}
@media print{.gatebar{display:none}}

/* admin › services (services.py) */
.svc{margin-bottom:14px}
.svc>header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.svc>header h2{margin:0 8px 0 0;color:var(--ink)}
.svc>header small{font:500 13px system-ui,sans-serif;color:var(--mut);letter-spacing:0}
.svc h3{margin-top:18px}
.svc .kpi{margin:12px 0}
.svc .kpi .card span{display:block;font-size:12.5px;overflow-wrap:anywhere}
.svc .kpi .card b{font-size:30px;margin:4px 0;overflow-wrap:anywhere}
.svc-links{margin:4px 0 6px}
.svc-links a.chip{text-decoration:none;color:var(--acc)}
.svc-links a.chip:hover{border-color:var(--acc)}
.svc table{display:block;overflow-x:auto}

/* maintenance page (gate.py): the home page in short, nothing to order; access code and « préviens-moi » */
.m-hero{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:64px 0 56px}
.m-hero h1{font-size:clamp(56px,8vw,104px);letter-spacing:.02em}
.m-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--panel);border-radius:999px;
  padding:6px 14px 6px 12px;font-size:13px;color:var(--ink2);margin:0 0 18px}
.m-badge i{width:8px;height:8px;border-radius:50%;background:var(--gold)}
.m-reopen{font-weight:600;color:var(--ink);margin:-8px 0 22px}
.m-art{position:relative;aspect-ratio:1/.95}
.m-art .pf{position:absolute;background:#18181b;padding:1.4%;box-shadow:0 26px 50px -16px #000c,0 4px 10px #0005}
.m-art .pf .mt{background:#f7f5f0;padding:6%}
.m-art .pf.dark .mt{background:#101216}
.m-art .pf img{display:block;width:100%;height:auto}
.m-art .pf.c{width:46%;left:27%;top:0;z-index:2}
.m-art .pf.g{width:36%;left:0;top:14%;transform:rotate(-4deg)}
.m-art .pf.d{width:36%;right:0;top:14%;transform:rotate(4deg)}
#modeles .h-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){#modeles .h-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
.m-gate{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.m-gate .card{padding:26px}
.m-gate h2{color:var(--ink);font-size:34px}
.m-gate form{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.m-gate form input{flex:1 1 200px;min-width:0}
.m-gate #mcode{text-transform:uppercase}
.m-gate .hp{position:absolute}
.m-gate .small{font-size:12.5px;margin:12px 0 0}
@media(max-width:900px){.m-hero,.m-gate{grid-template-columns:1fr;gap:36px}.m-hero{padding:36px 0}.m-art{max-width:520px;width:100%;margin:auto}}

/* printed poster (session page, prints.py) */
.buy .l,.pform .l{font-weight:600;font-size:13px;margin-top:4px}
.pform{display:grid;gap:8px;margin-top:14px}
.pform .row2{gap:8px}
.pform input[type=text],.pform input:not([type]),.pform input[type=email],.pform input[type=tel]{width:100%;min-width:0}
#printcard .flash.ok{margin-top:0}
/* ---- suivi d'une commande imprimée (/commande/…) */
.track{max-width:980px;margin:34px auto 60px}
.track-k{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--mut);margin:0 0 6px}
.track-h{font-size:clamp(40px,6vw,64px);margin:0 0 6px}
.track-grid{display:grid;grid-template-columns:1fr minmax(0,300px);gap:22px;margin-top:22px;align-items:start}
.track-grid:has(> :only-child){grid-template-columns:1fr}
.track-card .flash{margin-bottom:14px}
.steps{list-style:none;margin:4px 0 18px;padding:0}
.steps li{position:relative;padding:0 0 18px 34px;color:var(--mut)}
.steps li:last-child{padding-bottom:4px}
.steps li i{position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;border:2px solid var(--line);background:var(--panel)}
.steps li:not(:last-child):after{content:"";position:absolute;left:9px;top:23px;bottom:1px;width:2px;background:var(--line)}
.steps li.done{color:var(--ink)}
.steps li.done i{border-color:var(--ok);background:var(--ok)}
.steps li.done i:after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid var(--panel);border-width:0 2px 2px 0;transform:rotate(45deg)}
.steps li.done:not(:last-child):after{background:var(--ok)}
.steps li.on{color:var(--ink)}
.steps li.on i{border-color:var(--acc);box-shadow:0 0 0 4px var(--sel)}
.steps li.on i:after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--acc)}
.steps b{display:block;font-weight:600}
.steps small{display:block;color:var(--mut);font-size:13px}
.tfacts{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:16px 0;padding:14px 0 0;border-top:1px solid var(--line)}
.tfacts dt{color:var(--mut)}.tfacts dd{margin:0}
.track-art{margin:0;background:#16191e;border-radius:var(--r);padding:22px;display:flex;justify-content:center}
.track-art img{width:100%;height:auto;display:block;box-shadow:0 14px 28px -10px #000}
@media(max-width:720px){.track-grid{grid-template-columns:1fr}.track-art{order:-1;max-width:340px;width:100%;margin:0 auto}}
/* ---- affiche imprimée : la finition commandée, au mur et en vignettes (cadres Gelato, sans passe-partout) */
.room .pframe.fr-white{background:linear-gradient(135deg,#fbfaf7,#e6e2da);box-shadow:0 14px 28px -6px #0006,0 3px 6px #0003,inset 0 0 0 1px #0000000f}
.room .pframe.fr-natural{background:repeating-linear-gradient(90deg,#0000 0 3px,#6b45200f 3px 4px),linear-gradient(135deg,#d9b88c,#b98d5c 55%,#cfa676);box-shadow:0 14px 28px -6px #0007,0 3px 6px #0004}
.room .pframe.fr-black{background:linear-gradient(135deg,#2a2a2d,#141416)}
.room .art.paper{box-shadow:0 10px 18px -6px #0007,0 1px 3px #0004}
.room .glass{background:linear-gradient(118deg,#fff0 30%,#ffffff1f 42%,#fff0 55%),linear-gradient(#ffffff0a,#fff0);pointer-events:none}
.fins{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.fin{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;padding:10px 6px 8px;cursor:pointer;text-align:center;font-size:13px;line-height:1.25}
.fin.on{border-color:var(--acc);background:var(--sel)}
.fin input{position:absolute;opacity:0;pointer-events:none}
.fin:focus-within{outline:2px solid var(--acc);outline-offset:2px}
.fin em{font-style:normal;color:var(--mut);font-size:12.5px}
.fthumb{display:block;width:64px;padding:5px;background:#1b1b1d;box-shadow:0 6px 12px -6px #0009,0 0 0 1px var(--line)}
.fthumb img,.fthumb i{display:block;width:100%;height:auto}
.fthumb i{aspect-ratio:1;background:var(--mat)}
.fthumb.fr-white{background:linear-gradient(135deg,#fbfaf7,#e6e2da);box-shadow:0 6px 12px -6px #0007,0 0 0 1px #0000001a}
.fthumb.fr-natural{background:linear-gradient(135deg,#d9b88c,#b98d5c 55%,#cfa676)}
.fthumb.fr-none{padding:0;background:none;width:54px;margin:5px 0}
.fnote{font-size:12.5px;margin:6px 0 0}
.pphotos{display:flex;gap:8px;overflow-x:auto;margin:10px 0;padding-bottom:4px;scroll-snap-type:x mandatory}
.pph{flex:0 0 auto;width:96px;aspect-ratio:1;padding:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--mat);cursor:zoom-in;scroll-snap-align:start}
.pph img{width:100%;height:100%;object-fit:cover;display:block}
.pgallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.pgallery figure{margin:0;display:flex;flex-direction:column;gap:6px}
.pgallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.pgallery figcaption{font-size:12.5px;color:var(--mut)}
.pgallery .acts{display:flex;gap:4px;flex-wrap:wrap}
.margins td{white-space:nowrap}.margins tr.off td{opacity:.6}
.mrate{display:inline-block;padding:1px 7px;border-radius:999px;font-size:12.5px;font-weight:600;border:1px solid var(--line)}
.mrate.good{color:var(--ok)}.mrate.mid{color:var(--gold)}.mrate.bad{color:var(--red)}

/* Public workshop: keep the poster beside the controls, then choose the download. */
.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 20px}
.editor-heading .h-kicker{margin-bottom:6px}
.editor-title{font:400 36px/1.1 Bebas,Impact,sans-serif;margin:0;color:var(--ink)}
.editor-note{font-size:14px;color:var(--mut);max-width:240px;text-align:right}
.editor-shortcuts{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}
.editor-shortcuts a{padding:9px 16px;border:1px solid var(--line);border-radius:24px;color:var(--ink2);text-decoration:none;font-size:14px;background:var(--panel)}
.editor-shortcuts a:hover,.editor-shortcuts a:focus-visible{border-color:var(--acc);background:var(--sel);color:var(--ink)}
.sess .stage,.sess .side{min-width:0}
.sess .stage{min-height:0;padding:20px;gap:16px}
.sess .view{min-height:260px}
.preview-help{font-size:13px;color:var(--mut);text-align:center;margin:0}
.sess #perso>h2{color:var(--ink);font-size:32px}
.sess #stylebox{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.sess .field label.l{font-size:14px}
.sess .help{font-size:13px}
.sess #hdcard{border-color:var(--acc)}
.sess .keep{padding:16px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel)}
#preview,#perso,#hdcard{scroll-margin-top:84px}
header.top nav{font:600 13.5px/1.3 system-ui,sans-serif;letter-spacing:0;gap:18px}
header.top nav a{padding:8px 0;color:var(--ink2)}
.h-proof{font-size:13px;letter-spacing:.02em}
.h-meta span{font-size:14px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--acc);outline-offset:4px}
@media(min-width:921px){
  .sess .stage{position:sticky;top:82px}
  .sess #vc>img.art{max-height:calc(100dvh - 360px);object-fit:contain}
  .sess .scene{max-height:calc(100dvh - 360px)}
}
@media(max-width:920px){
  .sess .stage{padding:16px}
  .layout.sess .side>*{order:initial}
  .layout.sess #perso,.layout.sess #glu{order:initial}
}
@media(max-width:760px){
  header.top nav{gap:0;font-size:15px}
  header.top nav a{padding:14px 4px}
  .editor-heading{margin:24px 0 18px;align-items:flex-start}
  .editor-title{font-size:30px}
  .editor-note{max-width:145px;font-size:12.5px}
  .editor-shortcuts{position:sticky;top:0;z-index:20;background:var(--bg);padding:10px 0;margin:12px 0 0;border-bottom:1px solid var(--line)}
  .editor-shortcuts a{flex:1;text-align:center;padding:10px 6px;font-size:13px}
  .sess .bar .lbl{width:100%;font-size:13px;margin-bottom:2px}
  .sess .seg{min-height:40px}
  .sess #vc>img.art{max-height:60dvh}
  .sess .chips{font-size:12px}
  .h-hero{gap:24px;padding-top:30px}
  .h-lead{font-size:16px;line-height:1.6;margin:16px 0 20px}
  .h-proof{margin:18px 0 0}
}
/* Actus (blog): the latest post « à la une », then a list with the cover on the left */
.news-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:32px;align-items:center;padding:8px 0 30px}
.news-top.nocover,.news-row.nocover{grid-template-columns:minmax(0,1fr)}
.news-img{display:block;overflow:hidden;border-radius:4px;background:var(--bg2)}
.news-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.news-img:hover img{transform:scale(1.03)}
.news-top .news-img{aspect-ratio:4/3}
.news-top h2{font-size:clamp(26px,3.2vw,38px);line-height:1.12;margin:6px 0 12px}
.news-top h2 a,.news-row h2 a{color:var(--ink);text-decoration:none}.news-top h2 a:hover,.news-row h2 a:hover{color:var(--acc)}
.news-sum{color:var(--ink2);line-height:1.6;margin:0 0 10px}
.news-code{font-size:13px;color:var(--ink2);margin:0 0 8px}.news-code b{font-family:ui-monospace,monospace;color:var(--ink);letter-spacing:.05em}
.news-list{border-top:1px solid var(--line)}
.news-row{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start;padding:22px 0;border-bottom:1px solid var(--line)}
.news-row .news-img{aspect-ratio:3/2}
.news-row h2{font-size:22px;line-height:1.2;margin:4px 0 8px}
.news-row .h-kicker,.news-top .h-kicker{margin:0}
.news-post .lead{font-size:19px;line-height:1.55;color:var(--ink2);margin:0 0 18px}
.news-post .cover img{aspect-ratio:16/9;max-height:none}
.news-post .cover a,.article .gallery a{display:block;cursor:zoom-in}
.article .gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;margin:22px 0}
.article .gallery figure{margin:0}.article .gallery img{aspect-ratio:1;object-fit:cover;border-radius:6px}
.article .gallery figcaption{font-size:12.5px}
.news-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.news-more{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}
.news-mini{display:flex;flex-direction:column;gap:4px;color:var(--ink);text-decoration:none}
.news-mini img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:4px;margin-bottom:6px}
.news-mini small{color:var(--mut);font-size:12.5px}.news-mini:hover b{color:var(--acc)}
@media (max-width:720px){.news-top{grid-template-columns:minmax(0,1fr);gap:16px}
  .news-row{grid-template-columns:minmax(0,1fr);gap:12px}.news-row .news-img{aspect-ratio:16/9}}
.coverpick{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;margin:8px 0;align-items:start}
.cp-src{position:relative;line-height:0;display:inline-block;justify-self:start}.cp-src img{max-width:100%;max-height:320px;cursor:crosshair;border-radius:6px}
.cp-dot{position:absolute;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:3px solid var(--bg);box-shadow:0 0 0 2px var(--acc);pointer-events:none}
.cp-views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cp-views small{color:var(--mut)}
.cp-view{overflow:hidden;border-radius:4px;background:var(--bg2)}.cp-view img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:720px){.coverpick{grid-template-columns:minmax(0,1fr)}}

/* map palettes under a model (home gallery, creation page): two-tone dots, the chosen one ringed */
.pals{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.pal-sw{width:22px;height:22px;border-radius:50%;padding:0;cursor:pointer;border:1px solid var(--line);
  background:linear-gradient(135deg,var(--a) 0 50%,var(--b) 50% 100%);box-shadow:0 0 0 2px transparent;transition:box-shadow .15s,transform .15s}
.pal-sw:hover{transform:scale(1.12)}
.pal-sw.on{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--acc)}
.pal-sw:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
.wpal{margin:0 0 14px}.wpal .l{display:block;font-size:14px;margin-bottom:2px}
@media(max-width:560px){.pal-sw{width:26px;height:26px}
  .pals{flex-wrap:nowrap;gap:5px}.pals .pal-sw{width:auto;height:auto;flex:0 1 26px;min-width:0;aspect-ratio:1}}   /* one row, never a lone dot below */
/* /offrir: « N affiches HD » first, then amounts with what they buy */
.offers{border:0;padding:0;margin:0 0 18px;min-width:0}
.offers legend{font-weight:650;font-size:15px;color:var(--ink);margin-bottom:10px;padding:0}
.hdopts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:8px}
.hdopt{cursor:pointer;position:relative}.hdopt input{position:absolute;opacity:0;pointer-events:none}
.hdopt span{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:10px;padding:14px 16px;background:var(--panel);height:100%}
.hdopt b{font:400 28px/1.05 Bebas,sans-serif;letter-spacing:.03em;color:var(--ink)}
.hdopt em{font-style:normal;font-weight:650;color:var(--acc)}
.hdopt input:checked+span{border-color:var(--acc);background:var(--sel);box-shadow:inset 0 0 0 1px var(--acc)}
.hdopt input:focus-visible+span,.amount input:focus-visible+span{outline:2px solid var(--acc);outline-offset:2px}
.offers .amounts{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.amount2 span{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;min-width:0;height:100%;box-sizing:border-box;width:100%}
.amount2 b{font:400 26px/1 Bebas,sans-serif;letter-spacing:.03em;font-weight:400}
.amount2 small{font:500 12px/1.35 system-ui,sans-serif;color:var(--mut);letter-spacing:0}
.gc-amount.gc-hd{font-size:.8em}
@media(max-width:520px){.offers .amounts{grid-template-columns:1fr 1fr}}
