/* Reset CSS moderne (inspiré de "modern-css-reset") */
:root {
  --color-primary: #458651;      /* Vert principal */
  --color-primary-dark: #1A5F3F; /* Vert profond */
  --color-primary-light: #97b879; /* Vert clair */
  --color-text: #2A2A2A;        /* Texte principal */
  --color-bg: #FFFFFF;          /* Fond principal */
  --color-bg-alt: #F5F5F5;       /* Fond alternatif */
  --color-accent: #0066FF;       /* Bleu électrique (optionnel pour accents) */

  --font-main: 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'Roboto Mono', monospace;

  --spacing-unit: 1rem;
  --max-width: 1200px;
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
}

/* Typographie */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--spacing-unit);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  margin: 0 0 var(--spacing-unit);
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Utilitaires */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (min-width: 768px) {
  :root {
    --spacing-unit: 1.25rem;
  }
}
