/* ══════════════════════════════════════
   SPOODY.FR — Design System
   Palette : Nature Moderne
   ══════════════════════════════════════ */

:root {
  /* Couleurs */
  --color-bg:          #fdfcf9;
  --color-bg-card:     #f5f2eb;
  --color-bg-card-alt: #e8f0e3;
  --color-green:       #6b8f5e;
  --color-green-dark:  #3d5436;
  --color-hero-from:   #2c3a28;
  --color-hero-to:     #4a6741;
  --color-sand:        #d4c9a0;
  --color-brown:       #a0856a;
  --color-text:        #2c2c2c;
  --color-text-muted:  #666;
  --color-text-light:  #aaa;
  --color-border:      #e8e0d0;
  --color-white:       #fff;

  /* Typographie */
  --font-main: 'Helvetica Neue', Arial, sans-serif;
  --text-xs:   0.65rem;
  --text-sm:   0.75rem;
  --text-base: 0.875rem;
  --text-lg:   1rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;

  /* Espacements */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;

  /* Rayons */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 999px;

  /* Ombres */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  /* Transitions */
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section { padding: var(--space-xl) 0; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.section-header .see-all {
  font-size: var(--text-xs);
  color: var(--color-green);
  font-weight: 600;
}

.section-header .see-all:hover {
  text-decoration: underline;
}

/* ── Grid ── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 var(--space-md); }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
