/* Réalisations — s'appuie sur les variables de css/style.css (--green, --orange…) */

/* ---- Fil d'Ariane ---- */
.chantier__breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.chantier__breadcrumb a { color: var(--green); text-decoration: none; }
.chantier__breadcrumb a:hover { text-decoration: underline; }

/* ---- En-tête de chantier ---- */
.chantier__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.chantier__header h1 { margin: 0 0 1rem; }

.chantier__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
  background: var(--bg-light);
  border-left: 4px solid var(--green);
  border-radius: 6px;
}
.chantier__facts li { display: flex; flex-direction: column; }
.chantier__facts strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}
.chantier__facts span { font-weight: 600; color: var(--text); }

/* ---- Visuels ---- */
.chantier__hero { margin: 0 0 2rem; }
.chantier__hero img,
.chantier__grid img,
.chantier-card__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.chantier__gallery { margin: 2.5rem 0; }
.chantier__gallery h2 { margin-bottom: 1rem; }
.chantier__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.chantier__grid figure { margin: 0; }

/* ---- Corps rédigé ---- */
.chantier__body { max-width: 72ch; }
.chantier__body h2 { margin: 2rem 0 0.75rem; }
.chantier__body h3 { margin: 1.5rem 0 0.5rem; }
.chantier__body p,
.chantier__body li { line-height: 1.7; }
.chantier__body ul,
.chantier__body ol { padding-left: 1.25rem; margin: 0.75rem 0; }
.chantier__body a { color: var(--green); }

/* ---- Appel à l'action ---- */
.chantier__cta {
  margin: 2.5rem 0 1.5rem;
  padding: 1.75rem;
  background: var(--green-pale);
  border-radius: 12px;
  text-align: center;
}
.chantier__cta h2 { margin: 0 0 0.5rem; }
.chantier__cta p { margin: 0 0 1.25rem; color: var(--text-light); }
.chantier__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.chantier__back { margin-top: 1.5rem; }
.chantier__back a { color: var(--green); text-decoration: none; font-weight: 600; }
.chantier__back a:hover { text-decoration: underline; }

/* ---- Liste des réalisations ---- */
.chantier-list__intro {
  max-width: 65ch;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.chantier-list__empty {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 10px;
  color: var(--text-light);
}
.chantier-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.chantier-card {
  background: var(--white);
  border: 1px solid #e6ece2;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.chantier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}
.chantier-card__link { text-decoration: none; color: inherit; display: block; }
.chantier-card__media img { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.chantier-card__body { padding: 1.1rem 1.25rem 1.4rem; }
.chantier-card__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.chantier-card__body h2 { font-size: 1.1rem; margin: 0 0 0.5rem; line-height: 1.35; }
.chantier-card__excerpt { font-size: 0.9rem; color: var(--text-light); margin: 0 0 0.75rem; }
.chantier-card__more { font-weight: 600; color: var(--orange); font-size: 0.9rem; }

@media (max-width: 640px) {
  .chantier__facts { gap: 0.75rem 1.25rem; }
  .chantier__cta { padding: 1.25rem; }
}
