*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.ol-hero {
  background: #042C53;
  padding: 36px 20px 32px;
  text-align: center;
}
.ol-hero__title {
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.ol-hero__sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.ol-hero__search {
  display: inline-flex;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.ol-hero__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1a1a1a;
  background: transparent;
}
.ol-hero__input::placeholder { color: #9ca3af; }
.ol-hero__btn {
  background: #185FA5;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  transition: background .18s;
  white-space: nowrap;
}
.ol-hero__btn:hover { background: #0d4a8a; }

/* ══════════════════════════════════════
   ONGLETS TYPE
══════════════════════════════════════ */
.ol-tabs {
  background: #f8f9fb;
  border-bottom: 1px solid #e4e7ec;
  padding: 8px 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.ol-tab {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  padding: 10px 16px 12px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .18s, border-color .18s;
}
.ol-tab:hover { color: #185FA5; }
.ol-tab.active {
  color: #185FA5;
  border-bottom-color: #185FA5;
  font-weight: 600;
}

/* ══════════════════════════════════════
   PAGE BODY
══════════════════════════════════════ */
.ol-body {
  background: #f2f4f7;
  min-height: 60vh;
  padding: 28px 0 64px;
}
.ol-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 20px;
  align-items: start;
}

/* ══════════════════════════════════════
   SIDEBAR FILTRES
══════════════════════════════════════ */
.ol-sidebar {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #dde3ec;
  overflow: hidden;
  position: sticky;
  top: 20px;
  box-shadow: 0 4px 24px rgba(4,44,83,.08);
}
.ol-sidebar__head {
  padding: 15px 18px;
  background: linear-gradient(135deg, #eef5ff 0%, #e4effa 100%);
  border-bottom: 1.5px solid #d5e3f5;
  display: flex;
  align-items: center;
  gap: 9px;
}
.ol-sidebar__head-icon {
  color: #185FA5;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}
.ol-sidebar__head-title {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 800;
  color: #042C53;
  letter-spacing: -0.01em;
  flex: 1;
}
.ol-sidebar__head-count {
  background: #185FA5;
  color: #fff;
  border-radius: 99px;
  padding: 1px 9px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.ol-fgroup {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f2f5;
}
.ol-fgroup label {
  display: block;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.ol-finput,
.ol-fselect {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color .18s;
  appearance: none;
  -webkit-appearance: none;
}
.ol-finput:focus,
.ol-fselect:focus { border-color: #185FA5; box-shadow: 0 0 0 3px rgba(24,95,165,0.1); }
.ol-fselect {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20' stroke='%236b7280' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 34px;
  cursor: pointer;
}
.ol-sidebar__actions {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1.5px solid #eef1f6;
}
.ol-btn-apply {
  width: 100%;
  padding: 10px 16px;
  background: #185FA5;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
  text-align: center;
}
.ol-btn-apply:hover { background: #0d4a8a; }
.ol-btn-reset {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  background: #fff5f5;
  color: #dc2626;
  border: 1.5px solid #fecaca;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .15s, border-color .15s, color .15s;
}
.ol-btn-reset:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

/* ══════════════════════════════════════
   BARRE DE RÉSULTATS
══════════════════════════════════════ */
.ol-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.ol-bar__count {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}
.ol-bar__count span {
  color: #185FA5;
}
.ol-bar__active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ol-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e8f0fa;
  color: #185FA5;
  border-radius: 20px;
  padding: 3px 10px 3px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
}

/* ══════════════════════════════════════
   LISTE DES OFFRES
══════════════════════════════════════ */
.ol-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ══════════════════════════════════════
   CARTE OFFRE
══════════════════════════════════════ */
.ol-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .15s;
  position: relative;
  align-items: flex-start;
}
.ol-card:hover {
  border-color: #185FA5;
  box-shadow: 0 4px 20px rgba(24,95,165,0.1);
  transform: translateY(-1px);
}

/* Avatar entreprise */
.ol-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  color: #185FA5;
  letter-spacing: -0.02em;
}

/* Corps de la carte */
.ol-card__body { flex: 1; min-width: 0; }
.ol-card__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #042C53;
  margin-bottom: 3px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ol-card:hover .ol-card__title { color: #185FA5; }
.ol-card__company {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}
.ol-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 10px;
}
.ol-card__meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.ol-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  padding: 3px 9px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ol-badge--type {
  background: #042C53;
  color: #fff;
}
.ol-badge--loc {
  background: #f3f4f6;
  color: #374151;
}
.ol-badge--secteur {
  background: #fef3c7;
  color: #92400e;
}

/* Colonne droite */
.ol-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  min-width: 100px;
}
.ol-card__date {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: #6b7280;
  white-space: nowrap;
}
.ol-card__deadline {
  font-family: var(--font-body);
  font-size: 11px;
  color: #d97706;
  font-weight: 600;
  white-space: nowrap;
}
.ol-card__cta {
  display: inline-block;
  padding: 7px 14px;
  background: #185FA5;
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s;
}
.ol-card:hover .ol-card__cta { background: #0d4a8a; }

/* ══════════════════════════════════════
   ÉTAT VIDE
══════════════════════════════════════ */
.ol-empty {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  padding: 56px 20px;
  text-align: center;
}
.ol-empty__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}
.ol-empty__sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #6b7280;
  margin-bottom: 20px;
}
.ol-empty__link {
  display: inline-block;
  padding: 10px 22px;
  background: #185FA5;
  color: #fff;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s;
}
.ol-empty__link:hover { background: #0d4a8a; }

/* ══════════════════════════════════════
   TOGGLE FILTRES MOBILE
══════════════════════════════════════ */
.ol-filter-toggle {
  display: none;
  width: 100%;
  padding: 11px 16px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 860px) {
  .ol-wrap { grid-template-columns: 1fr; }
  .ol-sidebar { position: static; }
  .ol-card__right { display: none; }
  .ol-card__meta { margin-top: 6px; }
  .ol-filter-toggle { display: flex; }
  .ol-sidebar { display: none; }
  .ol-sidebar.open { display: block; }
}
@media (max-width: 560px) {
  .ol-wrap { padding: 0 14px; }
  .ol-hero { padding: 24px 14px 22px; }
  .ol-card { flex-direction: column; gap: 10px; padding: 14px; }
  .ol-card__avatar { width: 42px; height: 42px; font-size: 14px; }
  .ol-tabs { padding: 6px 14px 0; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .ol-tab { padding: 8px 11px 10px; font-size: 12px; flex-shrink: 0; }
}
@media (max-width: 768px) {
  .ol-hero__input, .ol-finput, .ol-fselect { font-size: 16px !important; }
}
