/* ==========================================================================
   Direction « Bavardeo Charte » : l'allure du document de charte de marque (édition 1.0) appliquée à tout le site.
   S'appuie sur Bavardeo Institution (classes ds-inst, ds-corp, ds-pro) et ajoute la classe ds-charte.
   En sombre : bleu nuit profond #0B1120, cartes #131A2B et filets fins, comme la charte.
   En clair : blanc papier #F6F5F2, cartes blanches, bandeaux en bleu institution #0B2A5B.
   Grands titres en Source Serif 4 léger, surtitres en petites capitales espacées et orangées,
   chiffres et heures en Source Code Pro, angles de 2 px, orange réservé aux petites touches.
   ========================================================================== */
:root.ds-charte{--font-mono:"Source Code Pro",Consolas,"Courier New",monospace;--ch-inst:#0b2a5b;--ch-bleu:#2b59d9;--ch-signal:#ff6a3d}
:root.ds-pro.ds-inst.ds-charte:not(.neo-d):not([data-amb]){--page:#f6f5f2;--panel:#ffffff;--chrome:#ffffff;--chrome2:#f6f5f2;--ink:#1f2733;--muted:#5e6673;--line:#e4e6eb;--line2:#eceef2;
  --link:#2b59d9;--h:#2b59d9;--hover:#eef1f7;--sel:#e6ecf7;--accent-soft:#e6ecf7;--pro-b:#0b2a5b;--pro-bh:#123a7a;--pro-on:#ffffff;--corp-bar:#0b2a5b;--inst-signal:#c8431a;--ch-sur:#c8431a;--ch-bande:#0b2a5b;--ch-bande-t:#ffffff;--ch-bande-m:#b9c8e8}
:root.ds-pro.ds-inst.ds-charte.neo-d:not([data-amb]){--page:#0b1120;--panel:#131a2b;--chrome:#0f1524;--chrome2:#161e31;--ink:#eef1f6;--muted:#a3abbb;--line:#232c42;--line2:#1b2338;
  --link:#8fb0ff;--h:#8fb0ff;--hover:#1a2338;--sel:#1b2b4f;--accent-soft:#1b2b4f;--pro-b:#2b59d9;--pro-bh:#3a68e6;--pro-on:#ffffff;--pro-bs:#1b2b4f;--foot:#070b15;--c-noir:#eef1f6;--corp-bar:#2b59d9;--inst-signal:#ff8a5c;--ch-sur:#ff8a5c;--ch-bande:#0b2a5b;--ch-bande-t:#ffffff;--ch-bande-m:#b9c8e8}
:root.ds-charte body{background:var(--page)!important}

/* --- titres : la voix éditoriale, serif léger et généreux --- */
:root.ds-charte :is(h1,h2,h3,.box-h,.comu-top h1,.bl-h h1,.bl-corps h2,.sbio-n):not(#_){font-family:"Source Serif 4",Georgia,serif!important;letter-spacing:-.005em}
:root.ds-charte h1:not(#_){font-weight:300!important;font-size:clamp(30px,3.6vw,46px);line-height:1.08}
:root.ds-charte h2:not(#_){font-weight:400!important}
:root.ds-charte .box-h:not(#_){font-weight:500!important;font-size:19px}
:root.ds-charte .bl-c .bl-txt b:not(#_){font-family:"Source Serif 4",Georgia,serif;font-weight:500}

/* --- surtitres : petites capitales espacées, orangées comme « Valeur » ou « Couleurs principales » --- */
:root.ds-charte :is(.jbv-side-h,.sbio-sh,.bl-cat,.subnav .sn-g,.rq-det dt,.cap-l):not(#_){font-family:"Source Sans 3",system-ui,sans-serif!important;font-size:11.5px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.16em!important;color:var(--ch-sur)!important}
:root.ds-charte :is(th,.tbl th):not(#_){font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}

/* --- chiffres, heures et références en police mono --- */
:root.ds-charte :is(.msg .t,.msg time,time,.num,.ts,.rq-ts,.prix,.une-prix,.hd-n,.st-n,.pa-prix,.jb-sal,.ref,code,kbd,.mono):not(#_){font-family:var(--font-mono)!important;font-variant-numeric:tabular-nums;letter-spacing:0}

/* --- bandeau d'accueil : aplat bleu institution, comme la couverture de la charte --- */
:root.ds-charte .hero:not(.chat-pub):not(#_){background:var(--ch-bande)!important;color:var(--ch-bande-t)!important;border-color:var(--ch-bande)!important;position:relative}
:root.ds-charte .hero:not(.chat-pub) :not(.btn):not(.btn *):not([class*="dot"]):not(#_){color:inherit!important}
:root.ds-charte .hero:not(.chat-pub) :is(h1,h2,h3,b,strong):not(#_){color:var(--ch-bande-t)!important}
:root.ds-charte .hero:not(.chat-pub) :is(p,small,.muted):not(#_){color:var(--ch-bande-m)!important}
:root.ds-charte .hero:not(.chat-pub) h1:not(#_):not(#_){font-size:clamp(36px,4.6vw,58px)!important;line-height:1.04;margin-bottom:10px}
:root.ds-charte .hero:not(.chat-pub) .btn.go:not(#_):not(#_):not(#_){background:#ffffff!important;border-color:#ffffff!important;color:var(--ch-inst)!important}
:root.ds-charte .hero:not(.chat-pub) .btn.go:not(#_):not(#_):not(#_) :is(svg,.sm-ico){color:var(--ch-inst)!important}
:root.ds-charte .hero:not(.chat-pub) .btn:not(.go):not(#_){background:transparent!important;border:1px solid rgba(255,255,255,.55)!important;color:#fff!important}
:root.ds-charte .comu-hero:not(#_){border-radius:2px!important}

/* --- encarts : filets fins, angles de 2 px, un filet bleu de 3 px pour ouvrir l'en-tête --- */
:root.ds-charte :is(.box,.card,.amb-box,.applet):not(#_){border:1px solid var(--line)!important;border-radius:2px!important}
:root.ds-charte .box>.box-h:not(#_){border-bottom:1px solid var(--line)}
:root.ds-charte .sec-h:not(#_){font-family:"Source Serif 4",Georgia,serif}

/* --- boutons : un bleu plein pour l'action, le contour pour le second choix, le texte seul pour « plus tard » --- */
:root.ds-charte .btn.go:not(.gris):not(#_):not(#_):not(#_){background:var(--pro-b)!important;border-color:var(--pro-b)!important;color:var(--pro-on)!important;font-weight:700}
:root.ds-charte .btn.go:not(.gris):not(#_):not(#_):not(#_) :is(svg,span,.sm-ico,.num){color:var(--pro-on)!important}
:root.ds-charte .btn.go:not(.gris):hover:not(#_):not(#_):not(#_){background:var(--pro-bh)!important;border-color:var(--pro-bh)!important}
:root.ds-charte .btn:not(.go):not(.lnk):not(.ib-plus):not(#_){border-radius:2px!important}
:root.ds-charte .btn.go[data-guestreg]:not(#_):not(#_):not(#_){background:var(--ch-signal)!important;border-color:var(--ch-signal)!important;color:#1a0d06!important}
:root.ds-charte .btn.go[data-guestreg]:not(#_):not(#_):not(#_) :is(svg,.sm-ico){color:#1a0d06!important}
/* sélecteurs « Grille / Liste » et filtres actifs : bleu plein, texte blanc */
:root.ds-charte :is(.vue-tog [aria-checked="true"],.jx-vue [aria-pressed="true"],.chip-b[aria-pressed="true"]):not(#_):not(#_):not(#_){background:var(--pro-b)!important;color:#fff!important;border-color:var(--pro-b)!important}
:root.ds-charte :is(.vue-tog [aria-checked="true"],.jx-vue [aria-pressed="true"],.chip-b[aria-pressed="true"]) :is(svg,span,.num):not(#_):not(#_):not(#_){color:#fff!important}

/* --- liens et fil d'Ariane soulignés, comme dans la charte --- */
:root.ds-charte :is(.crumbs,.fil,.breadcrumb) a:not(#_){text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

/* --- citations et chiffres clés : filet orange de signature --- */
:root.ds-charte .bl-corps blockquote:not(#_){border-left:3px solid var(--ch-signal)!important;padding-left:22px!important;font-family:"Source Serif 4",Georgia,serif;font-weight:400;font-size:1.25em;line-height:1.4}

/* --- en-tête et pied : bandeau sombre net en mode nuit, filet bleu institution en mode jour --- */
:root.ds-charte.neo-d header.top:not(#_){background:#0f1524!important;border-bottom:1px solid var(--line)!important}
:root.ds-charte footer:not(#_),:root.ds-charte .foot:not(#_){border-top:1px solid var(--line)}

/* --- étiquettes : sobres, à angles nets --- */
:root.ds-charte :is(.chip,.tag,.une-faits li,.rq-ou,.pa-une):not(#_){border-radius:2px!important}

/* aperçu dans le choix du visuel */
.ds-opt.ds-charte .ds-ap{background:linear-gradient(#0b2a5b,#0b2a5b) 0 0/100% 22px no-repeat,linear-gradient(#ff8a5c,#ff8a5c) 10px 30px/18px 3px no-repeat,linear-gradient(#eef1f6,#eef1f6) 10px 37px/44px 6px no-repeat,linear-gradient(#232c42,#232c42) 9px 47px/82px 1px no-repeat,linear-gradient(#131a2b,#131a2b) 9px 26px/82px 30px no-repeat,#0b1120;border-radius:2px!important}
