/* --- Base --- */
:root {
  --accent: #2e7d5b;
  --text: #222;
  --muted: #666;
  --bg: #fff;
  --border: #e5e5e5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

a { color: var(--accent); }

img { max-width: 100%; height: auto; border-radius: 6px; }

/* --- Header --- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-title {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
}
.site-nav a {
  margin-left: 1rem;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }

/* --- Contenu --- */
main.container { padding-top: 2rem; padding-bottom: 3rem; }
h1 { margin-top: 0; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- Boutons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #256a4c;
  text-decoration: none;
}
.cta-row {
  margin: 1.75rem 0;
}

/* --- Hero (page d'accueil) --- */
.hero {
  margin: 0 0 1.25rem;
}
.hero img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.hero-caption {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
}
.hero-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0;
}

/* --- Faits en bref --- */
.facts {
  margin: 2.5rem 0;
}
.facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.facts-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.facts-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.facts-list li:last-child {
  border-bottom: 0;
}

/* --- Carte de situation --- */
figure.map {
  margin: 2.5rem 0;
}
figure.map img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
}
figure.map figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* --- Raisons de s'opposer --- */
.reasons {
  margin: 2.5rem 0;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.reason {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.reason h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.reason p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}
@media (max-width: 640px) {
  .reason-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.6rem; }
}

/* --- Encart urgence --- */
.urgent {
  background: #fff8e6;
  border: 1px solid #f0dca0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 2.5rem 0;
}
.urgent p { margin: 0; }

/* --- Section pétition --- */
.petition {
  background: #f2f9f5;
  border: 1px solid #d7ece0;
  border-radius: 10px;
  padding: 1.75rem;
  margin: 2.5rem 0;
}
.petition h2 { margin-top: 0; }
.petition .sib-form,
.petition .sib-form-container { background: transparent !important; }

/* --- Lien « pour aller plus loin » --- */
.more {
  color: var(--muted);
  font-size: 0.95rem;
}
