/* =========================================================================
   Offre-emploi.sn — design system
   Valeurs extraites des artboards "Refonte site web moderne" (.dc.html).
   Les attributs style-hover="" du template sont convertis en :hover ici.
   ========================================================================= */

:root{
  /* Marque */
  --oe-teal:#01828f;        --oe-teal-dark:#016b76;
  --oe-teal-soft:#e6f3f4;   --oe-teal-soft-h:#d3ebec;
  --oe-accent:#dd2b00;      --oe-accent-dark:#b82400;  --oe-accent-soft:#fde8e2;
  /* Texte */
  --oe-ink:#10201f;         --oe-ink-2:#33443f;        --oe-ink-3:#5d6d69;
  --oe-muted:#7d8c89;       --oe-muted-2:#8b9995;
  /* Bordures */
  --oe-border:#e8eceb;      --oe-border-2:#dde3e2;     --oe-border-3:#e2eaea;
  --oe-border-4:#cddedd;    --oe-border-pill:#bfe0e2;  --oe-divider:#eef1f0;
  --oe-border-dash:#b9c9c7;
  /* Fonds */
  --oe-bg-soft:#f7fbfb;     --oe-bg-soft-2:#f4fbfb;
  --oe-bg-neutral:#f4f7f6;  --oe-bg-tag:#f0f3f2;
  --oe-footer:#01282c;
  /* Effets */
  --oe-shadow-hero:0 24px 60px -24px rgba(0,32,35,.45);
  --oe-shadow-search:0 12px 32px -20px rgba(0,32,35,.3);
  /* Gabarit */
  --oe-container:1240px;
  --oe-gutter:clamp(16px, 4vw, 32px);
  --oe-font:Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  --oe-font-display:'Bricolage Grotesque', Figtree, system-ui, sans-serif;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}

/* L'attribut `hidden` doit l'emporter sur les display:flex/grid de ce fichier. */
[hidden]{display:none !important}
body{
  margin:0; background:#fff; color:var(--oe-ink);
  font-family:var(--oe-font); -webkit-font-smoothing:antialiased;
}
a{color:var(--oe-teal); text-decoration:none}
a:hover{color:var(--oe-accent)}
img{max-width:100%}
.oe-page{width:100%; overflow-x:hidden}
.oe-skip{position:absolute; left:-9999px}
.oe-skip:focus{left:12px; top:12px; z-index:100; background:#fff; padding:10px 16px; border-radius:10px}
:focus-visible{outline:2px solid var(--oe-teal); outline-offset:2px}

/* ---------- Gabarit ---------- */
.oe-container{max-width:var(--oe-container); margin:0 auto; padding-left:var(--oe-gutter); padding-right:var(--oe-gutter)}
.oe-section{max-width:var(--oe-container); margin:0 auto; padding:96px 32px 0}
.oe-section--flush{padding-top:40px}
.oe-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- En-tête ---------- */
.oe-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--oe-border);
}
.oe-header__inner{
  position:relative;
  max-width:var(--oe-container); margin:0 auto;
  padding:14px var(--oe-gutter);
  display:flex; flex-wrap:wrap; align-items:center; gap:12px clamp(16px,3vw,40px);
}
/* Au-delà de 720px le panneau s'efface : nav et actions redeviennent enfants
   directs de la barre, la mise en page de la maquette est donc inchangée. */
.oe-header__panel{display:contents}
.oe-header__logo{display:flex; align-items:center; flex-shrink:0}
.oe-header__logo img{height:34px; width:auto; display:block}
.oe-nav{
  display:flex; align-items:center; gap:10px clamp(14px,2.2vw,28px);
  font-size:15px; font-weight:500; margin-right:auto; flex-wrap:wrap;
}
.oe-nav a{color:var(--oe-ink-2)}
.oe-nav a:hover{color:var(--oe-teal)}
.oe-nav a.is-active{color:var(--oe-teal); font-weight:600}
.oe-header__actions{display:flex; align-items:center; gap:14px}

.oe-burger{
  display:none; margin-left:auto; flex-shrink:0;
  width:44px; height:44px; padding:0; border:1px solid var(--oe-border-2);
  border-radius:12px; background:#fff; color:var(--oe-ink-2);
  align-items:center; justify-content:center; cursor:pointer;
}
.oe-burger:hover{border-color:var(--oe-teal); color:var(--oe-teal)}
.oe-burger__icon{display:block}
.oe-burger__icon--close{display:none}
.oe-header.is-open .oe-burger{border-color:var(--oe-teal); color:var(--oe-teal)}
.oe-header.is-open .oe-burger__icon--open{display:none}
.oe-header.is-open .oe-burger__icon--close{display:block}

/* ---------- Boutons ---------- */
.oe-btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--oe-font); font-size:16px; font-weight:700;
  border-radius:999px; min-height:44px; padding:15px 30px;
  border:1px solid transparent; cursor:pointer; text-align:center;
  transition:background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.oe-btn--teal{background:var(--oe-teal); color:#fff}
.oe-btn--teal:hover{background:var(--oe-teal-dark); color:#fff}
.oe-btn--accent{background:var(--oe-accent); color:#fff}
.oe-btn--accent:hover{background:var(--oe-accent-dark); color:#fff}
.oe-btn--outline{background:#fff; color:var(--oe-teal); border-color:var(--oe-border-4)}
.oe-btn--outline:hover{border-color:var(--oe-teal); color:var(--oe-teal)}
.oe-btn--ghost{background:#fff; color:var(--oe-ink-2); border-color:var(--oe-border-2)}
.oe-btn--ghost:hover{border-color:var(--oe-teal); color:var(--oe-teal)}
.oe-btn--soft{background:var(--oe-teal-soft); color:var(--oe-teal); border-color:transparent}
.oe-btn--soft:hover{background:var(--oe-teal-soft-h); color:var(--oe-teal)}
.oe-btn--white{background:#fff; color:var(--oe-teal)}
.oe-btn--white:hover{color:var(--oe-accent)}
.oe-btn--sm{font-size:15px; padding:12px 20px; min-height:44px}
.oe-btn--block{display:flex; width:100%}
.oe-header__cta{font-size:15px; font-weight:600; padding:11px 20px}

/* ---------- Titres ---------- */
.oe-h1{
  margin:0; font-family:var(--oe-font-display); font-weight:700;
  font-size:clamp(30px, 5.4vw, 44px); line-height:1.08; letter-spacing:-.02em;
  color:var(--oe-ink); text-wrap:pretty;
}
.oe-h2{
  margin:0; font-family:var(--oe-font-display); font-weight:600;
  font-size:clamp(26px, 4.2vw, 38px); line-height:1.1; letter-spacing:-.015em;
  color:var(--oe-ink);
}
.oe-h3{
  margin:0 0 12px; font-family:var(--oe-font-display); font-weight:600;
  font-size:clamp(21px, 2.9vw, 26px); letter-spacing:-.01em; color:var(--oe-ink);
}
.oe-lede{margin:12px 0 0; font-size:17px; color:var(--oe-ink-3)}
.oe-eyebrow{
  display:block; font-size:13px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--oe-muted);
}
.oe-sectionhead{display:flex; align-items:flex-end; justify-content:space-between; gap:32px; flex-wrap:wrap}
.oe-sectionhead__link{font-size:16px; font-weight:600; color:var(--oe-teal)}
.oe-sectionhead__link:hover{color:var(--oe-accent)}

/* ---------- Fil d'Ariane ---------- */
.oe-crumbs{display:flex; align-items:center; gap:8px; font-size:14px; color:var(--oe-muted); flex-wrap:wrap}
.oe-crumbs a{color:var(--oe-muted)}
.oe-crumbs a:hover{color:var(--oe-teal)}
.oe-crumbs__current{color:var(--oe-ink-2); font-weight:600}

/* ---------- Hero (accueil) ---------- */
.oe-hero{position:relative; padding:48px 32px 0}
.oe-hero__box{
  max-width:var(--oe-container); margin:0 auto; position:relative;
  border-radius:28px; overflow:hidden; background:var(--oe-teal);
}
.oe-hero__img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.45}
.oe-hero__veil{position:absolute; inset:0;
  background:linear-gradient(105deg, #01828f 12%, rgba(1,130,143,.72) 58%, rgba(1,60,66,.55) 100%)}
.oe-hero__inner{position:relative; padding:clamp(40px,7vw,84px) clamp(20px,5vw,64px) clamp(36px,5vw,72px)}
.oe-hero__eyebrow{
  margin:0 0 20px; font-size:14px; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.82); font-weight:600;
}
.oe-hero__title{
  margin:0; font-family:var(--oe-font-display); font-weight:700;
  font-size:clamp(34px, 6.2vw, 62px); line-height:1.04; letter-spacing:-.02em;
  color:#fff; max-width:15ch; text-wrap:pretty;
}
.oe-hero__sub{margin:24px 0 0; font-size:19px; line-height:1.5; color:rgba(255,255,255,.9); max-width:46ch}
.oe-hero__tags{margin-top:22px; display:flex; flex-wrap:wrap; align-items:center; gap:10px}
.oe-hero__tags-label{font-size:14px; color:rgba(255,255,255,.78); margin-right:4px}
.oe-hero__tag{
  font-size:14px; font-weight:600; color:#fff;
  border:1px solid rgba(255,255,255,.45); padding:8px 16px; border-radius:999px;
  transition:background 160ms ease, color 160ms ease;
}
.oe-hero__tag:hover{background:#fff; color:var(--oe-teal)}

/* ---------- Barre de recherche ---------- */
.oe-search{
  margin-top:40px; background:#fff; border-radius:20px; padding:14px;
  display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:8px;
  box-shadow:var(--oe-shadow-hero);
}
.oe-search--inline{
  margin-top:26px; border:1px solid var(--oe-border-3); border-radius:18px; padding:10px;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:6px;
  box-shadow:var(--oe-shadow-search);
}
.oe-search__field{display:flex; flex-direction:column; gap:3px; padding:10px 16px; border-radius:12px; min-width:0}
.oe-search--inline .oe-search__field{padding:8px 16px}
.oe-search__field + .oe-search__field{border-left:1px solid var(--oe-border)}
.oe-search__label{
  font-size:11.5px; font-weight:700; letter-spacing:.09em;
  text-transform:uppercase; color:var(--oe-muted);
}
.oe-search__input,
.oe-search__select{
  border:none; outline:none; font-family:var(--oe-font); font-size:16px;
  color:var(--oe-ink); background:transparent; width:100%; min-width:0;
}
.oe-search__select{appearance:none; cursor:pointer}
.oe-search__submit{
  border:none; cursor:pointer; background:var(--oe-accent); color:#fff;
  font-family:var(--oe-font); font-size:16px; font-weight:700;
  padding:0 34px; min-height:56px; border-radius:14px; transition:background 160ms ease;
}
.oe-search__submit:hover{background:var(--oe-accent-dark)}
.oe-search--inline .oe-search__submit{padding:0 30px; min-height:52px; border-radius:12px}

/* ---------- Bandeau de page ---------- */
.oe-pagehead{border-bottom:1px solid var(--oe-border); background:var(--oe-bg-soft)}
.oe-pagehead__inner{max-width:var(--oe-container); margin:0 auto; padding:36px var(--oe-gutter) 32px}
.oe-pagehead__title{margin:14px 0 0}
.oe-pagehead__count{margin:12px 0 0; font-size:17.5px; color:var(--oe-ink-3)}

/* ---------- Secteurs (cartes) ---------- */
.oe-grid-sectors{margin-top:32px; display:grid; grid-template-columns:repeat(auto-fit, minmax(215px, 1fr)); gap:14px}
.oe-sector{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:22px 24px; border:1px solid var(--oe-border); border-radius:16px;
  background:#fff; transition:all 160ms ease;
}
.oe-sector:hover{border-color:var(--oe-teal); background:var(--oe-bg-soft-2); transform:translateY(-2px)}
.oe-sector__name{font-size:16px; font-weight:600; color:var(--oe-ink); line-height:1.3}
.oe-sector__count{
  font-size:14px; font-weight:700; color:var(--oe-teal); background:var(--oe-teal-soft);
  padding:5px 11px; border-radius:999px; flex-shrink:0;
}

/* ---------- Liste d'offres ---------- */
.oe-joblist{margin-top:28px; border:1px solid var(--oe-border); border-radius:20px; overflow:hidden}
.oe-joblist--tight{margin-top:20px}
.oe-job{
  display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px;
  padding:18px 22px; border-bottom:1px solid var(--oe-divider); background:#fff;
  transition:background 140ms ease;
}
.oe-job:last-child{border-bottom:none}
.oe-job:hover{background:var(--oe-bg-soft)}
.oe-job__logo{
  width:52px; height:52px; border-radius:12px; background:var(--oe-teal-soft);
  color:var(--oe-teal); display:flex; align-items:center; justify-content:center;
  font-size:17px; font-weight:700; flex-shrink:0; overflow:hidden;
}
.oe-job__logo img{width:100%; height:100%; object-fit:contain; display:block}
.oe-job__main{display:flex; flex-direction:column; gap:4px; min-width:140px; flex:1 1 220px}
.oe-job__title{
  font-size:17px; font-weight:600; color:var(--oe-ink); line-height:1.25;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.oe-job__company{font-size:14.5px; color:var(--oe-ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.oe-job__location{font-size:15px; color:var(--oe-ink-2); flex:0 0 auto; min-width:96px}
.oe-job__date{font-size:14px; color:var(--oe-muted-2); text-align:right; flex:0 0 auto; min-width:96px; margin-left:auto}

/* ---------- Pastilles / étiquettes ---------- */
.oe-pill{
  font-size:13.5px; font-weight:700; color:var(--oe-teal);
  border:1px solid var(--oe-border-pill); padding:5px 12px; border-radius:999px;
  flex:0 0 auto; white-space:nowrap;
}
.oe-badge{font-size:14px; font-weight:700; color:var(--oe-teal); background:var(--oe-teal-soft); padding:7px 14px; border-radius:999px}
.oe-badge--ghost{font-weight:600; color:var(--oe-ink-2); background:#fff; border:1px solid var(--oe-border-2)}
.oe-tag{
  display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; border-radius:6px; padding:5px 10px;
  color:var(--oe-ink-2); background:var(--oe-bg-tag);
}
.oe-tag--teal{color:var(--oe-teal); background:var(--oe-teal-soft)}
.oe-tag--accent{color:var(--oe-accent); background:var(--oe-accent-soft)}
.oe-chip{
  cursor:pointer; font-family:var(--oe-font); font-size:14px; font-weight:600;
  color:var(--oe-teal); background:var(--oe-teal-soft); border:none;
  padding:8px 14px; border-radius:999px; min-height:36px;
  display:inline-flex; align-items:center; gap:8px; transition:background 140ms ease;
}
.oe-chip:hover{background:var(--oe-teal-soft-h); color:var(--oe-teal)}
.oe-filterpill{
  cursor:pointer; font-family:var(--oe-font); font-size:14.5px; font-weight:600;
  padding:10px 18px; min-height:44px; border-radius:999px;
  border:1px solid var(--oe-border-2); background:#fff; color:var(--oe-ink-2);
  display:inline-flex; align-items:center; transition:all 140ms ease;
}
.oe-filterpill:hover{border-color:var(--oe-teal); color:var(--oe-teal)}
.oe-filterpill.is-active{background:var(--oe-teal); border-color:var(--oe-teal); color:#fff}
.oe-filterpill.is-active:hover{background:var(--oe-teal-dark); color:#fff}

/* ---------- Colonne de filtres ---------- */
.oe-layout{
  max-width:var(--oe-container); margin:0 auto; padding:40px 32px 0;
  display:flex; flex-wrap:wrap; gap:40px; align-items:flex-start;
}
.oe-layout--detail{gap:48px}
.oe-aside{
  position:sticky; top:96px; display:flex; flex-direction:column; gap:28px;
  flex:1 1 240px; max-width:268px; min-width:220px;
}
.oe-aside--detail{gap:20px; min-width:260px; flex:1 1 290px; max-width:340px}
.oe-main{flex:1 1 520px; min-width:0}
.oe-main--article{min-width:0; flex:1 1 520px}
.oe-facet{display:flex; flex-direction:column; gap:12px}
.oe-facet__title{font-size:15px; font-weight:700; color:var(--oe-ink)}
.oe-facet__row{
  display:flex; align-items:center; gap:10px; cursor:pointer;
  font-size:15.5px; color:var(--oe-ink-2); line-height:1.3;
}
.oe-facet__row input{width:17px; height:17px; accent-color:var(--oe-teal); cursor:pointer; flex-shrink:0}
.oe-facet__label{flex:1}
.oe-facet__count{font-size:13.5px; color:var(--oe-muted-2)}
.oe-rule{height:1px; background:var(--oe-border); border:0; margin:0}
.oe-filterbar{display:flex; align-items:baseline; justify-content:space-between; gap:12px}
.oe-reset{
  border:none; background:none; cursor:pointer; font-family:var(--oe-font);
  font-size:14px; font-weight:600; color:var(--oe-accent); padding:0;
}
.oe-alertbox{background:var(--oe-teal); border-radius:18px; padding:24px}
.oe-alertbox__title{display:block; font-size:17px; font-weight:700; color:#fff; line-height:1.3}
.oe-alertbox__text{display:block; margin-top:8px; font-size:14.5px; color:rgba(255,255,255,.85); line-height:1.45}
.oe-alertbox .oe-btn{margin-top:16px}

/* ---------- Tri / pagination / vide ---------- */
.oe-toolbar{display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap}
.oe-chips{display:flex; flex-wrap:wrap; gap:8px}
.oe-sort{display:flex; align-items:center; gap:8px; font-size:14.5px; color:var(--oe-ink-3); margin-left:auto}
.oe-sort select{
  font-family:var(--oe-font); font-size:14.5px; font-weight:600; color:var(--oe-ink);
  border:1px solid var(--oe-border-2); border-radius:10px; padding:9px 12px;
  background:#fff; cursor:pointer;
}
.oe-empty{padding:56px 24px; text-align:center}
.oe-empty__title{display:block; font-size:18px; font-weight:600; color:var(--oe-ink)}
.oe-empty .oe-btn{margin-top:14px}
.oe-pager{margin-top:28px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap}
.oe-pager__range{font-size:14.5px; color:var(--oe-ink-3)}
.oe-pager__pages{display:flex; gap:8px; flex-wrap:wrap}
.oe-pager__page{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--oe-font); font-size:15px; font-weight:600;
  min-width:44px; min-height:44px; padding:0 12px; border-radius:12px;
  border:1px solid var(--oe-border-2); background:#fff; color:var(--oe-ink-2);
  cursor:pointer; transition:all 140ms ease;
}
.oe-pager__page:hover{border-color:var(--oe-teal); color:var(--oe-teal)}
.oe-pager__page.is-active{background:var(--oe-teal); border-color:var(--oe-teal); color:#fff}
.oe-pager__page.is-disabled{opacity:.45; pointer-events:none}

/* ---------- Bandeau CTA ---------- */
.oe-cta{max-width:var(--oe-container); margin:96px auto 0; padding:0 32px}
.oe-cta__box{
  background:var(--oe-bg-neutral); border-radius:28px; padding:clamp(28px,5vw,64px);
  display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:clamp(28px,4vw,56px); align-items:center;
}
.oe-cta__box--teal{background:var(--oe-teal)}
.oe-cta__title{max-width:22ch}
.oe-steps{margin-top:32px; display:flex; flex-direction:column; gap:18px}
.oe-step{display:flex; align-items:flex-start; gap:16px}
.oe-step__n{
  width:30px; height:30px; border-radius:999px; background:var(--oe-accent); color:#fff;
  font-size:14px; font-weight:700; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; margin-top:2px;
}
.oe-step__text{font-size:17.5px; line-height:1.45; color:var(--oe-ink-2)}
.oe-cta__actions{margin-top:36px; display:flex; gap:12px; flex-wrap:wrap}
.oe-cta__media{
  border-radius:20px; overflow:hidden; background:var(--oe-teal-soft);
  aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; position:relative;
}
.oe-cta__media img{width:100%; height:100%; object-fit:cover; display:block}

/* ---------- Pied de page ---------- */
.oe-footer{margin-top:96px; background:var(--oe-footer); color:rgba(255,255,255,.72)}
.oe-footer__grid{
  max-width:var(--oe-container); margin:0 auto;
  padding:64px var(--oe-gutter) 40px;
  display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:36px 48px;
}
.oe-footer__logo{height:30px; width:auto; display:block; filter:brightness(0) invert(1)}
.oe-footer__pitch{margin:20px 0 0; font-size:15.5px; line-height:1.6; max-width:34ch}
.oe-footer__col{display:flex; flex-direction:column; gap:12px}
.oe-footer__title{font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#fff}
.oe-footer a{font-size:15.5px; color:rgba(255,255,255,.72)}
.oe-footer a:hover{color:#fff}
.oe-footer__bar{
  max-width:var(--oe-container); margin:0 auto;
  padding:20px var(--oe-gutter) 40px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; font-size:14.5px;
}
.oe-footer__bar-links{display:flex; gap:24px; flex-wrap:wrap}

/* ---------- Détail offre ---------- */
.oe-detailhead{background:var(--oe-bg-soft); border-bottom:1px solid var(--oe-border)}
.oe-detailhead__inner{max-width:var(--oe-container); margin:0 auto; padding:32px var(--oe-gutter) 36px}
.oe-detailhead__row{margin-top:22px; display:flex; align-items:flex-start; gap:24px; flex-wrap:wrap}
.oe-detailhead__logo{
  width:76px; height:76px; border-radius:18px; background:#fff;
  border:1px solid var(--oe-border-3); color:var(--oe-teal);
  display:flex; align-items:center; justify-content:center;
  font-size:24px; font-weight:700; flex-shrink:0; overflow:hidden;
}
.oe-detailhead__logo img{width:100%; height:100%; object-fit:contain; display:block; padding:6px}
.oe-detailhead__id{flex:1 1 420px; min-width:260px}
.oe-detailhead__title{
  margin:0; font-family:var(--oe-font-display); font-weight:700;
  font-size:clamp(28px, 5.2vw, 42px); line-height:1.08; letter-spacing:-.02em;
  color:var(--oe-ink); text-wrap:pretty;
}
.oe-detailhead__sub{margin:10px 0 0; font-size:18px; color:var(--oe-ink-2)}
.oe-detailhead__badges{margin-top:18px; display:flex; flex-wrap:wrap; gap:8px}
.oe-article{display:flex; flex-direction:column; gap:36px}
.oe-prose{font-size:17.5px; line-height:1.65; color:var(--oe-ink-2)}
.oe-prose > *:first-child{margin-top:0}
.oe-prose > *:last-child{margin-bottom:0}
.oe-prose p{margin:0 0 16px; text-wrap:pretty}
.oe-prose h1,.oe-prose h2,.oe-prose h3,.oe-prose h4{
  font-family:var(--oe-font-display); font-weight:600; color:var(--oe-ink);
  letter-spacing:-.01em; margin:28px 0 12px; line-height:1.25;
}
.oe-prose h1{font-size:clamp(23px,3.1vw,28px)}
.oe-prose h2{font-size:clamp(21px,2.9vw,26px)}
.oe-prose h3{font-size:19px}
.oe-prose h4{font-size:17.5px}
.oe-prose ul,.oe-prose ol{margin:0 0 16px; padding-left:22px; display:flex; flex-direction:column; gap:10px}
.oe-prose li{line-height:1.6}
.oe-prose a{color:var(--oe-teal); text-decoration:underline}
.oe-prose a:hover{color:var(--oe-accent)}
.oe-prose strong{font-weight:700; color:var(--oe-ink)}
.oe-prose blockquote{
  margin:0 0 16px; padding:14px 20px; border-left:3px solid var(--oe-teal);
  background:var(--oe-bg-soft); border-radius:0 12px 12px 0; color:var(--oe-ink-3);
}
.oe-prose img{border-radius:14px; height:auto}
.oe-prose table{width:100%; border-collapse:collapse; margin:0 0 16px; font-size:16px}
.oe-prose th,.oe-prose td{border:1px solid var(--oe-border); padding:10px 12px; text-align:left}
.oe-list{margin:0; padding-left:22px; display:flex; flex-direction:column; gap:10px; font-size:17.5px; line-height:1.6; color:var(--oe-ink-2)}
.oe-panel{border:1px solid var(--oe-border-3); border-radius:20px; padding:26px}
.oe-panel__title{display:block; font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--oe-muted)}
.oe-facts{margin-top:18px; display:flex; flex-direction:column; gap:14px}
.oe-fact{display:flex; align-items:baseline; justify-content:space-between; gap:16px; font-size:15.5px}
.oe-fact__k{color:var(--oe-muted)}
.oe-fact__v{color:var(--oe-ink); font-weight:600; text-align:right}
.oe-panel .oe-btn{margin-top:22px}
.oe-company{margin-top:16px; display:flex; align-items:center; gap:14px}
.oe-company__logo{
  width:48px; height:48px; border-radius:12px; background:var(--oe-teal-soft); color:var(--oe-teal);
  display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:700;
  flex-shrink:0; overflow:hidden;
}
.oe-company__logo img{width:100%; height:100%; object-fit:contain; display:block}
.oe-company__name{font-size:16.5px; font-weight:600; color:var(--oe-ink); line-height:1.3}
.oe-company__desc{margin:16px 0 0; font-size:15.5px; line-height:1.6; color:var(--oe-ink-3)}
.oe-company__link{margin-top:14px; display:inline-flex; font-size:15.5px; font-weight:600; color:var(--oe-teal)}
.oe-company__link:hover{color:var(--oe-accent)}
.oe-shares{margin-top:14px; display:flex; flex-wrap:wrap; gap:8px}
.oe-share{
  font-size:14.5px; font-weight:600; color:var(--oe-ink-2);
  border:1px solid var(--oe-border-2); padding:10px 16px; border-radius:999px;
  min-height:40px; display:inline-flex; align-items:center; cursor:pointer;
  background:#fff; font-family:var(--oe-font); transition:all 140ms ease;
}
.oe-share:hover{border-color:var(--oe-teal); color:var(--oe-teal)}
.oe-share--onteal{background:#fff; color:var(--oe-teal); border-color:transparent; justify-content:space-between; width:100%}
.oe-expired{
  background:var(--oe-accent-soft); border:1px solid #f3c9bd; border-radius:16px;
  padding:20px 24px; color:#8f2400; font-size:16.5px; line-height:1.55;
}

/* ---------- Bloc "Postuler" ---------- */
.oe-applybox{background:var(--oe-bg-neutral); border-radius:22px; padding:clamp(22px,3vw,32px)}
.oe-applybox__text{margin:8px 0 24px; font-size:16.5px; color:var(--oe-ink-3)}

/* ---------- Modale ---------- */
.oe-modal{
  border:none; padding:0; border-radius:22px; max-width:520px; width:calc(100% - 32px);
  background:#fff; color:var(--oe-ink); box-shadow:0 40px 90px -30px rgba(0,32,35,.55);
}
.oe-modal::backdrop{background:rgba(1,40,44,.55); backdrop-filter:blur(3px)}
.oe-modal__inner{padding:clamp(24px,4vw,34px)}
.oe-modal__title{
  margin:0; font-family:var(--oe-font-display); font-weight:600;
  font-size:24px; letter-spacing:-.01em; color:var(--oe-ink);
}
.oe-modal__text{margin:12px 0 20px; font-size:16.5px; line-height:1.6; color:var(--oe-ink-3)}
.oe-modal__value{
  display:block; word-break:break-all; font-size:16px; font-weight:600;
  color:var(--oe-teal); background:var(--oe-teal-soft);
  padding:14px 16px; border-radius:12px; line-height:1.5;
}
.oe-modal__actions{margin-top:22px; display:flex; gap:10px; flex-wrap:wrap}
.oe-modal__close{
  position:absolute; top:14px; right:14px; width:36px; height:36px; border-radius:999px;
  border:1px solid var(--oe-border-2); background:#fff; color:var(--oe-ink-2);
  cursor:pointer; font-size:18px; line-height:1; display:flex; align-items:center; justify-content:center;
}
.oe-modal__close:hover{border-color:var(--oe-teal); color:var(--oe-teal)}
.oe-modal__wrap{position:relative}

/* ---------- Cartes opportunités ---------- */
.oe-grid-cards{display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:24px}
.oe-grid-cards--cv{grid-template-columns:repeat(auto-fill, minmax(272px, 1fr))}
.oe-card{
  display:flex; flex-direction:column; border:1px solid var(--oe-border);
  border-radius:18px; overflow:hidden; background:#fff; transition:all 160ms ease;
}
.oe-card:hover{border-color:var(--oe-teal); transform:translateY(-3px)}
.oe-card__media{
  background:var(--oe-teal-soft); aspect-ratio:3/2; overflow:hidden; position:relative;
  display:flex; align-items:stretch;
}
.oe-card__media--cv{aspect-ratio:1/1.414; background:var(--oe-bg-neutral)}
.oe-card__media img{width:100%; height:100%; object-fit:cover; display:block}
.oe-card__body{padding:20px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1}
.oe-card__meta{display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:13px; color:var(--oe-muted-2)}
.oe-card__title{font-size:18px; font-weight:600; color:var(--oe-ink); line-height:1.3; margin:0}
.oe-card__summary{margin:0; font-size:15.5px; line-height:1.55; color:var(--oe-ink-3)}
.oe-card__foot{margin-top:auto; padding-top:12px; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:14px}
.oe-card__org{color:var(--oe-ink-2); font-weight:600}
.oe-urgent{color:var(--oe-accent); font-weight:700}
.oe-soon{color:var(--oe-muted-2)}
.oe-card__actions{display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; padding-top:14px}
.oe-featured{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:0;
  border:1px solid var(--oe-border); border-radius:22px; overflow:hidden; background:#fff;
}
.oe-featured__media{
  background:var(--oe-teal-soft); min-height:280px; overflow:hidden; position:relative;
  display:flex; align-items:stretch;
}
.oe-featured__media img{width:100%; height:100%; object-fit:cover; display:block}
.oe-featured__body{padding:clamp(24px,3.4vw,38px); display:flex; flex-direction:column; gap:14px; justify-content:center}
.oe-featured__title{margin:0; font-family:var(--oe-font-display); font-weight:600; font-size:clamp(23px,3.2vw,30px); line-height:1.18; letter-spacing:-.015em; color:var(--oe-ink)}
.oe-mediafallback{
  flex:1; align-self:stretch; display:flex; align-items:center; justify-content:center;
  font-family:var(--oe-font-display); font-weight:700; font-size:34px;
  color:var(--oe-teal); background:var(--oe-teal-soft);
}

/* ---------- Tableau des secteurs ---------- */
.oe-stats{margin-top:32px; display:grid; grid-template-columns:repeat(auto-fit, minmax(200px,1fr)); gap:14px}
.oe-stat{border:1px solid var(--oe-border); border-radius:16px; padding:22px 24px}
.oe-stat__n{display:block; font-family:var(--oe-font-display); font-weight:700; font-size:32px; color:var(--oe-teal); line-height:1.1}
.oe-stat__label{display:block; margin-top:6px; font-size:15px; color:var(--oe-ink-3)}
.oe-table{margin-top:32px; border:1px solid var(--oe-border); border-radius:20px; overflow:hidden}
.oe-table__head,
.oe-table__row{display:flex; align-items:center; gap:18px; padding:16px 24px}
.oe-table__head{background:var(--oe-bg-soft); font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--oe-muted)}
.oe-table__row{border-bottom:1px solid var(--oe-divider); background:#fff; transition:background 140ms ease}
.oe-table__row:last-child{border-bottom:none}
.oe-table__row:hover{background:var(--oe-bg-soft)}
.oe-table__name{flex:1 1 260px; min-width:0}
.oe-table__title{display:block; font-size:16.5px; font-weight:600; color:var(--oe-ink); line-height:1.3}
.oe-table__examples{display:block; margin-top:4px; font-size:14px; color:var(--oe-muted-2)}
.oe-table__count{flex:0 0 80px; font-size:17px; font-weight:700; color:var(--oe-teal); text-align:right}
.oe-table__share{flex:1 1 220px; display:flex; align-items:center; gap:12px; min-width:160px}
.oe-bar{flex:1; height:8px; border-radius:999px; background:var(--oe-teal-soft); overflow:hidden}
.oe-bar__fill{display:block; height:100%; border-radius:999px; background:var(--oe-teal)}
.oe-table__pct{font-size:14px; color:var(--oe-muted-2); min-width:44px; text-align:right}

/* ---------- Listes numérotées / calendrier ---------- */
.oe-numlist{display:flex; flex-direction:column; gap:12px; margin:0; padding:0; list-style:none}
.oe-numlist li{
  display:flex; align-items:flex-start; gap:14px; border:1px solid var(--oe-border);
  border-radius:14px; padding:16px 18px; font-size:16.5px; line-height:1.55; color:var(--oe-ink-2);
}
.oe-numlist__n{
  width:28px; height:28px; border-radius:999px; background:var(--oe-teal-soft); color:var(--oe-teal);
  font-size:14px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.oe-timeline{display:flex; flex-direction:column}
.oe-timeline__row{display:flex; gap:18px; padding:14px 0; border-bottom:1px solid var(--oe-divider); font-size:16.5px}
.oe-timeline__row:last-child{border-bottom:none}
.oe-timeline__date{flex:0 0 150px; font-weight:700; color:var(--oe-teal)}
.oe-timeline__label{color:var(--oe-ink-2)}

/* ---------- Formulaires publics ---------- */
.oe-field{display:flex; flex-direction:column; gap:6px; min-width:0}
.oe-field__label{font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--oe-muted)}
.oe-input,.oe-textarea,.oe-select{
  font-family:var(--oe-font); font-size:16px; color:var(--oe-ink); background:#fff;
  border:1px solid var(--oe-border-2); border-radius:12px; padding:14px 16px; outline:none; width:100%;
}
.oe-input:focus,.oe-textarea:focus,.oe-select:focus{border-color:var(--oe-teal)}
.oe-textarea{resize:vertical}
.oe-inline-form{display:flex; gap:10px; flex-wrap:wrap; margin-top:20px}
.oe-inline-form .oe-input{flex:1 1 240px; min-height:52px}
.oe-flash{
  margin:0 0 18px; padding:14px 18px; border-radius:14px; font-size:16px;
  background:var(--oe-teal-soft); color:#04565e; border:1px solid #bfe0e2;
}
.oe-flash--error{background:var(--oe-accent-soft); color:#8f2400; border-color:#f3c9bd}
.oe-error{font-size:14px; color:var(--oe-accent); font-weight:600}

/* ---------- Publicités ---------- */
.oe-ad{display:block; margin:32px 0; text-align:center; min-width:0}
.oe-ad--aside{margin:0}
.oe-ad ins{display:block}

/* ---------- Bandeau de consentement ---------- */
.oe-consent{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:120; max-width:720px;
  margin:0 auto; background:#fff; border:1px solid var(--oe-border-3); border-radius:18px;
  padding:20px 22px; box-shadow:0 30px 70px -30px rgba(0,32,35,.5);
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
}
.oe-consent p{margin:0; flex:1 1 320px; font-size:15px; line-height:1.5; color:var(--oe-ink-3)}
.oe-consent__actions{display:flex; gap:8px; flex-wrap:wrap}


/* ---------- Pages d'erreur ---------- */
.oe-error{background:var(--oe-bg-soft); border-bottom:1px solid var(--oe-border)}
.oe-error__inner{
  max-width:var(--oe-container); margin:0 auto;
  padding:clamp(48px, 8vw, 96px) var(--oe-gutter) clamp(40px, 6vw, 72px);
  max-width:min(var(--oe-container), 760px); text-align:center;
}
.oe-error__code{
  margin:0; font-family:var(--oe-font-display); font-weight:700;
  font-size:clamp(72px, 16vw, 148px); line-height:.9; letter-spacing:-.04em;
  color:var(--oe-teal); opacity:.18;
}
.oe-error__title{margin-top:clamp(-18px, -2vw, -8px)}
.oe-error__text{
  margin:18px auto 0; font-size:18px; line-height:1.6;
  color:var(--oe-ink-3); max-width:56ch; text-wrap:pretty;
}
.oe-error__search{margin-top:32px; text-align:left; box-shadow:var(--oe-shadow-search)}
.oe-error__links{margin-top:28px; display:flex; flex-wrap:wrap; gap:10px; justify-content:center}

@media (max-width:720px){
  .oe-error__links .oe-btn{flex:1 1 100%}
}

/* ---------- Filtres repliables (liste des offres) ---------- */
.oe-filterbox > summary{display:none}
.oe-filterbox__count{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:22px; height:22px; padding:0 7px; margin-left:8px;
  border-radius:999px; background:var(--oe-teal); color:#fff;
  font-size:12.5px; font-weight:700;
}

/* ---------- En-tête compact : tablettes et mobiles ----------
   Au-delà de 900px, logo + navigation + bouton tiennent sur une rangée ;
   en dessous, le bouton retombait sur une deuxième ligne mal alignée. */
@media (max-width:900px){
  .oe-header__inner{padding:10px var(--oe-gutter); flex-wrap:nowrap; gap:12px}
  .oe-burger{display:flex}

  .oe-header__panel{
    display:none;
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    background:#fff; border-top:1px solid var(--oe-border);
    border-bottom:1px solid var(--oe-border);
    padding:6px var(--oe-gutter) 18px;
    box-shadow:0 22px 44px -28px rgba(0,32,35,.5);
    max-height:calc(100vh - 100%); overflow-y:auto;
  }
  .oe-header.is-open .oe-header__panel{display:flex}

  .oe-nav{
    flex-direction:column; align-items:stretch; gap:0;
    width:100%; margin-right:0; font-size:16px;
  }
  .oe-nav a{
    display:flex; align-items:center; min-height:52px;
    padding:6px 0; border-bottom:1px solid var(--oe-divider);
  }
  .oe-nav a.is-active{font-weight:600}

  .oe-header__actions{width:100%; margin-top:16px}
  .oe-header__actions .oe-btn{width:100%; font-size:16px; padding:14px 20px}

  /* --- Liste des offres : les filtres se replient, l'alerte et la publicité
         passent après les annonces pour ne pas les repousser. --- */
  /* align-items:flex-start de la règle de base rétrécirait les blocs
     à la largeur de leur contenu une fois la colonne activée. */
  .oe-layout{flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:24px}
  .oe-aside--filters{display:contents}
  .oe-filterbox{order:1}
  .oe-main{order:2}
  .oe-aside--filters .oe-alertbox{order:3}
  .oe-aside--filters .oe-ad{order:4}

  .oe-filterbox{
    border:1px solid var(--oe-border); border-radius:16px; background:#fff;
  }
  .oe-filterbox > summary{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:0 18px; min-height:56px; cursor:pointer;
    font-size:16px; font-weight:700; color:var(--oe-ink);
    list-style:none; border-radius:16px;
  }
  .oe-filterbox > summary::-webkit-details-marker{display:none}
  .oe-filterbox > summary::marker{content:''}
  .oe-filterbox[open] > summary{border-bottom:1px solid var(--oe-border)}
  .oe-filterbox__chevron{flex-shrink:0; color:var(--oe-muted); transition:transform 160ms ease}
  .oe-filterbox[open] .oe-filterbox__chevron{transform:rotate(180deg)}
  .oe-filterbox__body{padding:18px}
  .oe-filterbox__body .oe-filterbar{justify-content:flex-end}
  .oe-filterbox__body .oe-filterbar .oe-eyebrow{display:none}
}

/* ---------- Adaptatif ---------- */
@media (max-width:1024px){
  .oe-section{padding:72px 24px 0}
  .oe-layout{padding:32px 24px 0}
  .oe-cta{padding:0 24px; margin-top:72px}
  .oe-hero{padding:32px 24px 0}
}
@media (max-width:860px){
  .oe-aside{position:static; max-width:none; min-width:0; flex:1 1 100%}
  .oe-search__field + .oe-search__field{border-left:none; border-top:1px solid var(--oe-border)}
  .oe-table__head{display:none}
  .oe-table__row{flex-wrap:wrap; gap:10px}
  .oe-table__count{flex:0 0 auto; text-align:left}
  .oe-table__share{flex:1 1 100%}
  .oe-timeline__date{flex:0 0 110px}
}
@media (max-width:720px){
  .oe-section{padding:56px 18px 0}
  .oe-layout{padding:28px 18px 0}
  .oe-cta{padding:0 18px; margin-top:56px}
  .oe-hero{padding:24px 18px 0}
  .oe-footer{margin-top:56px}
  .oe-job{gap:10px 14px; padding:16px}
  .oe-job__date{margin-left:0; text-align:left}
  .oe-job__location{min-width:0}
  .oe-header__logo img{height:28px}

}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important; animation:none !important}
  .oe-sector:hover,.oe-card:hover{transform:none}
}
@media print{
  .oe-header,.oe-footer,.oe-aside,.oe-ad,.oe-consent{display:none !important}
}
