* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1f2937; background: #f6f8f6; line-height: 1.55; }
.app-topbar { display: flex; align-items: center; gap: 16px; padding: 12px 20px; background: #1f5f3a; color: #fff; flex-wrap: wrap; }
.app-topbar a { color: #fff; text-decoration: none; font-size: 14px; }
.app-topbar a:hover { text-decoration: underline; }
.app-topbar .brand { font-weight: 700; }
.app-topbar .spacer { flex: 1; }
.app-topbar .who { opacity: .9; font-size: 14px; }
.app-main { padding: 32px 20px; }
.wrap { max-width: 1000px; margin: 0 auto; }
h1 { font-size: 24px; margin: 0 0 16px; }
h2 { font-size: 18px; margin: 24px 0 12px; }
.form { display: flex; flex-direction: column; gap: 14px; background: #fff; padding: 24px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; font-family: inherit; }
.form .hint { font-weight: 400; color: #6b7280; font-size: 13px; }
.checkbox { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
.btn { display: inline-block; text-decoration: none; background: #1f5f3a; color: #fff; border: 0; padding: 12px 20px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn:hover { background: #184c2e; }
.alert { padding: 12px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fdecea; color: #b3261e; }
.alert-success { background: #e8f5e9; color: #1b5e20; }
.muted { color: #6b7280; font-size: 14px; }
.muted a { color: #1f5f3a; }
.box { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
th { background: #f3f4f6; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-published { background: #dcfce7; color: #166534; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.stat { display: inline-block; background: #fff; padding: 16px 20px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin: 0 12px 12px 0; }
.stat .num { font-size: 26px; font-weight: 700; color: #1f5f3a; }
.stat .lbl { font-size: 13px; color: #6b7280; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); text-decoration: none; color: inherit; display: block; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.card-img { width: 100%; height: 140px; object-fit: cover; display: block; background: #e5e7eb; }
.card-body { padding: 12px 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 12px 0; }
.gallery img { width: 100%; border-radius: 8px; }
.thumb-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.thumb { text-align: center; }
.thumb img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; display: block; }
.filter { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.filter input { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; }
.mod-item { margin-bottom: 16px; }
.mod-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.mod-actions input[type=text] { padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 6px; }
.btn-ok { background: #166534; }
.btn-warn { background: #b45309; }
.btn-danger { background: #b91c1c; }

/* -------- Pages annuaire / demandes : mise en avant -------- */
.hero {
  background: linear-gradient(135deg, #1E4D2B 0%, #2E7D4F 100%);
  color: #fff;
  border-radius: 16px;
  padding: 44px 40px;
  margin-bottom: 28px;
}
.hero h1 { color: #fff; font-size: 30px; line-height: 1.2; margin: 0 0 14px; }
.hero p { color: rgba(255,255,255,.92); font-size: 16px; max-width: 640px; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: #1E4D2B; }
.btn-light:hover { background: #eaf3ec; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.trust-item { color: rgba(255,255,255,.92); font-size: 13px; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 4px 0 8px; }
.step { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #1E4D2B; color: #fff; font-weight: 700; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 15px; }
.step p { margin: 0; font-size: 13px; color: #6b7280; }
.section-title { font-size: 20px; margin: 28px 0 14px; }
.empty-state { background: #fff; border: 2px dashed #c7e0cd; border-radius: 12px; padding: 36px 24px; text-align: center; }
.empty-state p { color: #5b6357; margin: 0 0 18px; font-size: 15px; }
.card { transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); }
.card .card-cat { color: #2E7D4F; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.card .card-loc { color: #6b7280; font-size: 13px; margin-top: 4px; }
.filter { align-items: center; }
.filter label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #5b6357; font-weight: 600; }
.filter button { align-self: flex-end; }
