/* ============================================================
   Propia Marketing Theme
   ------------------------------------------------------------
   Single source of truth for the marketing site visual identity.
   Edit these CSS variables to rebrand the showcase without
   touching any HTML or component code.

   2026-08-21 (founder decision, refonte vitrine): palette aligned
   on the dashboard — light only, soft off-white + forest green
   (MainLightPalette: Primary #004b23, Background #F6F5F3). The
   dark navy identity (#1976d2 / #ff7043 / #1a2332) is retired.
   These tokens are provisional until the brand charter is settled
   with the founder's designer; keep them trivial to re-point.
   ============================================================ */

:root {
    /* Brand colors */
    --propia-primary: #004b23;
    /* A filled action's hover DARKENS (like the app's PrimaryDarken): the label
       stays white, so lightening it kills the contrast. This is exactly
       MarketingThemeCss.MixTowardBlack(--propia-primary, 0.82), so a published
       theme shades in the same direction as the shipped one. */
    --propia-primary-hover: #003d1d;
    --propia-secondary: #115e59;
    /* Same derivation as --propia-primary-hover, for the same reason: a hover
       that LIGHTENS walks a link toward the page it sits on. This is
       MarketingThemeCss.MixTowardBlack(--propia-secondary, 0.82). */
    --propia-secondary-hover: #0e4d49;

    /* Semantic accents — the named tones of the pricing grid and of any
       shared component that speaks of success, caution or information.

       They are PRODUCT values, never a library's stock colors: MudBlazor
       ships #00C853 and #FFB400, which measure 2.05:1 and 1.64:1 against this
       off-white page. As TEXT they are unreadable, and that is literally the
       founder's 2026-09-23 reproach — « un vert brûlant sur du beige, on voit
       pas bien ». These three are muted companions of the forest identity and
       all clear 4.5:1 on --propia-bg, --propia-surface and
       --propia-surface-tinted alike.

       MarketingThemeCss pins the same three values as its own fallback, so
       the "nothing published" and "theme published" paths agree; a test
       cross-checks this file against those constants. */
    --propia-success: #37764F;
    --propia-warning: #9A5B14;
    --propia-warning-text: #FFFFFF;
    --propia-info: #2A5B8C;
    --propia-danger: #B42318;

    /* Tinted companions of the primary (chips, icon discs, outlines) */
    --propia-primary-soft: #E9F1EB;
    --propia-primary-soft-border: #CFDFD4;

    /* Surfaces */
    --propia-bg: #F6F5F3;
    --propia-bg-alt: #FFFFFF;
    --propia-surface: #FFFFFF;
    --propia-surface-tinted: #EFEDE7;
    --propia-search-surface: #dad7cd;
    /* Deep band = the dashboard hero gradient the founder likes */
    --propia-deep-gradient: linear-gradient(135deg, #004b23 0%, #115e59 100%);

    /* Text */
    --propia-text: #1F241E;
    --propia-text-muted: #5F675E;
    --propia-text-on-dark: #FFFFFF;
    --propia-dark: #424242;
    --propia-dark-text: #FFFFFF;

    /* Borders & shadows */
    --propia-border: #E4E2DB;
    --propia-shadow-sm: 0 2px 8px rgba(31, 36, 30, 0.05);
    --propia-shadow-md: 0 6px 20px rgba(31, 36, 30, 0.08);
    --propia-shadow-lg: var(--ds-ombre-5);

    /* Layout */
    --propia-radius-sm: var(--ds-rayon-sm);
    --propia-radius-md: var(--ds-rayon-md);
    --propia-radius-lg: var(--ds-rayon-lg);

    /* Typography (self-hosted, _content/PropiaRazorShared/css/fonts.css) */
    --propia-font-base: 'Roboto', system-ui, -apple-system, "Segoe UI", sans-serif;
    --propia-font-heading-weight: 700;
}
