/* Thème « savane » : clair par défaut, mode nuit selon le réglage de l'appareil
   ou le choix de l'utilisateur (data-theme sur <html>). Seul fichier qui porte des couleurs. */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;
  src:url("../../fonts/plus-jakarta-sans-latin-wght.7660bd9909fb.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;
  src:url("../../fonts/plus-jakarta-sans-latin-ext-wght.341687eeeb6a.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  color-scheme:light;
  /* Couleurs du logo, dans l'ordre : vert, jaune, bleu */
  --green:#629b5f; --yellow:#f2d541; --blue:#53aed2;
  --brand:#3f7d3c; --brand-soft:#e6f1e5; --on-brand:#ffffff;
  --accent-soft:#fcf5cc; --accent-ink:#7a6400;
  --info-soft:#e1f1f8; --info-ink:#1f6f91;
  /* Surfaces et textes */
  --bg:#f6f8f4; --surface:#ffffff; --surface-2:#f0f3ee; --line:#e1e7de; --line-strong:#cdd6c9;
  --ink:#16211a; --ink-2:#5b6a60; --ink-3:#8a978e;
  --price:#16211a;
  --danger:#c63b3b; --on-danger:#ffffff;
  --shadow:0 1px 2px rgba(22,33,26,.06),0 4px 14px rgba(22,33,26,.06);
  --shadow-hover:0 2px 4px rgba(22,33,26,.08),0 12px 28px rgba(22,33,26,.12);
  --radius:16px; --radius-sm:10px;
  --font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Arabic",sans-serif;
  /* Sections « nuit » de l'accueil : sombres dans les deux thèmes */
  --nuit-bg:#08111f; --nuit-bg-2:#0d1a2e; --nuit-surface:#13233a; --nuit-line:#24395a;
  --nuit-ink:#eef3fa; --nuit-ink-2:#a8b7cc; --nuit-green:#7cc576; --nuit-yellow:#f2d541; --nuit-blue:#7fdcfb;
  --sun:#f2d541; --sun-ink:#1d1a05; --sun-2:#fbe88a;
  /* Capsules (D148) : fond plein et bordure nette (contraste 3:1 au moins), sur fond nuit et sur fond clair */
  --nuit-chip:#1b2f4d; --nuit-chip-line:#5b7bab;
  --pill-line:#7d8f82;
  /* Mises en avant (D139) : À la une chaud et doré, Vitrine bleue, Urgent rouge vif */
  --feat-bg:#fff6d1; --feat-line:#e0bf1f; --feat-glow:rgba(242,213,65,.35);
  --show-bg:#e3f2f9; --show-line:#53aed2; --show-glow:rgba(83,174,210,.3); --show-tag:#1f6f91; --on-show-tag:#ffffff;
  --urgent:#d42020; --on-urgent:#ffffff;
  /* Compatibilité avec les anciens noms */
  --night:var(--bg); --night-2:var(--surface);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  color-scheme:dark;
  --brand:#7cc576; --brand-soft:#16301c; --on-brand:#08111f;
  --accent-soft:#2f2a0c; --accent-ink:#f2d541;
  --info-soft:#0f2a38; --info-ink:#7fdcfb;
  --bg:#08111f; --surface:#0f1b2d; --surface-2:#13233a; --line:#1f3352; --line-strong:#2a4468;
  --ink:#eef3fa; --ink-2:#a8b7cc; --ink-3:#71849e; --price:#f2d541;
  --shadow:0 1px 2px rgba(0,0,0,.3); --shadow-hover:0 10px 26px rgba(0,0,0,.45);
  --feat-bg:#2b2508; --feat-line:#f2d541; --feat-glow:rgba(242,213,65,.22);
  --show-bg:#0c2a3b; --show-line:#7fdcfb; --show-glow:rgba(127,220,251,.2); --show-tag:#7fdcfb; --on-show-tag:#08111f;
  --pill-line:#5a7aa8;
}}
:root[data-theme="dark"]{
  color-scheme:dark;
  --brand:#7cc576; --brand-soft:#16301c; --on-brand:#08111f;
  --accent-soft:#2f2a0c; --accent-ink:#f2d541;
  --info-soft:#0f2a38; --info-ink:#7fdcfb;
  --bg:#08111f; --surface:#0f1b2d; --surface-2:#13233a; --line:#1f3352; --line-strong:#2a4468;
  --ink:#eef3fa; --ink-2:#a8b7cc; --ink-3:#71849e; --price:#f2d541;
  --shadow:0 1px 2px rgba(0,0,0,.3); --shadow-hover:0 10px 26px rgba(0,0,0,.45);
  --feat-bg:#2b2508; --feat-line:#f2d541; --feat-glow:rgba(242,213,65,.22);
  --show-bg:#0c2a3b; --show-line:#7fdcfb; --show-glow:rgba(127,220,251,.2); --show-tag:#7fdcfb; --on-show-tag:#08111f;
  --pill-line:#5a7aa8;
}
