/* CDS Platform 4.3.0 — illustrations réellement adaptées au mode clair. */

/* Deux sources sont présentes sur les pages signature ; une seule est affichée. */
.cds-signature-image-light{display:none!important}
html[data-cds-theme="light"] .cds-signature-image-dark{display:none!important}
html[data-cds-theme="light"] .cds-signature-image-light{display:block!important}

/* Accueil : façade en journée et voile clair pour conserver une lecture immédiate. */
html[data-cds-theme="light"] .cdspel-hero.pelican-hero{
  border-color:#d9aa88!important;
  background-image:
    linear-gradient(90deg,rgba(255,253,248,.96) 0%,rgba(255,250,241,.78) 35%,rgba(255,250,241,.08) 73%),
    url('light-hero-home-v430.webp')!important;
  background-color:#f7efe4!important;
  box-shadow:0 24px 62px rgba(89,58,37,.14)!important;
}
html[data-cds-theme="light"] .cdspel-hero.pelican-hero .cdspel-hero-copy{
  background:linear-gradient(90deg,rgba(255,253,248,.93),rgba(255,253,248,.52) 80%,transparent)!important;
  color:#28221e!important;
}
html[data-cds-theme="light"] .cdspel-hero.pelican-hero .brush.white{color:#28221e!important;text-shadow:3px 3px 0 rgba(255,255,255,.84)!important}
html[data-cds-theme="light"] .cdspel-hero.pelican-hero .brush.orange{color:#e75b16!important;text-shadow:3px 3px 0 rgba(255,255,255,.72)!important}
html[data-cds-theme="light"] .cdspel-hero.pelican-hero p{color:#38312c!important;text-shadow:0 1px 0 #fff!important}
html[data-cds-theme="light"] .cdspel-hero.pelican-hero .outline-btn{border-color:#b94711!important;background:rgba(255,253,248,.88)!important;color:#a53e0e!important}

/* Blocs décoratifs de droite : vraies compositions crème, sans filtre artificiel. */
html[data-cds-theme="light"] .happy-panel{
  border-color:#dfb18f!important;
  background-image:
    linear-gradient(90deg,rgba(255,253,248,.98) 0%,rgba(255,250,240,.88) 48%,rgba(255,250,240,.14) 100%),
    url('light-happy-hour-v430.webp')!important;
  background-position:center!important;
  color:#29231f!important;
}
html[data-cds-theme="light"] .happy-panel b,
html[data-cds-theme="light"] .happy-panel strong,
html[data-cds-theme="light"] .happy-panel p{color:#29231f!important;text-shadow:0 1px 0 #fff!important}
html[data-cds-theme="light"] .radio-panel{
  border-color:#dfb18f!important;
  background-image:
    linear-gradient(90deg,rgba(255,253,248,.98) 0%,rgba(255,250,240,.84) 46%,rgba(255,250,240,.12) 100%),
    url('light-radio-home-v430.webp')!important;
  background-position:center!important;
  color:#29231f!important;
}
html[data-cds-theme="light"] .radio-panel .brush.white{color:#29231f!important;text-shadow:2px 2px 0 #fff!important}
html[data-cds-theme="light"] .radio-panel p{color:#a83f0d!important;text-shadow:0 1px 0 #fff!important}

/* Le bloc modulable suit lui aussi la palette claire, même avec une image choisie par l’administrateur. */
html[data-cds-theme="light"] .cds-home-feature:not(.cds-home-feature-video){background-color:#f8f0e6!important;color:#29231f!important}
html[data-cds-theme="light"] .cds-home-feature-happy:not([style*="--cds-feature-image"]){background-image:url('light-happy-hour-v430.webp')!important}
html[data-cds-theme="light"] .cds-home-feature-cave:not([style*="--cds-feature-image"]){background-image:url('signature-cave-light-v430.webp')!important}
html[data-cds-theme="light"] .cds-home-feature-overlay{background:linear-gradient(90deg,rgba(255,253,248,.97) 0%,rgba(255,250,241,.83) 58%,rgba(255,250,241,.18) 100%)!important}
html[data-cds-theme="light"] .cds-home-feature-copy,
html[data-cds-theme="light"] .cds-home-feature-copy>b,
html[data-cds-theme="light"] .cds-home-feature-copy p{color:#29231f!important;text-shadow:0 1px 0 #fff!important}
html[data-cds-theme="light"] .cds-home-feature-copy>strong,
html[data-cds-theme="light"] .cds-home-feature-copy small,
html[data-cds-theme="light"] .cds-home-feature-price{color:#c94b0e!important}

/* Les héros des cinq pages signature utilisent leur illustration claire dédiée. */
html[data-cds-theme="light"] body.cds-signature-karaoke .cdspel-pagehero.cdspel-story-hero{--cds-light-story:url('signature-karaoke-light-v430.webp')}
html[data-cds-theme="light"] body.cds-signature-cave .cdspel-pagehero.cdspel-story-hero{--cds-light-story:url('signature-cave-light-v430.webp')}
html[data-cds-theme="light"] body.cds-signature-collectif .cdspel-pagehero.cdspel-story-hero{--cds-light-story:url('signature-collectif-light-v430.webp')}
html[data-cds-theme="light"] body.cds-signature-radio .cdspel-pagehero.cdspel-story-hero{--cds-light-story:url('signature-radio-light-v430.webp')}
html[data-cds-theme="light"] body.cds-signature-services .cdspel-pagehero.cdspel-story-hero{--cds-light-story:url('signature-services-light-v430.webp')}
html[data-cds-theme="light"] body[class*="cds-signature-"] .cdspel-pagehero.cdspel-story-hero{
  border-color:#dfb18f!important;
  background-image:
    linear-gradient(90deg,rgba(255,253,248,.96) 0%,rgba(255,250,241,.76) 42%,rgba(255,250,241,.12) 78%),
    var(--cds-light-story)!important;
  background-color:#f6eee4!important;
}
html[data-cds-theme="light"] body[class*="cds-signature-"] .cdspel-story-copy{
  border-color:#e56d2a!important;
  background:rgba(255,253,248,.82)!important;
  color:#29231f!important;
  box-shadow:0 14px 42px rgba(75,49,32,.12)!important;
}
html[data-cds-theme="light"] body[class*="cds-signature-"] .cdspel-story-copy h1,
html[data-cds-theme="light"] body[class*="cds-signature-"] .cdspel-story-copy p{color:#29231f!important;text-shadow:none!important}

/* Autres bandeaux configurables : on garde la photo choisie mais on la traite comme un décor clair. */
html[data-cds-theme="light"] .cdspel-pagehero:not(.cdspel-story-hero),
html[data-cds-theme="light"] body:not([class*="cds-signature-"]) .cdspel-pagehero.cdspel-story-hero{
  border-color:#dfb18f!important;
  background-image:linear-gradient(90deg,rgba(255,253,248,.94),rgba(255,250,241,.55) 58%,rgba(255,250,241,.20)),var(--banner)!important;
  background-color:#f6eee4!important;
}
html[data-cds-theme="light"] .cdspel-pagehero h1,
html[data-cds-theme="light"] .cdspel-pagehero p,
html[data-cds-theme="light"] .cdspel-pagehero>div>span{color:#29231f!important;text-shadow:0 1px 0 #fff!important}
html[data-cds-theme="light"] .agenda-hero{
  border-color:#dfb18f!important;
  background-image:linear-gradient(90deg,rgba(255,253,248,.96),rgba(255,250,241,.30)),url('light-hero-home-v430.webp')!important;
  color:#29231f!important;
}

/* Les photos produits et affiches restent fidèles : un cadre clair suffit à les intégrer. */
html[data-cds-theme="light"] .event-thumb,
html[data-cds-theme="light"] .woocommerce-product-gallery,
html[data-cds-theme="light"] .cds-mobile-event-poster{background:#fff!important;box-shadow:inset 0 0 0 1px #e3d6cc!important}
html[data-cds-theme="light"] .cds-signature-intro figure:after{background:linear-gradient(90deg,transparent 65%,rgba(255,253,248,.90))!important}
html[data-cds-theme="light"] .cds-signature-intro figcaption{background:rgba(255,253,248,.90)!important;color:#a9400d!important}

@media(max-width:700px){
  html[data-cds-theme="light"] .cdspel-hero.pelican-hero{
    background-image:
      linear-gradient(0deg,rgba(255,253,248,.97) 0%,rgba(255,250,241,.74) 53%,rgba(255,250,241,.08) 100%),
      url('light-hero-home-v430.webp')!important;
    background-position:center top!important;
  }
  html[data-cds-theme="light"] .cdspel-hero.pelican-hero .cdspel-hero-copy{
    background:linear-gradient(0deg,rgba(255,253,248,.92),rgba(255,253,248,.26) 76%,transparent)!important;
  }
  html[data-cds-theme="light"] body[class*="cds-signature-"] .cdspel-pagehero.cdspel-story-hero{
    background-image:
      linear-gradient(0deg,rgba(255,253,248,.96) 0%,rgba(255,250,241,.70) 54%,rgba(255,250,241,.08) 100%),
      var(--cds-light-story)!important;
  }
  html[data-cds-theme="light"] .cds-signature-intro figure:after{background:linear-gradient(0deg,rgba(255,253,248,.50),transparent 44%)!important}
  html[data-cds-theme="light"] .cds-signature-intro figcaption{background:rgba(255,253,248,.90)!important;color:#a9400d!important}
}

@media(prefers-reduced-data:reduce){
  html[data-cds-theme="light"] .cdspel-pagehero{background-image:linear-gradient(135deg,#fffdfa,#f2e6da)!important}
}
