/* ============================================================
   np-tokens@1.4.0
   ------------------------------------------------------------
   1.4.0 · Différenciation forte par univers. Chaque thème
            défaut reçoit un 2ᵉ accent graphique distinct
            (--color-accent-2 : terracotta Convivial, bordeaux
            Sérieux, safran Festif) + une charte de bouton propre
            (--button-primary-radius / -shadow / -shadow-hover /
            -transform-hover). 18 pictos custom par univers dans
            assets/icons/. Empty states : touche par univers.
            (MINOR : ajouts non-breaking. --color-accent-2 et
            -surface entrent au WL contract ; les tokens bouton
            restent verrouillés.)
   1.3.0 · Accent signature cinabre + tokens empty-icon.
   1.2.0 · Thèmes défaut prêts à l'emploi. `:root` bascule de
            « Sérieux institutionnel » vers « Convivial » (cible
            cœur : petites assos, bénévoles). Sérieux + Festif
            disponibles en classes `.theme-default-serieux` /
            `.theme-default-festif`. Ajoute --c-paper-warm et
            --c-paper-cream comme primitifs. Ajoute --color-surface
            au WL contract (override permis sur 1 niveau).
            (MINOR : ajouts non-breaking, mais le défaut visuel
            change - flagué comme MINOR-with-visual-impact.)
   1.1.0 · Tokens sauge + re-câblage --color-success.
   1.0.0 · Architecture 3 layers + dark mode + WL contract.
   ------------------------------------------------------------
   AGORA · Design Tokens

   3-layer architecture:

   Layer 1 - Primitives  (--c-*)
     Raw paints. Never referenced by components. Never exposed
     to clients via .theme-<slug>. Source of truth for hex.

   Layer 2 - Semantics   (--color-*, --font-*, scale, spacing)
     The only tokens components reference. The only tokens
     clients may override (and only a restricted subset, see
     WHITE-LABEL CONTRACT below).

   Layer 3 - Component   (--button-*, --kpi-*, --table-*, …)
     Optional aliases for specific component slots. Sourced
     from layer 2. Components are encouraged to use these
     when present.

   SemVer:
     MAJOR - rename or remove a layer-2 semantic token, or
             tighten the WHITE-LABEL CONTRACT.
     MINOR - add a layer-2 or layer-3 token, loosen the
             WHITE-LABEL CONTRACT.
     PATCH - adjust a primitive hex, fix typos, doc updates.

   ============================================================ */

/* -------- Fonts -------- */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

@font-face {
  font-family: "Beon";
  src: url("../fonts/Beon.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* v2.1.20 : dans Beon, le glyphe de l'espace insécable (U+00A0) est un petit trait dessiné, pas un blanc : « Envoyer la relance-? »,
   « 550,45-€ ». Une seconde face « Beon », déclarée après et limitée à ce seul caractère, lui donne le blanc de Georgia.
   v2.1.32 : même chose pour le point médian (U+00B7) : celui de Beon est une copie du point, posé sur la ligne (« Présent.es »). */
@font-face {
  font-family: "Beon";
  src: url("../fonts/Georgia.ttf") format("truetype");
  unicode-range: U+00A0, U+00B7;
}

/* ============================================================
   LAYER 1 · Primitives
   ------------------------------------------------------------
   Internal. No component should reference these directly.
   Re-export only via Layer 2 semantics.
   ============================================================ */
:root {
  /* Brand paints */
  --c-night-700: #142a44;   /* primary press */
  --c-night-600: #1e3a5f;   /* primary */
  --c-night-500: #2c4f7a;   /* primary hover */
  --c-night-50:  #e1eaf4;   /* pale night (row total) */

  --c-ocre-700:  #a87838;
  --c-ocre-500:  #c08a4a;   /* ⚠ contraste 3.13:1 sur blanc - interdit pour du texte */
  --c-stone-100: #f7eed8;   /* row subtotal */
  --c-stone-50:  #faf3e3;   /* surface accent */

  /* Neutral paints */
  --c-ink-900:   #1d2327;   /* convention WP admin pour le texte */
  --c-slate-600: #475569;   /* 7.49:1 sur blanc - sûr pour texte */
  --c-slate-500: #64748b;
  --c-slate-300: #cbd5e1;
  --c-slate-200: #e2e8f0;
  --c-slate-100: #f1f5f9;
  --c-slate-50:  #f8fafc;
  --c-white:     #ffffff;

  /* Semantic state paints */
  --c-green-600: #16a34a;
  --c-green-50:  #f0fdf4;
  --c-red-600:   #dc2626;
  --c-red-50:    #fef2f2;
  --c-amber-600: #d97706;
  --c-amber-50:  #fffbeb;
  --c-blue-600:  #3b71a8;   /* dérivé du primary, info calme */
  --c-blue-50:   #eff4fa;

  /* Signature paint */
  --c-cinnabar:  #b9341e;   /* pigment de Pompéi · contraste 5.88:1 sur blanc - sûr texte */

  /* Vert sauge · pour la chaleur associative (introduit en 1.1.0).
     Évoque l'olivier méditerranéen, chaleureux et vivant.
     Remplace le vert vif #16a34a (validation système, trop électronique)
     comme couleur de succès - ce dernier reste disponible en alias legacy. */
  --c-sage-700:  #3f6e3f;   /* contraste 5.97:1 sur blanc · sûr texte WCAG AA  */
  --c-sage-500:  #5a8d5a;   /* contraste 3.89:1 sur blanc · icônes/bordures uniquement (≥ 3:1) */
  --c-sage-50:   #e8f0e8;   /* surface confirmation, fond doux */

  /* Papiers chauds · introduits en 1.2.0 avec les thèmes défaut.
     Subtilement teintés, restent perçus comme blanc à l'œil. */
  --c-paper-warm:  #fefcf8;   /* blanc cassé chaud · surface Convivial (5° K plus chaud que blanc) */
  --c-paper-cream: #fef6e9;   /* crème ivoire · surface-accent Festif */

  /* 2ᵉ accents graphiques par univers · introduits en 1.4.0.
     Différencient Convivial / Sérieux / Festif au-delà du brand. */
  --c-terracotta-600: #a8462b; /* Convivial · 5.21:1 sur blanc - texte sûr */
  --c-terracotta-500: #c0613f; /* Convivial · 3.42:1 - icônes/bordures uniquement */
  --c-terracotta-50:  #f8ebe4; /* pastille terracotta pâle */

  --c-bordeaux-700:   #7a2e3b; /* Sérieux · 7.68:1 sur blanc - texte sûr */
  --c-bordeaux-500:   #9d4452; /* Sérieux · 4.62:1 - texte sûr aussi */
  --c-bordeaux-50:    #f5e7ea; /* pastille bordeaux pâle */

  --c-saffron-600:    #b07a14; /* Festif · 4.58:1 sur blanc - texte sûr */
  --c-saffron-500:    #e0a32e; /* Festif · 2.0:1 - pastilles à fond uniquement, jamais texte sur blanc */
  --c-saffron-100:    #fbeecb; /* pastille safran pâle, fond clair */
}

/* ============================================================
   LAYER 2 · Semantics  (THE API)
   ------------------------------------------------------------
   :root = thème **Convivial** depuis 1.2.0. C'est le défaut
   d'installation pour toutes les nouvelles associations :
   sauge primaire chaleureuse, blanc cassé chaud, identité
   accueillante pour bénévoles non-techniques.

   Pour repasser sur l'ancien défaut institutionnel :
     <body class="theme-default-serieux">
   Pour le défaut culturel/festival :
     <body class="theme-default-festif">
   ============================================================ */
:root {
  /* --- Brand --- (Convivial : vert sauge mature) */
  --color-brand:             var(--c-sage-500);
  --color-brand-hover:       var(--c-sage-700);
  --color-brand-press:       #2d5b2d;          /* sage encore plus foncé pour press */

  /* --- Accent graphique --- (Convivial : ocre - terroir, accent doux) */
  --color-accent-graphic:    var(--c-ocre-500);
  --color-accent-hover:      var(--c-ocre-700);

  /* --- 2ᵉ accent graphique --- (1.4.0 · différenciation par univers)
     Convivial : terracotta. Graphiques secondaires, séries de données,
     pastilles. -2 = graphic-safe (≥3:1), -2-text = texte-safe (≥4.5:1),
     -2-surface = fond pâle pour pastilles. */
  --color-accent-2:          var(--c-terracotta-500);
  --color-accent-2-text:     var(--c-terracotta-600);
  --color-accent-2-surface:  var(--c-terracotta-50);

  /* --- Accent signature --- (cinabre, identique aux 3 thèmes) */
  --color-accent-signature:  var(--c-cinnabar);

  /* --- Texte --- */
  --color-text-primary:      var(--c-ink-900);
  --color-text-secondary:    var(--c-slate-600);
  --color-text-meta:         var(--c-slate-500);
  --color-text-on-brand:     var(--c-white);
  --color-text-link:         var(--c-sage-700);     /* Convivial : lien sauge foncé (sûr WCAG) */

  /* --- Surfaces --- (Convivial : blanc cassé chaud, ocre pâle généreux) */
  --color-surface:           var(--c-paper-warm);    /* #fefcf8 - pas blanc clinique */
  --color-surface-soft:      var(--c-slate-50);
  --color-surface-subtle:    var(--c-slate-100);
  --color-surface-accent:    var(--c-stone-50);

  /* --- Lignes --- */
  --color-border:            var(--c-slate-300);
  --color-border-soft:       var(--c-slate-200);
  --color-divider:           var(--c-slate-100);

  /* --- Tableaux compta --- */
  --color-row-subtotal:      var(--c-stone-100);
  --color-row-total:         var(--c-sage-50);       /* Convivial : total sauge pâle (pas bleu nuit pâle) */
  --color-row-zebra:         var(--c-slate-50);

  /* --- État sémantique ---
     « Succès » re-câblé en sauge depuis 1.1.0 (cohérent avec l'esprit
     associatif chaleureux). Le vert vif legacy reste exposé en
     --color-success / --color-success-bg pour rétrocompatibilité. */
  --color-success:           var(--c-sage-700);       /* texte succès - 5.97:1 */
  --color-success-text:      var(--c-sage-700);       /* explicite, identique */
  --color-success-graphic:   var(--c-sage-500);       /* icônes/badges/bordures (3.89:1, ≥ 3:1 OK graphique) */
  --color-success-surface:   var(--c-sage-50);        /* fond doux confirmation */
  --color-success-bg:        var(--c-sage-50);        /* alias rétrocompat */
  --color-error:             var(--c-red-600);
  --color-error-bg:          var(--c-red-50);
  --color-warning:           var(--c-amber-600);
  --color-warning-bg:        var(--c-amber-50);
  --color-info:              var(--c-blue-600);
  --color-info-bg:           var(--c-blue-50);

  /* --- Focus (dérivé du brand via color-mix) --- */
  --focus-ring:              0 0 0 2px color-mix(in srgb, var(--color-brand) 25%, transparent);

  /* --- Typographie --- */
  --font-title:              "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:               Georgia, "Times New Roman", serif;
  --font-system:             -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-mono:               "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --title-weight:            700;
  --title-letter-spacing:    -0.01em;
  --title-text-transform:    none;

  /* --- Échelle texte --- */
  --text-h1:                 26px;
  --text-h2:                 18px;
  --text-h3:                 14px;
  --text-body:               12.5px;
  --text-small:              11px;
  --text-kpi:                28px;

  --lh-tight:                1.15;
  --lh-snug:                 1.35;
  --lh-body:                 1.55;

  --tracking-h3:             0.06em;
  --tracking-kicker:         0.12em;

  /* --- Espacement --- */
  --space-1:  4px;  --space-2:  8px;  --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  --space-6: 24px;  --space-8: 32px;  --space-10: 40px;  --space-12: 48px;

  /* --- Rayons --- */
  --radius-sm:               3px;
  --radius:                  4px;
  --radius-lg:               8px;
  --radius-pill:             999px;

  /* --- Ombres --- */
  --shadow-1:                0 1px 0 rgba(15, 23, 42, 0.04);
  --shadow-2:                0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(15, 23, 42, 0.04);
  --shadow-3:                0 6px 16px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(15, 23, 42, 0.04);
}

/* ============================================================
   LAYER 3 · Component tokens
   ------------------------------------------------------------
   Specific slots that resolve transitively to layer 2.
   Adding new component tokens is a MINOR bump.
   ============================================================ */
:root {
  /* Buttons */
  --button-primary-bg:           var(--color-brand);
  --button-primary-bg-hover:     var(--color-brand-hover);
  --button-primary-bg-press:     var(--color-brand-press);
  --button-primary-text:         var(--color-text-on-brand);

  /* Charte bouton primaire par univers (1.4.0).
     Convivial = chaleureux : radius doux, ombre diffuse, léger lift au survol. */
  --button-primary-radius:        6px;
  --button-primary-shadow:        0 1px 2px rgba(60, 40, 20, 0.10);
  --button-primary-shadow-hover:  0 4px 10px rgba(60, 40, 20, 0.16);
  --button-primary-transform-hover: translateY(-1px);

  --button-secondary-bg:         var(--color-surface);
  --button-secondary-bg-hover:   var(--color-surface-accent);
  --button-secondary-border:     var(--color-brand);
  --button-secondary-text:       var(--color-brand);

  /* KPI */
  --kpi-value:                   var(--color-brand);
  --kpi-kicker:                  var(--color-text-secondary);
  --kpi-sub:                     var(--color-text-meta);

  /* Tableaux */
  --table-header-bg:             var(--color-surface-subtle);
  --table-header-text:           var(--color-text-secondary);
  --table-row-border:            var(--color-border-soft);
  --table-subtotal-bg:           var(--color-row-subtotal);
  --table-total-bg:              var(--color-row-total);
  --table-total-border:          var(--color-brand);

  /* Bandeau d'aide */
  --banner-tip-border:           var(--color-accent-graphic);
  --banner-tip-bg:               var(--color-surface-accent);

  /* Empty states · exception au pattern currentColor.
     Par défaut, l'icône d'empty-state hérite du brand de la plateforme
     (sauge sous Convivial, bleu nuit sous Sérieux). Sous Festif, on
     l'override en sauge pour éviter le « mur d'alerte » de 6 pictos
     rouge cinabre - c'est une convention d'illustration, pas un usage
     de brand. Voir README.empty-states. */
  --empty-icon-color:            var(--color-brand);

  /* Micro-accent intra-illustration des empty states. Cinabre dans
     les 3 thèmes (même sous Festif où signature swap vers ocre) :
     c'est un point d'accroche graphique, pas un accent sémantique. */
  --empty-icon-accent:           var(--c-cinnabar);

  /* Liens */
  --link-color:                  var(--color-text-link);
}

/* ============================================================
   LAYER 2 · Aliases (compat ≤ 1.x)
   ------------------------------------------------------------
   Pre-1.0 token names kept available so existing cards and
   prototypes don't break. Slated for removal in 2.0.
   ============================================================ */
:root {
  --color-primary:           var(--color-brand);
  --color-primary-hover:     var(--color-brand-hover);
  --color-primary-press:     var(--color-brand-press);
  --color-secondary:         var(--color-accent-graphic);
  --color-secondary-hover:   var(--color-accent-hover);
  --color-fg-1:              var(--color-text-primary);
  --color-fg-2:              var(--color-text-secondary);
  --color-fg-3:              var(--color-text-meta);
  --color-fg-on-primary:     var(--color-text-on-brand);
  --color-bg:                var(--color-surface);
  --color-bg-soft:           var(--color-surface-soft);
  --color-bg-subtle:         var(--color-surface-subtle);
  --color-bg-accent:         var(--color-surface-accent);
}

/* ============================================================
   DARK MODE · prepared, not activated
   ------------------------------------------------------------
   Activated by setting `data-theme="dark"` on <html> or <body>.
   Only the Layer 2 semantics swap - Layer 3 component tokens
   inherit automatically via the indirection.
   ============================================================ */
[data-theme="dark"] {
  /* Brand lightened so it has enough contrast on dark surfaces */
  --color-brand:             #6d9fc8;
  --color-brand-hover:       #82b1d6;
  --color-brand-press:       #4f87b8;
  --color-accent-graphic:    #d4a056;
  --color-accent-hover:      #e0b070;
  --color-accent-signature:  #e85b40;   /* cinnabar éclairci pour fond sombre */

  --color-text-primary:      #f1f5f9;
  --color-text-secondary:    #cbd5e1;
  --color-text-meta:         #94a3b8;
  --color-text-on-brand:     #0f172a;
  --color-text-link:         #82b1d6;

  --color-surface:           #1d2327;
  --color-surface-soft:      #14181c;
  --color-surface-subtle:    #252b30;
  --color-surface-accent:    #2c2418;

  --color-border:            #334155;
  --color-border-soft:       #2c3338;
  --color-divider:           #252b30;

  --color-row-subtotal:      #2c2418;
  --color-row-total:         #1a2840;
  --color-row-zebra:         #14181c;

  --color-success:           #4ade80;
  --color-success-bg:        #052e16;
  --color-error:             #f87171;
  --color-error-bg:          #2c0f0f;
  --color-warning:           #fbbf24;
  --color-warning-bg:        #2c1f08;
  --color-info:              #82b1d6;
  --color-info-bg:           #14253a;

  --shadow-1:                0 1px 0 rgba(0, 0, 0, 0.4);
  --shadow-2:                0 1px 2px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(0, 0, 0, 0.4);
  --shadow-3:                0 6px 16px rgba(0, 0, 0, 0.5),  0 1px 0 rgba(0, 0, 0, 0.4);
}

/* ============================================================
   WHITE-LABEL CONTRACT
   ------------------------------------------------------------
   Distinction importante (1.2.0+) :

   (A) Thèmes défaut **plateforme** - `.theme-default-*` ci-dessous.
       Trois variantes livrées par AGORA, peuvent toucher
       n'importe quel token. Sélectionnées au moment de
       l'installation, modifiables côté super-admin.

   (B) Thèmes **client** - `.theme-<slug-association>` (ex
       `.theme-opus58`). Une association peut paramétrer un
       sous-ensemble strict via la Charte Documents :

         --color-brand
         --color-brand-hover         (optional)
         --color-brand-press         (optional)
         --color-accent-graphic
         --color-accent-hover        (optional)
         --color-accent-2            (1.4.0 · 2ᵉ accent graphique)
         --color-accent-2-text       (optional)
         --color-accent-2-surface    (optional)
         --color-accent-signature    (rare & marquant - voir règles d'usage)
         --color-surface-accent
         --font-title
         --title-weight              (optional)
         --title-letter-spacing      (optional)

       Les tokens de CHARTE BOUTON (--button-primary-radius,
       -shadow, -shadow-hover, -transform-hover) restent
       VERROUILLÉS : ils définissent la personnalité physique
       de l'univers défaut et ne sont pas exposés aux clients,
       sinon l'esthétique de marque AGORA se dissout.

       Tous les autres tokens (texte, neutres, bordures, surfaces,
       sémantiques d'état, échelle, espacement, ombres) sont
       verrouillés pour préserver l'accessibilité WCAG 2.1 AA
       et la cohérence inter-clients. La plateforme rejette tout
       override hors de cette liste et redirige le client vers
       le support.

       Tightening this list = MAJOR bump. Loosening it = MINOR.

   Composition : un client hérite du thème défaut sélectionné
   par sa plateforme, puis applique ses overrides client.
   Exemple : `<body class="theme-default-serieux theme-opus58">`
   ============================================================ */

/* ============================================================
   THÈMES DÉFAUT · livrés avec AGORA
   ------------------------------------------------------------
   :root est désormais Convivial. Les classes suivantes
   permettent de basculer sur les autres défauts plateforme,
   sans toucher au code du composant.
   ============================================================ */

/* --- A · Convivial (nouveau défaut, déjà appliqué à :root) ---
   Cible : petites assos, bénévoles non-techniques, ruralité.
   Sage chaleureux + ocre terroir + blanc cassé chaud.
   Cette classe est définie pour permettre les compositions
   (ex: `theme-default-convivial theme-monassociation`), même
   si elle reproduit les valeurs de :root. */
.theme-default-convivial {
  --color-brand:             var(--c-sage-500);
  --color-brand-hover:       var(--c-sage-700);
  --color-brand-press:       #2d5b2d;
  --color-accent-graphic:    var(--c-ocre-500);
  --color-accent-hover:      var(--c-ocre-700);
  --color-accent-signature:  var(--c-cinnabar);
  --color-accent-2:          var(--c-terracotta-500);
  --color-accent-2-text:     var(--c-terracotta-600);
  --color-accent-2-surface:  var(--c-terracotta-50);
  --color-text-link:         var(--c-sage-700);
  --color-surface:           var(--c-paper-warm);
  --color-surface-accent:    var(--c-stone-50);
  --color-row-total:         var(--c-sage-50);
  --empty-icon-color:        var(--c-sage-500);
  /* Bouton chaleureux : rond, ombre diffuse, lift au survol */
  --button-primary-radius:        6px;
  --button-primary-shadow:        0 1px 2px rgba(60, 40, 20, 0.10);
  --button-primary-shadow-hover:  0 4px 10px rgba(60, 40, 20, 0.16);
  --button-primary-transform-hover: translateY(-1px);
}

/* --- B · Sérieux institutionnel ---
   Cible : grosses assos, fédérations, agences revendeuses.
   Identité 1.0-1.1 d'AGORA (bleu nuit + ocre + blanc clinique). */
.theme-default-serieux {
  --color-brand:             var(--c-night-600);
  --color-brand-hover:       var(--c-night-500);
  --color-brand-press:       var(--c-night-700);
  --color-accent-graphic:    var(--c-ocre-500);
  --color-accent-hover:      var(--c-ocre-700);
  --color-accent-signature:  var(--c-cinnabar);
  /* 2ᵉ accent institutionnel : bordeaux discret (gravité, sérieux) */
  --color-accent-2:          var(--c-bordeaux-500);
  --color-accent-2-text:     var(--c-bordeaux-700);
  --color-accent-2-surface:  var(--c-bordeaux-50);
  --color-text-link:         var(--c-night-600);
  --color-surface:           var(--c-white);
  --color-surface-accent:    var(--c-stone-50);
  --color-row-total:         var(--c-night-50);
  --empty-icon-color:        var(--c-night-600);
  /* Bouton institutionnel : carré, ombre sèche, assombrissement franc sans lift */
  --button-primary-radius:        3px;
  --button-primary-shadow:        0 1px 0 rgba(20, 42, 68, 0.18);
  --button-primary-shadow-hover:  0 1px 0 rgba(20, 42, 68, 0.28);
  --button-primary-transform-hover: none;
}

/* --- C · Festif culturel ---
   Cible : associations culturelles, spectacle vivant, festivals.
   Cinabre primaire + bleu nuit accent + crème ivoire en surface-accent. */
.theme-default-festif {
  --color-brand:             var(--c-cinnabar);
  --color-brand-hover:       #9d2c19;
  --color-brand-press:       #842513;
  --color-accent-graphic:    var(--c-night-600);
  --color-accent-hover:      var(--c-night-500);
  --color-accent-signature:  var(--c-ocre-500);          /* le festif inverse : ocre devient l'accent rare */
  /* 2ᵉ accent joyeux : safran (pastilles d'animation, dates, badges) */
  --color-accent-2:          var(--c-saffron-500);
  --color-accent-2-text:     var(--c-saffron-600);
  --color-accent-2-surface:  var(--c-saffron-100);
  --color-text-link:         var(--c-cinnabar);
  --color-surface:           var(--c-paper-warm);
  --color-surface-accent:    var(--c-paper-cream);
  --color-row-total:         #fdebe6;                    /* cinabre pâle */
  /* Empty states · override : sous Festif, on quitte le brand
     (cinabre) pour rester en sauge - 6 pictos rouges donneraient
     un mur d'alerte. */
  --empty-icon-color:        var(--c-sage-500);
  /* Bouton expressif : pilule, ombre franche contrastée, lift marqué */
  --button-primary-radius:        999px;
  --button-primary-shadow:        0 2px 4px rgba(132, 37, 19, 0.20);
  --button-primary-shadow-hover:  0 6px 16px rgba(132, 37, 19, 0.30);
  --button-primary-transform-hover: translateY(-2px);
}

/* --- Example client theme · Opus 58 (first paying client) --- */
.theme-opus58 {
  --color-brand:             #0e7490;   /* turquoise foncé */
  --color-brand-hover:       #155e75;
  --color-brand-press:       #164e63;
  --color-accent-graphic:    #009fe3;   /* turquoise vif */
  --color-accent-hover:      #0089c3;
  --color-surface-accent:    #ecfeff;
  --font-title:              "Beon", "Plus Jakarta Sans", -apple-system, sans-serif;
  --title-weight:            400;
  --title-letter-spacing:    0.02em;
  /* tous les autres tokens restent ceux du thème défaut hérité */
}
