:root {
    --cream: #F5F1EA;
    --cream-2: #EDE8DF;
    --cream-3: #E0D9CE;
    --white: #FFFFFF;
    --ink: #1C1A17;
    --ink-2: #3D3A35;
    --ink-3: #5C5850;
    --ink-4: #7A7468;
    --gold: #B8882A;
    --gold-dark: #8A5E1A;
    --gold-soft: rgba(184,136,42,0.10);
    --gold-border: rgba(138,94,26,0.30);
    --gold-strong: rgba(184,136,42,0.18);
    --rule: rgba(28,26,23,0.12);
    --rule-strong: rgba(28,26,23,0.25);
    --red: #C0392B;
    --red-soft: rgba(192,57,43,0.08);
    --red-border: rgba(192,57,43,0.22);
    --green: #27AE60;
    --green-soft: rgba(39,174,96,0.08);
    --green-border: rgba(39,174,96,0.22);
    --blue: #346CB0;
    --blue-soft: rgba(52,108,176,0.08);
    --blue-border: rgba(52,108,176,0.22);
    --purple: #7C3AED;
    --purple-soft: rgba(124,58,237,0.08);
    --purple-border: rgba(124,58,237,0.22);

    /* Accessibilité : focus visible + skip-link (appliqué aux 9 articles) */
    --a11y-outline: 2px solid var(--gold);

    --pad-x: clamp(20px, 4vw, 80px);
    --max: 800px;
    --max-wide: 1100px;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: var(--a11y-outline); outline-offset: 2px; border-radius: 2px;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: var(--cream);
    padding: 12px 18px; text-decoration: none; font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--cream); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max-wide); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* --- Nav --- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245,241,234,0.92);
    backdrop-filter: saturate(1.6) blur(12px);
    -webkit-backdrop-filter: saturate(1.6) blur(12px);
    border-bottom: 1px solid var(--rule);
}
.topbar .row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 60px;
    gap: 24px;
}
.brandmark { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 14px; }
.brandmark .sig { display: none; }
.brandmark img { height: 34px; width: auto; }
.brandmark .full { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: -0.02em; }
.brandmark .full em { font-style: normal; color: var(--gold); }
.topnav { display: flex; gap: 24px; justify-self: center; }
.topnav a { font-size: 13px; color: var(--ink-3); font-weight: 500; padding: 6px 0; position: relative; transition: color .15s; }
.topnav a:hover { color: var(--ink); }
.topnav a.active { color: var(--ink); font-weight: 600; }
.topnav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); border-radius: 1px; }

/* --- Hero --- */
.article-hero {
    padding: clamp(56px,7vw,100px) 0 clamp(40px,5vw,72px);
    border-bottom: 1px solid var(--rule);
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    position: relative;
}
.article-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 3px;
    background: var(--gold);
    border-radius: 0 0 2px 2px;
    opacity: 0.6;
}
.article-hero .eyebrow {
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold-dark); margin-bottom: 24px;
    display: inline-flex; align-items: center; gap: 10px;
}
.article-hero .eyebrow .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.article-hero h1 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 800;
    font-size: clamp(30px, 4.5vw, 54px);
    line-height: 0.96;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 24px;
}
.article-hero .subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 620px;
    margin: 0 auto 28px;
}
.article-hero .meta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    font-size: 12px; color: var(--ink-4); font-weight: 500;
}
.article-hero .meta span {
    padding: 5px 14px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    background: var(--white);
    font-weight: 500;
}

/* --- Article body --- */
.article-body {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(40px,5vw,72px) var(--pad-x);
}

/* --- Prose --- */
.prose h2 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 56px 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--rule);
    position: relative;
}
.prose h2::before {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 40px; height: 2px;
    background: var(--gold);
}
.prose h3 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.2;
    color: var(--ink);
    margin: 40px 0 16px;
}
.prose h4 {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    color: var(--ink);
    margin: 24px 0 12px;
}
.prose p {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--ink-2);
    margin-bottom: 22px;
}
.prose blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--gold);
    background: var(--gold-soft);
    font-style: italic;
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.6;
    border-radius: 0 6px 6px 0;
}
.prose blockquote strong { font-style: normal; color: var(--gold-dark); }
.prose ul, .prose ol {
    list-style: none;
    padding: 0;
    margin-bottom: 22px;
}
.prose li {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink-2);
    padding: 6px 0 6px 24px;
    position: relative;
}
.prose li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    border: 1.5px solid var(--gold-border);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; color: var(--ink-2); }
.prose a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); text-decoration-thickness: 2px; }

/* --- Callout box --- */
.callout {
    margin: 32px 0;
    padding: 22px 26px;
    border-radius: 6px;
    font-size: 14.5px;
    line-height: 1.65;
    border-left: 3px solid;
}
.callout strong { font-weight: 600; }
.callout.gold { background: var(--gold-soft); border-color: var(--gold); color: var(--ink-2); }
.callout.gold strong { color: var(--gold-dark); }
.callout.green { background: var(--green-soft); border-color: var(--green); color: var(--ink-2); }
.callout.green strong { color: var(--green); }
.callout.red { background: var(--red-soft); border-color: var(--red); color: var(--ink-2); }
.callout.red strong { color: var(--red); }
.callout.blue { background: var(--blue-soft); border-color: var(--blue); color: var(--ink-2); }
.callout.blue strong { color: var(--blue); }
.callout.purple { background: var(--purple-soft); border-color: var(--purple); color: var(--ink-2); }
.callout.purple strong { color: var(--purple); }

/* --- Comparison grid --- */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
}
@media (max-width: 680px) { .comparison-grid { grid-template-columns: 1fr; } }

.compare-card {
    padding: 26px;
    border-radius: 8px;
    border: 1px solid;
}
.compare-card.negative { background: var(--red-soft); border-color: var(--red-border); }
.compare-card.positive { background: var(--green-soft); border-color: var(--green-border); }
.compare-card .card-icon { font-size: 30px; margin-bottom: 14px; }
.compare-card h3 { font-weight: 700; font-size: 16px; margin-bottom: 14px; letter-spacing: -0.01em; }
.compare-card.negative h3 { color: var(--red); }
.compare-card.positive h3 { color: var(--green); }
.compare-card p, .compare-card li { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* --- Steps --- */
.steps { margin: 32px 0; }
.step-item {
    display: flex;
    gap: 18px;
    padding: 22px 22px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: box-shadow .2s, border-color .2s;
}
.step-item:hover { box-shadow: 0 2px 12px rgba(28,26,23,0.06); border-color: var(--rule-strong); }
.step-number {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--ink);
    color: var(--cream);
    border-radius: 8px;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
}
.step-item h4 { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.step-item p { font-size: 14px; color: var(--ink-3); margin-bottom: 0; line-height: 1.55; }

/* --- Checklist --- */
.checklist { margin: 24px 0; }
.check-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.55;
    transition: box-shadow .2s, border-color .2s;
}
.check-item:hover { box-shadow: 0 1px 8px rgba(28,26,23,0.05); border-color: var(--rule-strong); }
.check-icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    margin-top: 1px;
}
.check-icon.bad { background: var(--red-soft); color: var(--red); border: 1px solid var(--red-border); }
.check-icon.good { background: var(--green-soft); color: var(--green); border: 1px solid var(--green-border); }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 28px; margin: 28px 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 4px; bottom: 4px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-border));
    border-radius: 1px;
}
.timeline-item { position: relative; margin-bottom: 14px; padding-left: 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px; top: 7px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
}
.timeline-item strong { color: var(--ink); }

/* --- CTA section --- */
.article-cta {
    margin: 56px 0 40px;
    padding: 48px 36px;
    background: var(--ink);
    border-radius: 10px;
    text-align: center;
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.article-cta::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(184,136,42,0.08);
    pointer-events: none;
}
.article-cta h3 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.5vw, 28px);
    color: var(--cream);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    position: relative;
}
.article-cta p { font-size: 15.5px; line-height: 1.7; color: rgba(245,241,234,0.72); margin-bottom: 28px; position: relative; }
.article-cta a.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gold);
    color: var(--cream);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    border-radius: 8px;
    transition: background .2s, transform .15s;
    position: relative;
}
.article-cta a.cta-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* --- Tags --- */
.article-tags {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}
.article-tags span {
    font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
    padding: 5px 14px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    color: var(--ink-3);
    transition: all .15s;
}
.article-tags span:hover { border-color: var(--gold-border); color: var(--gold-dark); }

/* --- Related articles --- */
.related {
    margin: 0 auto;
    max-width: var(--max-wide);
    padding: clamp(48px,5vw,72px) var(--pad-x);
    border-top: 1px solid var(--rule);
    background: var(--cream-2);
}
.related h2 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.5vw, 30px);
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 10px;
    transition: box-shadow .2s, border-color .2s;
}
.related-card:hover { box-shadow: 0 4px 20px rgba(28,26,23,0.08); border-color: var(--gold-border); }
.related-card .label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); display: inline-block; padding: 3px 10px; background: var(--gold-soft); border-radius: 4px; margin-bottom: 10px; }
.related-card h3 { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 16px; margin: 10px 0; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.related-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }

/* --- Footer --- */
footer {
    padding: clamp(28px,3vw,44px) 0 28px;
    border-top: 1px solid var(--rule);
    background: var(--cream-2);
}
footer .wrap { max-width: var(--max-wide); }
footer .foot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--ink-4);
}
footer .foot-brand { font-weight: 700; color: var(--ink); font-size: 13px; }
footer .foot-legal { display: flex; gap: 16px; flex-wrap: wrap; }
footer .foot-legal a { color: var(--ink-3); transition: color .15s; font-weight: 500; }
footer .foot-legal a:hover { color: var(--gold-dark); }
footer .foot-bce { color: var(--ink-4); font-size: 11px; }

/* --- Menu mobile (hamburger) --- */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 32px; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; top: 54px; left: 0; right: 0; bottom: 0; background: var(--cream); padding: 24px 20px; flex-direction: column; gap: 0; z-index: 40; overflow-y: auto; border-top: 1px solid var(--rule); }
.mobile-nav a { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.open { display: flex; }

/* --- Responsive --- */
@media (max-width: 760px) {
    .topnav { display: none; }
    .topbar .row { height: 54px; gap: 12px; }
    .topbar .btn { display: none; }
    .menu-toggle { display: flex; }
    .article-hero { padding-top: clamp(36px,5vw,72px); }
    .compare-card { padding: 20px; }
    .article-cta { padding: 36px 24px; }
}
