:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --primary: #0f6;
  --border: #e6e6e6;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header, .site-footer {
  border-bottom: 1px solid var(--border);
}
.site-footer { border-top: 1px solid var(--border); border-bottom: none; padding: 24px 0; }
.site-header .container, .site-footer .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px;
}
.logo { text-decoration: none; color: var(--fg); font-weight: 700; }
.style-switch a { color: var(--muted); text-decoration: none; margin: 0 4px; }
.style-switch a:hover { color: var(--fg); }

main section { padding: 56px 0; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px 0; }
p { margin: 0 0 12px 0; color: var(--muted); }

.btn { display: inline-block; padding: 10px 16px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--fg); color: var(--fg); }
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.outline { background: transparent; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 0 0; }

.grid.two { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 800px) { .grid.two { grid-template-columns: 1fr 1fr; align-items: center; } }

.hero .container { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.lead { font-size: 1.1rem; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.cards.three { grid-template-columns: 1fr; }
@media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }

/* Layout adaptatif pour les ateliers */
.workshops .cards { grid-template-columns: 1fr; }
@media (min-width: 600px) { .workshops .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .workshops .cards { grid-template-columns: repeat(3, 1fr); } }

.cards li { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: #fff; }
.cards li img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius) - 4px); margin: 0 0 10px 0; }

/* Mise en avant du travail manuel polyvalent */
.workshop-featured {
  margin: 0 0 48px 0;
  padding: 24px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: #fff;
}
.workshop-featured-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
@media (min-width: 800px) {
  .workshop-featured-content {
    grid-template-columns: 1fr 1.5fr;
  }
}
.workshop-featured-content img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
  display: block;
}
.workshop-featured h4 {
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  line-height: 1.3;
  color: var(--fg);
}

/* Groupes thématiques */
.workshop-theme {
  margin: 0 0 48px 0;
}
.theme-title {
  font-size: 1.5rem;
  margin: 0 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  color: var(--fg);
}
.workshop-theme .cards {
  margin-top: 0;
}
.workshop-theme h4 {
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  line-height: 1.3;
  color: var(--fg);
}

.masonry { columns: 1; column-gap: 16px; }
@media (min-width: 700px) { .masonry { columns: 2; } }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.masonry img { width: 100%; display: block; margin: 0 0 16px 0; border-radius: var(--radius); }

img { max-width: 100%; height: auto; }



