:root {
      --cream: #FBF3E4; --cacao: #3A2A1E; --honey: #F4A93B; --coral: #FF6B5E;
      --mint: #7BD3B0; --plum: #2A1F3D;
      --bg: var(--cream); --ink: var(--cacao); --muted: #8a6f57;
      --surface: #fffaf1; --line: #efe0c8; --shadow: 0 18px 40px rgba(58, 42, 30, 0.12);
    }
    [data-theme="dark"] {
      --bg: var(--plum); --ink: var(--cream); --muted: #b9a8cf;
      --surface: #372A4D; --line: #46365f; --mint: #8FE0BF; --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0; background: var(--bg); color: var(--ink);
      font-family: "Nunito", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
      transition: background .3s ease, color .3s ease; overflow-x: hidden;
    }
    h1, h2, h3, .fr { font-family: "Fredoka", system-ui, sans-serif; letter-spacing: -.01em; }
    a { color: inherit; }
    .wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
    .hand { font-family: "Caveat", cursive; font-size: 1.5em; color: var(--coral); }

    .btn {
      display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
      font-family: "Fredoka"; font-weight: 600; font-size: 1.02rem;
      border: 0; border-radius: 999px; padding: 13px 22px; text-decoration: none;
      background: var(--honey); color: #3a2a1e; box-shadow: 0 8px 22px rgba(244,169,59,.4);
      transition: transform .15s, box-shadow .15s, filter .15s; position: relative; overflow: hidden;
    }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(244,169,59,.5); filter: saturate(1.1); }
    .btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--line); }
    .btn.coral { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(255,107,94,.42); }
    .btn.gh { background: #24292e; color: #fff; box-shadow: 0 8px 22px rgba(36,41,46,.28); border: 1px solid rgba(255,255,255,.14); padding: 11px 16px; }
    .btn.gh svg { display: block; }
    @media (max-width: 640px) { .btn.gh .lbl { display: none; } }

    nav {
      position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
      background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line);
    }
    nav .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
    .logo { font-family: "Fredoka"; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 8px; }
    .logo .dot { color: var(--honey); }
    nav .spacer { flex: 1; }
    .iconbtn { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: 40px; height: 40px; cursor: pointer; font-size: 18px; }
    .langsel {
      font-family: "Nunito", sans-serif; font-weight: 700; font-size: .9rem;
      background: var(--surface); color: var(--ink); border: 1px solid var(--line);
      border-radius: 999px; padding: 8px 10px; cursor: pointer;
    }

    .hero { padding: 70px 0 40px; position: relative; }
    .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
    .badge {
      display: inline-flex; gap: 7px; align-items: center; background: var(--surface);
      border: 1px solid var(--line); color: var(--muted); border-radius: 999px;
      padding: 5px 13px; font-size: .82rem; font-weight: 700; margin-bottom: 18px;
    }
    .badge .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
    h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 1.02; margin: 0 0 16px; }
    h1 .em { color: var(--coral); white-space: nowrap; }
    .lead { font-size: 1.2rem; color: var(--muted); max-width: 32ch; margin: 0 0 26px; }
    .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
    .reassure { font-size: .9rem; color: var(--muted); margin-top: 14px; }

    .ba { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; position: relative; }
    .comment { display: flex; gap: 12px; align-items: flex-start; }
    .avatar { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; display: grid; place-items: center; font-size: 22px; background: #e7eaf0; }
    [data-theme="dark"] .avatar { background: #2b2140; }
    .cname { font-weight: 800; font-size: .96rem; }
    .ctext { margin-top: 3px; }
    .meanbox { transition: all .45s cubic-bezier(.34,1.56,.64,1); }
    .meanbox.mean { background: #f0f1f3; border: 1px dashed #c9ccd2; border-radius: 12px; padding: 10px 12px; color: #6b7280; }
    [data-theme="dark"] .meanbox.mean { background: #221a33; border-color: #3a2f50; color: #9b8fb3; }
    .bubble { background: linear-gradient(180deg, #fff4e6, #ffe8cc); border: 1px solid #ffd8a8; border-radius: 14px; padding: 10px 13px; color: #8a5a2b; font-weight: 700; }
    .ba .toggle { display: flex; gap: 8px; margin-top: 16px; justify-content: center; }
    .seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
    .seg button { border: 0; background: transparent; color: var(--muted); font-family: "Fredoka"; font-weight: 600; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
    .seg button.on { background: var(--coral); color: #fff; }

    .hearts { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 3; }
    .heart { position: absolute; }
    .heart > span { display: inline-block; animation: floaty 2.6s ease-in-out infinite; }
    @keyframes floaty { 0%{transform:translateY(3px) rotate(-9deg) scale(.95);} 50%{transform:translateY(-9px) rotate(9deg) scale(1.15);} 100%{transform:translateY(3px) rotate(-9deg) scale(.95);} }

    section { padding: 60px 0; }
    .eyebrow { font-family: "Fredoka"; font-weight: 600; color: var(--coral); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
    h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 8px 0 10px; }
    .sub { color: var(--muted); max-width: 56ch; margin: 0 0 30px; }

    .masc { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
    .masc .card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: center; transition: transform .2s; }
    .masc .card:hover { transform: translateY(-4px); }
    .masc .emo { font-size: 44px; display: block; animation: breath 4s ease-in-out infinite; }
    @keyframes breath { 0%,100%{transform:scale(1);} 50%{transform:scale(1.06);} }
    .masc .nm { font-family: "Fredoka"; font-weight: 700; font-size: 1.1rem; margin: 8px 0 4px; }
    .masc .ln { font-size: .92rem; color: var(--muted); }

    .inten { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
    .inten .reply { font-size: 1.25rem; font-weight: 800; min-height: 2.4em; display: flex; align-items: center; gap: 10px; }
    .slider-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
    input[type=range] { width: 100%; accent-color: var(--coral); }
    .ticks { display: flex; justify-content: space-between; font-family: "Fredoka"; font-weight: 600; color: var(--muted); margin-top: 4px; }

    .feat { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
    .feat .f { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
    .feat .f .ic { font-size: 26px; }
    .feat .f h3 { font-size: 1.12rem; margin: 8px 0 6px; }
    .feat .f p { color: var(--muted); font-size: .96rem; margin: 0; }

    .band { background: var(--plum); color: var(--cream); border-radius: 28px; }
    [data-theme="dark"] .band { background: #1c1430; }
    .band .eyebrow { color: var(--honey); }
    .band .sub { color: #c9bbe0; }
    .board { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
    .lb { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 18px; }
    .lb ol { margin: 0; padding-left: 26px; }
    .lb li { padding: 7px 0; font-weight: 700; border-bottom: 1px dashed rgba(255,255,255,.12); }
    .lb li:last-child { border: 0; }
    .lb li span { float: right; color: var(--honey); }

    .try { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
    .try input { flex: 1; min-width: 220px; border: 1px solid var(--line); border-radius: 12px; padding: 13px; font: inherit; background: var(--bg); color: var(--ink); }
    .try-out { margin-top: 14px; min-height: 1.5em; }
    .soft { background: linear-gradient(180deg,#fff4e6,#ffe8cc); border: 1px solid #ffd8a8; border-radius: 12px; padding: 4px 10px; color: #8a5a2b; font-weight: 700; }
    .ok { color: var(--mint); font-weight: 800; }

    /* ===== Tableau des gentils (données live) ===== */
    .dash { display: grid; gap: 18px; }
    .dash-live {
      display: inline-flex; align-items: center; gap: 12px; width: fit-content;
      background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
      padding: 12px 22px; box-shadow: var(--shadow); font-family: "Fredoka";
    }
    .dash-live .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mint); animation: livepulse 2s infinite; }
    .dash-live[data-empty="1"] .dot { background: var(--muted); animation: none; }
    @keyframes livepulse {
      0% { box-shadow: 0 0 0 0 rgba(123,211,176,.55); }
      70% { box-shadow: 0 0 0 12px rgba(123,211,176,0); }
      100% { box-shadow: 0 0 0 0 rgba(123,211,176,0); }
    }
    .dash-live .num { font-size: 1.6rem; font-weight: 700; color: var(--coral); }
    .dash-live .lbl { color: var(--muted); font-weight: 600; }
    .dash-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
    .dash-grid .stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: center; }
    .dash-grid .stat-emo { font-size: 30px; }
    .dash-grid .stat-num { font-family: "Fredoka"; font-weight: 700; font-size: 1.9rem; margin: 6px 0 2px; color: var(--ink); font-variant-numeric: tabular-nums; }
    .dash-grid .stat-lbl { color: var(--muted); font-size: .92rem; }
    .dash-spark { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
    .dash-spark .spark-lbl { color: var(--muted); font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
    .dash-spark svg { width: 100%; height: 44px; display: block; }
    .dash-spark polyline { stroke: var(--coral); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
    .dash-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--muted); font-size: .9rem; }
    .dash-foot a { color: var(--coral); font-weight: 700; text-decoration: none; }
    .dash-foot .dash-err { color: var(--coral); font-weight: 700; }
    @media (max-width: 820px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
    @media (prefers-reduced-motion: reduce) { .dash-live .dot { animation: none; } }

    /* ===== Compteur mondial live (#5) + Météo de la gentillesse (#7) — ADDITIF ===== */
    .ticker-wrap { padding: 14px 0 6px; }
    .ticker {
      position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
      background: linear-gradient(180deg, #fff7ea, #ffeccd);
      border: 1px solid #ffd8a8; border-radius: 22px; padding: 18px 24px;
      box-shadow: var(--shadow); overflow: hidden;
    }
    [data-theme="dark"] .ticker { background: linear-gradient(180deg, #3a2c1c, #2f2415); border-color: #5a431f; }
    .ticker .tk-emo { font-size: 34px; line-height: 1; animation: breath 4s ease-in-out infinite; }
    .ticker .tk-body { display: flex; flex-direction: column; }
    .ticker .tk-num {
      font-family: "Fredoka", sans-serif; font-weight: 700; line-height: 1;
      font-size: clamp(2rem, 6vw, 3.1rem); color: var(--coral);
      font-variant-numeric: tabular-nums; letter-spacing: -.01em;
    }
    .ticker .tk-label { font-family: "Fredoka", sans-serif; font-weight: 600; color: #8a5a2b; font-size: 1.02rem; }
    [data-theme="dark"] .ticker .tk-label { color: #e7c79a; }
    .ticker .tk-hint { color: var(--muted); font-size: .85rem; margin-top: 3px; }
    .ticker .tk-spacer { flex: 1; min-width: 8px; }
    .ticker .tk-pop { position: absolute; pointer-events: none; font-size: 18px; opacity: 0; }
    @keyframes tkpop {
      0% { opacity: 0; transform: translateY(0) scale(.6); }
      18% { opacity: 1; }
      100% { opacity: 0; transform: translateY(-90px) scale(1.25) rotate(var(--r,12deg)); }
    }

    .wx {
      display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
      background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
      padding: 16px 20px; box-shadow: var(--shadow);
    }
    .wx .wx-emo { font-size: 40px; line-height: 1; animation: breath 5s ease-in-out infinite; }
    .wx .wx-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .wx .wx-eyebrow { font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--coral); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
    .wx .wx-line { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.1rem; }
    .wx .wx-mood { color: var(--ink); }
    .wx .wx-pct { color: var(--mint); font-weight: 700; }
    .wx .wx-gauge { flex: 1; min-width: 120px; height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 22%, transparent); overflow: hidden; }
    .wx .wx-gauge i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--honey), var(--mint)); transition: width 1.1s cubic-bezier(.34,1.56,.64,1); }
    @media (max-width: 540px) { .wx .wx-gauge { order: 3; flex-basis: 100%; } }
    @media (prefers-reduced-motion: reduce) { .ticker .tk-emo, .wx .wx-emo { animation: none; } .wx .wx-gauge i { transition: none; } }

    /* ===== Carte de chaleur de la gentillesse (#6) — ADDITIF ===== */
    .geo { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }
    .geo-list { display: grid; gap: 14px; }
    .geo-row {
      display: grid; column-gap: 12px; row-gap: 6px; align-items: center;
      grid-template-columns: auto 1fr auto;
      grid-template-areas: "flag name count" "flag track track";
    }
    .geo-flag { grid-area: flag; font-size: 26px; line-height: 1; width: 1.5em; text-align: center; align-self: center; }
    .geo-name { grid-area: name; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: .98rem; color: var(--ink); }
    .geo-count { grid-area: count; font-family: "Fredoka", sans-serif; font-weight: 700; color: var(--coral); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
    .geo-track { grid-area: track; position: relative; height: 14px; border-radius: 999px; background: color-mix(in srgb, var(--honey) 14%, transparent); overflow: hidden; }
    .geo-bar { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--honey), var(--coral)); transition: width 1s cubic-bezier(.34,1.56,.64,1); }
    .geo-cap { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; margin-top: 16px; }
    .geo-cap .lock { font-size: 1em; }
    .geo-empty { color: var(--muted); font-size: .95rem; }
    @media (prefers-reduced-motion: reduce) { .geo-bar { transition: none; } }

    /* Trafic sortant + landings A/B */
    .dash-outreach {
      background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
      padding: 18px 20px;
    }
    .outreach-hint { color: var(--muted); font-size: .85rem; margin: 4px 0 0; }
    .outreach-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px;
    }
    .outreach-grid .stat {
      background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
      padding: 14px 12px; text-align: center;
    }
    .outreach-grid .stat-emo { font-size: 26px; }
    .outreach-grid .stat-num { font-size: 1.55rem; }
    .variant-bars { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
    .variant-row {
      display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center;
      margin: 8px 0; font-size: .88rem;
    }
    .variant-row .vtag { font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--muted); }
    .variant-row .bar-track {
      height: 10px; border-radius: 999px;
      background: color-mix(in srgb, var(--honey) 14%, transparent); overflow: hidden;
    }
    .variant-row .bar-fill {
      display: block; height: 100%; width: 0; border-radius: 999px;
      background: linear-gradient(90deg, var(--honey), var(--coral));
      transition: width .8s cubic-bezier(.34,1.56,.64,1);
    }
    .variant-row .vnum { font-family: "Fredoka", sans-serif; font-weight: 700; color: var(--coral); font-variant-numeric: tabular-nums; }
    @media (max-width: 640px) { .outreach-grid { grid-template-columns: 1fr; } }
    @media (prefers-reduced-motion: reduce) { .variant-row .bar-fill { transition: none; } }

    .install { text-align: center; }
    .steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; text-align: left; }
    .steps .s { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
    .steps .n { font-family: "Fredoka"; font-weight: 700; color: var(--coral); font-size: 1.4rem; }

    footer { padding: 40px 0 60px; border-top: 1px solid var(--line); color: var(--muted); }
    footer .row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
    footer a { text-decoration: none; }

    @media (max-width: 820px) {
      .hero-grid, .board { grid-template-columns: 1fr; }
      .masc, .feat, .steps { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 540px) { .masc, .feat, .steps { grid-template-columns: 1fr; } nav .logo { font-size: 1.05rem; } }
    @media (prefers-reduced-motion: reduce) { .heart > span, .masc .emo { animation: none; } }
/* layouts variantes (généré) */
.hero-center .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-stack .wrap { display: flex; flex-direction: column; gap: 28px; }
.hero-reverse .hero-grid { display: grid; }
.hero-compact-grid { display: grid; }
.landing-main { display: block; }
