/* ==========================================================================
   thankslucas.com : gabarit d'article
   Reprise du systeme de design du dernier article publie (11 juin 2026),
   qui etait deja partage a l'identique par 12 des 14 articles habilles.
   47 regles de base, plus le composant timeline utilise par 2 articles.
   Zero defaut de contraste mesure sur ce systeme : 46 elements de texte
   controles, tous conformes AA.
   Une valeur modifiee ici change sur tous les articles a la fois.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --color-bg: #F8FAFF; --color-text: #162242; --color-text-secondary: #3A4A6A;
            --color-accent: #1A56DB; --color-accent-dark: #0C2D6B; --color-accent-light: #EBF2FF;
            --color-border: #D6E4F7; --color-green: #059669; --color-red: #DC2626; --color-orange: #D97706;
            --gradient-brand: linear-gradient(135deg, #0A1A3A 0%, #1A3A6E 40%, #2563EB 100%);
            --gradient-text: linear-gradient(135deg, #1A1A2E 0%, #1A56DB 50%, #3B9CFF 100%);
            --font-heading: 'Georgia', 'Times New Roman', serif; --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif; --max-width: 760px;
        }
        body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.75; font-size: 17px; -webkit-font-smoothing: antialiased; }
        .article-container { max-width: var(--max-width); margin: 0 auto; padding: 40px 24px 80px; }
        .article-meta { margin-bottom: 12px; font-size: 14px; color: var(--color-text-secondary); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
        .article-meta .tag { background: var(--gradient-brand); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
        h1 { font-family: var(--font-heading); font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin-bottom: 20px; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.5px; }
        .article-intro { font-size: 19px; line-height: 1.7; color: var(--color-text-secondary); margin-bottom: 32px; border-left: 3px solid var(--color-accent); padding-left: 20px; }
        h2 { font-family: var(--font-heading); font-size: 26px; margin-top: 48px; margin-bottom: 16px; line-height: 1.3; color: var(--color-accent-dark); }
        h3 { font-size: 20px; margin-top: 32px; margin-bottom: 12px; font-weight: 700; color: var(--color-accent-dark); }
        p { margin-bottom: 18px; } a { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; } a:hover { text-decoration-thickness: 2px; } strong { font-weight: 700; } code { background: var(--color-accent-light); padding: 2px 6px; border-radius: 4px; font-size: 15px; color: var(--color-accent-dark); }
        .callout { padding: 20px 24px; border-radius: 10px; margin: 28px 0; font-size: 16px; }
        .callout-warning { background: #FEF2F2; border-left: 4px solid var(--color-red); } .callout-tip { background: #F0FDF4; border-left: 4px solid var(--color-green); } .callout-info { background: var(--color-accent-light); border-left: 4px solid var(--color-accent); }
        .callout-title { font-weight: 700; margin-bottom: 6px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.3px; }
        .key-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 28px 0; }
        .key-figure { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(26, 86, 219, 0.06); }
        .key-figure .number { font-family: var(--font-heading); font-size: 34px; font-weight: 700; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; line-height: 1.35; padding: 8px 0 6px; }
        .key-figure .label { font-size: 14px; color: var(--color-text-secondary); margin-top: 4px; }
        .checklist { list-style: none; margin: 20px 0; } .checklist li { position: relative; padding-left: 32px; margin-bottom: 14px; line-height: 1.6; } .checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--color-green); font-size: 18px; }
        .table-wrapper { overflow-x: auto; margin: 24px 0; } table { width: 100%; border-collapse: collapse; font-size: 15px; } th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-border); } th { background: var(--color-accent-light); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--color-accent-dark); }
        .cta-box { background: var(--gradient-brand); color: #fff; padding: 32px; border-radius: 16px; margin: 40px 0; text-align: center; box-shadow: 0 8px 32px rgba(10, 26, 58, 0.25); }
        .cta-box h3 { color: #fff; margin-top: 0; font-family: var(--font-heading); font-size: 22px; } .cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
        .cta-button { display: inline-block; background: #fff; color: var(--color-accent-dark); padding: 14px 32px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 16px; transition: transform 0.2s, box-shadow 0.2s; } .cta-button:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,255,255,0.3); }
        .faq-item { border-bottom: 1px solid var(--color-border); padding: 20px 0; } .faq-question { font-weight: 700; font-size: 18px; margin-bottom: 8px; color: var(--color-accent-dark); } .faq-answer { color: var(--color-text-secondary); font-size: 16px; }
        .toc { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 24px 28px; margin: 32px 0; box-shadow: 0 2px 8px rgba(26, 86, 219, 0.06); }
        .toc-title { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-secondary); margin-bottom: 12px; }
        .toc ol { counter-reset: toc-counter; list-style: none; padding: 0; } .toc ol li { counter-increment: toc-counter; margin-bottom: 8px; }
        .toc ol li a { color: var(--color-text); text-decoration: none; font-size: 15px; display: flex; align-items: baseline; gap: 10px; }
        .toc ol li a::before { content: counter(toc-counter, decimal-leading-zero); font-weight: 700; color: var(--color-accent); font-size: 13px; flex-shrink: 0; } .toc ol li a:hover { color: var(--color-accent); }
        @media (max-width: 600px) { .article-container { padding: 24px 16px 60px; } h1 { font-size: 26px; } h2 { font-size: 22px; } .key-figures { grid-template-columns: 1fr; } .cta-box { padding: 24px 20px; } }

/* --- composant timeline --- */
/* ========== TIMELINE ========== */
        .timeline {
            border-left: 3px solid var(--color-border);
            padding-left: 24px;
            margin: 28px 0;
        }
.timeline-item {
            position: relative;
            margin-bottom: 24px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -31px;
            top: 6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--color-accent);
            border: 2px solid #fff;
            box-shadow: 0 0 0 2px var(--color-accent-light);
        }
.timeline-date {
            font-size: 13px;
            font-weight: 700;
            color: var(--color-accent);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
.timeline-text { font-size: 16px; margin-top: 4px; }
