/* Cyprien Sports — Design System global entry.
   Consumers link THIS file. Keep it as @import lines only. */
/* Fonts — Cyprien Sports
   Brand type is Futura (MT Medium / BT Light / BT Heavy). The brand's own
   charte graphique designates OUTFIT as the official Google Fonts equivalent,
   so Outfit is the shipped webfont here. (WordPress : sous-ensembles latin + latin-ext, le fichier d'origine ne contenait que latin-ext, sans accents.) Variable weight 100–900, self-hosted. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.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: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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;
}

/* Colors — Cyprien Sports
   Two brand colors (red + navy, exactly as the charte), set against warm
   vintage-paper creams and a soft neutral ramp. "Nostalgie Pop": heritage
   navy + pop red on aged paper. */

:root {
  /* ---- Brand core (from charte graphique, HEX web values) ---- */
  --cs-red: #db3225;   /* Pantone 2347 CP — pop accent, CTAs */
  --cs-navy: #273273;  /* Pantone 2147 CP — heritage, headings */

  /* ---- Red ramp ---- */
  --cs-red-700: #9e2014;
  --cs-red-600: #be281a;
  --cs-red-500: #db3225; /* base */
  --cs-red-300: #ec8076;
  --cs-red-100: #f8d8d3;
  --cs-red-50:  #fcefed;

  /* ---- Navy ramp ---- */
  --cs-navy-800: #151b40;
  --cs-navy-700: #1d2557;
  --cs-navy-600: #273273; /* base */
  --cs-navy-300: #7b83b0;
  --cs-navy-100: #d6d9e8;
  --cs-navy-50:  #eceef5;

  /* ---- Vintage paper (warm cream backgrounds) ---- */
  --cs-paper:      #f6eede; /* primary page background */
  --cs-paper-deep: #efe3cc; /* recessed / alternating bands */
  --cs-paper-tint: #fbf6ec; /* lightest, near-white warm */

  /* ---- Ink + neutral ramp (warm-leaning grays) ---- */
  --cs-ink:        #1f1c24; /* body text on light */
  --cs-stone-700:  #4b4753;
  --cs-stone-500:  #847f8c; /* the charte's secondary gray */
  --cs-stone-300:  #c3bdc9;
  --cs-stone-200:  #ded8e0;
  --cs-stone-100:  #ece8ee;
  --cs-white:      #ffffff;

  /* ---- Semantic feedback (kept tonal to the palette) ---- */
  --cs-success: #2f7d54;
  --cs-warning: #d98a1f;
  --cs-danger:  #be281a;

  /* ---- Semantic aliases (use these in components) ---- */
  --color-bg:            var(--cs-paper);
  --color-bg-alt:        var(--cs-paper-deep);
  --surface-card:        var(--cs-white);
  --surface-raised:      var(--cs-paper-tint);
  --surface-navy:        var(--cs-navy-600);
  --surface-red:         var(--cs-red-500);

  --text-heading:        var(--cs-navy-600);
  --text-body:           var(--cs-ink);
  --text-muted:          var(--cs-stone-500);
  --text-on-dark:        var(--cs-paper-tint);
  --text-on-red:         var(--cs-white);

  --brand-primary:       var(--cs-red-500);  /* pop / action */
  --brand-primary-hover: var(--cs-red-600);
  --brand-primary-press: var(--cs-red-700);
  --brand-secondary:     var(--cs-navy-600); /* heritage / structure */
  --brand-secondary-hover:var(--cs-navy-700);

  --border-subtle:       var(--cs-stone-200);
  --border-strong:       var(--cs-navy-600);
  --border-on-paper:     #e4d8c0;

  --focus-ring:          color-mix(in srgb, var(--cs-navy-600) 45%, transparent);
  --season-summer:       #2f9e8f; /* teal accent seen in moodboard, summer mode */
  --season-winter:       var(--cs-navy-600);
}

/* Typography — Cyprien Sports
   One family does everything: Outfit (Futura substitute). Geometric, clean,
   French-modern. Headings are tight + uppercase-friendly with generous
   letter-spacing on labels; body stays comfortable. The cursive wordmark
   ("Cyprien sports") is a LOGO asset (image), never set in live text. */

:root {
  --font-sans: "Outfit", "Futura", "Century Gothic", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-sans);

  /* weights (Futura mapping: Light=300, Medium=500, Heavy=800) */
  --fw-light: 300;    /* @kind other */
  --fw-regular: 400;  /* @kind other */
  --fw-medium: 500;   /* @kind other */
  --fw-semibold: 600; /* @kind other */
  --fw-bold: 700;     /* @kind other */
  --fw-heavy: 800;    /* @kind other */

  /* fluid type scale (1.250 major-third-ish, clamped) */
  --fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5rem); /* @kind other */
  --fs-h1: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem);    /* @kind other */
  --fs-h2: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem);   /* @kind other */
  --fs-h3: clamp(1.3rem, 1.05rem + 0.9vw, 1.6rem);    /* @kind other */
  --fs-h4: 1.2rem;       /* @kind other */
  --fs-body-lg: 1.125rem;/* @kind other */
  --fs-body: 1rem;       /* @kind other */
  --fs-sm: 0.875rem;     /* @kind other */
  --fs-xs: 0.75rem;      /* @kind other */
  --fs-eyebrow: 0.78rem; /* @kind other */

  --lh-tight: 1.05;   /* @kind other */
  --lh-snug: 1.2;     /* @kind other */
  --lh-normal: 1.55;  /* @kind other */
  --lh-relaxed: 1.7;  /* @kind other */

  --ls-tight: -0.02em;  /* @kind other */
  --ls-normal: 0;       /* @kind other */
  --ls-label: 0.16em;   /* @kind other */
  --ls-eyebrow: 0.22em; /* @kind other */
}

/* Spacing, radius & layout — Cyprien Sports
   4px base grid. Radii are gently rounded (vintage labels are oval/rounded,
   not sharp), never pill-everything. */

:root {
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --radius-badge: 50%; /* the circular brand seal */

  /* layout */
  --container-max: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(20px, 5vw, 64px); /* @kind spacing */

  /* control sizing */
  --control-h-sm: 36px;
  --control-h-md: 44px; /* min touch target */
  --control-h-lg: 54px;

  /* borders */
  --border-w: 1.5px;
  --border-w-strong: 2px;
}

/* Effects — shadows, motion, textures — Cyprien Sports
   Restrained, warm shadows (no cold blue glows). Motion is friendly and
   quick — small fades and lifts, no bounces. */

:root {
  /* shadows — warm-tinted, soft */
  --shadow-xs: 0 1px 2px rgba(31, 28, 36, 0.06);
  --shadow-sm: 0 2px 6px rgba(31, 28, 36, 0.08);
  --shadow-md: 0 8px 20px rgba(31, 28, 36, 0.10);
  --shadow-lg: 0 18px 44px rgba(31, 28, 36, 0.14);
  --shadow-card: 0 4px 16px rgba(39, 50, 115, 0.08);
  --shadow-pop: 4px 4px 0 var(--cs-navy-600); /* hard "pop"/sticker offset */
  --shadow-pop-red: 4px 4px 0 var(--cs-red-500);

  /* motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);    /* @kind other */
  --ease-in-out: cubic-bezier(0.45, 0, 0.2, 1);     /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur: 200ms;      /* @kind other */
  --dur-slow: 320ms; /* @kind other */

  /* focus */
  --ring-w: 3px; /* @kind spacing */
}

