/* ================================
   VARIABLES CSS – À personnaliser
   ================================ */

:root {
  /* Palette de couleurs */
  --color-primary: #e9aebb;
  --color-secondary: #d8e2dc;
  --color-accent: #598f6f;
  --color-bg: #f5ebdd;
  --color-bg-alt: #fffdf8;
  --color-text: #5c4434;
  --color-text-light: #fffdf8;
  --color-border: #598f6f;

  /* Typographies */
  --font-base: "Nunito Sans", sans-serif;
  --font-heading: "Dancing Script", serif;

  /* Tailles de texte */
  --text-xs: 0.75rem;  /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 16px;   /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem;  /* 20px */
  --text-2xl: 1.5rem;  /* 24px */
  --text-3xl: 2rem;    /* 32px */

  /* Espacements */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 2rem;    /* 32px */

  /* Rayons */
  --radius: 22px;
  --radius-sm: 8px;
  --radius-lg: 34px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.15);
  --shadow-wh: 0 2px 4px rgba(255,255,255,0.5);
  --shadow: 0 8px 20px rgba(18,18,20,0.06);

  /* Durées d’animations */
  --transition-fast: 150ms;
  --transition-base: 0.3s ease;
  --transition-slow: 500ms;

  /* Eléments d'animation */
  --yarn-ball-size: 200px;
  --yarn-ball-bottom-offset: 24px;

  /* a ranger */
  --muted: #7a6e7d;
  --yarn: #b41047; 
  --cc-accent: #d7bfb2;
  --cc-thread: #8b6f5a;
  --cc-shadow: rgba(17,17,17,0.08);
  --gap: 20px;
}


/* =============================
   Classes utilitaires
   ============================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.hidden { display: none !important; }
.clickable {cursor: pointer;}
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }