/**
 * CSS Variables - 3B Renov44
 * Design tokens: "Atelier Éditorial"
 *
 * Colors are injected via wp_add_inline_style() from ThemeColors::to_css()
 *
 * @package T3BR
 */

:root {
    /* Typography */
    --t3br-font-family: "Outfit", system-ui, sans-serif;
    --t3br-font-family-heading: "Outfit", system-ui, sans-serif;
    --t3br-font-family-display: "Instrument Serif", Georgia, serif;

    /* Font sizes - mobile first (clamp for display sizes) */
    --t3br-font-size-xxs: 0.65rem;
    --t3br-font-size-xs: 0.72rem;
    --t3br-font-size-sm: 0.82rem;
    --t3br-font-size-base: 0.9375rem;
    --t3br-font-size-lg: 1rem;
    --t3br-font-size-xl: 1.05rem;
    --t3br-font-size-2xl: 1.2rem;
    --t3br-font-size-3xl: 1.4rem;
    --t3br-font-size-4xl: clamp(2rem, 3.5vw, 3rem);
    --t3br-font-size-5xl: clamp(2.8rem, 5.5vw, 4.5rem);

    --t3br-font-weight-light: 300;
    --t3br-font-weight-normal: 400;
    --t3br-font-weight-medium: 500;
    --t3br-font-weight-semibold: 600;
    --t3br-font-weight-bold: 700;

    --t3br-line-height-tight: 1.05;
    --t3br-line-height-snug: 1.15;
    --t3br-line-height-normal: 1.6;
    --t3br-line-height-relaxed: 1.7;
    --t3br-line-height-loose: 1.8;

    --t3br-letter-spacing-tight: 0.02em;
    --t3br-letter-spacing-wide: 0.06em;
    --t3br-letter-spacing-wider: 0.12em;
    --t3br-letter-spacing-widest: 0.2em;

    /* Spacing - 8px base */
    --t3br-spacing-xs: 0.25rem;  /* 4px */
    --t3br-spacing-sm: 0.5rem;   /* 8px */
    --t3br-spacing-md: 1rem;     /* 16px */
    --t3br-spacing-lg: 1.5rem;   /* 24px */
    --t3br-spacing-xl: 2rem;     /* 32px */
    --t3br-spacing-2xl: 2.5rem;  /* 40px */
    --t3br-spacing-3xl: 3.5rem;  /* 56px */
    --t3br-spacing-4xl: 5rem;    /* 80px */

    /* Border Radius - 0 for editorial sharp look */
    --t3br-radius-sm: 0;
    --t3br-radius-md: 0;
    --t3br-radius-lg: 0;
    --t3br-radius-xl: 0;
    --t3br-radius-2xl: 0;
    --t3br-radius-full: 9999px;

    /* Shadows */
    --t3br-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --t3br-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --t3br-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
    --t3br-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --t3br-transition-fast: 150ms ease;
    --t3br-transition-normal: 300ms ease;
    --t3br-transition-slow: 500ms ease;
    --t3br-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t3br-ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);

    /* Layout */
    --t3br-container-max-width: 1240px;
    --t3br-container-padding: 20px;
    --t3br-header-height: 72px;

    /* Z-index */
    --t3br-z-dropdown: 100;
    --t3br-z-sticky: 200;
    --t3br-z-fixed: 300;
    --t3br-z-modal-backdrop: 1100;
    --t3br-z-modal: 1200;
    --t3br-z-grain: 9999;
}

/**
 * Breakpoints (cannot be used in @media queries, documented for reference)
 *
 * --t3br-breakpoint-sm:  640px   (mobile landscape)
 * --t3br-breakpoint-md:  768px   (tablet portrait)
 * --t3br-breakpoint-lg:  1024px  (tablet landscape / small desktop)
 * --t3br-breakpoint-xl:  1280px  (desktop)
 */
