/* ===== FRICA SERVICES — pages « Prestataires » et « Missions » ===== */
.pub-section { background: var(--brand-pale); padding: 56px 5% 96px; min-height: 40vh; }
.pub-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; max-width: 760px; }
.pub-filters input, .pub-filters select {
  font: inherit; font-size: 15px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #dbe1f5; background: #fff; color: #111827;
}
.pub-filters input { flex: 1 1 260px; }
.pub-filters select { flex: 0 1 240px; }
.pub-filters input:focus, .pub-filters select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(38,67,185,.12); }
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.pub-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1.5px solid #e6eaf8; border-top: 4px solid var(--brand); border-radius: 16px; padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pub-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(26,45,122,.14); border-color: var(--violet); }
.pub-card-top { display: flex; align-items: center; gap: 14px; }
.pub-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-pale); display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.pub-prenom { font-size: 18px; font-weight: 800; color: #111827; margin-bottom: 4px; }
.pub-ref { display: inline-block; background: var(--brand-pale); color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px; margin-right: 8px; }
.pub-dispo { font-size: 12px; font-weight: 700; color: #15803d; }
.pub-card h3 { margin: 0; font-size: 19px; line-height: 1.3; color: #111827; }
.pub-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #4b5563; }
.pub-desc { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.65; color: #4b5563; white-space: pre-wrap; overflow-wrap: anywhere; }
.pub-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; padding: 13px 20px; border-radius: 10px; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.pub-btn:hover { background: var(--brand-dark); transform: translateY(-2px); }
.pub-empty { grid-column: 1 / -1; background: #fff; border: 1.5px dashed #c9d2f2; border-radius: 16px; padding: 48px 24px; text-align: center; color: #4b5563; font-size: 16px; line-height: 1.7; }
.pub-empty a { color: var(--brand); font-weight: 700; }
@media (max-width: 640px) { .pub-grid { grid-template-columns: 1fr; } .pub-section { padding: 40px 5% 72px; } }

.jobs-count[hidden] { display: none; }
.pub-grid, .pub-filters { min-width: 0; }

/* ===== Correctifs mobile ===== */
.pub-dispo { white-space: nowrap; }
@media (max-width: 600px) {
  .pub-filters input, .pub-filters select { flex: 1 1 100%; }
}
