/* ==========================================================================
   Design System - Variables CSS
   ========================================================================== */

:root {
    /* ==========================================================================
       Colors - Palette validée
       ========================================================================== */

    /* Primary colors */
    --color-primary: #D4A574;        /* Or doré (accents élégants) */
    --color-secondary: #9CAF88;      /* Vert sauge (naturel, apaisant) */
    --color-tertiary: #E8DDD4;       /* Beige rosé (fond doux) */

    /* Neutral colors */
    --color-neutral-dark: #3A3A3A;   /* Texte principal (presque noir) */
    --color-neutral-medium: #6B6B6B; /* Texte secondaire */
    --color-neutral-light: #F5F2EF;  /* Fond clair */
    --color-white: #FFFFFF;          /* Blanc pur */

    /* State colors (formulaire) */
    --color-success: #7FA57F;        /* Vert succès (validé) */
    --color-error: #C67B7B;          /* Rouge doux (erreur) */
    --color-warning: #D4A574;        /* Or (attention) */

    /* Overlay and shadows */
    --overlay-dark: rgba(58, 58, 58, 0.6);
    --overlay-light: rgba(255, 255, 255, 0.9);
    --shadow-soft: 0 4px 20px rgba(58, 58, 58, 0.08);
    --shadow-medium: 0 8px 30px rgba(58, 58, 58, 0.12);
    --shadow-strong: 0 12px 40px rgba(58, 58, 58, 0.15);


    /* ==========================================================================
       Typography
       ========================================================================== */

    /* Font families */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Font sizes - Scale typographique (ratio 1.25 - Major Third) */
    --font-size-xs: 0.8rem;          /* 12.8px */
    --font-size-sm: 1rem;            /* 16px */
    --font-size-base: 1.125rem;      /* 18px - Corps de texte */
    --font-size-lg: 1.25rem;         /* 20px */
    --font-size-xl: 1.563rem;        /* 25px */
    --font-size-2xl: 1.953rem;       /* 31.25px */
    --font-size-3xl: 2.441rem;       /* 39px */
    --font-size-4xl: 3.052rem;       /* 48.8px - Prénoms mariés */
    --font-size-5xl: 3.815rem;       /* 61px - Hero extra large */

    /* Line heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    /* Font weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;


    /* ==========================================================================
       Spacing
       ========================================================================== */

    /* Spacing scale */
    --space-xs: 0.5rem;      /* 8px */
    --space-sm: 1rem;        /* 16px */
    --space-md: 1.5rem;      /* 24px */
    --space-lg: 2rem;        /* 32px */
    --space-xl: 3rem;        /* 48px */
    --space-2xl: 4rem;       /* 64px */
    --space-3xl: 6rem;       /* 96px */
    --space-4xl: 8rem;       /* 128px */

    /* Section spacing */
    --section-padding-mobile: var(--space-2xl);
    --section-padding-tablet: var(--space-3xl);
    --section-padding-desktop: var(--space-4xl);


    /* ==========================================================================
       Layout
       ========================================================================== */

    /* Container */
    --container-max-width: 1200px;
    --container-padding-mobile: var(--space-md);
    --container-padding-tablet: var(--space-xl);
    --container-padding-desktop: var(--space-2xl);

    /* Content max width (optimal reading length) */
    --content-max-width: 65ch;


    /* ==========================================================================
       Breakpoints (for reference in media queries)
       ========================================================================== */

    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
    --breakpoint-large: 1280px;


    /* ==========================================================================
       Transitions
       ========================================================================== */

    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 400ms ease-in-out;

    /* Easing functions */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);


    /* ==========================================================================
       Border radius
       ========================================================================== */

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;


    /* ==========================================================================
       Z-index scale
       ========================================================================== */

    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 100;
    --z-overlay: 1000;
    --z-modal: 1100;
    --z-tooltip: 1200;
}
