/* GÉNÉRÉ par dark-gen/gen-dark.js — ne pas modifier à la main. Les règles manuelles sont dans dark-gen/dark-manual.css */
/* ===== Bouton de bascule (toujours actif) ===== */
.ja-theme-btn{ width:36px; height:36px; display:inline-grid; place-items:center; flex:none; padding:0; border-radius:50%; border:1px solid rgba(153,209,228,.4); background:rgba(255,255,255,.06); color:#d9f8ff; cursor:pointer; transition:background .25s ease,border-color .25s ease,transform .25s ease; }
.ja-theme-btn:hover{ background:rgba(153,209,228,.18); border-color:#99d1e4; transform:translateY(-1px); }
.ja-theme-btn svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.ja-theme-btn .i-sun{ display:none; }
html[data-theme="dark"] .ja-theme-btn .i-sun{ display:block; }
html[data-theme="dark"] .ja-theme-btn .i-moon{ display:none; }
.ja-theme-btn:focus-visible{ outline:2px solid #99d1e4; outline-offset:3px; }
/* ===== Thème sombre : socle ===== */
html[data-theme="dark"]{ color-scheme:dark; }
html[data-theme="dark"] body{ background:#09131b; color:#e8f3f6; }
html[data-theme="dark"] .site-content,html[data-theme="dark"] .site-main{ background:#09131b; color:#e8f3f6; }
html[data-theme="dark"] .gh-content,html[data-theme="dark"] .article-title,html[data-theme="dark"] .post-content,html[data-theme="dark"] .gh-content p,html[data-theme="dark"] .gh-content li{ color:#dbe9ef; }
html[data-theme="dark"] .gh-content a{ color:#99d1e4; }
html[data-theme="dark"] .gh-content h1,html[data-theme="dark"] .gh-content h2,html[data-theme="dark"] .gh-content h3,html[data-theme="dark"] .gh-content h4{ color:#fff; }
html[data-theme="dark"] .jeunactio-root{ background:transparent; color:#e8f3f6; }
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{ background:#0f1c26; color:#e8f3f6; border-color:#2b4a5a; }
html[data-theme="dark"] ::placeholder{ color:#7f98a4; }
html[data-theme="dark"] hr{ border-color:#23404f; }
html[data-theme="dark"] img{ filter:brightness(.94); }
html[data-theme="dark"] .ja-custom-header img,html[data-theme="dark"] .ja-pop-overlay img{ filter:none; }
html[data-theme="dark"] iframe{ color-scheme:normal; }
@media (prefers-reduced-motion:no-preference){ body{ transition:background-color .35s ease,color .35s ease; } }

/*  assets/ja/base.css  */
html[data-theme="dark"] .ja-fc-logo {
    background: #0f1c26
}
/*  assets/ja/header.css  */
html[data-theme="dark"] .ja-subscribe-btn {
    border: 1px solid #2a2f40
}
html[data-theme="dark"] .post-card-title {
    color: #e6ecf0 !important
}
html[data-theme="dark"] .post-template .article-header, html[data-theme="dark"] .page-template .article-header {
    background: #0f1c26
}
html[data-theme="dark"] .post-template .article-title, html[data-theme="dark"] .page-template .article-title {
    color: #e6ecf0 !important
}
html[data-theme="dark"] .post-template .article-tag a, html[data-theme="dark"] .page-template .article-tag a {
    color: #e6edf0 !important
}
html[data-theme="dark"] .post-template .site-content, html[data-theme="dark"] .page-template .site-content {
    background: #0f1c26
}
html[data-theme="dark"] .post-template .gh-content, html[data-theme="dark"] .page-template .gh-content {
    color: #e6ecf0
}
html[data-theme="dark"] .post-template .gh-content h1, html[data-theme="dark"] .post-template .gh-content h2, html[data-theme="dark"] .post-template .gh-content h3, html[data-theme="dark"] .post-template .gh-content h4, html[data-theme="dark"] .page-template .gh-content h1, html[data-theme="dark"] .page-template .gh-content h2, html[data-theme="dark"] .page-template .gh-content h3, html[data-theme="dark"] .page-template .gh-content h4 {
    color: #e6ecf0 !important
}
/*  assets/ja/popup.css  */
html[data-theme="dark"] .ja-pop-btn.primary {
    color: #e6e7f0
}
/*  assets/ja/home-1.css  */
html[data-theme="dark"] .jeunactio-root {
    background: radial-gradient(circle at 10% 8%, rgba(153, 209, 228, 0.34), transparent 34%),
  radial-gradient(circle at 86% 16%, rgba(153, 209, 228, 0.24), transparent 30%),
  radial-gradient(circle at 50% 92%, rgba(153, 209, 228, 0.18), transparent 42%),
  linear-gradient(180deg, #0f1c26 0%, var(--ja-page-bg) 44%, #101e22 100%)
}
html[data-theme="dark"] .jeunactio-root .sec-frames {
    background: linear-gradient(180deg, rgba(19,19,19,0.88), rgba(16,30,34,0.94))
}
html[data-theme="dark"] .jeunactio-root .ja-project-showcase {
    background: linear-gradient(180deg, rgba(19,19,19,0.94), rgba(16,30,34,0.94) 48%, rgba(19,19,19,0.78)),
  radial-gradient(circle at 16% 18%, rgba(153,209,228,0.34), transparent 32%)
}
html[data-theme="dark"] .jeunactio-root .ja-project-tab {
    background: rgba(19,19,19,0.78);
    color: #e6ecf0
}
html[data-theme="dark"] .jeunactio-root .ja-project-tab:hover, html[data-theme="dark"] .jeunactio-root .ja-project-tab.is-active {
    color: #e6ecf0;
    background: linear-gradient(180deg, #0f1c26, rgba(153,209,228,0.9))
}
html[data-theme="dark"] .jeunactio-root .ja-avenir-panel {
    background: #0f1c26
}
html[data-theme="dark"] .jeunactio-root .ja-av-item.av-blue {
    background: #0f2030
}
html[data-theme="dark"] .jeunactio-root .ja-av-item.av-green {
    background: #12261a
}
html[data-theme="dark"] .jeunactio-root .ja-av-item.av-amber {
    background: #1f180f
}
html[data-theme="dark"] .jeunactio-root .ja-av-item.av-blue:hover {
    background: #101821
}
html[data-theme="dark"] .jeunactio-root .ja-av-item.av-green:hover {
    background: #202914
}
html[data-theme="dark"] .jeunactio-root .ja-av-item.av-amber:hover {
    background: #251e12
}
html[data-theme="dark"] .jeunactio-root .ja-av-item.av-green .ja-av-date {
    color: #eaf0e6
}
html[data-theme="dark"] .jeunactio-root .ja-av-item.av-amber .ja-av-date {
    color: #f0ebe6
}
html[data-theme="dark"] .jeunactio-root .ja-av-name {
    color: #e6ecf0
}
html[data-theme="dark"] .jeunactio-root .ja-project-menu-btn::before {
    color: #e6ecf0
}
html[data-theme="dark"] .jeunactio-root .ja-project-dot.is-active {
    color: #e6ecf0
}
html[data-theme="dark"] .jeunactio-root .ja-project-link:hover {
    color: #e6ecf0
}
html[data-theme="dark"] .jeunactio-root .banner-card .ja-section-label {
    color: #e6ecf0;
    background: rgba(19,19,19,0.82);
    text-shadow: 0 1px 0 rgba(19,19,19,0.9)
}
html[data-theme="dark"] .jeunactio-root .banner-left {
    background: #0f1c26;
    box-shadow: 18px 0 26px rgba(19,19,19,0.9)
}
html[data-theme="dark"] .jeunactio-root .ja-social-embed-body iframe {
    background: #0f1c26
}
html[data-theme="dark"] .jeunactio-root .ja-comment-btn {
    border: 2px solid #0f1c26
}
html[data-theme="dark"] .jeunactio-root .ja-tl-month-group {
    background: #0f1c26
}
html[data-theme="dark"] .jeunactio-root .ja-tl-month-name.current {
    color: #e6edf0
}
html[data-theme="dark"] .jeunactio-root .ja-timeline-card-hero {
    background: #0e1a1e;
    color: #e6ecf0
}
html[data-theme="dark"] .jeunactio-root .ja-timeline-card-mini {
    background: #0e1a1e;
    color: #e6ecf0
}
html[data-theme="dark"] .jeunactio-root .ja-timeline-tag {
    color: #e6edf0
}
html[data-theme="dark"] .jeunactio-root .ja-tl-hero-body h3 {
    color: #e6ecf0 !important
}
html[data-theme="dark"] .jeunactio-root .ja-tl-mini-body h3 {
    color: #e6ecf0 !important
}
html[data-theme="dark"] .jeunactio-root .ja-tl-load-btn {
    color: #e6edf0
}
html[data-theme="dark"] .jeunactio-root .ja-timeline-widget {
    background: #0f1c26
}
html[data-theme="dark"] .jeunactio-root .ja-tl-event-title {
    color: #e6ecf0
}
html[data-theme="dark"] .jeunactio-root .ja-tl-tag-pill {
    color: #e6edf0
}
html[data-theme="dark"] .ja-modal-box {
    background: #0f1c26
}
html[data-theme="dark"] .ja-modal-close {
    color: #ebebeb
}
html[data-theme="dark"] .ja-modal-content-area {
    background: #161616
}
html[data-theme="dark"] .ja-modal-image {
    background: #1c1c1c
}
html[data-theme="dark"] .ja-modal-comments-area {
    background: #0f1c26
}
html[data-theme="dark"] .ja-modal-content-area::-webkit-scrollbar-thumb, html[data-theme="dark"] .ja-modal-comments-area::-webkit-scrollbar-thumb {
    background: #2f2f2f
}
html[data-theme="dark"] .ja-title-card {
    border-bottom: 1px solid #23404f
}
html[data-theme="dark"] .jeunactio-root .ja-title-card .btn {
    color: #e8f3f6 !important
}
html[data-theme="dark"] .jeunactio-root .ja-title-card .btn:last-child {
    color: #9fb7c2 !important
}
html[data-theme="dark"] .jeunactio-root .slide, html[data-theme="dark"] .jeunactio-root .slide.is-center, html[data-theme="dark"] .jeunactio-root .frame-wrapper:nth-child(2) .slide.is-center {
    background: #12303d
}
html[data-theme="dark"] .jeunactio-root .carousel-indicator {
    background: #213238
}
html[data-theme="dark"] .jeunactio-root .carousel-indicator.active, html[data-theme="dark"] .jeunactio-root .frame:nth-child(2) .carousel-indicator.active {
    background: #99d1e4
}
html[data-theme="dark"] .ja-ed-card {
    background: #0f1c26;
    border: 1px solid #23404f
}
html[data-theme="dark"] .ja-ed-main {
    border-color: #23404f
}
html[data-theme="dark"] .ja-ed-name, html[data-theme="dark"] .ja-ed-headline {
    color: #e8f3f6
}
html[data-theme="dark"] .ja-ed-title, html[data-theme="dark"] .ja-ed-excerpt {
    color: #9fb7c2
}
html[data-theme="dark"] .jeunactio-root .ja-social-embed-slot, html[data-theme="dark"] .jeunactio-root .ja-social-embed-slot.instagram, html[data-theme="dark"] .jeunactio-root .ja-social-embed-slot.facebook {
    background: #0f1c26;
    border: 1px solid #23404f
}
html[data-theme="dark"] .jeunactio-root .ja-social-embed-head {
    border-bottom: 1px solid #23404f;
    color: #e8f3f6
}
html[data-theme="dark"] .jeunactio-root .ja-social-embed-head a {
    color: #9fb7c2
}
html[data-theme="dark"] .jeunactio-root .ja-social-embed-slot.instagram .ja-social-embed-head span, html[data-theme="dark"] .jeunactio-root .ja-social-embed-slot.facebook .ja-social-embed-head span {
    color: #e8f3f6
}
html[data-theme="dark"] .jeunactio-root .ja-social-embed-body {
    background: #0f1c26
}
html[data-theme="dark"] .jeunactio-root .ja-social-fallback {
    background: #0b1620;
    color: #e8f3f6
}
@media (min-width: 1101px) {
    html[data-theme="dark"] .jeunactio-root .ja-project-intro {
        background: #0f1c26;
        border-color: #23404f
    }
    html[data-theme="dark"] .jeunactio-root .ja-project-lead {
        color: #9fb7c2
    }
    html[data-theme="dark"] .jeunactio-root .ja-project-fact {
        background: #0f1a20;
        border-color: #23404f
    }
    html[data-theme="dark"] .jeunactio-root .ja-project-fact strong {
        color: #e8f3f6
    }
    html[data-theme="dark"] .jeunactio-root .ja-project-fact span {
        color: #9fb7c2
    }
    html[data-theme="dark"] .jeunactio-root .ja-project-menu-title {
        color: #e8f3f6
    }
    html[data-theme="dark"] .jeunactio-root .ja-project-menu-btn {
        background: #0f1a20;
        border-color: #23404f;
        color: #e8f3f6
    }
    html[data-theme="dark"] .jeunactio-root .ja-project-menu-btn .ja-menu-form-link {
        color: #e6f0e9
    }
    html[data-theme="dark"] .jeunactio-root .ja-project-menu-btn:hover, html[data-theme="dark"] .jeunactio-root .ja-project-menu-btn.is-active {
        background: #132228;
        color: #e8f3f6
    }
}
html[data-theme="dark"] .ja-form-section {
    background: linear-gradient(135deg, #112330 0%, #14242a 60%, #0c1822 100%)
}
html[data-theme="dark"] .ja-form-ticker::before {
    background: linear-gradient(180deg, #12303d, transparent)
}
html[data-theme="dark"] .ja-form-ticker::after {
    background: linear-gradient(0deg, #12303d, transparent)
}
html[data-theme="dark"] .ja-form-ticker-item {
    color: #9fb7c2
}
html[data-theme="dark"] .ja-form-ticker-item.is-intro {
    color: #e8f3f6
}
html[data-theme="dark"] .ja-form-acc-title {
    color: #e8f3f6
}
html[data-theme="dark"] .ja-form-acc-toggle {
    background: #99d1e4;
    border-color: #99d1e4;
    color: #061017
}
html[data-theme="dark"] .jeunactio-root .ja-social-embed-slot.instagram iframe {
    background: #0f1c26
}
html[data-theme="dark"] .jeunactio-root .ja-ig-hl {
    color: #e8f3f6
}
html[data-theme="dark"] .jeunactio-root .ja-ig-ring {
    background: #0f1c26;
    box-shadow: 0 0 0 3px #0f1c26, 0 0 0 4px #23404f
}
html[data-theme="dark"] .jeunactio-root .ja-ig-hl:hover .ja-ig-ring, html[data-theme="dark"] .jeunactio-root .ja-ig-hl:focus-visible .ja-ig-ring {
    box-shadow: 0 0 0 3px #0f1c26, 0 0 0 4px var(--c), var(--e2)
}
html[data-theme="dark"] .jeunactio-root .ja-promo-card {
    background: #0f1c26;
    border: 1px solid #23404f
}
html[data-theme="dark"] .jeunactio-root .ja-cover {
    background: #12303d
}
html[data-theme="dark"] .jeunactio-root .ja-cover--off {
    color: #9fb7c2
}
html[data-theme="dark"] .jeunactio-root .ja-badge {
    background: rgba(19,19,19,.95);
    color: #e8f3f6;
    border: 1px solid #23404f
}
html[data-theme="dark"] .jeunactio-root .ja-title {
    color: #e8f3f6
}
html[data-theme="dark"] .jeunactio-root .ja-lead {
    color: #9fb7c2
}
html[data-theme="dark"] .jeunactio-root .ja-btn {
    color: #e8f3f6
}
html[data-theme="dark"] .jeunactio-root .ja-btn:hover {
    color: #e8f3f6
}
/*  assets/ja/home-2.css  */
html[data-theme="dark"] .ja-form-embed, html[data-theme="dark"] .ja-activity-card, html[data-theme="dark"] .ja-activity-panel {
    background: #0f1c26
}
html[data-theme="dark"] .ja-activity-card p {
    color: #9fb7c2
}
html[data-theme="dark"] .ja-activity-card p strong {
    color: #e6ecf0
}
html[data-theme="dark"] .ja-activity-pills {
    border-bottom: 1px solid #14212b
}
html[data-theme="dark"] .ja-activity-pill {
    background: #0f1c26
}
html[data-theme="dark"] .ja-activity-pill[data-c="blue"] {
    color: #7cc4de
}
html[data-theme="dark"] .ja-activity-pill[data-c="green"] {
    color: #ebf0e6
}
/*  assets/ja/presentation.css  */
html[data-theme="dark"] .ja-pres {
    --p-ink: #e8f3f6;
    --p-mute: #9fb7c2;
    --p-line: #23404f;
    --p-soft: #0b1620;
    background: #0f1c26
}
html[data-theme="dark"] .pres-banner {
    background: #0f1c26
}
html[data-theme="dark"] .pres-banner-head h1 {
    color: #e8f3f6
}
html[data-theme="dark"] .pres-hero {
    background: radial-gradient(1200px 520px at 8% 0%, #12303d 0%, transparent 60%), linear-gradient(180deg,#0b1620,#0c1822)
}
html[data-theme="dark"] .pres-kicker {
    color: #7cc4de;
    background: #0f1c26
}
html[data-theme="dark"] .pres-btn {
    background: #0f1c26
}
html[data-theme="dark"] .pres-btn:hover {
    background: #14303d
}
html[data-theme="dark"] .pres-btn.is-primary {
    background: #99d1e4;
    border-color: #99d1e4;
    color: #061017
}
html[data-theme="dark"] .pres-track img {
    background: #12303d
}
html[data-theme="dark"] .pres-scroll span {
    background: #7cc4de
}
html[data-theme="dark"] .pres-mission {
    background: #0f1c26
}
html[data-theme="dark"] .pres-stats strong {
    color: #e8f3f6
}
html[data-theme="dark"] .pres-scene {
    background: linear-gradient(180deg,#0f1c26,var(--p-soft))
}
html[data-theme="dark"] .pres-scene:nth-of-type(even) {
    background: linear-gradient(180deg,var(--p-soft),#0f1c26)
}
html[data-theme="dark"] .pres-card a {
    background: #0f1c26
}
html[data-theme="dark"] .pres-card img {
    background: #12303d
}
html[data-theme="dark"] .pres-more {
    color: #7cc4de
}
html[data-theme="dark"] .pres-person img, html[data-theme="dark"] .pres-ph {
    background: #12303d
}
html[data-theme="dark"] .pres-role a {
    color: #e8f3f6
}
html[data-theme="dark"] .pres-lead a {
    color: #e8f3f6
}
html[data-theme="dark"] .pres-ig-grid a {
    background: #0f1c26
}
html[data-theme="dark"] .pres-news-grid img {
    background: #12303d
}
html[data-theme="dark"] .pres-final .pres-btn.is-primary {
    color: #e6ecf0
}
html[data-theme="dark"] .ja-pres :is(a,button):focus-visible {
    outline: 2px solid #7cc4de
}
/*  assets/ja/visite.css  */
html[data-theme="dark"] .vt {
    --v-ink: #e8f3f6;
    --v-mute: #9fb7c2;
    --v-line: #23404f;
    --v-cyd: #7cc4de;
    --v-soft: #0d1a24;
    background: radial-gradient(1100px 520px at 12% 0%,#132227 0%,transparent 62%),linear-gradient(180deg,#0f1c26,#0c1822)
}
html[data-theme="dark"] .vt-bar {
    background: linear-gradient(180deg,rgba(19,19,19,.92),rgba(19,19,19,.7))
}
html[data-theme="dark"] .vt-pill {
    background: #0f1c26
}
html[data-theme="dark"] .vt-pill.is-on {
    background: #99d1e4;
    border-color: #99d1e4;
    color: #061017
}
html[data-theme="dark"] .vt-stage {
    background: radial-gradient(900px 480px at 50% 0%,#0f1c26 0%,#102430 70%)
}
html[data-theme="dark"] .vt-badge {
    background: #99d1e4;
    color: #061017
}
html[data-theme="dark"] .scr {
    background: #0f1c26
}
html[data-theme="dark"] .scr::after {
    background: linear-gradient(105deg,transparent 35%,rgba(19,19,19,.6) 50%,transparent 65%) 100% 0/300% 100% no-repeat
}
html[data-theme="dark"] .top {
    background: #0f1c26
}
html[data-theme="dark"] .nav i.on {
    background: #99d1e4;
    color: #061017
}
html[data-theme="dark"] .body {
    background: linear-gradient(180deg,#0c1822,#112330)
}
html[data-theme="dark"] .card {
    background: #0f1c26
}
html[data-theme="dark"] .pc .im {
    background: #12303d
}
html[data-theme="dark"] .tag {
    background: #12303d;
    color: #7cc4de
}
html[data-theme="dark"] .btn {
    background: #0f1c26
}
html[data-theme="dark"] .btn.p {
    background: #99d1e4;
    border-color: #99d1e4;
    color: #061017
}
html[data-theme="dark"] .spark path {
    stroke: #7cc4de
}
html[data-theme="dark"] .prog {
    background: #12303d
}
html[data-theme="dark"] .prog i {
    background: #7cc4de
}
html[data-theme="dark"] .row {
    background: #0f1c26
}
html[data-theme="dark"] .row img {
    background: #12303d
}
html[data-theme="dark"] .person .pb {
    background: linear-gradient(120deg,#12303d,#1b3139)
}
html[data-theme="dark"] .person .av {
    border: 4px solid #0f1c26;
    background: #12303d
}
html[data-theme="dark"] .person .ini {
    color: #7cc4de
}
html[data-theme="dark"] .person .ml {
    background: #112330;
    color: #e8f3f6
}
html[data-theme="dark"] .person .ml::before {
    background: #7cc4de
}
html[data-theme="dark"] .scr.is-spot .person.is-front .pb {
    background: linear-gradient(120deg,#16272d,#9fd2e4)
}
html[data-theme="dark"] .fld .v {
    background: #0f1c26
}
html[data-theme="dark"] .tgl s {
    background: #0f1c26
}
html[data-theme="dark"] .tgl s::after {
    background: #456373
}
html[data-theme="dark"] .tgl.on s {
    background: #99d1e4;
    border-color: #99d1e4
}
html[data-theme="dark"] .tgl.on s::after {
    background: #0f1c26
}
html[data-theme="dark"] .step {
    background: #0f1c26
}
html[data-theme="dark"] .ring u {
    background: #0f1c26;
    box-shadow: 0 0 0 3px #0f1c26,0 0 0 4px var(--v-line)
}
html[data-theme="dark"] .scr.is-spot .card.is-front {
    background: #0f1c26;
    outline: 2px solid #99d1e4
}
html[data-theme="dark"] .scr.is-spot .row.is-front {
    outline: 2px solid #99d1e4
}
html[data-theme="dark"] .vt-ctl button {
    background: #0f1c26
}
html[data-theme="dark"] .vt-ctl .play {
    background: #99d1e4;
    border-color: #99d1e4;
    color: #061017
}
html[data-theme="dark"] .vt-tl i {
    background: #2b4a5a
}
html[data-theme="dark"] .vt-tl i::after {
    background: #99d1e4
}
html[data-theme="dark"] .vt :is(button,a):focus-visible {
    outline: 2px solid #7cc4de
}
html[data-theme="dark"] .vt.is-big {
    background: #0c1822
}
/*  index.hbs#1  */
html[data-theme="dark"] .ja-sec-btn {
    background: rgba(19,19,19,0.82);
    color: #e6ecf0;
    text-shadow: 0 1px 0 rgba(19,19,19,0.9)
}
html[data-theme="dark"] .ja-sec-btn:hover {
    color: #e6ecf0
}
/*  partials/ja-page-archive-styles.hbs#1  */
html[data-theme="dark"] .ja-page-archive {
    background: linear-gradient(180deg, rgba(153, 209, 228, 0.18), rgba(19,19,19,0.92) 220px),
            #0b1620;
    color: #e8f3f6
}
html[data-theme="dark"] .ja-page-archive-section-head h2 {
    color: #e8f3f6
}
html[data-theme="dark"] .ja-page-archive-feed .post-card {
    background: #0f1c26
}
html[data-theme="dark"] .ja-page-archive-empty {
    background: rgba(19,19,19,0.78)
}