/* Me.to Design Tokens */
:root {
  /* Colors */
  --bg: #FFF6F2;
  --surface: #FFFDFB;
  --outline: #1F2937;
  --accent-1: #FFD6E0;
  --accent-2: #D9EEFF;
  --accent-3: #FFF5CC;
  --text: #111827;

  /* Sizing */
  --radius-sm: 10px;
  --radius-md: 16px;
  --stroke: 3px;        /* épaisseur outline "dessiné" */
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 32px;

  /* Shadow */
  --shadow-soft: 0 6px 18px rgba(17,24,39,0.06);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Container */
  --container-max-width: 1200px;
  --container-padding: 24px;

  /* Secondary colors */
  --text-secondary: #374151;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
}

/* Base reset and typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
}

h3 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin-bottom: var(--gap-sm);
}

.micro {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Focus states for accessibility */
*:focus {
  outline: 3px solid var(--accent-3);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: var(--accent-1);
  color: var(--text);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Media queries for responsive spacing */
@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }
}