/* evxs — Expérience : mode sombre, bouton bascule, installation PWA */
html[data-theme="dark"]{
	color-scheme:dark;
	--evxs-bg:#060E1F; --evxs-bg2:#0B1830; --evxs-surf:#102445; --evxs-surf2:#17305C;
	--evxs-line:rgba(245,245,240,.14); --evxs-head:#F5F5F0; --evxs-txt:#C9D2E3; --evxs-mute:#9AA6BD; --evxs-eyebrow:#9DB4DD;
	--ev-body:#C9D2E3; --ev-border:rgba(245,245,240,.14); --ev-ink:#F5F5F0;
	--ev-shadow:0 24px 60px rgba(0,0,0,.45); --ev-shadow-lg:0 40px 90px rgba(0,0,0,.55);
}
/* Surfaces de page */
html[data-theme="dark"] body,html[data-theme="dark"] body.ev-site,html[data-theme="dark"] .site,html[data-theme="dark"] #page,html[data-theme="dark"] .site-content,html[data-theme="dark"] .ev-site .ast-separate-container,html[data-theme="dark"] .ev-site .ast-container{background-color:var(--evxs-bg)}
html[data-theme="dark"] body.ev-site{color:var(--evxs-txt)}
html[data-theme="dark"] .ev-section--white{background:var(--evxs-bg)}
html[data-theme="dark"] .ev-section--chalk{background:var(--evxs-bg2)}
/* Cartes et surfaces claires */
html[data-theme="dark"] .ev-card:not(.ev-card--navy):not(.ev-card--glass):not(.ev-card--gold),
html[data-theme="dark"] .ev-card--chalk,html[data-theme="dark"] .ev-hub__search,html[data-theme="dark"] .ev-search,html[data-theme="dark"] .ev-chip,
html[data-theme="dark"] .ev-details,html[data-theme="dark"] .ev-story__step,html[data-theme="dark"] .evp,html[data-theme="dark"] .evp-more,html[data-theme="dark"] .ev-vs__item,
html[data-theme="dark"] .ev-res,html[data-theme="dark"] .ev-don__pc,html[data-theme="dark"] .ev-don__panel,html[data-theme="dark"] .ev-event,
html[data-theme="dark"] .ev-site.search article.ast-article-post,html[data-theme="dark"] .ev-site.archive article.ast-article-post{background:var(--evxs-surf);border-color:var(--evxs-line);color:var(--evxs-txt)}
html[data-theme="dark"] .ev-card--chalk{background:var(--evxs-bg2)}
html[data-theme="dark"] .ev-field input,html[data-theme="dark"] .ev-field textarea,html[data-theme="dark"] .ev-field select,html[data-theme="dark"] .ev-hub__search input,html[data-theme="dark"] .ev-search input[type=search],html[data-theme="dark"] .ev-search select{background:var(--evxs-bg2);border-color:rgba(245,245,240,.24);color:var(--evxs-head)}
html[data-theme="dark"] .ev-field input::placeholder,html[data-theme="dark"] .ev-field textarea::placeholder,html[data-theme="dark"] .ev-search input::placeholder{color:var(--evxs-mute);opacity:1}
html[data-theme="dark"] .ev-field select option,html[data-theme="dark"] .ev-search select option{background:var(--evxs-bg2);color:var(--evxs-head)}
html[data-theme="dark"] .ev-field label,html[data-theme="dark"] .ev-consent,html[data-theme="dark"] .ev-empty,html[data-theme="dark"] .ev-chip,html[data-theme="dark"] .ev-detail dd,html[data-theme="dark"] .ev-detail .ev-ico,html[data-theme="dark"] .ev-transcript summary,html[data-theme="dark"] .ev-story__who,html[data-theme="dark"] .ev-breadcrumbs a,html[data-theme="dark"] .ev-pagination .page-numbers{color:var(--evxs-txt)}
html[data-theme="dark"] .ev-pagination .page-numbers{border-color:var(--evxs-line)}
/* Titres et textes (hors surfaces or / bleu nuit) */
html[data-theme="dark"] body.ev-site h1:not(.ev-text-light),html[data-theme="dark"] body.ev-site h2:not(.ev-text-light),html[data-theme="dark"] body.ev-site h3:not(.ev-text-light),html[data-theme="dark"] body.ev-site h4:not(.ev-text-light),
html[data-theme="dark"] :is(.ev-h1,.ev-h2,.ev-h3,.ev-h4,.ev-quote,.ev-card__title a,.ev-event__title a,.ev-vs__itemtitle,.entry-title a,.evp-body h2,.evp-body h3,.evp-body h4,.evp-by strong):not(.ev-text-light){color:var(--evxs-head)}
html[data-theme="dark"] :is(.ev-lead,.ev-body,.ev-card__excerpt,.evp-body,.evp-body blockquote,.evp-by,.entry-content p,.entry-content li):not(.ev-text-light):not(.ev-text-soft-light){color:var(--evxs-txt)}
html[data-theme="dark"] :is(.ev-event__meta,.ev-card__meta,.ev-vs__meta--sm,.ev-sep,.ev-small:not(.ev-text-gold):not(.ev-text-soft-light)){color:var(--evxs-mute)}
html[data-theme="dark"] .ev-eyebrow:not(.ev-eyebrow--gold):not(.ev-text-gold){color:var(--evxs-eyebrow)}
html[data-theme="dark"] .evp-body a,html[data-theme="dark"] .ev-card__cta,html[data-theme="dark"] .ev-event__cta,html[data-theme="dark"] .ev-card__arrow{color:var(--ev-gold)}
/* Contextes or : on garde bleu nuit sur or */
html[data-theme="dark"] :is(.ev-section--gold,.ev-card--gold,.ev-btn--gold,.ev-pill) :is(h1,h2,h3,h4,p,.ev-h2,.ev-h3,.ev-eyebrow,.ev-lead,.ev-body,.ev-quote,.ev-card-num){color:var(--ev-navy)!important}
/* Boutons */
html[data-theme="dark"] .ev-btn--ghost-dark:not(:is(.ev-section--gold,.ev-card--gold) *){color:var(--evxs-head);border-color:rgba(245,245,240,.5);background:transparent}
html[data-theme="dark"] .ev-btn--ghost-dark:not(:is(.ev-section--gold,.ev-card--gold) *):hover{background:rgba(245,245,240,.1)}
html[data-theme="dark"] .ev-btn--navy:not(:is(.ev-section--gold,.ev-card--gold,.ev-section--navy) *){background:var(--evxs-surf2);color:#fff}
html[data-theme="dark"] .ast-scroll-top-icon{background:var(--ev-gold);color:var(--ev-navy)}
/* Médias : légère atténuation pour le confort nocturne */
html[data-theme="dark"] .ev-card__media img,html[data-theme="dark"] .ev-section--white img:not(.ev-ridge):not([src$=".svg"]),html[data-theme="dark"] .ev-section--chalk img:not(.ev-ridge):not([src$=".svg"]){filter:brightness(.92) contrast(1.02)}
html[data-theme="dark"] iframe{color-scheme:normal}
/* Transition douce lors de la bascule */
html.evxs-switching body,html.evxs-switching .ev-section,html.evxs-switching .ev-card,html.evxs-switching .ev-field input{transition:background-color .35s var(--ev-ease,ease),color .35s var(--ev-ease,ease),border-color .35s var(--ev-ease,ease)}
@media (prefers-reduced-motion:reduce){html.evxs-switching *{transition:none!important}}
/* Bouton bascule [ev_theme_toggle] */
.evxs-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:999px;border:1px solid rgba(245,245,240,.32);background:rgba(245,245,240,.06);color:#F5F5F0;cursor:pointer;line-height:0;transition:transform .3s var(--ev-ease,ease),background-color .3s,border-color .3s}
.evxs-toggle:hover{background:rgba(255,184,28,.16);border-color:#FFB81C;color:#FFB81C}
.evxs-toggle:active{transform:scale(.94)}
.evxs-toggle:focus-visible{outline:2px solid #FFB81C;outline-offset:3px}
.evxs-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.evxs-toggle .evxs-i-sun{display:none}
html[data-theme="dark"] .evxs-toggle .evxs-i-sun{display:block}
html[data-theme="dark"] .evxs-toggle .evxs-i-moon{display:none}
.evxs-toggle--light{color:var(--ev-navy,#0A1931);border-color:rgba(10,25,49,.28);background:rgba(10,25,49,.04)}
html[data-theme="dark"] .evxs-toggle--light{color:#F5F5F0;border-color:rgba(245,245,240,.32);background:rgba(245,245,240,.06)}
/* Installation [ev_install_app] */
.evxs-install{display:inline-flex;flex-direction:column;gap:.6rem;align-items:flex-start}
.evxs-install[hidden]{display:none}
.evxs-install__btn{display:inline-flex;align-items:center;gap:.6rem;padding:.85rem 1.4rem;border-radius:999px;border:0;background:#FFB81C;color:#0A1931;font:600 .95rem/1 Montserrat,system-ui,sans-serif;cursor:pointer;transition:transform .3s var(--ev-ease,ease),box-shadow .3s}
.evxs-install__btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(255,184,28,.28)}
.evxs-install__btn:focus-visible{outline:2px solid #fff;outline-offset:3px;box-shadow:0 0 0 5px #FFB81C}
.evxs-install__btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.evxs-install__hint{margin:0;max-width:34ch;font:400 .85rem/1.5 Montserrat,system-ui,sans-serif;color:inherit;opacity:.85}
.evxs-install__hint[hidden]{display:none}
/* Module don */
html[data-theme="dark"] .ev-don__pc{border-color:var(--evxs-line)}
html[data-theme="dark"] .ev-don__lab,html[data-theme="dark"] .ev-don__pc b,html[data-theme="dark"] .ev-don .ev-don__tab,html[data-theme="dark"] .ev-don .ev-don__tab:hover,html[data-theme="dark"] .ev-don .ev-don__btn--line{color:var(--evxs-head)}
html[data-theme="dark"] .ev-don__lab span{color:var(--ev-navy)}
html[data-theme="dark"] .ev-don__pc small,html[data-theme="dark"] .ev-don__steps,html[data-theme="dark"] .ev-don__txt,html[data-theme="dark"] .ev-don__note,html[data-theme="dark"] .ev-don__panel :is(b,small,li,p){color:var(--evxs-txt)}
html[data-theme="dark"] .ev-don .ev-don__tab{border-color:rgba(245,245,240,.28)}
html[data-theme="dark"] .ev-don .ev-don__tab:hover{border-color:var(--ev-gold)}
html[data-theme="dark"] .ev-don .ev-don__tab.is-on{background:var(--ev-gold);border-color:var(--ev-gold);color:var(--ev-navy)}
html[data-theme="dark"] .ev-don .ev-don__btn--line{border-color:rgba(245,245,240,.35)}
html[data-theme="dark"] .ev-don .ev-don__btn--line:hover{background:rgba(245,245,240,.12);color:var(--evxs-head)}
html[data-theme="dark"] .ev-don__num{color:var(--ev-gold);background:rgba(255,184,28,.16)}
html[data-theme="dark"] .ev-don__p input:focus-visible+.ev-don__pc{outline-color:var(--ev-gold)}
/* Utilitaire pour les autres modules : surface sombre / texte clair en mode sombre */
html[data-theme="dark"] .evxs-surface{background:var(--evxs-surf);border-color:var(--evxs-line);color:var(--evxs-txt)}html[data-theme="dark"] .ev-contact--light,html[data-theme="dark"] .ev-contact--light :is(li,span,a,b,strong){color:var(--evxs-txt)}
html[data-theme="dark"] .ev-social--light a{color:var(--evxs-head);border-color:rgba(245,245,240,.3)}
html[data-theme="dark"] [data-evxs-s]{background-color:var(--evxs-surf)!important;border-color:var(--evxs-line)!important}
html[data-theme="dark"] [data-evxs-t="h"]{color:var(--evxs-head)!important}
html[data-theme="dark"] [data-evxs-t="p"]{color:var(--evxs-txt)!important}
html[data-theme="dark"] .ev-hub__search .ev-button--navy{color:var(--ev-navy)}
html[data-theme="dark"] .ev-search .ev-button--navy{color:var(--ev-navy)}
