/* VSC : enveloppe sombre chaleureuse, surfaces de lecture blanches.
   Les couleurs de texte restent explicites pour éviter les héritages clair/clair. */
:root{--or:#d74c2c;--co:#e8634b;--mu:#596273;--vsc-night:#111114;--vsc-coral:#ff9875}
body{background:var(--vsc-night)}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #d34d2d!important;outline-offset:4px}
.btn-or,.btn-yw{background:#c9472b!important;color:#fff!important;box-shadow:none!important;min-height:46px;font-size:1rem!important}
.f-i{font-size:1rem!important;color:#252936!important;background:#fff!important;min-height:46px}
.f-i::placeholder{color:#697183;opacity:1}
.f-l,.f-g>label,.mf>label{font-size:.875rem!important;color:#3e4656!important}
#auth-wall{background:radial-gradient(ellipse at 80% 100%,#44221c 0,transparent 60%),#111114!important}
#auth-wall .aw-box{width:min(100%,460px);padding:1.5rem 1.25rem}
#auth-wall .aw-t{color:var(--vsc-coral)!important;font-size:1.6rem}
#auth-wall .aw-s{color:#f5f5f7!important;font-size:1rem!important;line-height:1.5}
.aw-welcome{color:#cac7ce;font-size:.875rem;line-height:1.6;margin:.7rem auto 1.1rem;max-width:38ch;text-align:center}
#auth-wall .aw-tabs{background:#26252b!important;border:1px solid #49464e}
#auth-wall .aw-tab{min-height:46px;font-size:.875rem!important}
#auth-wall .aw-tab.off{color:#e2dfe4!important}
#auth-wall .aw-card{box-shadow:none!important;border:1px solid #e2dfe4;border-radius:20px}
#auth-wall .aw-card p,#auth-wall .f-note,#auth-wall .vsc-consent{font-size:.875rem!important;line-height:1.5}
#auth-wall #aw-rgpd-lnk{color:#d4ced4!important;font-size:.875rem!important}
#sidebar{background:#111114!important}.sb-nav a{color:#cac8d0!important;min-height:46px;font-size:.875rem!important}
.sb-nav a.active{color:#fff!important;background:#3f2722!important;border-color:#81513e!important}
.sb-brand,.sb-ctr strong{color:var(--vsc-coral)!important}.sb-since,.sb-ctr span,.sb-rl{color:#bdbac4!important;min-height:1em;font-size:.75rem!important}
#bottom-nav{background:#151519!important;backdrop-filter:none!important}
#bottom-nav ul li a{color:#c4c0c9!important;font-size:.75rem!important;letter-spacing:0;text-transform:none;min-height:60px}
#bottom-nav ul li a.active{color:#ffaf8f!important}
#page-accueil .hero,#page-evenements .ev-page-hero,.adm-hero,.pf-hero,.club-hero{background:#17171c!important;color:#fff!important;border-color:#39343b!important}
#page-accueil .hero-bg,.ev-page-hero-bg,.adm-hero-bg,.pf-hero-bg,.club-hero-bg{background:radial-gradient(ellipse at 100% 100%,rgba(238,102,63,.2),transparent 65%)!important}
#page-accueil .hero h1{color:#fff!important;font-size:clamp(2rem,5vw,3rem)!important;line-height:1.18!important}
#page-accueil .hero p,#page-evenements .ev-page-hero-sub{color:#ddd9df!important;font-size:1rem!important;line-height:1.6!important;max-width:48ch;margin-inline:auto}
#page-accueil .hero-actions{margin-top:1rem!important;gap:.65rem!important}
#page-accueil .home-hero-note{font-size:.875rem!important;margin-top:1rem!important}
#page-accueil .home-proof-heading h2,#page-accueil .home-confidence h2{font-size:1.25rem!important;line-height:1.35!important;color:#242633!important}
#page-accueil .home-clean-wrap p,#page-accueil .home-confidence-points,#page-accueil .home-social-link span{font-size:.875rem!important;line-height:1.6!important}
#page-accueil .home-proof-footer .btn{font-size:.875rem!important;min-height:46px}
#page-accueil .home-trust-numbers span,#page-accueil .home-rating-proof{font-size:.875rem!important}
#page-evenements .ev-page-hero-title{font-size:clamp(1.55rem,4vw,2.1rem)!important;line-height:1.25!important;color:#fff!important}
#page-evenements .ev-hero-promises,#page-evenements .ev-reassurance-strip{display:none!important}
#page-evenements .ev-hero-primary{box-shadow:none!important;background:#c9472b!important;border:1px solid #e98c73!important}
#page-evenements .ev-hero-primary-copy strong{font-size:1rem!important;color:#fff!important}
#page-evenements .ev-hero-primary-copy small{font-size:.875rem!important;color:#fff!important;max-width:none!important;white-space:normal!important}
/* Réserver les lignes de la date et du lieu avant la réponse réseau. */
#page-evenements .ev-hero-primary-copy strong{min-height:2.5em;line-height:1.25!important}
#page-evenements .ev-hero-primary-copy small{min-height:2.8em;line-height:1.4!important}
@media(max-width:380px){#page-evenements .ev-hero-primary-copy small{min-height:4.2em}}
#page-evenements .ev-discovery-card{grid-template-columns:4.5rem minmax(0,1fr)!important;border:1px solid #dedfe5!important;background:#fff!important;box-shadow:0 4px 14px rgba(0,0,0,.08)!important;transform:none!important}
/* Garder la date dans le flux : aucun décalage absolu hors de la bande colorée. */
#page-evenements .ev-discovery-visual{display:flex;flex-direction:column;justify-content:center;gap:.6rem;min-width:0;padding:.65rem .25rem}
#page-evenements .ev-discovery-visual>small{position:relative;inset:auto;flex-direction:column;align-items:center;align-self:stretch;min-width:0;max-width:100%;gap:.1rem;padding:.3rem .2rem;font-size:1.125rem!important;line-height:1.25;text-align:center}
#page-evenements .ev-discovery-visual>small i{max-width:100%;font-size:.875rem!important;line-height:1.3;overflow-wrap:anywhere}
#page-evenements .ev-discovery-card.is-full-event{border:2px solid #b92546!important}
#page-evenements .ev-discovery-main{appearance:none;border:0;background:transparent;color:#252936;text-align:left;padding:.8rem!important;cursor:pointer;font:inherit;width:100%}
#page-evenements .ev-discovery-card-top{gap:.4rem!important;flex-wrap:wrap!important}
#page-evenements .ev-discovery-card-top>span{display:none!important}
#page-evenements .ev-discovery-card-top>b{max-width:100%!important;white-space:normal!important;color:#186544!important;background:#eaf7ef!important}
#page-evenements .ev-discovery-card.is-full-event .ev-discovery-card-top>b{background:#b92546!important;color:#fff!important}
#page-evenements .ev-discovery-card.is-registered-event .ev-discovery-card-top>b{background:#eaf7ef!important;color:#186544!important}
#page-evenements .ev-discovery-meta>span{white-space:normal!important;overflow:visible!important;color:#505969!important}
#page-evenements .ev-discovery-meta>.ev-discovery-when{color:#252936!important;font-size:.875rem!important;font-weight:800;line-height:1.5;text-wrap:pretty}
#page-evenements .ev-discovery-bottom{gap:.45rem;flex-wrap:wrap}
#page-evenements .ev-discovery-community{font-size:.875rem!important;color:#505969!important;max-width:none;white-space:normal}
#page-evenements .ev-discovery-open{grid-column:1/-1;display:flex!important;flex-direction:row!important;justify-content:space-between!important;gap:.7rem;padding:.65rem .8rem!important;border:0;border-top:1px solid #ececf0;background:#fafafa!important}
.ev-choice-join,.ev-choice-details{font:inherit;font-size:.875rem;font-weight:800;min-height:44px;border-radius:12px;padding:.65rem .85rem;cursor:pointer}
.ev-choice-join{background:#c9472b;color:#fff;border:1px solid #c9472b;flex:1;max-width:240px}
.ev-choice-join.is-full{background:#fff;color:#98213c;border-color:#b92546}
.ev-choice-join.is-reserved{background:#e8f7ef;color:#155d3b;border:2px solid #2b9667;box-shadow:0 5px 14px rgba(31,132,87,.16)}
.ev-choice-join.is-reserved>span:first-child{display:inline-grid;place-items:center;width:1.35rem;height:1.35rem;margin-right:.2rem;border-radius:50%;background:#237d58;color:#fff;font-size:.75rem}
.ev-choice-join.is-reserved>span:last-child{margin-left:.3rem;color:#237d58;font-size:.75rem;white-space:nowrap}
.ev-choice-join.is-waitlist{background:#fff5df;color:#8b5400;border:2px solid #e9b858;box-shadow:0 5px 14px rgba(184,126,18,.14)}
.ev-choice-join.is-waitlist>span:first-child{margin-right:.2rem}
.ev-waitlist-main{background:linear-gradient(135deg,#f8b445,#e9862e)!important;color:#402300!important;border-color:transparent!important}
.ev-choice-details{color:#424b5e;background:#fff;border:1px solid #cbd0da}
.event-detail-primary{position:relative!important;margin:0 0 1rem!important;background:#fff!important}
.event-detail-primary button{min-height:46px!important;font-size:1rem!important}
.event-detail-primary [data-join]{background:#c9472b!important;color:#fff!important}
.event-detail-primary [data-unsub]{color:#9f253a!important;border:1px solid #d9909c!important;background:#fff!important}
#event-detail-sheet .event-detail-welcome{background:transparent!important;border:0!important;padding:.2rem 0 .8rem!important;margin:0!important}
#event-detail-sheet .event-detail-welcome strong,#event-detail-sheet .event-detail-welcome p{font-size:.875rem!important}
#event-detail-sheet .event-detail-card .ev-card-header{background:#292329!important}
#event-detail-sheet .event-detail-card .ev-card-header::before,#event-detail-sheet .event-detail-card .ev-card-header::after{display:none!important}
#event-detail-sheet .ev-card-cover-pattern,#event-detail-sheet .ev-card-art{display:none!important}
#event-detail-sheet .ev-card-headerinfo{padding:.85rem!important}
#event-detail-sheet .ev-pill{font-size:.875rem!important;line-height:1.5!important;white-space:normal!important;max-width:100%!important;min-height:36px}
#event-detail-sheet .ev-card-title-row{flex-wrap:wrap;gap:.4rem}
#event-detail-sheet .ev-card-title{font-size:1.05rem!important;line-height:1.4!important}
#event-detail-sheet .ev-dow,#event-detail-sheet .ev-mon,#event-detail-sheet .ev-dominant-status small,#event-detail-sheet .event-detail-more summary small{font-size:.875rem!important;line-height:1.5!important}
#event-detail-sheet .ev-card-kicker{display:none!important}
#event-detail-sheet .event-detail-primary [data-join]{background:#c9472b!important;animation:none!important;box-shadow:none!important}
#event-detail-sheet .ev-card-actions [data-favorite]{color:#664712!important;background:#fff7e6!important;border:1px solid #d3b480!important;font-size:.875rem!important}
#page-evenements .ev-discovery-full-badge{display:none!important}
#page-evenements .ev-discovery-foot{flex-wrap:wrap;gap:.6rem}
.event-detail-card .ev-card-header .ev-card-title{color:#fff!important}
.event-detail-card .ev-prog-wrap{background:#f6f7f9!important;color:#3f4859!important}
.event-detail-card .ev-prog-label-txt,.event-detail-card .ev-prog-count{font-size:.875rem!important}
#page-evenements .ev-search{background:#fff!important;border-color:#cbd0da!important}
#page-evenements .ev-search input{color:#3e4656!important;font-size:1rem!important;min-height:44px}
#page-evenements .ev-search input::placeholder{color:#697183!important;opacity:1}
#modal-part .resp-row[hidden]{display:none!important}
#modal-part .modal{background:#fff!important;color:#252936!important}
#modal-part .mpart-summary,#modal-part .mpart-reassurance p,#modal-part #mpart-s{font-size:.875rem!important;line-height:1.6!important;color:#465064!important}
#modal-part .m-head h3{font-size:1.25rem!important;line-height:1.35!important;color:#242633!important}
.registration-error{margin:1rem 0;padding:.8rem;background:#fff1f2;color:#a1223b;border:1px solid #e6a1ae;border-radius:12px;font-size:.875rem;line-height:1.5}
.push-settings{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;gap:.7rem!important;background:#fff!important;border:1px solid #d7dce4!important;padding:1rem!important}
.push-settings-copy strong{color:#202533!important;font-size:1rem!important}
.push-settings-copy p,.push-settings-copy #push-status{display:block;color:#505969!important;font-size:.875rem!important;line-height:1.55!important;margin-top:.4rem}
.push-settings-copy #push-status[data-tone="warning"]{color:#9c3622!important}
.push-settings-copy #push-status[data-tone="success"]{color:#216445!important}
#notif-permission,.push-secondary{grid-column:1/-1;width:100%}
.push-secondary{display:flex;flex-direction:column;gap:.5rem}
.push-secondary button{white-space:normal;min-height:44px;font-size:.875rem;color:#465064!important;background:#fff!important;border:1px solid #cbd0da!important}
.push-secondary button[hidden]{display:none!important}
#notif-permission.is-active{color:#216445!important;background:#eaf7ef!important;border-color:#bfdccb!important;opacity:1}
button:disabled{cursor:default}#mpart-cf:disabled{opacity:.55}
@media(max-width:620px){#page-accueil .hero{padding:1.6rem 1rem!important}#page-evenements .ev-page-hero{padding:1.2rem 1rem!important}.ev-choice-join,.ev-choice-details{padding:.6rem .65rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
