:root {
  --background: #ffffff;
  --background20: #ffffff33;
  --background40: #ffffff66;
  --background60: #ffffff99;
  --background80: #ffffffcc;
  --shadeColor: #aaaaaa40;
  --popinColor: #00000040;
  --foreground: #020a0a;
  --primary: #e42313;
  --primaryText: #ffffff;
  --secondary: #020a0a;
  --shade: 0 0 0.5rem 0.5rem var(--shadeColor);
  --caption: #6f708b;
  --yellow: #ffc800;
  --border: #d5d6e0;
  --grayMedium: #acadc1;
  --grayMedium30: #acadc14d;
  --grayMedium50: #acadc180;
  --grayDark5: #454560;
  --grayDark6: #26273b;
  --grayLight1: #f0f0f5;
  --grayLight2: #d6d6e1;

  /* Variantes */
  --primary-light: #f04a3b;
  --primary-dark: #c01c0e;

  /* Couleurs de texte */
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-caption: #555555;
  --text-light: #888888;

  /* Couleurs de fond */
  --background-primary: #ffffff;
  --background-secondary: #f0f0f0;
  --background-tertiary: #eeeef0;

  /* Couleurs de bordure */
  --border-color: #eeeeee;
  --border-color-dark: #dddddd;

  /* Couleurs d'accent */
  --accent-yellow: #ffcc00;
  --accent-red: #e42313;
  --accent-green: #4caf50;
  --accent-blue: #2196f3;

  /* Ombres */
  --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 4px 16px rgba(0, 0, 0, 0.2);

  /* Typographie */
  --font-family-base:
    var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  --font-family-heading:
    var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;

  /* Tailles de police */
  --font-size-xxs: 0.625rem; /* 10px */
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-3_5xl: 2rem; /* 32px */
  --font-size-3_75xl: 2.125rem; /* 34px */
  --font-size-4xl: 2.25rem; /* 36px */
  --font-size-5xl: 3rem; /* 48px */

  /* Espacements */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-base: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* Rayons de bordure */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-circle: 50%;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Z-index */
  --z-index-dropdown: 100;
  --z-index-sticky: 200;
  --z-index-fixed: 300;
  --z-index-modal: 400;
  --z-index-tooltip: 500;

  /* Layout */
  --content-max-width: 940px;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-poppins), 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: clip auto;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

main {
  width: 100%;
  flex: 1 1 0;
  background: var(--grayLight1);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  body {
    padding-bottom: 56px;
  }
}
