/* Octobre Rose : couche saisonnière, active du 1er au 31 octobre (classe html.oct-rose posée par js/octobre-rose.js) */
html.oct-rose{
  --accent:#e0457b; --accent-d:#b8205a;
  --rose-50:#fdf2f6; --rose-200:#f7c6d8; --rose-glow:rgba(224,69,123,.35);
}
html.oct-rose ::selection{background:rgba(224,69,123,.25)}

/* Couleurs codées en dur dans le thème de base */
html.oct-rose .brand-mark .dot{fill:var(--accent)}
html.oct-rose .brand-word .bw-2{color:var(--accent)}
html.oct-rose .sess:hover{border-color:var(--accent)}
html.oct-rose .sess-dot,html.oct-rose .sess-dot::after,html.oct-rose .sess-dot::before{background:var(--accent);box-shadow:0 0 10px var(--accent)}
html.oct-rose .sess-btn{background:linear-gradient(135deg,var(--accent),#f472b6)}
html.oct-rose .sess strong{background-image:linear-gradient(90deg,var(--accent-d),var(--accent),var(--accent-d))}
html.oct-rose .sess::before{background:conic-gradient(from var(--sa),var(--accent),transparent 25%,#f9a8d4 50%,transparent 75%,var(--accent))}

/* Ruban rose à côté du logo : se dessine puis ondule doucement */
.oc-ribbon{display:inline-flex;width:22px;height:30px;margin-left:.5rem;vertical-align:middle}
.oc-ribbon path{fill:none;stroke:var(--accent);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:ocDraw 1.4s cubic-bezier(.65,0,.35,1) .6s forwards}
.oc-ribbon svg{transform-origin:50% 20%;animation:ocSway 5s ease-in-out 2s infinite}
@keyframes ocDraw{to{stroke-dashoffset:0}}
@keyframes ocSway{0%,100%{transform:rotate(0)}50%{transform:rotate(-6deg)}}

/* Bandeau de sensibilisation, discret, refermable */
.oc-band{position:relative;display:flex;align-items:center;justify-content:center;gap:.6rem;padding:.55rem 2.75rem .55rem 1rem;
  background:linear-gradient(90deg,var(--rose-50),#fff 50%,var(--rose-50));border-bottom:1px solid var(--rose-200);
  font-size:.85rem;color:#5b1532;text-align:center}
.oc-band b{color:var(--accent-d)}
.oc-band svg{width:14px;height:19px;flex:none}
.oc-band svg path{fill:none;stroke:var(--accent);stroke-width:3.2;stroke-linecap:round}
.oc-band::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.7) 50%,transparent 70%);background-size:250% 100%;animation:ocShine 6s ease-in-out infinite;pointer-events:none}
@keyframes ocShine{0%,60%{background-position:120% 0}100%{background-position:-120% 0}}
.oc-close{position:absolute;right:.6rem;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#5b1532;font-size:18px;line-height:1;cursor:pointer}
.oc-close:hover,.oc-close:focus-visible{background:var(--rose-200);outline:none}

/* Lueur rose au survol des cartes (prolonge le halo existant) */
html.oct-rose .spot:hover{box-shadow:0 24px 48px -28px var(--rose-glow)}

/* Fond du haut de page : léger voile rose */
html.oct-rose #accueil{background-image:radial-gradient(60% 50% at 85% 10%,rgba(224,69,123,.10),transparent 70%)}

@media (prefers-reduced-motion:reduce){
  .oc-ribbon path{animation:none;stroke-dashoffset:0}
  .oc-ribbon svg,.oc-band::after{animation:none}
}

/* Surcharges des couleurs orange codées en dur (style.css, motion.css, logo.css) */
html.oct-rose .sess strong{background-image:linear-gradient(90deg,#b8205a,#e0457b,#b8205a)}
html.oct-rose .sess:hover{box-shadow:0 18px 40px -12px rgba(224,69,123,.5)}
html.oct-rose .sess:hover .sess-btn{box-shadow:0 10px 22px -6px rgba(224,69,123,.8)}
html.oct-rose .sess::before{opacity:.25} /* lueur adoucie */
html.oct-rose .cd-u{background:rgba(224,69,123,.08);border-color:rgba(224,69,123,.22)}
html.oct-rose .cd-n{color:#b8205a}
html.oct-rose [class~="bg-cyan-950/60"],html.oct-rose [class~="bg-cyan-950/70"],html.oct-rose [class~="bg-cyan-950/80"],html.oct-rose [class~="bg-cyan-500/10"],html.oct-rose [class~="hover:bg-cyan-950/40"]:hover,html.oct-rose .group:hover [class~="group-hover:bg-cyan-500/20"]{background-color:rgba(224,69,123,.09)}
html.oct-rose [class~="focus:ring-cyan-400"]:focus{--tw-ring-color:rgba(224,69,123,.35)}
html.oct-rose .spot:before{background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%),rgba(224,69,123,.08),transparent 65%)}
html.oct-rose .cur-ring.is-link{background:rgba(224,69,123,.12)}
html.oct-rose .sim-glow{background:radial-gradient(420px circle at var(--mx,80%) var(--my,0%),rgba(224,69,123,.16),transparent 60%)}
html.oct-rose .sim-in:focus{box-shadow:0 0 0 4px rgba(224,69,123,.15)}
html.oct-rose .sim-res::before{background:radial-gradient(circle,rgba(224,69,123,.5),transparent 65%)}
html.oct-rose .sim-tip{border-color:rgba(224,69,123,.6);background:rgba(224,69,123,.12);color:#ffd6e6}
html.oct-rose .brand-mark{box-shadow:0 6px 18px -8px rgba(224,69,123,.55)}
html.oct-rose .brand-mark::after{background:linear-gradient(115deg,transparent 35%,rgba(224,69,123,.35) 50%,transparent 65%)}
.oc-band a{color:var(--accent-d);font-weight:600;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.oc-band a:hover{color:var(--accent)}
html.oct-rose [class~="border-cyan-400"],html.oct-rose [class~="border-cyan-500/30"],html.oct-rose [class~="border-cyan-500/40"],html.oct-rose [class~="hover:border-cyan-400"]:hover,html.oct-rose [class~="hover:border-cyan-500/40"]:hover,html.oct-rose [class~="hover:border-cyan-500/50"]:hover,html.oct-rose [class~="focus:border-cyan-400"]:focus{border-color:rgba(224,69,123,.45)}
@media (max-width:480px){.oc-band .oc-more{display:none}.oc-band{font-size:.8rem}}
html.oct-rose .cur-ring{border-color:rgba(224,69,123,.55)}
