/*
 * Six présentations autonomes pour l'accueil du jeu concours.
 * Chaque mode conserve le même contenu et les mêmes interactions, mais possède
 * sa propre composition, son écrin de lot et son langage graphique.
 */

body[data-home-stage="solar-disc"]{--stage-scene:linear-gradient(145deg,#fff8d6,#ffd56d);--stage-card:#fff8d6;--stage-line:#f05a47}
body[data-home-stage="cinema-screen"]{--stage-scene:linear-gradient(155deg,#3f0910,#160307 72%);--stage-card:#30070b;--stage-line:#ffb14a}
body[data-home-stage="midnight-plinth"]{--stage-scene:linear-gradient(145deg,#272028,#100d11);--stage-card:#181318;--stage-line:#c9a35f}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]){
  min-height:100dvh;
  overflow-x:clip;
  color:var(--home-presentation-text);
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .site-header{
  height:54px!important;
  min-height:54px!important;
  padding-inline:clamp(18px,4vw,54px)!important;
  border:0!important;
  font:750 .67rem/1 'DM Sans',sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .site-header>span{
  display:flex!important;
  align-items:center;
  gap:10px;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .site-header>span::before{
  content:""!important;
  display:block!important;
  flex:0 0 auto;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .client-layout{
  position:relative;
  min-height:calc(100dvh - 54px)!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout{
  position:relative;
  isolation:isolate;
  display:grid!important;
  grid-template-columns:minmax(330px,var(--home-copy-width)) minmax(460px,var(--home-slider-width))!important;
  grid-template-areas:"copy prizes" "actions prizes" "fine prizes"!important;
  align-content:center!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:var(--home-layout-gap)!important;
  row-gap:12px!important;
  width:min(var(--home-layout-max),calc(100% - 48px))!important;
  min-height:calc(100dvh - 54px)!important;
  margin:0 auto!important;
  padding:30px 0 34px!important;
  overflow:hidden!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.hero-copy{
  grid-area:copy;
  position:relative;
  z-index:2;
  display:flex!important;
  flex-direction:column!important;
  align-items:var(--home-copy-items)!important;
  width:100%!important;
  max-width:var(--home-copy-width)!important;
  margin:0!important;
  padding:28px 30px!important;
  border:1px solid var(--home-copy-border)!important;
  border-radius:var(--home-copy-radius)!important;
  background:var(--home-copy-surface)!important;
  box-shadow:none!important;
  text-align:var(--home-copy-align)!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy::after{display:none!important}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  justify-content:start!important;
  column-gap:11px!important;
  row-gap:0!important;
  width:auto!important;
  min-height:0!important;
  margin:0 0 22px!important;
  padding:0!important;
  color:inherit!important;
  text-align:left!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand .brand-mark{
  grid-row:1/3;
  width:48px!important;
  height:48px!important;
  max-width:48px!important;
  max-height:48px!important;
  margin:0!important;
  font:850 .85rem/1 'Manrope',sans-serif!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand strong{
  grid-column:2;
  align-self:end;
  max-width:300px!important;
  color:inherit!important;
  font:800 .96rem/1.08 var(--home-body-font)!important;
  letter-spacing:-.025em!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand small{
  grid-column:2;
  align-self:start;
  max-width:300px!important;
  color:var(--home-presentation-muted)!important;
  font:700 .61rem/1.1 var(--home-body-font)!important;
  letter-spacing:.12em!important;
  text-transform:uppercase;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #heroEyebrow{
  width:auto!important;
  margin:0 0 12px!important;
  color:var(--home-presentation-primary)!important;
  font:800 .65rem/1 var(--home-body-font)!important;
  letter-spacing:.16em!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #heroTitle{
  width:100%!important;
  max-width:var(--home-copy-width)!important;
  margin:0 0 13px!important;
  color:var(--home-presentation-text)!important;
  font-family:var(--home-display-font)!important;
  line-height:.96!important;
  text-wrap:balance!important;
  overflow-wrap:anywhere!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #heroSubtitle{
  max-width:410px!important;
  margin:0!important;
  color:var(--home-presentation-muted)!important;
  font-family:var(--home-body-font)!important;
  line-height:1.48!important;
  text-wrap:pretty!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.prize-stage{
  grid-area:prizes;
  position:relative;
  z-index:2;
  width:100%!important;
  max-width:var(--home-slider-width)!important;
  height:500px!important;
  min-height:500px!important;
  margin:0!important;
  padding:40px 0 28px!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-stage[data-slider-style] .prize-slider{
  position:relative;
  width:100%!important;
  height:430px!important;
  overflow:hidden!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-track .prize-card{
  top:17px!important;
  left:15%!important;
  width:70%!important;
  height:390px!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-track .prize-card.active{transform:translateX(0) scale(1)!important}
body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-track .prize-card.side-card{opacity:0!important;pointer-events:none!important}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-track .prize-icon-stage{
  width:100%!important;
  height:305px!important;
  min-height:305px!important;
  padding:34px!important;
  overflow:hidden!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-track .prize-vector{
  width:min(92%,250px)!important;
  height:235px!important;
  max-width:250px!important;
  max-height:235px!important;
  object-fit:contain!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-track .prize-caption{
  width:100%!important;
  min-height:68px!important;
  margin:8px 0 0!important;
  padding:10px 13px!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-track .prize-caption h2{
  margin:0!important;
  font:750 clamp(1rem,2vw,1.28rem)/1.08 var(--home-body-font)!important;
  text-wrap:balance!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .slider-arrow{
  z-index:8;
  width:42px!important;
  height:42px!important;
  top:48%!important;
  border-radius:50%!important;
  clip-path:none!important;
  font-size:1.35rem!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.hero-actions{
  grid-area:actions;
  width:100%!important;
  max-width:var(--home-copy-width)!important;
  margin:0!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.hero-actions .btn-primary{
  width:100%!important;
  min-height:54px!important;
  margin:0!important;
  padding:10px 14px 10px 20px!important;
  font:800 .76rem/1 var(--home-body-font)!important;
  letter-spacing:.075em!important;
  text-transform:uppercase;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.fine-print{
  grid-area:fine;
  width:100%!important;
  max-width:var(--home-copy-width)!important;
  margin:0!important;
  color:var(--home-presentation-muted)!important;
  font:600 .64rem/1.35 var(--home-body-font)!important;
}

/* Affiche solaire — composition ludique, formes franches et lot circulaire. */
body[data-background-mode="preset-3"]{
  background:radial-gradient(circle at 84% 14%,#fff2a8 0 12%,transparent 12.5%),linear-gradient(150deg,#fff0ad 0%,#ffd467 53%,#ff9a79 100%)!important;
  color:#12364d;
}
body[data-background-mode="preset-3"]::before{
  content:"";
  position:fixed;
  inset:auto -90px -130px auto;
  width:430px;
  aspect-ratio:1;
  border:58px solid rgba(18,54,77,.09);
  border-radius:50%;
  pointer-events:none;
}
body[data-background-mode="preset-3"]::after{
  content:"";
  position:fixed;
  left:-45px;
  top:24%;
  width:90px;
  height:180px;
  border-radius:0 110px 110px 0;
  background:#f05a47;
  opacity:.92;
  pointer-events:none;
}
body[data-background-mode="preset-3"] .site-header{background:#12364d!important;color:#fff!important}
body[data-background-mode="preset-3"] .site-header>span::before{width:9px;height:9px;border-radius:50%;background:#ffd455;box-shadow:14px 0 0 #f05a47}
body[data-background-mode="preset-3"] .login-icon-link{border:0;border-radius:50%;background:#ffd455;color:#12364d}
body[data-background-mode="preset-3"] .hero.old-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important}
body[data-background-mode="preset-3"] .hero.old-layout>.hero-copy{padding:12px 10px!important;background:transparent!important;border:0!important;text-align:left!important;align-items:flex-start!important}
body[data-background-mode="preset-3"] .centered-brand .brand-mark{overflow:visible!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#12364d!important;box-shadow:none!important}
body[data-background-mode="preset-3"] #heroEyebrow{padding:7px 10px!important;border-radius:999px!important;background:#12364d!important;color:#fff!important;transform:rotate(-1deg)}
body[data-background-mode="preset-3"] #heroTitle{font-weight:800!important;letter-spacing:-.045em!important}
body[data-background-mode="preset-3"] #heroSubtitle{color:#31576a!important;font-weight:650!important}
body[data-background-mode="preset-3"] .cobalt-stage-decoration{display:block!important;position:absolute;inset:0;z-index:-1;pointer-events:none}
body[data-background-mode="preset-3"] .cobalt-stage-decoration span{position:absolute;display:block;width:10px;height:20px;border-radius:3px;background:#12364d;transform:rotate(22deg)}
body[data-background-mode="preset-3"] .cobalt-stage-decoration span:nth-child(1){left:4%;top:12%;background:#f05a47}
body[data-background-mode="preset-3"] .cobalt-stage-decoration span:nth-child(2){right:3%;top:16%;transform:rotate(-30deg)}
body[data-background-mode="preset-3"] .cobalt-stage-decoration span:nth-child(3){left:45%;bottom:8%;background:#fff}
body[data-background-mode="preset-3"] .cobalt-stage-decoration i{display:none}
body[data-background-mode="preset-3"] .prize-stage::before{content:attr(data-prize-count)!important;top:4px!important;right:10%!important;padding:7px 11px!important;border-radius:999px!important;background:#12364d!important;color:#fff!important;box-shadow:none!important;transform:rotate(2deg);text-transform:uppercase}
body[data-background-mode="preset-3"] .prize-slider{border:0!important;border-radius:46% 54% 48% 52%/52% 44% 56% 48%!important;background:rgba(255,255,255,.38)!important;box-shadow:0 24px 0 rgba(18,54,77,.08)!important}
body[data-background-mode="preset-3"] .prize-icon-stage{border:8px solid #fff!important;border-radius:50%!important;background:#fff8dd!important;box-shadow:0 18px 34px rgba(18,54,77,.17)!important}
body[data-background-mode="preset-3"] .prize-icon-stage::before{display:none!important}
body[data-background-mode="preset-3"] .prize-icon-stage::after{display:none!important}
body[data-background-mode="preset-3"] .prize-caption{border:0!important;border-radius:999px!important;background:#12364d!important;color:#fff!important;box-shadow:0 8px 0 rgba(18,54,77,.15)!important}
body[data-background-mode="preset-3"] .prize-caption .eyebrow{color:#ffd455!important}
body[data-background-mode="preset-3"] .prize-caption h2{color:#fff!important}
body[data-background-mode="preset-3"] .slider-arrow{border:0!important;background:#fff!important;color:#12364d!important;box-shadow:0 7px 0 rgba(18,54,77,.15)!important}
body[data-background-mode="preset-3"] .hero-actions .btn-primary{border:0!important;border-radius:999px!important;background:#f05a47!important;color:#102f43!important;box-shadow:0 8px 0 #c94336!important}
body[data-background-mode="preset-3"] .hero-actions .btn-primary>span[aria-hidden="true"]{border-radius:50%!important;background:#12364d!important}
body[data-background-mode="preset-3"] .fine-print{color:#31576a!important}
body[data-background-mode="preset-3"] .decorative-bar{height:6px;background:repeating-linear-gradient(90deg,#12364d 0 42px,#fff 42px 78px,#f05a47 78px 116px)}

/* Galerie minuit — scène symétrique, arche et finitions dorées. */
body[data-background-mode="preset-5"]{
  background:radial-gradient(ellipse at 50% 25%,#3b2937 0%,#171218 50%,#09080a 100%)!important;
  color:#f5eee2;
}
body[data-background-mode="preset-5"]::before{
  content:"";
  position:fixed;
  inset:74px 7vw 0;
  z-index:-2;
  border:1px solid rgba(201,163,95,.18);
  border-bottom:0;
  border-radius:50% 50% 0 0/24% 24% 0 0;
  pointer-events:none;
}
body[data-background-mode="preset-5"]::after{
  content:"";
  position:fixed;
  left:50%;
  bottom:-240px;
  width:620px;
  height:420px;
  transform:translateX(-50%);
  border-radius:50%;
  background:rgba(201,163,95,.08);
  filter:blur(1px);
  pointer-events:none;
}
body[data-background-mode="preset-5"] .site-header{border-bottom:1px solid rgba(201,163,95,.22)!important;background:rgba(9,8,10,.68)!important;color:#e8ddcd!important;backdrop-filter:blur(14px)}
body[data-background-mode="preset-5"] .site-header>span::before{width:20px;height:1px;background:#c9a35f;box-shadow:0 4px 0 rgba(201,163,95,.45)}
body[data-background-mode="preset-5"] .login-icon-link{border:1px solid rgba(201,163,95,.4);border-radius:50%;background:transparent;color:#e8ddcd}
body[data-background-mode="preset-5"] .hero.old-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"copy" "prizes" "actions" "fine"!important;width:min(820px,calc(100% - 40px))!important;padding-block:20px 26px!important;row-gap:8px!important;text-align:center!important}
body[data-background-mode="preset-5"] .hero.old-layout>.hero-copy{justify-self:center;align-items:center!important;max-width:680px!important;padding:6px 24px!important;text-align:center!important;background:transparent!important;border:0!important}
body[data-background-mode="preset-5"] .hero-copy .centered-brand{justify-content:center!important;margin-bottom:12px!important}
body[data-background-mode="preset-5"] .centered-brand .brand-mark{overflow:visible!important;border:1px solid transparent!important;border-radius:50%!important;background:transparent!important;color:#f5eee2!important;box-shadow:none!important}
body[data-background-mode="preset-5"] #heroEyebrow{padding:0 30px 7px!important;border-bottom:1px solid rgba(201,163,95,.5);color:#c9a35f!important}
body[data-background-mode="preset-5"] #heroTitle{font-weight:650!important;letter-spacing:-.025em!important}
body[data-background-mode="preset-5"] #heroSubtitle{margin-inline:auto!important;color:#c9c0b4!important}
body[data-background-mode="preset-5"] .hero.old-layout>.prize-stage{justify-self:center;height:365px!important;min-height:365px!important;padding:24px 0 12px!important}
body[data-background-mode="preset-5"] .prize-stage::before{content:"PRIX SIGNATURE"!important;top:0!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;padding:0 14px!important;background:#171218!important;color:#c9a35f!important;box-shadow:none!important;letter-spacing:.22em!important}
body[data-background-mode="preset-5"] .old-layout .prize-stage[data-slider-style] .prize-slider{height:325px!important;border:1px solid rgba(201,163,95,.34)!important;border-radius:180px 180px 18px 18px!important;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.015))!important;box-shadow:0 28px 70px rgba(0,0,0,.35)!important}
body[data-background-mode="preset-5"] .old-layout .prize-track .prize-card{top:5px!important;left:23%!important;width:54%!important;height:300px!important}
body[data-background-mode="preset-5"] .old-layout .prize-track .prize-icon-stage{height:230px!important;min-height:230px!important;padding:25px!important;border:0!important;border-radius:150px 150px 10px 10px!important;background:radial-gradient(circle at 50% 40%,#fffaf1,rgba(245,238,226,.88) 50%,rgba(201,163,95,.36))!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)!important}
body[data-background-mode="preset-5"] .prize-icon-stage::before,body[data-background-mode="preset-5"] .prize-icon-stage::after{display:none!important}
body[data-background-mode="preset-5"] .old-layout .prize-track .prize-vector{height:185px!important;max-height:185px!important;filter:drop-shadow(0 14px 18px rgba(0,0,0,.25))!important}
body[data-background-mode="preset-5"] .prize-caption{min-height:58px!important;border:0!important;border-top:1px solid rgba(201,163,95,.5)!important;border-radius:0!important;background:transparent!important;color:#f5eee2!important;box-shadow:none!important}
body[data-background-mode="preset-5"] .prize-caption .eyebrow{color:#c9a35f!important}
body[data-background-mode="preset-5"] .prize-caption h2{color:#f5eee2!important;font-family:'Bodoni Moda',serif!important}
body[data-background-mode="preset-5"] .slider-arrow{border:1px solid rgba(201,163,95,.55)!important;background:#171218!important;color:#c9a35f!important;box-shadow:none!important}
body[data-background-mode="preset-5"] .hero.old-layout>.hero-actions{justify-self:center;max-width:420px!important}
body[data-background-mode="preset-5"] .hero-actions .btn-primary{border:1px solid #c9a35f!important;border-radius:0!important;background:transparent!important;color:#f5eee2!important;box-shadow:inset 0 0 0 4px #171218,0 0 0 5px rgba(201,163,95,.24)!important}
body[data-background-mode="preset-5"] .hero-actions .btn-primary>span[aria-hidden="true"]{border-radius:0!important;background:#c9a35f!important;color:#171218!important}
body[data-background-mode="preset-5"] .hero.old-layout>.fine-print{justify-self:center;max-width:500px!important;color:#9f968a!important}
body[data-background-mode="preset-5"] .decorative-bar{height:1px;background:linear-gradient(90deg,transparent,#c9a35f,transparent)}
body[data-background-mode="preset-5"] .old-news,body[data-background-mode="preset-5"] footer{color:#211a20}

@keyframes presentationPrizeEnter{
  from{opacity:0;transform:translateY(18px) scale(.96)}
  to{opacity:1;transform:none}
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .prize-card.active.drop-right .prize-icon-stage,
body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .prize-card.active.drop-left .prize-icon-stage{
  animation:presentationPrizeEnter .5s cubic-bezier(.2,.75,.22,1) both;
}

@media(max-width:860px){
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .site-header{
    height:48px!important;
    min-height:48px!important;
    padding-inline:14px!important;
    font-size:.55rem!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .login-icon-link{width:32px;height:32px}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .client-layout{min-height:calc(100dvh - 48px)!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:stretch!important;
    width:calc(100% - 20px)!important;
    min-height:calc(100dvh - 48px)!important;
    margin-inline:10px!important;
    padding:10px 0 13px!important;
    gap:7px!important;
    overflow:hidden!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.hero-copy{
    flex:0 0 auto;
    order:1;
    max-width:none!important;
    padding:8px 10px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand{
    min-height:0!important;
    margin:0 0 8px!important;
    column-gap:8px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand .brand-mark{
    width:36px!important;
    height:36px!important;
    max-width:36px!important;
    max-height:36px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand strong{max-width:230px!important;font-size:.79rem!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand small{max-width:230px!important;font-size:.5rem!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #heroEyebrow{margin-bottom:5px!important;padding-top:0!important;padding-bottom:0!important;font-size:.52rem!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #heroTitle{
    max-width:335px!important;
    margin:0 0 6px!important;
    font-size:clamp(1.85rem,8.9vw,2.25rem)!important;
    line-height:.94!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #heroSubtitle{
    max-width:330px!important;
    margin:0!important;
    font-size:clamp(.69rem,3.05vw,.79rem)!important;
    line-height:1.28!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.prize-stage{
    flex:0 0 302px;
    order:2;
    width:100%!important;
    max-width:none!important;
    height:302px!important;
    min-height:302px!important;
    margin:0!important;
    padding:24px 0 10px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-stage[data-slider-style] .prize-slider{
    width:100%!important;
    height:270px!important;
    margin:0!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-card{
    top:8px!important;
    left:17%!important;
    width:66%!important;
    height:252px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-card.active{transform:translateX(0) scale(1)!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-icon-stage{
    width:100%!important;
    height:196px!important;
    min-height:196px!important;
    padding:20px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-vector{
    width:min(93%,174px)!important;
    height:155px!important;
    max-width:174px!important;
    max-height:155px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-caption{
    width:100%!important;
    height:47px!important;
    min-height:47px!important;
    margin-top:7px!important;
    padding:6px 8px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-track .prize-caption h2{font-size:.9rem!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .slider-arrow{width:34px!important;height:34px!important;font-size:1.2rem!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.hero-actions{
    flex:0 0 auto;
    order:3;
    max-width:none!important;
    min-height:0!important;
    padding:0 8px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.hero-actions .btn-primary{height:48px!important;min-height:48px!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.fine-print{
    flex:0 0 auto;
    order:4;
    max-width:none!important;
    padding-inline:9px!important;
    font-size:.53rem!important;
    line-height:1.25!important;
  }
  body[data-background-mode="preset-3"]::after{left:-34px;width:68px;height:125px}
  body[data-background-mode="preset-3"] .hero.old-layout>.hero-copy{padding-inline:8px!important}
  body[data-background-mode="preset-3"] #heroEyebrow{padding:5px 8px!important}
  body[data-background-mode="preset-3"] .prize-stage::before{top:1px!important;right:5%!important}
  body[data-background-mode="preset-3"] .prize-slider{border-radius:44% 56% 47% 53%/51% 43% 57% 49%!important;box-shadow:0 15px 0 rgba(18,54,77,.08)!important}
  body[data-background-mode="preset-3"] .hero-actions .btn-primary{box-shadow:0 6px 0 #c94336!important}
  body[data-background-mode="preset-5"]::before{inset:58px 8px 0;border-radius:50% 50% 0 0/12% 12% 0 0}
  body[data-background-mode="preset-5"] .hero.old-layout{padding-block:8px 11px!important;gap:5px!important}
  body[data-background-mode="preset-5"] .hero.old-layout>.hero-copy{padding:3px 10px!important}
  body[data-background-mode="preset-5"] .hero-copy .centered-brand{margin-bottom:6px!important}
  body[data-background-mode="preset-5"] #heroEyebrow{padding:0 18px 5px!important}
  body[data-background-mode="preset-5"] #heroTitle{font-size:2rem!important}
  body[data-background-mode="preset-5"] .hero.old-layout>.prize-stage{height:310px!important;min-height:310px!important}
  body[data-background-mode="preset-5"] .old-layout .prize-stage[data-slider-style] .prize-slider{height:278px!important;border-radius:145px 145px 14px 14px!important}
  body[data-background-mode="preset-5"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-card{left:18%!important;width:64%!important;height:252px!important}
  body[data-background-mode="preset-5"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-icon-stage{height:196px!important;min-height:196px!important;border-radius:120px 120px 9px 9px!important}
}

@media(max-width:390px) and (max-height:740px){
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout{padding-block:6px 8px!important;gap:4px!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero-copy .centered-brand{margin-bottom:5px!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #heroTitle{font-size:1.78rem!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.prize-stage{flex-basis:268px;height:268px!important;min-height:268px!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-stage[data-slider-style] .prize-slider{height:238px!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-card{height:221px!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-icon-stage{height:166px!important;min-height:166px!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-vector{height:136px!important;max-height:136px!important}
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.hero-actions .btn-primary{height:44px!important;min-height:44px!important}
}

@media(prefers-reduced-motion:reduce){
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .prize-card.active .prize-icon-stage{animation:none!important}
}

/* Priorité finale : les anciennes bibliothèques ne doivent pas recolorer les
   nouvelles cartes ni injecter leurs anciens décors de concours. */
body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #proBackdrop2027{
  display:none!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.prize-stage::after{
  display:none!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .hero.old-layout>.hero-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .hero.old-layout>.hero-actions>.btn-primary{
  grid-column:1/-1!important;
}

body[data-background-mode="preset-3"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-caption{
  grid-template-columns:auto minmax(0,1fr)!important;
  border:0!important;
  border-radius:999px!important;
  background:#12364d!important;
  color:#fff!important;
  box-shadow:0 7px 0 rgba(18,54,77,.14)!important;
}
body[data-background-mode="preset-3"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-caption h2{color:#fff!important}

body[data-background-mode="preset-5"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-caption{
  grid-template-columns:auto minmax(0,1fr)!important;
  border:0!important;
  border-top:1px solid rgba(201,163,95,.5)!important;
  border-radius:0!important;
  background:#171218!important;
  color:#f5eee2!important;
  box-shadow:none!important;
}
body[data-background-mode="preset-5"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-caption h2{color:#f5eee2!important}

/* --------------------------------------------------------------------------
   Bibliothèque de sliders 2026
   Les styles sont autonomes : ils peuvent être utilisés avec n'importe quelle
   présentation sans reprendre les anciennes cartes ni leurs effets.
   -------------------------------------------------------------------------- */
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .prize-track .prize-card{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .prize-track .prize-icon-stage::after{
  display:none!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .prize-track .prize-caption{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-content:center!important;
  align-items:center!important;
  column-gap:9px!important;
  overflow:hidden!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .prize-caption .eyebrow{
  grid-row:1/3!important;
  align-self:center!important;
  margin:0!important;
  font-size:.54rem!important;
  letter-spacing:.12em!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .prize-caption h2{
  grid-column:2!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .prize-caption>p:not(.eyebrow),
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .discover-label{
  display:none!important;
}

/* 1 — Transparence épurée : le lot flotte sans carte autour de lui. */
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="transparent"] .prize-slider{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="transparent"] .prize-icon-stage{
  border:0!important;
  border-radius:0!important;
  background:radial-gradient(ellipse at 50% 78%,color-mix(in srgb,var(--home-presentation-primary) 24%,transparent),transparent 66%)!important;
  box-shadow:none!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="transparent"] .prize-icon-stage::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:19%!important;
  right:19%!important;
  bottom:13%!important;
  height:12%!important;
  inset-block-start:auto!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(0,0,0,.2)!important;
  filter:blur(13px)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="transparent"] .prize-vector{
  filter:drop-shadow(0 18px 17px rgba(0,0,0,.22))!important;
  animation:sliderTransparentFloat 3.8s ease-in-out infinite!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="transparent"] .prize-caption{
  width:min(88%,300px)!important;
  margin:-2px auto 0!important;
  padding:9px 13px!important;
  border:0!important;
  border-top:1px solid color-mix(in srgb,var(--home-presentation-primary) 68%,transparent)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--home-presentation-text)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="transparent"] .prize-caption h2{color:var(--home-presentation-text)!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="transparent"] .prize-caption .eyebrow{color:var(--home-presentation-primary)!important}

/* 2 — Cadre éditorial : composition de catalogue, nette et structurée. */
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="editorial"] .prize-slider{
  border:1px solid rgba(80,70,58,.26)!important;
  border-radius:3px!important;
  background:rgba(255,253,248,.56)!important;
  box-shadow:17px 19px 0 rgba(56,49,42,.07)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="editorial"] .prize-icon-stage{
  border:0!important;
  border-radius:0!important;
  background:rgba(255,255,255,.72)!important;
  box-shadow:inset 0 0 0 1px rgba(95,81,64,.16)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="editorial"] .prize-icon-stage::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:13px!important;
  border:1px solid rgba(95,81,64,.13)!important;
  border-radius:0!important;
  background:linear-gradient(135deg,transparent 49.7%,rgba(200,97,69,.13) 50%,transparent 50.3%)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="editorial"] .prize-vector{
  filter:drop-shadow(9px 13px 12px rgba(50,42,34,.18))!important;
  animation:sliderEditorialEnter .62s cubic-bezier(.16,.8,.24,1) both!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="editorial"] .prize-caption{
  margin:7px 0 0!important;
  padding:9px 12px!important;
  border:1px solid rgba(80,70,58,.28)!important;
  border-radius:0!important;
  background:#f6efe4!important;
  color:#282d2b!important;
  box-shadow:none!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="editorial"] .prize-caption h2{color:#282d2b!important;font-family:'Cormorant Garamond',serif!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="editorial"] .prize-caption .eyebrow{color:#b6543e!important}

/* 3 — Médaillon solaire : cercle ludique, franc, sans reprendre une carte. */
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="medallion"] .prize-slider{
  border:0!important;
  border-radius:48% 52% 46% 54%/52% 45% 55% 48%!important;
  background:linear-gradient(145deg,rgba(255,246,182,.82),rgba(255,182,112,.56))!important;
  box-shadow:0 17px 0 rgba(18,54,77,.09)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="medallion"] .prize-icon-stage{
  border:9px solid rgba(255,255,255,.9)!important;
  border-radius:50%!important;
  background:radial-gradient(circle,#fffdf1 0 48%,#ffe178 49% 68%,#f26d59 69% 100%)!important;
  box-shadow:0 18px 32px rgba(37,61,78,.18),inset 0 0 0 2px rgba(18,54,77,.12)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="medallion"] .prize-icon-stage::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:-17px!important;
  border:5px dotted #fff!important;
  border-radius:50%!important;
  background:transparent!important;
  animation:sliderMedallionOrbit 18s linear infinite!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="medallion"] .prize-vector{filter:drop-shadow(0 11px 10px rgba(58,49,33,.2))!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="medallion"] .prize-caption{
  width:min(88%,310px)!important;
  margin:-4px auto 0!important;
  padding:9px 15px!important;
  border:0!important;
  border-radius:999px!important;
  background:#12364d!important;
  color:#fff!important;
  box-shadow:0 7px 0 rgba(18,54,77,.16)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="medallion"] .prize-caption h2{color:#fff!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="medallion"] .prize-caption .eyebrow{color:#ffd963!important}

/* 4 — Écrin organique : forme souple, matière naturelle et asymétrie. */
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="organic"] .prize-slider{
  border:1px solid rgba(30,75,63,.12)!important;
  border-radius:38% 62% 44% 56%/58% 38% 62% 42%!important;
  background:linear-gradient(145deg,rgba(255,253,241,.78),rgba(203,225,207,.62))!important;
  box-shadow:0 26px 55px rgba(28,68,57,.14)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="organic"] .prize-icon-stage{
  border:0!important;
  border-radius:46% 54% 40% 60%/58% 43% 57% 42%!important;
  background:radial-gradient(circle at 42% 34%,#fffef6,#e4eee2 72%)!important;
  box-shadow:inset 0 0 0 1px rgba(28,75,62,.13),0 19px 35px rgba(32,71,61,.13)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="organic"] .prize-icon-stage::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  right:5%!important;
  bottom:8%!important;
  width:38%!important;
  height:22%!important;
  inset-block-start:auto!important;
  border:0!important;
  border-radius:100% 0 100% 0!important;
  background:linear-gradient(135deg,#d3a85e,#7ca693)!important;
  opacity:.42!important;
  transform:rotate(-13deg)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="organic"] .prize-vector{
  filter:drop-shadow(0 14px 14px rgba(35,75,63,.2))!important;
  animation:sliderOrganicSway 4.4s ease-in-out infinite!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="organic"] .prize-caption{
  width:min(90%,320px)!important;
  margin:-2px auto 0!important;
  padding:10px 14px!important;
  border:0!important;
  border-radius:20px 6px 20px 6px!important;
  background:#173f35!important;
  color:#fff!important;
  box-shadow:6px 6px 0 rgba(211,168,94,.42)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="organic"] .prize-caption h2{color:#fff!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="organic"] .prize-caption .eyebrow{color:#efd38f!important}

/* 5 — Galerie premium : niche sombre, éclairage et socle doré. */
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="showcase"] .prize-slider{
  border:1px solid rgba(221,190,124,.42)!important;
  border-radius:180px 180px 18px 18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(0,0,0,.12))!important;
  box-shadow:inset 0 0 48px rgba(201,163,95,.07),0 30px 65px rgba(0,0,0,.34)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="showcase"] .prize-icon-stage{
  border:0!important;
  border-radius:150px 150px 10px 10px!important;
  background:radial-gradient(ellipse at 50% 20%,rgba(255,250,232,.96),rgba(222,204,168,.56) 53%,rgba(56,42,47,.14) 75%)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.45)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="showcase"] .prize-icon-stage::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:13%!important;
  right:13%!important;
  bottom:7%!important;
  height:9%!important;
  inset-block-start:auto!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(0,0,0,.3)!important;
  filter:blur(9px)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="showcase"] .prize-vector{filter:drop-shadow(0 20px 17px rgba(0,0,0,.28))!important;animation:sliderShowcaseLift 4s ease-in-out infinite!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="showcase"] .prize-caption{
  margin:5px 0 0!important;
  padding:9px 13px!important;
  border:0!important;
  border-top:1px solid rgba(213,178,105,.6)!important;
  border-radius:0!important;
  background:#171218!important;
  color:#f7efe2!important;
  box-shadow:none!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="showcase"] .prize-caption h2{color:#f7efe2!important;font-family:'Bodoni Moda',serif!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="showcase"] .prize-caption .eyebrow{color:#d7b36e!important}

/* 6 — Prisme contemporain : verre blanc, géométrie et couleur spectrale. */
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="prism"] .prize-slider{
  border:1px solid rgba(72,77,127,.13)!important;
  border-radius:26px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(242,244,253,.55))!important;
  box-shadow:0 26px 60px rgba(56,61,110,.15)!important;
  backdrop-filter:blur(16px)!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="prism"] .prize-icon-stage{
  border:0!important;
  border-radius:24px!important;
  clip-path:polygon(8% 0,91% 4%,100% 82%,82% 100%,5% 92%,0 16%)!important;
  background:linear-gradient(145deg,#fff,#eef0fb)!important;
  box-shadow:none!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="prism"] .prize-icon-stage::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:9px!important;
  border:1px solid rgba(101,87,217,.16)!important;
  border-radius:18px!important;
  background:linear-gradient(125deg,transparent 55%,rgba(25,183,171,.14))!important;
  transform:none!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="prism"] .prize-vector{filter:drop-shadow(12px 17px 13px rgba(67,72,126,.2))!important;animation:sliderPrismTilt 4.6s ease-in-out infinite!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="prism"] .prize-caption{
  width:calc(100% - 12px)!important;
  margin:6px 0 0 0!important;
  padding:9px 13px!important;
  border:0!important;
  border-radius:13px!important;
  background:#22284c!important;
  color:#fff!important;
  box-shadow:7px 7px 0 #19b7ab!important;
}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="prism"] .prize-caption h2{color:#fff!important}
body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="prism"] .prize-caption .eyebrow{color:#c7c1ff!important}

@keyframes sliderTransparentFloat{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes sliderEditorialEnter{from{opacity:.35;translate:0 8px}to{opacity:1;translate:0 0}}
@keyframes sliderMedallionOrbit{to{rotate:360deg}}
@keyframes sliderOrganicSway{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -6px;rotate:1deg}}
@keyframes sliderShowcaseLift{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes sliderPrismTilt{0%,100%{translate:0 0;rotate:-.5deg}50%{translate:0 -6px;rotate:.8deg}}

@media(max-width:860px){
  body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="editorial"] .prize-slider{box-shadow:8px 9px 0 rgba(56,49,42,.07)!important}
  body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="medallion"] .prize-icon-stage{border-width:7px!important}
  body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="showcase"] .prize-slider{border-radius:145px 145px 14px 14px!important}
  body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style="prism"] .prize-caption{box-shadow:5px 5px 0 #19b7ab!important}
}

/* Finition de direction artistique.
   Cette couche ne change ni les contenus ni les placements enregistrés : elle
   protège uniquement la hiérarchie, la lisibilité et les proportions des six
   présentations sur les écrans réels. */
body[data-home-layout][data-background-mode^="preset-"] #heroTitle{
  max-inline-size:100%!important;
  text-wrap:balance!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
body[data-home-layout][data-background-mode^="preset-"] #heroSubtitle{
  max-inline-size:100%!important;
  text-wrap:pretty!important;
}
body[data-home-layout][data-background-mode^="preset-"] .centered-brand strong,
body[data-home-layout][data-background-mode^="preset-"] .centered-brand small,
body[data-home-layout][data-background-mode^="preset-"] .prize-caption h2{
  min-width:0!important;
  max-inline-size:100%!important;
  overflow-wrap:anywhere!important;
}
body[data-home-layout][data-background-mode^="preset-"] .prize-caption h2{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  text-wrap:balance!important;
}
body[data-home-layout][data-background-mode^="preset-"] .fine-print{
  opacity:.92;
  text-wrap:pretty!important;
}

body[data-background-mode="preset-5"] .fine-print{color:#bdb4a8!important}

@media(max-width:860px){
  body[data-home-layout][data-background-mode^="preset-"] .hero.old-layout{
    box-sizing:border-box!important;
    padding-bottom:max(14px,env(safe-area-inset-bottom))!important;
  }
  body[data-home-layout][data-background-mode^="preset-"] #heroTitle{
    line-height:.98!important;
  }
  body[data-home-layout][data-background-mode^="preset-"] #heroSubtitle{
    line-height:1.34!important;
  }
  body[data-home-layout][data-background-mode^="preset-"] .prize-vector{
    object-position:center!important;
  }
  body[data-home-layout][data-background-mode^="preset-"] .prize-caption h2{
    line-height:1.12!important;
  }
  body[data-home-layout][data-background-mode^="preset-"] .fine-print{
    margin-top:1px!important;
    padding-bottom:2px!important;
    font-size:max(.54rem,9px)!important;
    line-height:1.32!important;
  }
  body[data-background-mode="preset-3"] #heroTitle{line-height:.96!important}
  body[data-background-mode="preset-5"] #heroTitle{line-height:.96!important}
}

@media(max-width:390px) and (min-height:741px) and (max-height:820px){
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .hero.old-layout>.prize-stage{
    flex-basis:288px!important;
    height:288px!important;
    min-height:288px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) .old-layout .prize-stage[data-slider-style] .prize-slider{
    height:256px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-card{
    height:238px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-icon-stage{
    height:182px!important;
    min-height:182px!important;
  }
  body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"])[data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-vector{
    height:146px!important;
    max-height:146px!important;
  }
}

/* Galerie minuit est volontairement verticale. Sur les écrans larges mais peu
   hauts (portable 1280 × 720), sa scène se compacte sans devenir une version
   mobile et sans perdre son axe central. */
@media(min-width:861px) and (max-height:780px){
  body[data-background-mode="preset-5"] .hero.old-layout{
    padding-block:10px 12px!important;
    row-gap:4px!important;
  }
  body[data-background-mode="preset-5"] .hero.old-layout>.hero-copy{
    padding-block:0!important;
  }
  body[data-background-mode="preset-5"] .hero-copy .centered-brand{
    margin-bottom:6px!important;
  }
  body[data-background-mode="preset-5"] #heroEyebrow{
    margin-bottom:7px!important;
  }
  body[data-background-mode="preset-5"] #heroTitle{
    margin-bottom:7px!important;
    font-size:clamp(3rem,7vh,3.55rem)!important;
    line-height:.94!important;
  }
  body[data-background-mode="preset-5"] #heroSubtitle{
    line-height:1.35!important;
  }
  body[data-background-mode="preset-5"] .hero.old-layout>.prize-stage{
    height:300px!important;
    min-height:300px!important;
    padding:18px 0 8px!important;
  }
  body[data-background-mode="preset-5"] .old-layout .prize-stage[data-slider-style] .prize-slider{
    height:270px!important;
  }
  body[data-background-mode="preset-5"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-card{
    top:3px!important;
    height:246px!important;
  }
  body[data-background-mode="preset-5"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-icon-stage{
    height:190px!important;
    min-height:190px!important;
    padding:20px!important;
  }
  body[data-background-mode="preset-5"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-vector{
    height:150px!important;
    max-height:150px!important;
  }
  body[data-background-mode="preset-5"][data-home-layout] .old-layout .prize-stage[data-slider-style] .prize-track .prize-caption{
    height:50px!important;
    min-height:50px!important;
    margin-top:6px!important;
  }
  body[data-background-mode="preset-5"] .hero.old-layout>.hero-actions .btn-primary{
    height:50px!important;
    min-height:50px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .prize-vector,
  body[data-home-layout][data-background-mode] .hero.old-layout>.prize-stage[data-slider-style] .prize-icon-stage::before{animation:none!important}
}

/* --------------------------------------------------------------------------
   Signatures des six presentations
   Chaque univers conserve les positions libres enregistrees par l'editeur.
   Cette couche ne transforme donc jamais directement un element deplacable :
   elle differencie les cadres, ornements, commandes et micro-animations.
   -------------------------------------------------------------------------- */
body[data-home-layout^="presentation-"] .hero-copy,
body[data-home-layout^="presentation-"] .prize-stage,
body[data-home-layout^="presentation-"] .hero-actions{isolation:isolate}
body[data-home-layout^="presentation-"] .hero-copy::before,
body[data-home-layout^="presentation-"] .hero-copy::after,
body[data-home-layout^="presentation-"] .hero-actions::before,
body[data-home-layout^="presentation-"] .hero-actions::after{pointer-events:none}

/* Studio cobalt : plateau de lancement, grille technique et commande franche. */
body[data-background-mode="preset-1"][data-home-layout="presentation-1"] .site-header{
  border-bottom:1px solid rgba(255,216,77,.38)!important;
  background:rgba(3,15,49,.72)!important;
  backdrop-filter:blur(14px) saturate(1.12)
}
body[data-background-mode="preset-1"][data-home-layout="presentation-1"] .hero-copy::after{
  content:"";position:absolute;z-index:-1;right:-26px;bottom:4%;width:112px;height:112px;opacity:.2;
  background-image:linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px);
  background-size:14px 14px;mask-image:linear-gradient(135deg,transparent,#000)
}
body[data-background-mode="preset-1"][data-home-layout="presentation-1"] .centered-brand .brand-mark{
  border-radius:18px!important;box-shadow:0 0 0 1px rgba(255,216,77,.42),0 12px 26px rgba(0,8,32,.28)!important
}
body[data-background-mode="preset-1"][data-home-layout="presentation-1"] .hero-actions::before{
  content:"";position:absolute;z-index:-1;inset:7px -8px -7px 8px;border:1px solid rgba(255,216,77,.32);border-radius:inherit
}
body[data-background-mode="preset-1"][data-home-layout="presentation-1"] .slider-arrow{
  border:1px solid rgba(255,255,255,.26)!important;background:rgba(3,17,55,.74)!important;backdrop-filter:blur(10px)
}

/* Affiche solaire : langage d'affiche, pastilles, ombres imprimees et mouvement joyeux. */
body[data-background-mode="preset-3"][data-home-layout="presentation-3"] .site-header{
  border-bottom:0!important;background:#12364d!important;color:#fff!important
}
body[data-background-mode="preset-3"][data-home-layout="presentation-3"] .hero-copy::after{
  content:"";position:absolute;z-index:-1;right:3%;top:18%;width:18px;height:52px;border-radius:5px;background:#12364d;transform:rotate(-28deg);box-shadow:-248px 128px 0 #f05a47
}
body[data-background-mode="preset-3"][data-home-layout="presentation-3"] .centered-brand .brand-mark{
  border-radius:50%!important;box-shadow:0 0 0 5px rgba(255,255,255,.82),0 7px 0 rgba(18,54,77,.16)!important
}
body[data-background-mode="preset-3"][data-home-layout="presentation-3"] #heroEyebrow{
  border-radius:999px!important;box-shadow:0 4px 0 rgba(18,54,77,.14)
}
body[data-background-mode="preset-3"][data-home-layout="presentation-3"] .slider-arrow{
  border:0!important;border-radius:18px 5px 18px 5px!important;box-shadow:0 6px 0 rgba(18,54,77,.12)!important
}
body[data-background-mode="preset-3"][data-home-layout="presentation-3"] .hero-actions .btn-primary{
  position:relative;overflow:hidden!important
}
body[data-background-mode="preset-3"][data-home-layout="presentation-3"] .hero-actions .btn-primary::after{
  content:"";position:absolute;top:-70%;left:-22%;width:18%;height:240%;background:rgba(255,255,255,.34);transform:rotate(24deg);animation:solarButtonGlint 4.4s ease-in-out infinite
}

/* Galerie minuit : vitrine art-deco, sceau rond et commande bijou. */
body[data-background-mode="preset-5"][data-home-layout="presentation-5"] .site-header{
  border-bottom:1px solid rgba(201,163,95,.38)!important;background:rgba(9,8,10,.76)!important;backdrop-filter:blur(15px)
}
body[data-background-mode="preset-5"][data-home-layout="presentation-5"] .hero-copy::before{
  content:"";position:absolute;z-index:-1;inset:-8% -5% 1%;border:1px solid rgba(201,163,95,.27);border-bottom:0;border-radius:50% 50% 0 0/15% 15% 0 0
}
body[data-background-mode="preset-5"][data-home-layout="presentation-5"] .hero-copy::after{
  content:"";position:absolute;z-index:-1;left:50%;bottom:-5px;width:54px;height:1px;background:#c9a35f;box-shadow:-74px 0 0 rgba(201,163,95,.34),74px 0 0 rgba(201,163,95,.34);transform:translateX(-50%)
}
body[data-background-mode="preset-5"][data-home-layout="presentation-5"] .centered-brand .brand-mark{
  border:1px solid rgba(201,163,95,.54)!important;border-radius:50%!important;box-shadow:inset 0 0 0 5px rgba(9,8,10,.48),0 12px 28px rgba(0,0,0,.34)!important
}
body[data-background-mode="preset-5"][data-home-layout="presentation-5"] .slider-arrow{
  border:1px solid rgba(201,163,95,.52)!important;border-radius:50%!important;background:rgba(9,8,10,.66)!important;color:#d8b66f!important;box-shadow:inset 0 0 0 4px rgba(201,163,95,.04)!important
}
body[data-background-mode="preset-5"][data-home-layout="presentation-5"] .hero-actions::before{
  content:"◆";position:absolute;z-index:2;left:50%;top:-10px;padding:0 8px;background:#171218;color:#d8b66f;font-size:.52rem;transform:translateX(-50%)
}

@keyframes solarButtonGlint{0%,58%{left:-22%}82%,100%{left:118%}}

@media(max-width:860px){
  body[data-background-mode="preset-1"][data-home-layout="presentation-1"] .hero-copy::after{right:2px;bottom:2%;width:82px;height:82px;background-size:12px 12px}
  body[data-background-mode="preset-3"][data-home-layout="presentation-3"] .hero-copy::after{right:5%;top:24%;box-shadow:-210px 104px 0 #f05a47}
  body[data-background-mode="preset-5"][data-home-layout="presentation-5"] .hero-copy::before{inset:-5px 3px 0}
}

@media(prefers-reduced-motion:reduce){
  body[data-home-layout^="presentation-"] .hero-actions .btn-primary,
  body[data-home-layout^="presentation-"] .hero-actions .btn-primary::after{animation:none!important}
}

/* Le choix « sans fond » doit réellement retirer le médaillon propre au
   modèle. Les autres choix restent dessinés par client.css. */
body:is([data-background-mode="preset-1"],[data-background-mode="preset-3"],[data-background-mode="preset-5"]) #brandLogo[data-logo-background="none"]{
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
}
body:is([data-background-mode="preset-1"],[data-background-mode="preset-3"],[data-background-mode="preset-5"]) #brandLogo[data-logo-background="none"]::before{
  display:none!important;
  background:transparent!important;
  box-shadow:none!important;
}

body:is([data-background-mode="preset-3"],[data-background-mode="preset-5"]) #heroTitle{
  margin-inline:auto!important;
}

/* Expérience mobile type application de jeu : contenu immédiat, scène
   proportionnelle et action tactile toujours accessible. */
body[data-home-layout^="presentation-"] .client-layout,
body[data-home-layout^="presentation-"] .hero.old-layout{min-height:100dvh!important}

@media(max-width:860px){
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .client-layout{min-height:100dvh!important}
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero.old-layout{
    display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;
    width:100%!important;min-height:100dvh!important;margin:0!important;
    padding:8px 10px max(78px,calc(66px + env(safe-area-inset-bottom)))!important;gap:6px!important;overflow:visible!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero.old-layout>.hero-copy{
    order:1!important;width:100%!important;max-width:none!important;margin:0!important;padding:7px 10px!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero-copy .centered-brand{margin-bottom:5px!important}
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] #heroTitle{
    max-width:min(100%,350px)!important;margin-bottom:4px!important;font-size:clamp(1.75rem,8.3vw,2.22rem)!important;line-height:.98!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] #heroSubtitle{
    max-width:350px!important;font-size:clamp(.72rem,3.15vw,.84rem)!important;line-height:1.28!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero.old-layout>.prize-stage{
    order:2!important;flex:0 0 clamp(230px,35dvh,274px)!important;width:100%!important;
    height:clamp(230px,35dvh,274px)!important;min-height:230px!important;margin:0!important;padding:18px 0 6px!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .old-layout .prize-stage[data-slider-style] .prize-slider{
    width:100%!important;height:calc(clamp(230px,35dvh,274px) - 24px)!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .old-layout .prize-stage[data-slider-style] .prize-track .prize-card{
    top:4px!important;left:14%!important;width:72%!important;height:calc(clamp(230px,35dvh,274px) - 40px)!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .old-layout .prize-stage[data-slider-style] .prize-track .prize-icon-stage{
    height:calc(clamp(230px,35dvh,274px) - 94px)!important;min-height:136px!important;padding:14px!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .old-layout .prize-stage[data-slider-style] .prize-track .prize-vector{
    width:min(90%,160px)!important;height:min(19dvh,142px)!important;max-height:142px!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .old-layout .prize-stage[data-slider-style] .prize-track .prize-caption{
    height:44px!important;min-height:44px!important;margin-top:5px!important;padding:5px 8px!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero.old-layout>.hero-actions{
    order:3!important;position:fixed!important;z-index:120!important;left:10px!important;right:10px!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;margin:0!important;
    padding:5px!important;border-radius:18px!important;background:color-mix(in srgb,var(--home-copy-surface,#fff) 86%,transparent)!important;
    box-shadow:0 14px 38px rgba(16,20,32,.22)!important;backdrop-filter:blur(16px) saturate(1.15)
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero.old-layout>.hero-actions .btn-primary{
    width:100%!important;min-height:50px!important;font-size:.9rem!important
  }
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero.old-layout>.fine-print{
    order:4!important;margin:0!important;padding:0 10px!important
  }
}

@media(max-width:390px) and (max-height:700px){
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero.old-layout>.hero-copy{padding-block:4px!important}
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero-copy .centered-brand{margin-bottom:3px!important}
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] #heroTitle{font-size:1.68rem!important}
  body[data-home-layout^="presentation-"][data-background-mode^="preset-"] .hero.old-layout>.prize-stage{flex-basis:224px!important;height:224px!important;min-height:224px!important}
}

/* Accès administrateur indépendant du bandeau supprimé. */
.admin-access-fab{position:fixed;z-index:140;top:max(12px,env(safe-area-inset-top));right:14px;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 13px 0 10px;border:1px solid rgba(255,255,255,.54);border-radius:999px;background:rgba(23,35,30,.88);color:#fff;text-decoration:none;font:750 .68rem/1 'Manrope','Montserrat',sans-serif;letter-spacing:.04em;box-shadow:0 10px 28px rgba(16,24,21,.2);backdrop-filter:blur(14px);transition:transform .2s ease,background .2s ease}
.admin-access-fab:hover{transform:translateY(-2px);background:#17231e}
.admin-access-fab:focus-visible{outline:3px solid rgba(120,145,132,.5);outline-offset:3px}
.admin-access-fab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.admin-access-fab{top:max(9px,env(safe-area-inset-top));right:9px;width:44px;height:44px;min-height:44px;padding:0;justify-content:center}.admin-access-fab span{display:none}}


/* Affiche solaire : une seule surface visible, celle du bouton. */
html body[data-background-mode="preset-3"][data-home-layout="presentation-3"] .hero.old-layout>.hero-actions{
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
