/* ===== 16/11/2026 — Trust Boost en mode sombre =====
   Le thème sombre global éclaircit titres et textes ; les sections Boost restaient blanches → illisible.
   On assombrit les surfaces claires et on règle les encres Boost. */
html[data-theme="dark"] body{background-color:#0f1a24;color:#c9d5df}
html[data-theme="dark"] body :is(section,main,div,article,aside,form,header,footer).bg-white{background-color:#162330!important}
html[data-theme="dark"] body section.bg-white,html[data-theme="dark"] body main.bg-white{background-color:#0f1a24!important}
html[data-theme="dark"] body .bg-ardoise-clair{background-color:#111d28!important}
html[data-theme="dark"] body :is(.carte-lumiere,.bascule){background-color:#162330!important;border-color:#2a3a49!important}
html[data-theme="dark"] body [class*="bg-white/"]:not([class*="bg-white/1"]):not([class*="bg-white/5"]):not([class*="bg-white/[."]){background-color:rgba(22,35,48,.85)!important}
html[data-theme="dark"] body :is(.text-ardoise,.text-trust-900,.text-slate-900,.text-gray-900){color:#e8eef3!important}
html[data-theme="dark"] body [class*="text-ardoise/"]{color:#b4c3d0!important}
html[data-theme="dark"] body .text-trust:not(.bg-white):not([class*="bg-"]){color:#8fc4f2!important}
html[data-theme="dark"] body :is([class*="border-ardoise"],[class*="border-slate"],[class*="border-gray"]){border-color:#2a3a49!important}
html[data-theme="dark"] body :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]){background-color:#0f1a24;color:#e8eef3;border-color:#2a3a49}
html[data-theme="dark"] body :is(input,textarea)::placeholder{color:#7f92a3}
html[data-theme="dark"] body main :is(p,li,dd,td,span,label,small):not([class*="text-white"]):not([class*="text-cyan"]):not([class*="text-trust"]):not([class*="text-or"]){color:inherit}
html[data-theme="dark"] body .bascule button[aria-checked="true"]{background-color:#8FC4F2!important;color:#07192F!important}
html[data-theme="dark"] body .bascule button:not([aria-checked="true"]){color:#c9d5df!important}
/* surfaces claires des composants Boost */
html[data-theme="dark"] body :is(.carte-prix,.carte-flottante,.telephone-ecran,.carte-lien,.badge,details.faq,.carte,li.bg-white,nav.bg-white,span.bg-white,a.bg-white,.ba-tabs,.bg-ardoise-clair){background-color:#162330!important;border-color:#2a3a49!important}
html[data-theme="dark"] body .carte-flottante{background-color:rgba(22,35,48,.96)!important}
html[data-theme="dark"] body :is(.titre-section,h1,h2,h3):not([class*="text-white"]):not(.text-cyan-trust){color:#eef3f7!important}
html[data-theme="dark"] body .bg-cyan-trust,html[data-theme="dark"] body .bg-cyan-trust *{color:#06223a!important}
html[data-theme="dark"] body .ba-tab{color:#b4c3d0}
html[data-theme="dark"] body .ba-tab[aria-selected="true"]{color:#fff}
html[data-theme="dark"] body a:not([class*="bg-"]):not(.btn):not([class*="btn"]){color:#8fd3f0}
html[data-theme="dark"] body .text-white\/15{color:rgba(255,255,255,.28)!important}
html[data-theme="dark"] body .sommaire-lien{color:#c9d5df!important}
html[data-theme="dark"] body [class*="from-white"]{background-image:linear-gradient(135deg,#162330,#111d28 55%,#162330)!important}
html[data-theme="dark"] body #ambassadeurs :is(p,li,span):not([class*="text-white"]):not(.bg-cyan-trust):not([class*="bg-trust"] *){color:#c9d5df}
.tc-logo-clair{display:inline-block}
.tc-logo-sombre{display:none}
html[data-theme="dark"] .tc-logo-clair{display:none!important}
html[data-theme="dark"] .tc-logo-sombre{display:inline-block!important}
