/* CDS Platform 4.3.1 — mode clair complet du récit CDS PELICAN. */

/* Chaque chapitre narratif reçoit une vraie illustration claire. */
html[data-cds-theme="light"] .story-cafe{--cds-story-light-image:url('light-hero-home-v430.webp')}
html[data-cds-theme="light"] .story-radio{--cds-story-light-image:url('signature-radio-light-v430.webp')}
html[data-cds-theme="light"] .story-agenda{--cds-story-light-image:url('light-story-agenda-v431.webp')}
html[data-cds-theme="light"] .story-karaoke{--cds-story-light-image:url('signature-karaoke-light-v430.webp')}
html[data-cds-theme="light"] .story-collectif{--cds-story-light-image:url('signature-collectif-light-v430.webp')}
html[data-cds-theme="light"] .story-cave{--cds-story-light-image:url('signature-cave-light-v430.webp')}
html[data-cds-theme="light"] .story-snack{--cds-story-light-image:url('light-story-snack-v431.webp')}
html[data-cds-theme="light"] .story-gallery{--cds-story-light-image:url('light-story-gallery-v431.webp')}
html[data-cds-theme="light"] .story-services{--cds-story-light-image:url('signature-services-light-v430.webp')}
html[data-cds-theme="light"] .story-contact{--cds-story-light-image:url('light-story-contact-v431.webp')}
html[data-cds-theme="light"] .story-pelican{--cds-story-light-image:url('light-hero-home-v430.webp')}

html[data-cds-theme="light"] body[class*="cds-signature-"] .cdspel-pagehero.cdspel-story-hero,
html[data-cds-theme="light"] body:not([class*="cds-signature-"]) .cdspel-pagehero.cdspel-story-hero{
  border-color:#dfa47d!important;
  background-color:#f7efe5!important;
  background-image:
    linear-gradient(90deg,rgba(255,253,248,.97) 0%,rgba(255,251,244,.83) 42%,rgba(255,251,244,.12) 78%),
    var(--cds-story-light-image,var(--banner))!important;
  background-position:center!important;
  background-size:cover!important;
  box-shadow:0 22px 55px rgba(80,53,35,.13)!important;
  filter:none!important;
}
html[data-cds-theme="light"] .cdspel-pagehero.cdspel-story-hero:before{
  background:linear-gradient(90deg,rgba(255,253,248,.16),transparent 72%)!important;
  opacity:1!important;
}
html[data-cds-theme="light"] .cdspel-story-hero:after{box-shadow:0 0 18px rgba(230,100,35,.22)!important}
html[data-cds-theme="light"] .cdspel-story-hero .cdspel-scene-vignette{background:radial-gradient(ellipse at 62% 48%,transparent 42%,rgba(210,150,105,.12) 100%)!important;opacity:.35!important}
html[data-cds-theme="light"] .cdspel-story-hero .cdspel-scene-grain{opacity:.025!important}
html[data-cds-theme="light"] .cdspel-story-hero .cdspel-scene-glow,
html[data-cds-theme="light"] .cdspel-story-hero .cdspel-scene-beam,
html[data-cds-theme="light"] .cdspel-story-hero .cdspel-scene-haze{opacity:.035!important}

/* Cartouche principal : plus aucun texte sombre posé sur un panneau noir. */
html[data-cds-theme="light"] .cdspel-story-copy{
  border-color:var(--scene-accent,#ea6825)!important;
  background:linear-gradient(90deg,rgba(255,253,248,.96),rgba(255,253,248,.87) 78%,rgba(255,253,248,.62))!important;
  color:#29231f!important;
  box-shadow:0 14px 38px rgba(72,48,31,.12)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html[data-cds-theme="light"] .cdspel-story-copy .cdspel-chapter{color:#241913!important}
html[data-cds-theme="light"] .cdspel-story-copy .cdspel-eyebrow,
html[data-cds-theme="light"] .cdspel-story-copy h1,
html[data-cds-theme="light"] .cdspel-story-copy p{
  color:#29231f!important;
  -webkit-text-stroke:0!important;
  text-shadow:none!important;
}
html[data-cds-theme="light"] .cdspel-story-copy .cdspel-eyebrow{color:#5c514a!important}
html[data-cds-theme="light"] .cdspel-story-hero .cdspel-btn{color:#1e1713!important}

/* Bloc « Précédemment » et chemin vers les chapitres voisins. */
html[data-cds-theme="light"] .cdspel-story-continuity{
  border-color:#dfb18f!important;
  background:linear-gradient(90deg,#fff4e9,#fffdfa)!important;
  color:#312a26!important;
  box-shadow:0 8px 22px rgba(76,51,34,.06)!important;
}
html[data-cds-theme="light"] .cdspel-story-continuity span{color:#b84710!important}
html[data-cds-theme="light"] .cdspel-story-continuity p{color:#4d4540!important}
html[data-cds-theme="light"] .cdspel-story-nav{
  border-color:#dfb18f!important;
  background:#f7efe6!important;
  box-shadow:0 9px 26px rgba(76,51,34,.07)!important;
}
html[data-cds-theme="light"] .cdspel-story-nav a{
  border-color:#ddcfc4!important;
  background:#fffdfa!important;
  color:#29231f!important;
}
html[data-cds-theme="light"] .cdspel-story-nav a:hover,
html[data-cds-theme="light"] .cdspel-story-nav a:focus-visible{border-color:#ef7b3d!important;background:#fff1e5!important}
html[data-cds-theme="light"] .cdspel-story-nav small{color:#c44b11!important}
html[data-cds-theme="light"] .cdspel-story-nav strong{color:#29231f!important}
html[data-cds-theme="light"] .cdspel-story-nav .story-mark{color:#b84710!important}
html[data-cds-theme="light"] .cdspel-story-strip{border-color:#dfb18f!important;background:#fff5ec!important}

/* Panneaux secondaires encore issus de la palette historique. */
html[data-cds-theme="light"] .cdspel-panel:not(.happy-panel):not(.radio-panel),
html[data-cds-theme="light"] .cdspel-empty{border-color:#dfd2c8!important;background:#fffdfa!important;color:#29231f!important}
html[data-cds-theme="light"] .social-row a{border-color:#dfd2c8!important;background:#fff5ec!important;color:#29231f!important}
html[data-cds-theme="light"] .agenda-toolbar{border-color:#d9c7ba!important;background:#fffdfa!important}
html[data-cds-theme="light"] .agenda-toolbar button{border-color:#dfd2c8!important;background:#fffdfa!important;color:#3a332f!important}
html[data-cds-theme="light"] .agenda-toolbar button:hover{background:#fff1e5!important}
html[data-cds-theme="light"] .agenda-toolbar .active{background:#f36b2b!important;color:#1d1510!important}
html[data-cds-theme="light"] .cds-signature-intro figure{background:#f7efe6!important}

/* Lecteur radio supérieur : sombre uniquement en mode sombre. */
html[data-cds-theme="light"] .cdspel-top-radio{
  border-color:#dd9f79!important;
  background:linear-gradient(90deg,#fff8f0,#fffdfa)!important;
  color:#29231f!important;
  box-shadow:0 5px 16px rgba(72,48,31,.07)!important;
}
html[data-cds-theme="light"] .cdspel-top-radio strong{color:#b9450f!important}
html[data-cds-theme="light"] .cdspel-radio-toggle{border-color:#e15d1b!important;background:#fff!important;color:#b9450f!important}
html[data-cds-theme="light"] .cdspel-radio-meta span{color:#6d655f!important}
html[data-cds-theme="light"] .cdspel-radio-reconnect{border-color:#d8c9bd!important;color:#554d48!important}

/* Petites signatures décoratives adaptées aux fonds clairs. */
html[data-cds-theme="light"] .signature-cafe{border-color:#e4a36f!important;background:rgba(255,250,241,.70)!important}
html[data-cds-theme="light"] .signature-cafe b{color:#4a3327!important}
html[data-cds-theme="light"] .signature-services i{border-color:#d9a06f!important;background:rgba(255,253,248,.80)!important;color:#7f3514!important}
html[data-cds-theme="light"] .signature-contact{background:rgba(255,239,244,.82)!important}
html[data-cds-theme="light"] .signature-contact b{color:#8b2548!important;text-shadow:none!important}
html[data-cds-theme="light"] .cdspel-onair-pulse{border-color:#ea6c45!important;background:rgba(255,247,241,.90)!important;color:#a63218!important;text-shadow:none!important;box-shadow:0 7px 20px rgba(95,48,30,.10)!important}

@media(max-width:700px){
  html[data-cds-theme="light"] body[class*="cds-signature-"] .cdspel-pagehero.cdspel-story-hero,
  html[data-cds-theme="light"] body:not([class*="cds-signature-"]) .cdspel-pagehero.cdspel-story-hero{
    background-image:
      linear-gradient(0deg,rgba(255,253,248,.97) 0%,rgba(255,251,244,.82) 55%,rgba(255,251,244,.10) 100%),
      var(--cds-story-light-image,var(--banner))!important;
  }
  html[data-cds-theme="light"] .cdspel-pagehero.cdspel-story-hero:before{background:transparent!important}
  html[data-cds-theme="light"] .cdspel-story-copy{
    border-left:0!important;
    border-top:3px solid var(--scene-accent,#ea6825)!important;
    background:rgba(255,253,248,.92)!important;
  }
  html[data-cds-theme="light"] .cdspel-story-nav{gap:9px;padding:9px!important}
  html[data-cds-theme="light"] .cdspel-story-nav a{min-width:0;padding:12px 10px!important}
  html[data-cds-theme="light"] .cdspel-story-nav strong{font-size:12px!important;line-height:1.25}
}
