:root {
      --text: #1D1D1F;
      --text-secondary: #424248;
      --text-tertiary: #6E6E73;
      --bg: #FBFBFD;
      --bg-window-solid: #FFFFFF;
      --bg-elevated: #FFFFFF;
      --accent: #007AFF;
      --hand-red: #B5263A;
      --hand-blue: #1E5BC6;
      --green: #34C759;
      --green-soft: #2E9E5B;
      --orange: #FF9500;
      --purple: #AF52DE;
      --gold: #FFB800;
      --border: rgba(0,0,0,0.08);
      --postit-yellow: #FFF8B8;
      --postit-pink: #FFD9E2;
      --postit-green: #D4F5DD;
      --postit-blue: #D6E8FB;
    }
    * { box-sizing: border-box; }
    body { margin: 0; font-family: 'Inter', -apple-system, system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

    /* NAV */
    .nav-bar { position: sticky; top: 16px; z-index: 100; max-width: 1400px; margin: 16px auto 0; padding: 0 24px; }
    .nav-window { background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 14px; padding: 12px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06); }
    .nav-dots { display: flex; gap: 8px; flex-shrink: 0; }
    .nav-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.08); }
    .nav-dot.red { background: #FF5F57; } .nav-dot.yellow { background: #FEBC2E; } .nav-dot.green { background: #28C840; }
    .nav-brand { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--text); }
    .nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
    .nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
    .nav-links a:hover { color: var(--text); }
    .nav-cta { background: linear-gradient(180deg, #1A8AFF 0%, #006EE6 100%); color: white !important; padding: 8px 16px; border-radius: 10px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 10px rgba(0,122,255,0.25); }

    /* HERO */
    .cls-hero { max-width: 880px; margin: 46px auto 16px; padding: 0 28px; text-align: center; }
    .cls-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--text-tertiary); letter-spacing: 0.04em; margin-bottom: 18px; display: inline-block; }
    .cls-hero h1 { font-size: 50px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 18px; }
    .underline-hand { position: relative; display: inline-block; }
    .underline-hand::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%; height: 14px; background: rgba(255, 217, 100, 0.55); z-index: -1; transform: rotate(-1deg); border-radius: 2px; }
    .cls-hero-sub { font-size: 18px; color: var(--text-secondary); line-height: 1.55; margin: 0 auto; max-width: 670px; }
    .cls-hero-sub a { color: var(--hand-blue); text-decoration: none; font-weight: 700; border-bottom: 2px solid rgba(30,91,198,0.3); }
    .disclaimer-mini { max-width: 640px; margin: 18px auto 0; padding: 9px 20px; background: var(--postit-yellow); border-radius: 999px; font-size: 13px; color: #4A4A2E; text-align: center; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06); transform: rotate(-0.4deg); }
    .disclaimer-mini a { color: var(--hand-blue); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

    /* SECTION TITLE (trophée, façon classement) */
    .rank-title { max-width: 1080px; margin: 52px auto 6px; padding: 0 28px; text-align: center; }
    .rank-title h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
    .rank-title .tro { font-size: 30px; }
    .rank-title p { color: var(--text-tertiary); font-size: 15px; margin: 8px 0 0; }

    /* TOP CARDS GRID (cœur du classement, inspiré Wizards, DA maison) */
    .top-grid { max-width: 1080px; margin: 26px auto 0; padding: 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .top-card { position: relative; background: var(--bg-window-solid); border: 1px solid var(--border); border-radius: 18px; padding: 26px 20px 22px; text-align: center; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 8px 22px rgba(0,0,0,0.06); display: flex; flex-direction: column; align-items: center; }
    .top-card:nth-child(odd) { transform: rotate(-0.4deg); }
    .top-card:nth-child(even) { transform: rotate(0.4deg); }
    .top-card.is-1 { border: 2px solid var(--gold); box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 16px 38px rgba(255,184,0,0.18); }
    .top-medal { font-size: 30px; line-height: 1; }
    .top-medal .n { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
    .top-logo { width: 62px; height: 62px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 6px rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center; margin: 12px 0 10px; padding: 11px; overflow: hidden; }
    .top-logo img { width: 100%; height: 100%; object-fit: contain; }
    .top-name { font-weight: 700; font-size: 19px; }
    .top-note { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: #9A6B00; background: rgba(255,184,0,0.14); padding: 4px 11px; border-radius: 8px; margin: 8px 0 12px; }
    .top-tag { font-size: 14px; color: var(--text-secondary); display: flex; gap: 6px; align-items: flex-start; justify-content: center; margin-bottom: 12px; }
    .top-tag .ck { color: var(--green-soft); font-weight: 700; }
    .top-quote { font-family: 'Caveat', cursive; font-size: 18px; color: var(--hand-blue); line-height: 1.25; background: var(--postit-blue); border-radius: 5px; padding: 10px 14px; margin: 0 0 16px; transform: rotate(-0.8deg); box-shadow: 0 3px 9px rgba(0,0,0,0.07); }
    .top-card.is-1 .top-quote { background: var(--postit-yellow); color: #7A5B00; }
    .top-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; width: 100%; }
    .top-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-2deg); font-family: 'Shadows Into Light Two', cursive; font-size: 14px; color: #7A5B00; background: var(--postit-yellow); padding: 4px 14px; border-radius: 4px; box-shadow: 0 3px 9px rgba(0,0,0,0.12); border: 1px solid rgba(0,0,0,0.05); white-space: nowrap; }

    /* BUTTONS */
    .btn { text-decoration: none; text-align: center; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: transform 0.2s; display: inline-block; }
    .btn-primary { background: linear-gradient(180deg, #1A8AFF 0%, #006EE6 100%); color: white; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 10px rgba(0,122,255,0.25); }
    .btn-primary:hover { transform: translateY(-1px); }
    .btn-ghost { background: var(--bg-elevated); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }

    /* CODE PROMO — bouton copier + ouvre l'affilié */
    .promo-copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px; color: var(--hand-red); background: var(--postit-yellow); border: 1px solid rgba(0,0,0,0.07); padding: 9px 12px; border-radius: 9px; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
    .promo-copy:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.12); }
    .promo-copy:active { transform: translateY(0); }
    .promo-copy .promo-ico { width: 14px; height: 14px; opacity: 0.65; flex-shrink: 0; }
    .promo-copy .promo-state { font-family: 'Inter', sans-serif; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.55; }
    .promo-copy.copied { background: var(--postit-green); color: #1C7A3E; border-color: rgba(46,158,91,0.4); }
    .promo-copy.copied .promo-ico { opacity: 0; }
    .promo-copy.copied .promo-state { opacity: 1; }

    /* QUICK LIST (raccourcis vers les sections) */
    .quicklist { max-width: 1080px; margin: 40px auto 0; padding: 0 28px; }
    .quicklist-inner { background: var(--bg-window-solid); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.05); }
    .quicklist h3 { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-tertiary); margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.06em; }
    .quicklist ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: q; }
    .quicklist li { counter-increment: q; }
    .quicklist a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; background: #F4F4F7; border-radius: 999px; padding: 7px 14px 7px 8px; transition: background 0.2s; }
    .quicklist a:hover { background: #E9E9EE; }
    .quicklist a::before { content: counter(q); font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(0,122,255,0.1); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

    /* NOTE DE LA RÉDACTION (post-it large) */
    .redac-note { max-width: 820px; margin: 36px auto 0; padding: 0 28px; }
    .redac-note-inner { position: relative; background: #FFFEF4; border: 1px solid rgba(0,0,0,0.06); border-radius: 4px 7px 4px 6px; padding: 22px 28px; box-shadow: 0 1px 1px rgba(0,0,0,0.06), 0 10px 22px rgba(0,0,0,0.08); transform: rotate(-0.5deg); }
    .redac-note-inner .tape { position: absolute; top: -10px; left: 40px; width: 66px; height: 20px; background: rgba(255,240,90,0.7); border: 1px solid rgba(0,0,0,0.05); transform: rotate(-4deg); }
    .redac-note-title { font-family: 'Shadows Into Light Two', cursive; font-size: 20px; margin: 0 0 6px; }
    .redac-note p { font-size: 14px; color: #2C2C2E; margin: 0; }

    /* CRITERES (ma méthode) */
    .criteria { max-width: 1040px; margin: 56px auto 6px; padding: 0 28px; }
    .criteria-head { text-align: center; margin-bottom: 22px; }
    .criteria-kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-tertiary); }
    .criteria-title { font-family: 'Caveat', cursive; font-size: 32px; font-weight: 700; color: var(--hand-red); margin: 2px 0 0; }
    .criteria-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .crit { background: var(--bg-window-solid); border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.05); }
    .crit:nth-child(odd) { transform: rotate(-0.6deg); }
    .crit:nth-child(even) { transform: rotate(0.6deg); }
    .crit-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
    .crit-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(0,122,255,0.09); width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .crit-ico { font-size: 19px; }
    .crit h3 { font-size: 14.5px; margin: 0 0 5px; font-weight: 700; }
    .crit p { font-size: 12.5px; color: var(--text-secondary); margin: 0; line-height: 1.5; }

    /* SECTION title générique */
    .cls-section { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
    .cls-h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 56px 0 8px; display: flex; align-items: baseline; gap: 12px; }
    .cls-h2 .num { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--text-tertiary); }
    .cls-h2-sub { color: var(--text-tertiary); font-size: 15px; margin: 0 0 24px; }

    /* TABLE */
    .rank-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 8px 22px rgba(0,0,0,0.05); }
    table.rank-table { width: 100%; border-collapse: collapse; background: var(--bg-window-solid); font-size: 14px; min-width: 760px; }
    .rank-table th { background: #F4F4F7; text-align: left; padding: 14px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-tertiary); font-weight: 700; white-space: nowrap; }
    .rank-table td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
    .rank-table tr.is-winner td { background: rgba(255,184,0,0.07); }
    .rank-cell-tool { display: flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; }
    .rank-cell-tool img { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--border); padding: 3px; }
    .rank-medal-s { font-size: 16px; }
    .yes { color: var(--green-soft); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
    .yes::before { content: "✓"; font-size: 12px; opacity: 0.85; }
    .partial { color: var(--orange); font-weight: 600; font-size: 13px; }
    .no { color: var(--text-tertiary); font-size: 13px; }
    .langs { font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
    .langs em { font-style: normal; color: var(--green-soft); }
    .note-pill { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 13px; color: #9A6B00; background: rgba(255,184,0,0.14); padding: 3px 9px; border-radius: 7px; white-space: nowrap; }
    .promo-none { color: var(--text-tertiary); font-size: 13px; }

    /* SECTIONS DÉTAILLÉES PAR OUTIL */
    .tool { max-width: 900px; margin: 0 auto; padding: 0 28px; scroll-margin-top: 90px; }
    .tool-head { display: flex; align-items: center; gap: 16px; margin: 52px 0 4px; }
    .tool-logo { width: 54px; height: 54px; border-radius: 13px; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 6px rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center; padding: 9px; overflow: hidden; flex-shrink: 0; }
    .tool-logo img { width: 100%; height: 100%; object-fit: contain; }
    .tool-rankbadge { font-family: 'Caveat', cursive; font-weight: 700; font-size: 40px; color: var(--text-tertiary); line-height: 1; }
    .tool.first .tool-rankbadge { color: #E0A000; }
    .tool-head h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
    .tool-note-inline { font-weight: 700; font-size: 14px; color: #9A6B00; background: rgba(255,184,0,0.14); padding: 3px 10px; border-radius: 8px; margin-left: auto; white-space: nowrap; }
    .tool-body p { font-size: 15.5px; color: var(--text-secondary); margin: 14px 0 0; }
    .tool-avislink { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: 'Caveat', cursive; font-size: 18px; font-weight: 600; color: var(--hand-blue); text-decoration: none; border-bottom: 2px solid rgba(30,91,198,0.3); padding-bottom: 1px; }

    /* PROS / CONS (post-its DA) */
    .proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
    .pc { border-radius: 6px 8px 5px 7px; padding: 18px 20px; box-shadow: 0 1px 1px rgba(0,0,0,0.05), 0 8px 18px rgba(0,0,0,0.06); }
    .pc.pros { background: var(--postit-green); transform: rotate(-0.7deg); }
    .pc.cons { background: var(--postit-pink); transform: rotate(0.7deg); }
    .pc h4 { margin: 0 0 10px; font-family: 'Shadows Into Light Two', cursive; font-size: 18px; letter-spacing: 0.02em; }
    .pc.pros h4 { color: #1C7A3E; } .pc.cons h4 { color: #B5263A; }
    .pc ul { margin: 0; padding: 0; list-style: none; }
    .pc li { font-size: 14px; color: #2C2C2E; padding-left: 24px; position: relative; margin-bottom: 8px; line-height: 1.45; }
    .pc li:last-child { margin-bottom: 0; }
    .pc.pros li::before { content: "✓"; position: absolute; left: 0; color: #1C7A3E; font-weight: 800; }
    .pc.cons li::before { content: "✕"; position: absolute; left: 0; color: #B5263A; font-weight: 800; }
    .tool-cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

    /* EDITORIAL */
    .editorial { max-width: 820px; margin: 0 auto; padding: 0 28px; }
    .editorial h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 56px 0 14px; }
    .editorial p { font-size: 15.5px; color: var(--text-secondary); margin: 0 0 14px; }
    .editorial ul { margin: 0 0 14px; padding-left: 22px; }
    .editorial li { font-size: 15px; color: var(--text-secondary); margin-bottom: 7px; }
    .editorial a { color: var(--hand-blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(30,91,198,0.3); }

    /* VERDICT */
    .verdict-wrap { max-width: 760px; margin: 56px auto 0; padding: 0 28px; }
    .verdict-card { background: #FFFEF4; border: 1px solid rgba(0,0,0,0.06); border-radius: 4px 6px 3px 5px; padding: 30px 36px; transform: rotate(-0.6deg); box-shadow: 0 1px 1px rgba(0,0,0,0.06), 0 10px 22px rgba(0,0,0,0.1); position: relative; }
    .verdict-tape { position: absolute; top: -11px; left: 50%; margin-left: -36px; width: 72px; height: 20px; background: rgba(255,240,90,0.7); border: 1px solid rgba(0,0,0,0.05); transform: rotate(-4deg); }
    .verdict-title { font-family: 'Shadows Into Light Two', cursive; font-size: 26px; margin: 0 0 10px; color: #1D1D1F; }
    .verdict-title em { font-family: 'Caveat', cursive; font-style: normal; color: var(--hand-red); font-weight: 700; }
    .verdict-body { font-size: 15px; color: #2C2C2E; margin: 0; }

    /* FAQ */
    .faq { max-width: 820px; margin: 0 auto; padding: 0 28px; }
    .faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
    .faq-q { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
    .faq-a { font-size: 14.5px; color: var(--text-secondary); margin: 0; }
    .faq-a a { color: var(--hand-blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(30,91,198,0.3); }

    /* RÉSUMÉ */
    .recap { max-width: 820px; margin: 0 auto; padding: 0 28px; }
    .recap ol { margin: 0; padding: 0; list-style: none; counter-reset: r; }
    .recap li { counter-increment: r; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 15.5px; }
    .recap li::before { content: counter(r); font-family: 'Caveat', cursive; font-weight: 700; font-size: 26px; color: var(--hand-red); min-width: 26px; }
    .recap b { color: var(--text); }

    /* OUTRO */
    .cls-outro { max-width: 860px; margin: 60px auto 30px; padding: 0 28px; text-align: center; }
    .outro-card { display: inline-block; position: relative; background: #FFFEF4; border: 1px solid rgba(0,0,0,0.06); border-radius: 4px 6px 3px 5px; padding: 32px 40px; transform: rotate(-1deg); box-shadow: 0 1px 1px rgba(0,0,0,0.06), 0 10px 22px rgba(0,0,0,0.1); max-width: 540px; }
    .outro-title { font-family: 'Shadows Into Light Two', cursive; font-size: 28px; margin: 0 0 12px; }
    .outro-title em { font-family: 'Caveat', cursive; font-style: normal; color: var(--hand-red); font-weight: 700; }
    .outro-body { font-family: 'Caveat', cursive; font-size: 18px; color: #2C2C2E; margin: 0 0 18px; font-weight: 500; }
    .outro-cta { display: inline-flex; align-items: center; gap: 8px; font-family: 'Caveat', cursive; font-size: 21px; font-weight: 700; color: var(--hand-blue); text-decoration: none; border-bottom: 2px solid var(--hand-blue); padding-bottom: 2px; }
    .crosslink-back { text-align: center; margin-top: 26px; font-size: 14px; }
    .crosslink-back a { color: var(--hand-blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(30,91,198,0.3); }

    /* AUTHOR */
    .author { max-width: 820px; margin: 50px auto 60px; padding: 0 28px; }
    .author-card { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-window-solid); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.05); }
    .author-av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #E9E9EE; border: 1px solid var(--border); }
    .author-av img { width: 100%; height: 100%; object-fit: cover; }
    .author-name { font-weight: 700; font-size: 16px; margin: 0; }
    .author-role { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-tertiary); margin: 2px 0 8px; }
    .author-bio { font-size: 14px; color: var(--text-secondary); margin: 0; }
    .author-links { margin-top: 10px; display: flex; gap: 14px; }
    .author-links a { font-size: 13px; font-weight: 600; color: var(--hand-blue); text-decoration: none; }

    @media (max-width: 900px) {
      .cls-hero h1 { font-size: 34px; }
      .criteria-grid { grid-template-columns: 1fr 1fr; }
      .top-grid { grid-template-columns: 1fr; }
      .proscons { grid-template-columns: 1fr; }
      .nav-links a:not(.nav-cta) { display: none; }
      .tool-head { flex-wrap: wrap; }
      .tool-note-inline { margin-left: 0; }
    }