        :root { --primary: #2563eb; --primary-dark: #1e40af; --secondary: #10b981; --dark: #1f2937; --gray: #4b5563; --light: #f9fafb; --white: #fff; --nuit: #0f172a; --nuit-2: #1e293b; --barre: #3987e5; --orange: #d95926; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: var(--dark); background: var(--white); }
        a { color: var(--primary); }
        a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
        .fil-ariane { background: var(--light); padding: 0.6rem 1rem; font-size: 0.85rem; color: #374151; }
        .fil-ariane div { max-width: 1100px; margin: 0 auto; }
        .fil-ariane a { text-decoration: underline; text-underline-offset: 2px; }
        .fil-ariane .sep { margin: 0 0.3rem; }
        .fil-ariane .actuelle { font-weight: 600; }
        .hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #14532d 100%); color: #fff; padding: 2.2rem 1rem; text-align: center; }
        .hero h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 auto 0.9rem; max-width: 900px; }
        .hero p { color: #e2e8f0; max-width: 780px; margin: 0 auto 1rem; }
        .hero p a:not(.btn) { color: #fde68a; text-decoration: underline; text-underline-offset: 2px; }
        .btn { display: inline-block; padding: 0.85rem 1.3rem; background: var(--primary); color: #fff; border-radius: 10px; font-weight: 700; text-decoration: none; border: 0; font-size: 1rem; cursor: pointer; transition: transform .2s ease; margin: 0.25rem; }
        .btn:hover { transform: translateY(-2px); }
        .btn-jaune { background: #fde68a; color: #1a1a2e; }
        .btn-blanc { background: #fff; color: var(--primary-dark); }
        .container { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem; }
        h2 { font-size: 1.45rem; color: var(--primary-dark); margin: 2rem 0 0.8rem; line-height: 1.25; }
        h3 { font-size: 1.08rem; margin: 1.4rem 0 0.5rem; }
        p { margin-bottom: 0.8rem; }
        .source { font-size: 0.85rem; color: var(--gray); }
        .maj { font-size: 0.9rem; color: var(--gray); margin: 0 0 0.8rem; }
        .point-direct { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; margin-right: 4px; animation: pulse 2s ease infinite; }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
        .tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin: 0.5rem 0 1rem; }
        .tuile { background: var(--nuit); color: #fff; border-radius: 14px; padding: 0.9rem; }
        .tuile strong { display: block; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
        .tuile span { font-size: 0.83rem; color: #cbd5e1; }
        .graphes { display: grid; grid-template-columns: 1fr; gap: 1rem; }
        .carte-g { background: var(--light); border: 1px solid #e5e7eb; border-radius: 14px; padding: 1rem; min-width: 0; }
        .carte-g h3 { margin-top: 0; }
        .histo { display: flex; align-items: flex-end; gap: 2px; height: 180px; padding-top: 18px; }
        .histo-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
        .histo-barre { width: 100%; max-width: 26px; background: var(--barre); border-radius: 4px 4px 0 0; }
        .histo-col:hover .histo-barre { background: var(--primary-dark); }
        .histo-val { font-size: 0.62rem; color: var(--gray); white-space: nowrap; line-height: 1.2; }
        .histo-lib { font-size: 0.66rem; color: var(--gray); height: 1.2rem; white-space: nowrap; }
        .mois { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 0.6rem 0.8rem; margin-bottom: 0.6rem; }
        .mois:last-child { margin-bottom: 0; }
        .mois summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.2rem 1rem; font-weight: 700; cursor: pointer; list-style: none; }
        .mois summary::-webkit-details-marker { display: none; }
        .mois summary::before { content: "▸"; font-size: 2.2em; line-height: 1; width: 1em; text-align: center; margin-right: 0.2rem; color: var(--primary); transition: transform 0.3s ease; display: inline-block; }
        .mois[open] summary::before { transform: rotate(90deg); }
        .mois summary span:first-child { flex: 1 1 auto; }
        .mois summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
        .mois-total { font-weight: 600; color: var(--gray); font-variant-numeric: tabular-nums; }
        .histo-lib-sec { visibility: hidden; }
        .mois .histo { margin-top: 0.5rem; }
        @media (max-width: 599px) {
            .mois .histo { flex-direction: column; align-items: stretch; height: auto; gap: 3px; padding-top: 0; }
            .mois .histo-col { flex-direction: row; justify-content: flex-start; height: 1.15rem; }
            .mois .histo-sans { display: none; }
            .mois .histo-lib { order: 0; visibility: visible; flex: 0 0 2.9rem; height: auto; font-size: 0.78rem; }
            .mois .histo-barre { order: 1; height: 0.7rem !important; max-width: none; width: calc((100% - 6.6rem) * var(--k)); border-radius: 0 3px 3px 0; }
            .mois .histo-val { order: 2; margin-left: 0.4rem; font-size: 0.78rem; color: #1a1a2e; font-variant-numeric: tabular-nums; }
        }
        @media (min-width: 600px) and (max-width: 899px) {
            .mois .histo { padding-top: 38px; }
            .mois .histo-val { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 2px; }
        }
        .hbarres { list-style: none; display: grid; gap: 0.55rem; }
        .hbarres li { display: grid; grid-template-columns: 1fr 3.4rem; grid-template-areas: "lib lib" "fond val" "aide aide"; gap: 0.15rem 0.5rem; align-items: center; }
        .hb-lib { grid-area: lib; font-size: 0.9rem; font-weight: 600; }
        .hb-fond { grid-area: fond; background: #e5e7eb; border-radius: 4px; height: 12px; overflow: hidden; }
        .hb-val { display: block; height: 100%; background: var(--orange); border-radius: 4px; }
        .hbarres b { grid-area: val; text-align: right; font-variant-numeric: tabular-nums; }
        .hbarres small { grid-area: aide; color: var(--gray); font-size: 0.8rem; }
        .tableau { overflow-x: auto; }
        table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
        th, td { text-align: left; padding: 0.45rem 0.4rem; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
        th { background: var(--light); font-size: 0.8rem; }
        .nb { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
        .ip { font-family: ui-monospace, Consolas, monospace; white-space: nowrap; }
        .ok { color: #15803d; font-weight: 700; }
        .ko { color: #b91c1c; font-weight: 700; }
        .indispo { background: #fef3c7; padding: 1rem; border-radius: 10px; }
        .encart { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; border-radius: 16px; padding: 1.4rem; margin: 2rem 0; }
        .encart h2 { color: #fde68a; margin-top: 0; }
        .encart p { color: #e2e8f0; }
        .encart .prix { display: inline-block; background: #fde68a; color: #1a1a2e; font-weight: 800; padding: 0.35rem 0.9rem; border-radius: 10px; margin-bottom: 0.8rem; }
        .conseils { counter-reset: c; list-style: none; display: grid; gap: 0.7rem; }
        .conseils li { counter-increment: c; background: var(--light); border-left: 4px solid var(--secondary); border-radius: 10px; padding: 0.8rem 1rem 0.8rem 3rem; position: relative; }
        .conseils li::before { content: counter(c); position: absolute; left: 0.8rem; top: 0.8rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--secondary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
        .essai { background: #eff6ff; border: 2px solid var(--primary); border-radius: 16px; padding: 1.3rem; margin: 2rem 0; }
        .essai h2 { margin-top: 0; }
        .essai form { display: grid; gap: 0.8rem; margin-top: 0.8rem; }
        .essai label { font-weight: 600; display: block; margin-bottom: 0.2rem; }
        .essai input[type="email"], .essai input[type="text"], .essai input[type="tel"] { width: 100%; padding: 0.75rem; border: 1px solid #94a3b8; border-radius: 10px; font-size: 1rem; }
        .essai .accord { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.9rem; }
        .essai .accord input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
        .champ-cache { display: none; }
        .message-essai { padding: 0.8rem 1rem; border-radius: 10px; font-weight: 600; }
        .message-essai.ok { background: #dcfce7; color: #166534; }
        .message-essai.erreur { background: #fee2e2; color: #991b1b; }
        .chrono { list-style: none; border-left: 3px solid var(--primary); margin: 1rem 0 1rem 0.4rem; padding-left: 1.1rem; display: grid; gap: 0.7rem; }
        .chrono li { position: relative; }
        .chrono li::before { content: ""; position: absolute; left: -1.55rem; top: 0.45rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--primary); border: 2px solid #fff; }
        .chrono .quand { display: block; font-weight: 800; color: var(--primary-dark); font-size: 0.9rem; }
        .chrono .bilan::before { background: var(--secondary); }
        .alertes { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 0.6rem; }
        .alertes li { background: var(--light); border: 1px solid #e5e7eb; border-radius: 12px; padding: 0.8rem 1rem; }
        .alertes p { margin: 0.3rem 0 0; font-size: 0.9rem; color: #374151; }
        .alerte-suite { display: inline-block; margin-top: 0.4rem; padding: 0.3rem 0; font-size: 0.9rem; font-weight: 700; color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }
        .alerte-tete { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.25rem; font-size: 0.85rem; color: var(--gray); }
        .badge { display: inline-block; font-size: 0.75rem; font-weight: 800; padding: 0.1rem 0.55rem; border-radius: 999px; }
        .badge-alerte { background: #b91c1c; color: #fff; }
        .badge-avis { background: #fde68a; color: #1a1a2e; }
        .faq details { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 0.8rem 1rem; margin-bottom: 0.6rem; }
        .faq summary { font-weight: 700; cursor: pointer; }
        .faq p { margin: 0.5rem 0 0; color: #374151; }
        @media (min-width: 600px) {
            .hero h1 { font-size: 2.1rem; }
            .tuiles { grid-template-columns: repeat(3, 1fr); }
            .essai form { grid-template-columns: 1fr 1fr; }
            .essai .plein { grid-column: 1 / -1; }
            th, td { padding: 0.55rem; }
        }
        @media (min-width: 900px) {
            .hero { padding: 3rem 1rem; }
            .graphes { grid-template-columns: 1fr 1fr; }
            .graphes-empiles { grid-template-columns: 1fr; }
            .histo-val { font-size: 0.7rem; }
        }
        .tuiles-origine .tuile { background: #fff; color: var(--nuit); border: 1px solid #e5e7eb; }
        .tuiles-origine .tuile span { color: #374151; }
        @media (min-width: 600px) { .tuiles.tuiles-origine { grid-template-columns: 1fr 1fr; } }
        @media (min-width: 1100px) { .tuiles { grid-template-columns: repeat(6, 1fr); } .tuiles.tuiles-origine { grid-template-columns: repeat(4, 1fr); } }
        @media (prefers-reduced-motion: reduce) { .btn { transition: none; } .point-direct { animation: none; } .mois summary::before { transition: none; } }
.histo-barre.h-0 { height: 0%; --k: 0; }
.histo-barre.h-1 { height: 1%; --k: 0.01; }
.histo-barre.h-2 { height: 2%; --k: 0.02; }
.histo-barre.h-3 { height: 3%; --k: 0.03; }
.histo-barre.h-4 { height: 4%; --k: 0.04; }
.histo-barre.h-5 { height: 5%; --k: 0.05; }
.histo-barre.h-6 { height: 6%; --k: 0.06; }
.histo-barre.h-7 { height: 7%; --k: 0.07; }
.histo-barre.h-8 { height: 8%; --k: 0.08; }
.histo-barre.h-9 { height: 9%; --k: 0.09; }
.histo-barre.h-10 { height: 10%; --k: 0.1; }
.histo-barre.h-11 { height: 11%; --k: 0.11; }
.histo-barre.h-12 { height: 12%; --k: 0.12; }
.histo-barre.h-13 { height: 13%; --k: 0.13; }
.histo-barre.h-14 { height: 14%; --k: 0.14; }
.histo-barre.h-15 { height: 15%; --k: 0.15; }
.histo-barre.h-16 { height: 16%; --k: 0.16; }
.histo-barre.h-17 { height: 17%; --k: 0.17; }
.histo-barre.h-18 { height: 18%; --k: 0.18; }
.histo-barre.h-19 { height: 19%; --k: 0.19; }
.histo-barre.h-20 { height: 20%; --k: 0.2; }
.histo-barre.h-21 { height: 21%; --k: 0.21; }
.histo-barre.h-22 { height: 22%; --k: 0.22; }
.histo-barre.h-23 { height: 23%; --k: 0.23; }
.histo-barre.h-24 { height: 24%; --k: 0.24; }
.histo-barre.h-25 { height: 25%; --k: 0.25; }
.histo-barre.h-26 { height: 26%; --k: 0.26; }
.histo-barre.h-27 { height: 27%; --k: 0.27; }
.histo-barre.h-28 { height: 28%; --k: 0.28; }
.histo-barre.h-29 { height: 29%; --k: 0.29; }
.histo-barre.h-30 { height: 30%; --k: 0.3; }
.histo-barre.h-31 { height: 31%; --k: 0.31; }
.histo-barre.h-32 { height: 32%; --k: 0.32; }
.histo-barre.h-33 { height: 33%; --k: 0.33; }
.histo-barre.h-34 { height: 34%; --k: 0.34; }
.histo-barre.h-35 { height: 35%; --k: 0.35; }
.histo-barre.h-36 { height: 36%; --k: 0.36; }
.histo-barre.h-37 { height: 37%; --k: 0.37; }
.histo-barre.h-38 { height: 38%; --k: 0.38; }
.histo-barre.h-39 { height: 39%; --k: 0.39; }
.histo-barre.h-40 { height: 40%; --k: 0.4; }
.histo-barre.h-41 { height: 41%; --k: 0.41; }
.histo-barre.h-42 { height: 42%; --k: 0.42; }
.histo-barre.h-43 { height: 43%; --k: 0.43; }
.histo-barre.h-44 { height: 44%; --k: 0.44; }
.histo-barre.h-45 { height: 45%; --k: 0.45; }
.histo-barre.h-46 { height: 46%; --k: 0.46; }
.histo-barre.h-47 { height: 47%; --k: 0.47; }
.histo-barre.h-48 { height: 48%; --k: 0.48; }
.histo-barre.h-49 { height: 49%; --k: 0.49; }
.histo-barre.h-50 { height: 50%; --k: 0.5; }
.histo-barre.h-51 { height: 51%; --k: 0.51; }
.histo-barre.h-52 { height: 52%; --k: 0.52; }
.histo-barre.h-53 { height: 53%; --k: 0.53; }
.histo-barre.h-54 { height: 54%; --k: 0.54; }
.histo-barre.h-55 { height: 55%; --k: 0.55; }
.histo-barre.h-56 { height: 56%; --k: 0.56; }
.histo-barre.h-57 { height: 57%; --k: 0.57; }
.histo-barre.h-58 { height: 58%; --k: 0.58; }
.histo-barre.h-59 { height: 59%; --k: 0.59; }
.histo-barre.h-60 { height: 60%; --k: 0.6; }
.histo-barre.h-61 { height: 61%; --k: 0.61; }
.histo-barre.h-62 { height: 62%; --k: 0.62; }
.histo-barre.h-63 { height: 63%; --k: 0.63; }
.histo-barre.h-64 { height: 64%; --k: 0.64; }
.histo-barre.h-65 { height: 65%; --k: 0.65; }
.histo-barre.h-66 { height: 66%; --k: 0.66; }
.histo-barre.h-67 { height: 67%; --k: 0.67; }
.histo-barre.h-68 { height: 68%; --k: 0.68; }
.histo-barre.h-69 { height: 69%; --k: 0.69; }
.histo-barre.h-70 { height: 70%; --k: 0.7; }
.histo-barre.h-71 { height: 71%; --k: 0.71; }
.histo-barre.h-72 { height: 72%; --k: 0.72; }
.histo-barre.h-73 { height: 73%; --k: 0.73; }
.histo-barre.h-74 { height: 74%; --k: 0.74; }
.histo-barre.h-75 { height: 75%; --k: 0.75; }
.histo-barre.h-76 { height: 76%; --k: 0.76; }
.histo-barre.h-77 { height: 77%; --k: 0.77; }
.histo-barre.h-78 { height: 78%; --k: 0.78; }
.histo-barre.h-79 { height: 79%; --k: 0.79; }
.histo-barre.h-80 { height: 80%; --k: 0.8; }
.histo-barre.h-81 { height: 81%; --k: 0.81; }
.histo-barre.h-82 { height: 82%; --k: 0.82; }
.histo-barre.h-83 { height: 83%; --k: 0.83; }
.histo-barre.h-84 { height: 84%; --k: 0.84; }
.histo-barre.h-85 { height: 85%; --k: 0.85; }
.histo-barre.h-86 { height: 86%; --k: 0.86; }
.histo-barre.h-87 { height: 87%; --k: 0.87; }
.histo-barre.h-88 { height: 88%; --k: 0.88; }
.histo-barre.h-89 { height: 89%; --k: 0.89; }
.histo-barre.h-90 { height: 90%; --k: 0.9; }
.histo-barre.h-91 { height: 91%; --k: 0.91; }
.histo-barre.h-92 { height: 92%; --k: 0.92; }
.histo-barre.h-93 { height: 93%; --k: 0.93; }
.histo-barre.h-94 { height: 94%; --k: 0.94; }
.histo-barre.h-95 { height: 95%; --k: 0.95; }
.histo-barre.h-96 { height: 96%; --k: 0.96; }
.histo-barre.h-97 { height: 97%; --k: 0.97; }
.histo-barre.h-98 { height: 98%; --k: 0.98; }
.histo-barre.h-99 { height: 99%; --k: 0.99; }
.histo-barre.h-100 { height: 100%; --k: 1; }
.hb-val.w-0 { width: 0%; }
.hb-val.w-1 { width: 1%; }
.hb-val.w-2 { width: 2%; }
.hb-val.w-3 { width: 3%; }
.hb-val.w-4 { width: 4%; }
.hb-val.w-5 { width: 5%; }
.hb-val.w-6 { width: 6%; }
.hb-val.w-7 { width: 7%; }
.hb-val.w-8 { width: 8%; }
.hb-val.w-9 { width: 9%; }
.hb-val.w-10 { width: 10%; }
.hb-val.w-11 { width: 11%; }
.hb-val.w-12 { width: 12%; }
.hb-val.w-13 { width: 13%; }
.hb-val.w-14 { width: 14%; }
.hb-val.w-15 { width: 15%; }
.hb-val.w-16 { width: 16%; }
.hb-val.w-17 { width: 17%; }
.hb-val.w-18 { width: 18%; }
.hb-val.w-19 { width: 19%; }
.hb-val.w-20 { width: 20%; }
.hb-val.w-21 { width: 21%; }
.hb-val.w-22 { width: 22%; }
.hb-val.w-23 { width: 23%; }
.hb-val.w-24 { width: 24%; }
.hb-val.w-25 { width: 25%; }
.hb-val.w-26 { width: 26%; }
.hb-val.w-27 { width: 27%; }
.hb-val.w-28 { width: 28%; }
.hb-val.w-29 { width: 29%; }
.hb-val.w-30 { width: 30%; }
.hb-val.w-31 { width: 31%; }
.hb-val.w-32 { width: 32%; }
.hb-val.w-33 { width: 33%; }
.hb-val.w-34 { width: 34%; }
.hb-val.w-35 { width: 35%; }
.hb-val.w-36 { width: 36%; }
.hb-val.w-37 { width: 37%; }
.hb-val.w-38 { width: 38%; }
.hb-val.w-39 { width: 39%; }
.hb-val.w-40 { width: 40%; }
.hb-val.w-41 { width: 41%; }
.hb-val.w-42 { width: 42%; }
.hb-val.w-43 { width: 43%; }
.hb-val.w-44 { width: 44%; }
.hb-val.w-45 { width: 45%; }
.hb-val.w-46 { width: 46%; }
.hb-val.w-47 { width: 47%; }
.hb-val.w-48 { width: 48%; }
.hb-val.w-49 { width: 49%; }
.hb-val.w-50 { width: 50%; }
.hb-val.w-51 { width: 51%; }
.hb-val.w-52 { width: 52%; }
.hb-val.w-53 { width: 53%; }
.hb-val.w-54 { width: 54%; }
.hb-val.w-55 { width: 55%; }
.hb-val.w-56 { width: 56%; }
.hb-val.w-57 { width: 57%; }
.hb-val.w-58 { width: 58%; }
.hb-val.w-59 { width: 59%; }
.hb-val.w-60 { width: 60%; }
.hb-val.w-61 { width: 61%; }
.hb-val.w-62 { width: 62%; }
.hb-val.w-63 { width: 63%; }
.hb-val.w-64 { width: 64%; }
.hb-val.w-65 { width: 65%; }
.hb-val.w-66 { width: 66%; }
.hb-val.w-67 { width: 67%; }
.hb-val.w-68 { width: 68%; }
.hb-val.w-69 { width: 69%; }
.hb-val.w-70 { width: 70%; }
.hb-val.w-71 { width: 71%; }
.hb-val.w-72 { width: 72%; }
.hb-val.w-73 { width: 73%; }
.hb-val.w-74 { width: 74%; }
.hb-val.w-75 { width: 75%; }
.hb-val.w-76 { width: 76%; }
.hb-val.w-77 { width: 77%; }
.hb-val.w-78 { width: 78%; }
.hb-val.w-79 { width: 79%; }
.hb-val.w-80 { width: 80%; }
.hb-val.w-81 { width: 81%; }
.hb-val.w-82 { width: 82%; }
.hb-val.w-83 { width: 83%; }
.hb-val.w-84 { width: 84%; }
.hb-val.w-85 { width: 85%; }
.hb-val.w-86 { width: 86%; }
.hb-val.w-87 { width: 87%; }
.hb-val.w-88 { width: 88%; }
.hb-val.w-89 { width: 89%; }
.hb-val.w-90 { width: 90%; }
.hb-val.w-91 { width: 91%; }
.hb-val.w-92 { width: 92%; }
.hb-val.w-93 { width: 93%; }
.hb-val.w-94 { width: 94%; }
.hb-val.w-95 { width: 95%; }
.hb-val.w-96 { width: 96%; }
.hb-val.w-97 { width: 97%; }
.hb-val.w-98 { width: 98%; }
.hb-val.w-99 { width: 99%; }
.hb-val.w-100 { width: 100%; }
