/* v.278 : décors de fête photoréalistes ancrés aux composants (voir fete-deco.js). Aucun voile ni filtre sur l'écran ; tout disparaît avec html.fxoff. */
.fd{position:absolute;display:block;pointer-events:none;user-select:none;background:center/contain no-repeat;font-size:0}
/* liseré : collé au bord haut de l'écran, derrière les textes du menu ; le même, retourné, tout en bas de la page */
.fd-bord{left:0;right:0;top:0;height:30px;background-image:var(--fbord);background-size:auto 100%;background-repeat:repeat-x;background-position:50% 0;filter:drop-shadow(0 3px 3px rgba(0,0,0,.5));z-index:-1}
html[data-fete]:not(.fxoff) .hdr{padding-top:18px}
html[data-fete]:not(.fxoff){scroll-padding-top:6.2rem}
html[data-fete]:not(.fxoff) :is(.hdr.solid,.hdr.always){background:rgba(15,18,13,.97)}
.hdr.menu-open .fd-bord{display:none}
/* accessoire posé sur le logo */
.fd-acc{left:calc(1.3rem - .95rem);top:-.72rem;width:1.9rem;height:1.5rem;background-position:50% 100%;transform:rotate(-10deg);filter:drop-shadow(0 2px 2px rgba(0,0,0,.5))}
html:is([data-fete=valentin],[data-fete=meres]) .fd-acc{left:1.6rem;top:auto;bottom:-.3rem;width:1.5rem;height:1.5rem;transform:none}
html[data-fete=musique] .fd-acc{left:-.35rem;top:-.4rem;width:3.3rem;height:3.1rem;transform:none}
html[data-fete=peres] .fd-acc{background-image:var(--fo6)!important;top:-.45rem;transform:none}
html[data-fete=paques] .fd-acc{top:-1.15rem;height:1.6rem;transform:none}
html[data-fete=halloween] .fd-acc{top:-1.15rem;height:1.9rem;filter:brightness(1.9) drop-shadow(0 0 3px #ff9a2e)}
html[data-fete=valentin] .fd-acc{background-image:var(--fvol)!important}
/* photos de fond de la fête (classes posées une fois l'image chargée) */
html[data-fete].fhero:not(.fxoff) .hero-bg{background-image:var(--fhero)!important;background-color:#12150f}
html[data-fete].fband:not(.fxoff) .band-bg{background-image:var(--fband)!important}
html[data-fete].fband:not(.fxoff) .page-hero{background-image:linear-gradient(90deg,rgba(12,14,10,.9) 20%,rgba(12,14,10,.55)),var(--fband);background-size:cover;background-position:center}
/* coins du grand visuel */
/* cartes : objet dans le coin, liseré en haut, bordure de la couleur de la fête */
html[data-fete]:not(.fxoff) .card{border-color:color-mix(in srgb,var(--fa) 42%,transparent)}
html[data-fete]:not(.fxoff) .card:hover{border-color:var(--fa);box-shadow:0 0 22px -8px var(--fa)}
.fd-coin{right:-12px;top:-16px;width:54px;height:54px;filter:drop-shadow(0 4px 4px rgba(0,0,0,.45));z-index:3;transition:transform .25s}
.fd-coin.p{width:34px;height:34px;right:-9px;top:-11px}
/* boutons d'action : l'objet de la fête dépasse du coin haut gauche */
html[data-fete]{--fcta:var(--fo1)}
html[data-fete=fete14]{--fcta:var(--fcoin)}html[data-fete=catherine]{--fcta:var(--fo3)}
/* objet du bouton : le plus lisible en petit sur l'orange */
html:is([data-fete=noel],[data-fete=peres],[data-fete=musique]){--fcta:var(--fo2)}html[data-fete=nouvelan]{--fcta:var(--fo5)}
.fd-btn{left:-20px;top:-20px;width:34px;height:34px;background-image:var(--fcta);transform:rotate(-10deg);filter:drop-shadow(0 2px 2px rgba(0,0,0,.5));z-index:2;transition:transform .25s}
.fd-btn.p{width:24px;height:24px;left:-13px;top:-14px}
:hover>.fd-btn,:hover>.fd-coin{transform:rotate(8deg) scale(1.18)}
html[data-fete] .fete-bar .fi{background-image:var(--fcta,var(--fi));transform:scale(1.25)}
/* semis le long des pages */
.fd-sem{filter:drop-shadow(0 5px 5px rgba(0,0,0,.5));animation:fdbal 5s ease-in-out infinite alternate;transform-origin:50% 0}
.fd-sem.m{width:70px;height:84px}.fd-sem.m.l{left:10px}.fd-sem.m.r{right:10px}
@keyframes fdbal{from{transform:rotate(-5deg)}to{transform:rotate(6deg)}}
/* ce qui s'envole au survol ou au clic */
.fd-v{position:fixed;z-index:130;will-change:transform,opacity}
html[data-fete=halloween] .fd-v{filter:brightness(.5) drop-shadow(0 0 3px #ff9a2e) drop-shadow(0 0 7px rgba(255,140,30,.8))}
/* objets posés sur le bord haut du pied de page */
/* couleurs et motif de chaque fête (barre de chargement, bandeau cookies) */
html[data-fete=noel]{--fm:repeating-linear-gradient(45deg,#c8352f 0 9px,#fff4ec 9px 18px);--fn:#12160f;--fd1:#2a1210}
html[data-fete=nouvelan]{--fm:linear-gradient(90deg,#a87412,#ffe9a0,#d9a21c,#fff2c4,#a87412);--fn:#0d0c18;--fd1:#1c1738}
html[data-fete=valentin]{--fm:repeating-linear-gradient(45deg,#d9264a 0 10px,#ff8fa5 10px 20px);--fn:#170c10;--fd1:#3a1020}
html[data-fete=paques]{--fm:repeating-linear-gradient(90deg,#f7c6da 0 12px,#f2e07c 12px 24px,#9fe0b8 24px 36px,#a9d3f5 36px 48px);--fn:#10160f;--fd1:#1c3320}
html[data-fete=meres]{--fm:repeating-linear-gradient(90deg,#ee6fa0 0 14px,#f9d7e4 14px 28px);--fn:#170f13;--fd1:#3a1a28}
html[data-fete=peres]{--fm:repeating-linear-gradient(135deg,#17305f 0 10px,#3f7be0 10px 14px,#17305f 14px 24px,#d9e4f7 24px 27px);--fn:#0c111b;--fd1:#13264c}
html[data-fete=musique]{--fm:repeating-linear-gradient(90deg,#ff4fa3 0 5px,transparent 5px 8px,#ffd23f 8px 13px,transparent 13px 16px,#6f7bff 16px 21px,transparent 21px 24px);--fn:#110b18;--fd1:#32123c}
html[data-fete=fete14]{--fm:repeating-linear-gradient(90deg,#2450c8 0 18px,#fff 18px 36px,#e2312d 36px 54px);--fn:#080c1a;--fd1:#12205a}
html[data-fete=halloween]{--fm:repeating-linear-gradient(45deg,#f58a1f 0 10px,#1b1020 10px 20px);--fn:#08060a;--fd1:#2a1136}
html[data-fete=catherine]{--fm:repeating-linear-gradient(45deg,#f4d03f 0 10px,#3fa356 10px 20px);--fn:#11150c;--fd1:#2d3312}
/* bandeau cookies habillé (mêmes boutons, même poids) */
html[data-fete]:not(.fxoff) #s72mc{background:radial-gradient(120% 160% at 100% 0,var(--fd1),var(--fn) 70%)!important;border:2px solid var(--fa)!important;box-shadow:0 0 0 3px var(--fn),0 10px 34px rgba(0,0,0,.6),0 0 26px -8px var(--fa)!important;border-radius:12px!important}
html[data-fete]:not(.fxoff) #s72mc button{border-color:var(--fa)!important}
html[data-fete]:not(.fxoff) #s72mc div>button:not(:nth-child(3)){background:color-mix(in srgb,var(--fa) 40%,#111)!important}
html[data-fete]:not(.fxoff) #s72mc a{color:color-mix(in srgb,var(--fa) 45%,#fff)!important;font-weight:600}
html[data-fete]:not(.fxoff) #s72mc::before,html[data-fete]:not(.fxoff) #s72mc::after{content:"";position:absolute;pointer-events:none;background:center/contain no-repeat}
html[data-fete]:not(.fxoff) #s72mc::before{display:none}
html[data-fete]:not(.fxoff) #s72mc::after{right:10px;top:8px;width:26px;height:26px;background-image:var(--fo3)}
html[data-fete=halloween]:not(.fxoff) #s72mc{border-color:#000!important;outline:1px solid #7a3d0c;box-shadow:inset 0 0 40px #000,0 0 30px -4px #b1480a!important;isolation:isolate}
html[data-fete=halloween]:not(.fxoff) #s72mc::after{right:0;top:0;width:58px;height:58px;background-image:var(--fcoin);background-position:100% 0;opacity:.5;z-index:-1}
html[data-fete=musique]:not(.fxoff) #s72mc::after{background-image:var(--fo5)}
/* écran de chargement habillé */
#s72ld{isolation:isolate}
html[data-fete]:not(.fxoff) #s72ld{background:radial-gradient(90% 80% at 50% 45%,var(--fd1),var(--fn) 75%) 0 0/100% 100% no-repeat var(--fn)!important}
html[data-fete]:not(.fxoff) #s72ld::before,html[data-fete]:not(.fxoff) #s72ld::after{content:"";position:absolute;left:0;right:0;top:0;height:clamp(34px,6vh,56px);background:var(--fbord,none) 50% 0/auto 100% repeat-x;pointer-events:none;z-index:-1;filter:drop-shadow(0 5px 5px rgba(0,0,0,.5))}
html[data-fete]:not(.fxoff) #s72ld::after{top:auto;bottom:0;transform:scaleY(-1);height:22px;opacity:.9}
html:is([data-fete=fete14],[data-fete=halloween]):not(.fxoff) #s72ld::after{display:none}
html[data-fete]:not(.fxoff) #s72ld .ld-box{position:relative}
html[data-fete=valentin]:not(.fxoff) #s72ld .ld-lb::before{filter:brightness(1.7)}
html[data-fete]:not(.fxoff) #s72ld .ld-box::before,html[data-fete]:not(.fxoff) #s72ld .ld-box::after{content:"";position:absolute;bottom:calc(100% - 4px);width:clamp(54px,8vw,104px);aspect-ratio:1;background:var(--fo2) 50% 100%/contain no-repeat;animation:fdbal 2.2s ease-in-out infinite alternate;transform-origin:50% 100%;filter:drop-shadow(0 6px 6px rgba(0,0,0,.5));left:4%}
html[data-fete]:not(.fxoff) #s72ld .ld-box::after{left:auto;right:4%;background-image:var(--fo5);animation-delay:-1.1s}
html[data-fete]:not(.fxoff) #s72ld .ld-box svg{filter:drop-shadow(0 0 16px color-mix(in srgb,var(--fa) 55%,transparent))}
html[data-fete]:not(.fxoff) #ldgr stop:first-child{stop-color:var(--fa)!important}
html[data-fete]:not(.fxoff) #ldgr stop:last-child{stop-color:var(--fb)!important}
html[data-fete]:not(.fxoff) #s72ld .ld-tt{stroke:color-mix(in srgb,var(--fb) 45%,#F3EDDC)!important}
html[data-fete]:not(.fxoff) #s72ld .ld-bar{height:12px!important;border-radius:9px!important;border:1px solid color-mix(in srgb,var(--fa) 60%,transparent);background:rgba(0,0,0,.45)!important;overflow:visible!important}
html[data-fete]:not(.fxoff) #s72ld .ld-bar i{height:100%!important;border-radius:9px!important;background:var(--fm)!important;box-shadow:0 0 14px -2px var(--fa)!important}
html[data-fete]:not(.fxoff) #s72ld .ld-bar b{width:46px!important;height:46px!important;margin:0!important;top:50%!important;transform:translate(-50%,-56%)!important;border-radius:0!important;background:var(--fcta) 50%/contain no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 3px 4px rgba(0,0,0,.6))}
html[data-fete]:not(.fxoff) #s72ld .ld-row{margin-top:18px!important}
html[data-fete]:not(.fxoff) #s72ld .ld-lb::before{content:"";display:inline-block;width:1.7em;height:1.7em;margin-right:.5em;vertical-align:middle;background:var(--fo6) 50%/contain no-repeat;animation:fdbal 1.4s ease-in-out infinite alternate}
/* effets coupés + bouton */
html.fxoff .fd,html.fxoff .fx3,html.fxoff .fete-p,html.fxoff b.fete-fw,html.fxoff .fete-jojo{display:none!important}
.th-fx{flex:none;height:2.6rem;padding:0 .7rem;border-radius:99px;border:1px solid var(--line2,rgba(243,237,220,.18));background:rgba(20,23,17,.6);color:var(--cream,#F3EDDC);font:inherit;font-weight:700;font-size:.8rem;line-height:1;letter-spacing:.04em;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.3rem;-webkit-tap-highlight-color:transparent}
.th-fx span{min-width:1.7em;text-align:center}
.th-fx[data-on="1"]{border-color:var(--fa);background:color-mix(in srgb,var(--fa) 26%,#141711)}.th-fx[data-on="0"] svg{opacity:.45}
.th-fx:hover{border-color:var(--fa)}.th-fx:focus-visible{outline:2px solid var(--fa);outline-offset:3px}
.th-fx svg{width:1rem;height:1rem;flex:none;fill:currentColor}
/* place pour l'interrupteur : espaces resserrés, puis le nom cède la place */
html[data-fete] .hdr .wrap{gap:.5rem}html[data-fete] .hdr .lang{margin-left:0}
@media (max-width:1500px){html[data-fete] .hdr:has(.hdr-cart:not([hidden])) .wrap{gap:.3rem}}
@media (max-width:760px){html[data-fete] .hdr .wrap{gap:.35rem}html[data-fete] .hdr .lang{margin:0}}
@media (max-width:480px){html[data-fete] .hdr .brand small{display:none}}
@media (max-width:480px){html[data-fete] .hdr .brand .b18{display:none}}@media (max-width:400px){html[data-fete] .hdr .wrap{gap:.3rem}}
@media (max-width:370px){html[data-fete] .hdr .brand span{font-size:1.1rem}}
@media (max-width:345px){html[data-fete] .hdr .brand>span{display:none}}
@media (max-width:480px){html[data-fete] .hdr:has(.hdr-cart:not([hidden])) .brand>span{display:none}}
@media (max-width:345px){html[data-fete] .hdr:has(.hdr-cart:not([hidden])) .brand{display:none}}
@media (max-width:760px){.th-fx{width:2.6rem;padding:0;flex-direction:column;gap:1px;font-size:.6875rem;letter-spacing:0}.th-fx svg{width:.8rem;height:.8rem}}
/* v.279 : pied = une scène continue (haut et bas fondus, aucune coupure) ; mur = fond des pages, fondu vers le centre pour la lecture */
.fd-sol{left:0;right:0;top:0;height:clamp(150px,19vw,320px);background:var(--fsol) 50% 100%/cover no-repeat;z-index:0;-webkit-mask:linear-gradient(transparent,#000 34%,#000 62%,transparent);mask:linear-gradient(transparent,#000 34%,#000 62%,transparent)}
html[data-fete].fsol:not(.fxoff) .ftr::before{display:none}
html[data-fete].fsol:not(.fxoff) .ftr{border-top:0;background:linear-gradient(transparent,#0b0d09 clamp(90px,11vw,190px));padding-top:clamp(150px,18vw,300px)}
html[data-fete].fmur:not(.fxoff) body{background:linear-gradient(90deg,transparent,rgba(16,18,13,.82) 16%,rgba(16,18,13,.82) 84%,transparent) 50% 0/100% 100%,var(--fmur) 50% 0/100% auto repeat-y}
html:is([data-fete=noel],[data-fete=meres]).fmur:not(.fxoff) body{background:linear-gradient(90deg,rgba(16,18,13,.3),rgba(16,18,13,.88) 16%,rgba(16,18,13,.88) 84%,rgba(16,18,13,.3)) 50% 0/100% 100%,var(--fmur) 50% 0/100% auto repeat-y}
html[data-fete].fmur:not(.fxoff) main>section.sec{background-color:transparent}
@media (max-width:760px){html[data-fete].fmur:not(.fxoff) body{background:linear-gradient(rgba(16,18,13,.72),rgba(16,18,13,.72)),var(--fmur) 50% 0/100% auto repeat-y}html:is([data-fete=noel],[data-fete=meres]).fmur:not(.fxoff) body{background:linear-gradient(rgba(16,18,13,.8),rgba(16,18,13,.8)),var(--fmur) 50% 0/100% auto repeat-y}}
@media (max-width:760px){.fd-bord{height:20px}html[data-fete]:not(.fxoff) .hdr{padding-top:11px}.fd-coin{right:-7px;top:-11px;width:38px;height:38px}.fd-coin.p{width:28px;height:28px}.fd-btn{width:26px;height:26px;left:-11px;top:-15px}.fd-btn.p{width:20px;height:20px;left:-9px;top:-11px}html:is([data-fete=valentin],[data-fete=meres]) .fd-acc{left:.15rem;bottom:-.35rem;width:1.1rem;height:1.1rem}html[data-fete=musique] .fd-acc{left:-.2rem;top:-.25rem;width:2.35rem;height:2.5rem}html[data-fete]:not(.fxoff) #s72mc::before{width:34px;height:34px;left:-10px;top:-24px}}
@media (prefers-reduced-motion:reduce){.fd-sem,#s72ld .ld-box::before,#s72ld .ld-box::after,#s72ld .ld-lb::before{animation:none!important}}
@media print{.fd,.th-fx{display:none!important}}
/* v.279 : pas de billes qui traversent l'écran pendant une fête */
html[data-fete] .bbs{display:none}
/* v.280 : le héros fond vers la couleur unie du site, le mur n'apparaît qu'ensuite, sous la barre des chiffres (jamais deux images superposées) */
html[data-fete].fmur:not(.fxoff) :is(.hero,.page-hero){background-color:var(--bg)}
html[data-fete].fmur:not(.fxoff) #faits::before{display:block;left:50%;right:auto;width:100vw;transform:translateX(-50%);height:100%;background:linear-gradient(var(--bg) 22%,transparent)}
@media(max-width:760px){html[data-fete]:not(.fxoff) .hero .eyebrow{text-shadow:0 1px 2px #000,0 0 8px #000,0 0 14px rgba(0,0,0,.8)}}
.fete-bar span{text-wrap:balance}
html[data-fete=meres] .fd-acc{left:.2rem}html[data-fete=nouvelan] .fd-acc{filter:brightness(1.35) drop-shadow(0 0 3px #e8c35a)}
html[data-fete]:not(.fxoff) #s72mc input{accent-color:var(--fa)!important}
@media(max-width:760px){html[data-fete=paques] .fd-sol{background-size:100% auto}}
@media(min-width:761px) and (max-height:950px){html:is([data-fete=halloween],[data-fete=catherine]):not(.fxoff) .scroll-cue{display:none}}
@media(max-width:640px){html[data-fete=catherine] .fete-bar{font-size:.78rem;line-height:1.35;padding:.55rem .65rem}html[data-fete=catherine] .fete-bar span{flex:1 1 72%;text-wrap:wrap}html[data-fete=catherine] .fete-bar .fi{width:1.6rem;height:1.6rem}}
html[data-fete=halloween] .fd-coin{-webkit-mask:radial-gradient(closest-side,#000 70%,transparent);mask:radial-gradient(closest-side,#000 70%,transparent)}
@media(max-width:760px){html[data-fete=paques] .fd-sol{-webkit-mask:linear-gradient(transparent 34%,#000 60%,#000 80%,transparent);mask:linear-gradient(transparent 34%,#000 60%,#000 80%,transparent)}}
html[data-fete=valentin]:not(.fxoff) #s72mc::after{background-image:var(--fvol)}html:is([data-fete=halloween],[data-fete=fete14]):not(.fxoff) #s72mc::after{background-image:none}
html[data-fete=peres] .fd-acc{top:-.72rem}html[data-fete=halloween] .fd-acc{top:-1.3rem}
@media(max-width:760px){html:is([data-fete=fete14],[data-fete=catherine],[data-fete=nouvelan]):not(.fxoff) .hero :is(h1,p){text-shadow:0 1px 2px #000,0 0 10px #000,0 0 18px rgba(0,0,0,.85)}}
