/* Charte du site public (refonte 2026, issue des maquettes du lot 2). Charte RMS — maquettes du lot 2 (13/11/2026).
   Contrastes vérifiés (WCAG 2.2 AA) : chaque couple texte/fond utilisé ici atteint au moins 4,5:1. */

@font-face {
  font-family: "Figtree";
  src: url("polices/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs de marque, reprises du site actuel et rendues accessibles */
  --bleu-950: #082634;   /* pied de page, titres forts        */
  --bleu-800: #00405f;   /* survol du bleu                     */
  --bleu-700: #005078;   /* couleur principale (bleu pétrole)  8,6:1 sur blanc */
  --bleu-200: #b9d3e0;
  --bleu-100: #e3eef4;
  --bleu-50:  #f2f7fa;
  --vert-800: #166129;   /* survol de l'action                 */
  --vert-700: #1d7f36;   /* action principale (Postuler)       5,1:1 sous texte blanc */
  --vert-100: #e3f2e7;
  --ambre-700: #8a5300;  /* « à fournir » (annotations)        */
  --ambre-100: #fff3dc;

  --texte: #17262e;
  --texte-2: #45555f;    /* 7,4:1 sur blanc */
  --bordure: #d3dee4;
  --fond: #ffffff;
  --fond-2: #f5f8fa;

  --rayon: 12px;
  --rayon-s: 8px;
  --ombre: 0 1px 2px rgb(8 38 52 / .06), 0 4px 16px rgb(8 38 52 / .06);
  --ombre-forte: 0 8px 32px rgb(8 38 52 / .14);
  --largeur: 1180px;
  --police: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu-700); text-underline-offset: .18em; }
a:hover { color: var(--bleu-800); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--bleu-950); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 750; }
h3 { font-size: 1.1875rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--bleu-700); outline-offset: 2px; border-radius: 4px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .conteneur { padding-inline: 32px; } }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--grise { background: var(--fond-2); }
.section--bleue { background: var(--bleu-50); }
.surtitre { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vert-700); margin-bottom: .75rem; }
.chapo { font-size: 1.1875rem; color: var(--texte-2); max-width: 62ch; }
.entete-section { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.entete-section h2 { margin: 0; }

/* Lien d'évitement */
.evitement { position: absolute; left: 16px; top: -60px; background: var(--bleu-950); color: #fff; padding: 10px 16px; border-radius: var(--rayon-s); z-index: 100; }
.evitement:focus { top: 12px; color: #fff; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.bouton--action { background: var(--vert-700); color: #fff; }
.bouton--action:hover { background: var(--vert-800); color: #fff; }
.bouton--principal { background: var(--bleu-700); color: #fff; }
.bouton--principal:hover { background: var(--bleu-800); color: #fff; }
.bouton--contour { background: #fff; color: var(--bleu-700); border-color: var(--bleu-700); }
.bouton--contour:hover { background: var(--bleu-50); }
.bouton--clair { background: #fff; color: var(--bleu-950); }
.bouton--clair:hover { background: var(--bleu-100); color: var(--bleu-950); }
.bouton--plein { width: 100%; }
.bouton--petit { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.lien-fleche { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.lien-fleche::after { content: "→"; transition: transform .15s; }
.lien-fleche:hover::after { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bordure); }
.entete__barre { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo__image { display: block; width: auto; height: 40px; }
@media (min-width: 900px) { .logo__image { height: 48px; } }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--texte); font-weight: 600; font-size: .9688rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bleu-50); color: var(--bleu-700); }
.entete__actions { display: none; gap: 8px; align-items: center; }
.bouton-menu { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--bordure); border-radius: 12px; background: #fff; cursor: pointer; }
.bouton-menu svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .entete__actions { display: flex; }
  .bouton-menu { display: none; }
}
.menu-mobile { display: none; border-top: 1px solid var(--bordure); padding: 8px 0 16px; }
.menu-mobile.ouvert { display: block; }
.menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile a:not(.bouton) { display: block; padding: 14px 4px; font-weight: 600; text-decoration: none; color: var(--texte); border-bottom: 1px solid var(--fond-2); }
.menu-mobile .bouton { margin-top: 12px; }
@media (min-width: 1024px) { .menu-mobile, .menu-mobile.ouvert { display: none; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--bleu-950); color: #d6e3ea; padding-block: 56px 28px; font-size: .9688rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__grille { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.pied h2 { font-size: .875rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied .logo { background: #fff; padding: 10px 14px; border-radius: var(--rayon-s); }
.pied__bas { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #b8cbd6; font-size: .875rem; }

/* ---------- Héros de l'accueil ---------- */
.heros { position: relative; background: var(--bleu-950); color: #fff; overflow: hidden; }
.heros__image { position: absolute; inset: 0; background: url("img/bg_1-1600.webp") center/cover no-repeat; opacity: .28; }
.heros__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--bleu-950) 25%, rgb(8 38 52 / .55) 70%, rgb(8 38 52 / .2)); }
.heros__contenu { position: relative; padding-block: clamp(48px, 9vw, 112px) clamp(40px, 7vw, 88px); }
.heros h1 { color: #fff; max-width: 17ch; }
.heros .chapo { color: #d6e3ea; }
.heros .surtitre { color: #8fe0a4; }

/* Recherche */
.recherche { margin-top: 28px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--ombre-forte); display: grid; gap: 8px; max-width: 880px; color: var(--texte); }
@media (min-width: 768px) { .recherche { grid-template-columns: 1.2fr 1fr auto; align-items: stretch; } }
.recherche label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-2); }
.recherche .champ-recherche { padding: 8px 14px; border-radius: 10px; }
.recherche .champ-recherche:hover { background: var(--fond-2); }
.recherche select, .recherche input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 1.0625rem; font-weight: 600; color: var(--texte); padding: 4px 0; min-height: 32px; }
.recherche select:focus, .recherche input:focus { outline: none; }
.recherche .champ-recherche:focus-within { box-shadow: inset 0 0 0 2px var(--bleu-700); }
@media (min-width: 768px) { .recherche .champ-recherche + .champ-recherche { border-left: 1px solid var(--bordure); border-radius: 0; } }
.recherche .bouton { min-height: 56px; border-radius: 12px; }

.chiffres { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; padding: 0; list-style: none; }
.chiffres li { display: flex; flex-direction: column; }
.chiffres strong { font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.chiffres span { font-size: .9375rem; color: #c3d5df; }

/* ---------- Puces, badges ---------- */
.puces { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.puce { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bleu-50); color: var(--bleu-800); font-size: .875rem; font-weight: 600; border: 1px solid var(--bleu-100); }
.puce--mois { background: var(--vert-100); color: var(--vert-800); border-color: #c7e6d0; }
a.puce { text-decoration: none; }
a.puce:hover { background: var(--bleu-100); }
.puce b { font-weight: 800; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--vert-700); color: #fff; }

/* Spécialités (accueil) */
.grille-specialites { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); list-style: none; margin: 0; padding: 0; }
.carte-specialite { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--rayon); border: 1px solid var(--bordure); background: #fff; text-decoration: none; color: var(--texte); font-weight: 700; transition: border-color .15s, box-shadow .15s, transform .15s; }
.carte-specialite:hover { border-color: var(--bleu-700); box-shadow: var(--ombre); transform: translateY(-1px); color: var(--bleu-700); }
.carte-specialite span { flex: none; font-size: .875rem; font-weight: 700; color: var(--vert-700); background: var(--vert-100); border-radius: 999px; padding: 2px 10px; }

/* ---------- Carte d'offre ---------- */
.liste-offres { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.liste-offres--grille { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.carte-offre { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--bordure); border-radius: var(--rayon); background: #fff; transition: border-color .15s, box-shadow .15s; height: 100%; }
.carte-offre:hover { border-color: var(--bleu-200); box-shadow: var(--ombre); }
.carte-offre__haut { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.carte-offre__specialite { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--vert-700); }
.carte-offre :is(h2, h3) { margin: 2px 0 0; font-size: 1.1875rem; font-weight: 700; letter-spacing: 0; }
.carte-offre :is(h2, h3) a { color: var(--bleu-950); text-decoration: none; }
.carte-offre :is(h2, h3) a:hover { color: var(--bleu-700); text-decoration: underline; }
.carte-offre :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--rayon); }
.carte-offre :is(h2, h3) a:focus-visible { outline: none; }
.carte-offre:has(a:focus-visible) { outline: 3px solid var(--bleu-700); outline-offset: 2px; }
.carte-offre__lieu { display: flex; align-items: center; gap: 6px; color: var(--texte-2); font-weight: 600; font-size: .9688rem; }
.carte-offre__lieu svg, .fait svg { width: 18px; height: 18px; flex: none; color: var(--bleu-700); }
.carte-offre__bas { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--fond-2); font-size: .9063rem; color: var(--texte-2); }
.carte-offre__bas strong { color: var(--bleu-700); }

/* ---------- Étapes ---------- */
.etapes { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: etape; }
@media (min-width: 768px) { .etapes { grid-template-columns: repeat(3, 1fr); } }
.etape { counter-increment: etape; padding: 28px 24px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--bordure); }
.etape::before { content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bleu-700); color: #fff; font-weight: 800; font-size: 1.125rem; margin-bottom: 16px; }
.etape p { color: var(--texte-2); margin: 0; }

/* Atouts */
.atouts { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .atouts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .atouts--3 { grid-template-columns: repeat(3, 1fr); } }
.atout { display: flex; gap: 16px; align-items: start; }
.atout__icone { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bleu-100); color: var(--bleu-700); }
.atout__icone svg { width: 24px; height: 24px; }
.atout h3 { margin-bottom: .25em; }
.atout p { color: var(--texte-2); margin: 0; }

/* Témoignages */
.temoignages { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .temoignages { grid-template-columns: repeat(3, 1fr); } }
.temoignage { margin: 0; padding: 28px 24px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--bordure); display: flex; flex-direction: column; gap: 16px; }
.temoignages > li { display: flex; }
.temoignage { flex: 1; }
.temoignage blockquote { margin: 0; font-size: 1.0625rem; }
.temoignage blockquote p { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.temoignage blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--vert-700); font-weight: 800; margin-bottom: 8px; }
.temoignage figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: .9375rem; color: var(--texte-2); }
.temoignage figcaption b { display: block; color: var(--texte); }
.temoignage .etoiles { margin: 0; color: #b86e00; font-size: 1.125rem; letter-spacing: 2px; line-height: 1; }
.temoignage .etoile-vide { color: #8a94a3; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bleu-100); color: var(--bleu-700); display: grid; place-items: center; font-weight: 800; flex: none; }

/* Bandeau d'appel */
.appel { border-radius: 20px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(120deg, var(--bleu-700), var(--bleu-950)); color: #fff; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .appel { grid-template-columns: 1fr auto; } }
.appel h2 { color: #fff; margin-bottom: .3em; }
.appel p { color: #d6e3ea; margin: 0; max-width: 60ch; }
.appel__boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Fil d'Ariane ---------- */
.ariane { font-size: .875rem; padding-block: 16px; color: var(--texte-2); }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.ariane li + li::before { content: "/"; margin-right: 4px; color: var(--bordure); }
.ariane a { color: var(--texte-2); }

/* ---------- Page de liste ---------- */
.entete-page { background: var(--bleu-50); border-bottom: 1px solid var(--bleu-100); padding-block: 8px 32px; }
.entete-page h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); margin-bottom: .25em; }
.entete-page .chapo { margin: 0; }
.mise-en-page-liste { display: grid; gap: 28px; padding-block: 28px 72px; }
@media (min-width: 1024px) { .mise-en-page-liste { grid-template-columns: 290px 1fr; align-items: start; } }
.filtres { display: none; }
@media (min-width: 1024px) { .filtres { display: block; position: sticky; top: 92px; } }
.filtres.ouvert { display: block; position: fixed; inset: 0; z-index: 80; background: #fff; overflow-y: auto; padding: 16px 16px 96px; }
.filtres__entete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
@media (min-width: 1024px) { .filtres__fermer, .filtres__valider { display: none !important; } }
.filtres fieldset { border: 0; border-top: 1px solid var(--bordure); padding: 18px 0 8px; margin: 0; }
.filtres legend { font-weight: 800; padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.filtres fieldset > :not(legend) { clear: both; }
.case { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: .9688rem; }
.case input { width: 20px; height: 20px; accent-color: var(--bleu-700); flex: none; }
.case span { margin-left: auto; color: var(--texte-2); font-size: .875rem; }
.filtres__valider { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bordure); }
.barre-liste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.barre-liste p { margin: 0; font-weight: 700; }
.barre-liste select { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--bordure); background: #fff; min-height: 44px; }
.bouton-filtres { display: inline-flex; }
@media (min-width: 1024px) { .bouton-filtres { display: none; } }
.filtres-actifs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filtres-actifs button, .filtres-actifs a { text-decoration: none; font: inherit; font-size: .875rem; font-weight: 600; border: 1px solid var(--bleu-200); background: var(--bleu-50); color: var(--bleu-800); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.filtres-actifs button::after, .filtres-actifs a::after { content: " ×"; font-weight: 800; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--bordure); text-decoration: none; font-weight: 700; }
.pagination [aria-current] { background: var(--bleu-700); color: #fff; border-color: var(--bleu-700); }
.vide { padding: 40px 24px; text-align: center; border: 1px dashed var(--bordure); border-radius: var(--rayon); color: var(--texte-2); }

/* ---------- Fiche d'offre ---------- */
.fiche { display: grid; gap: 32px; padding-block: 8px 96px; }
@media (min-width: 1024px) { .fiche { grid-template-columns: 1fr 360px; align-items: start; padding-bottom: 72px; } }
.fiche__tete h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: .35em; }
.faits { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .faits { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
.fait { display: flex; gap: 10px; align-items: start; padding: 14px; min-width: 0; border-radius: var(--rayon); background: var(--fond-2); }
.fait div { display: flex; flex-direction: column; }
.fait small { font-size: .8125rem; color: var(--texte-2); font-weight: 600; }
.fait strong { font-size: 1rem; }
.bloc { padding-block: 24px; border-top: 1px solid var(--bordure); }
.bloc h2 { font-size: 1.375rem; }
.bloc ul { padding-left: 1.2em; }
.bloc li { margin-bottom: .35em; }
.texte-offre { white-space: pre-line; }
/* Texte de l'offre rangé en rubriques (réécriture IA de l'API, ou texte saisi découpé : src/Offres/TexteOffre.php) */
.accroche-offre { margin: 0 0 20px; padding: 2px 0 2px 16px; border-left: 4px solid var(--bleu-700); font-size: 1.125rem; line-height: 1.6; color: var(--texte); max-width: 68ch; }
.rubriques { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .rubriques { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rubrique--large, .rubrique:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.rubrique { padding: 16px 18px; border: 1px solid var(--bordure); border-radius: var(--rayon); background: var(--fond); min-width: 0; }
.rubrique h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1rem; line-height: 1.3; color: var(--bleu-950); }
.rubrique__icone { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bleu-50); color: var(--bleu-700); }
.rubrique__icone svg { width: 18px; height: 18px; }
.bloc .rubrique ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bloc .rubrique li { position: relative; margin: 0; padding-left: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.rubrique li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--bleu-700); }
.rubrique li b { font-weight: 600; color: var(--texte); }
.encart { position: sticky; top: 92px; padding: 24px; border-radius: 16px; border: 1px solid var(--bordure); box-shadow: var(--ombre); background: #fff; }
.encart h2 { font-size: 1.25rem; }
.encart p { color: var(--texte-2); font-size: .9688rem; }
.encart .puces { margin-bottom: 20px; }
.encart__ou { text-align: center; font-size: .875rem; color: var(--texte-2); margin: 12px 0; }
.barre-postuler { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bordure); box-shadow: 0 -4px 16px rgb(8 38 52 / .08); }
.barre-postuler div { min-width: 0; font-size: .875rem; line-height: 1.3; }
.barre-postuler b { display: block; font-size: .9688rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-postuler .bouton { margin-left: auto; flex: none; }
@media (min-width: 1024px) { .barre-postuler { display: none; } }
.partage { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 18px; }
.formulaire .deux { display: grid; gap: 18px; }
@media (min-width: 640px) { .formulaire .deux { grid-template-columns: 1fr 1fr; } }
.champ label, .champ .libelle { display: block; font-weight: 700; margin-bottom: 6px; font-size: .9688rem; }
.champ .aide { display: block; font-weight: 400; color: var(--texte-2); font-size: .875rem; margin-top: 2px; }
.champ input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte); background: #fff;
  border: 1.5px solid #748893; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--bleu-200); border-color: var(--bleu-700); }
.depot { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px 16px; border: 2px dashed #748893; border-radius: 12px; background: var(--fond-2); cursor: pointer; }
.depot:hover, .depot:focus-within { border-color: var(--bleu-700); background: var(--bleu-50); }
.depot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.depot strong { color: var(--bleu-700); }
.depot small { color: var(--texte-2); }
.consentement { display: flex; gap: 10px; align-items: start; font-size: .9063rem; color: var(--texte-2); }
.consentement input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--bleu-700); }
.mention { font-size: .8125rem; color: var(--texte-2); margin: 0; }
.message-succes { padding: 16px 18px; border-radius: 12px; background: var(--vert-100); color: var(--vert-800); font-weight: 600; border: 1px solid #c7e6d0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--bordure); border-radius: var(--rayon); background: #fff; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--bleu-700); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px; color: var(--texte-2); }

/* Mise en page à deux colonnes */
.deux-colonnes { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 1fr 1fr; } .deux-colonnes--formulaire { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.carte-blanche { padding: clamp(24px, 4vw, 36px); border-radius: 16px; background: #fff; border: 1px solid var(--bordure); box-shadow: var(--ombre); }
.liste-coches { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.liste-coches li { padding-left: 32px; position: relative; }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--vert-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7f36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.coordonnees { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.coordonnees li { display: flex; gap: 14px; }
.coordonnees small { display: block; color: var(--texte-2); font-size: .875rem; }

/* ---------- Annotations de maquette ---------- */
.a-fournir { position: relative; outline: 2px dashed var(--ambre-700); outline-offset: 4px; border-radius: 6px; }
.a-fournir::before { content: attr(data-note); position: absolute; z-index: 5; top: -14px; left: 8px; background: var(--ambre-700); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; white-space: nowrap; pointer-events: none; }
body.sans-notes .a-fournir { outline: none; }
body.sans-notes .a-fournir::before { display: none; }
.bandeau-maquette { background: var(--ambre-100); color: #5a3700; font-size: .875rem; padding: 8px 0; border-bottom: 1px solid #f0d9a8; }
.bandeau-maquette .conteneur { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; }
.bandeau-maquette a { color: #5a3700; font-weight: 700; }
.bandeau-maquette button { font: inherit; font-weight: 700; color: #5a3700; background: transparent; border: 1px solid #c99a45; border-radius: 999px; padding: 4px 12px; cursor: pointer; }

/* ---------- Page charte ---------- */
.nuancier { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); list-style: none; padding: 0; margin: 0; }
.nuance { border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--bordure); background: #fff; }
.nuance__couleur { height: 88px; }
.nuance div:last-child { padding: 12px 14px; font-size: .875rem; }
.nuance b { display: block; font-size: .9375rem; }
.nuance code { color: var(--texte-2); }
.specimen { display: grid; gap: 10px; }
.specimen > * { margin: 0; }
.vignettes-pages { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0; }
.vignette { display: block; padding: 22px; border-radius: var(--rayon); border: 1px solid var(--bordure); background: #fff; text-decoration: none; color: var(--texte); height: 100%; transition: border-color .15s, box-shadow .15s; }
.vignette:hover { border-color: var(--bleu-700); box-shadow: var(--ombre); }
.vignette b { display: block; font-size: 1.125rem; color: var(--bleu-950); margin-bottom: 4px; }
.vignette span { color: var(--texte-2); font-size: .9375rem; }
.vignette code { display: block; margin-top: 10px; font-size: .8125rem; color: var(--bleu-700); }
table.tableau { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tableau th, .tableau td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bordure); vertical-align: top; }
.tableau th { background: var(--fond-2); }
.defilement { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 1023px) { body:has(.barre-postuler) { padding-bottom: 76px; } }
.fait strong { overflow-wrap: anywhere; }
.bloc ul.puces { padding-left: 0; }


/* ------------------------------------------------------------------ site réel (lot 4) */
@media (max-width: 767px) { .heros__image { background-image: url("img/bg_1-800.webp"); } }
.message-erreur { padding: 14px 18px; border-radius: 12px; background: #fdecec; color: #8a1c1c; font-weight: 600; border: 1px solid #f3c2c2; }
.message-erreur ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }
.champ-piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.formulaire button[disabled] { opacity: .65; cursor: progress; }
.planning { margin-top: 20px; }
.planning details { border: 1px solid var(--bordure); border-radius: 12px; background: #fff; }
.planning details + details { margin-top: 10px; }
.planning summary { cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.planning summary span { font-weight: 500; color: var(--texte-2); }
.planning ul { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 6px; }
.planning li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--bordure); font-size: .9375rem; }
.planning li span { color: var(--texte-2); }
.texte-page { max-width: 75ch; }
.texte-page h2 { margin-top: 36px; }
.liens-specialites { columns: 2 220px; padding: 0; list-style: none; }
.liens-specialites li { margin-bottom: 8px; }
.note-recette { background: var(--ambre-100); color: #5a3700; font-size: .875rem; padding: 8px 0; border-bottom: 1px solid #f0d9a8; }
.note-recette .conteneur { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; }
.note-recette button { font: inherit; font-weight: 700; color: #5a3700; background: transparent; border: 1px solid #c99a45; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.formulaire input[type="radio"], .formulaire input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--bleu-700, #005078); }
.formulaire label.case.puce { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 16px; min-height: 44px; cursor: pointer; }

/* ------------------------------------------------------------------ espace candidat */
.onglets-espace ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--bordure); }
.onglets-espace a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; color: var(--texte-2); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.onglets-espace a:hover { color: var(--bleu-800, #005078); }
.onglets-espace a[aria-current="page"] { color: var(--bleu-800, #005078); border-bottom-color: var(--bleu-800, #005078); }
.statut { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: var(--bleu-50, #f2f7fa); color: var(--texte-2); white-space: nowrap; }
.statut--confirmee, .statut--acceptee { background: var(--vert-100); color: var(--vert-800); }
.statut--en_attente { background: var(--ambre-100); color: #5a3700; }
.statut--refusee, .statut--non_retenue, .statut--annulee, .statut--desistement { background: #fdecec; color: #8a1c1c; }
.message-attente { padding: 10px 14px; border-radius: 10px; background: var(--ambre-100); color: #5a3700; font-size: .9375rem; }
.grille-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0 16px; max-height: 360px; overflow: auto; padding: 4px; border: 1px solid var(--bordure); border-radius: 10px; }
.mission-espace h3 { font-size: 1.125rem; }
@media (max-width: 767px) { .onglets-espace ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; } .onglets-espace a { white-space: nowrap; } }
.envoi-piece { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.envoi-piece input[type="file"] { max-width: 260px; font-size: .875rem; }
.tableau-pieces th[scope="row"] { font-weight: 600; }
/* Tableaux de l'espace candidat : une carte par ligne sur téléphone (en-têtes répétés par data-libelle). */
@media (max-width: 639px) {
  .tableau-empile thead { display: none; }
  .tableau-empile, .tableau-empile tbody, .tableau-empile tr, .tableau-empile th, .tableau-empile td { display: block; width: 100%; }
  .tableau-empile tr { padding: 12px 14px; border-bottom: 1px solid var(--bordure); }
  .tableau-empile th, .tableau-empile td { border: 0; padding: 4px 0; text-align: left !important; }
  .tableau-empile td[data-libelle]::before { content: attr(data-libelle) " : "; color: var(--texte-2); font-size: .875rem; }
  .envoi-piece input[type="file"] { max-width: 100%; }
}


/* ------------------------------------------------------------------ UX v2 (maquettes validées le 23/11/2026)
   Carte d'offre, accueil, liste des offres et fenêtre « Postuler ». Charte inchangée : variables ci-dessus. */
:root { --rouge-700: #b42318; --rouge-100: #fdecec; --ambre-800: #6b4100; }
.entete__actions .bouton svg, .actions-pouce .bouton svg { width: 18px; height: 18px; }
.menu-mobile .actions-pouce { display: grid; gap: 10px; margin-top: 12px; }
.menu-mobile .actions-pouce .bouton { margin-top: 0; }
@media (min-width: 1024px) { .atouts--4 { grid-template-columns: repeat(4, 1fr); } }
ul.carte-v2__badges { list-style: none; margin: 0; padding: 0; }
.badge-v2 svg { width: 12px; height: 12px; }
.bande-chiffres { padding-block: 40px; }
/* ---------- Carte d'offre v2 ---------- */
.carte-v2 { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--bordure); border-radius: var(--rayon); background: #fff; height: 100%; transition: border-color .15s, box-shadow .15s; }
.carte-v2:hover { border-color: var(--bleu-200); box-shadow: var(--ombre); }
.carte-v2--epinglee { border-color: var(--bleu-700); box-shadow: inset 4px 0 0 var(--bleu-700); }
.carte-v2__badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; }
.carte-v2__badges:empty { display: none; }
.badge-v2 { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; line-height: 1.5; }
.badge-v2--urgent { background: var(--rouge-100); color: #8a1c1c; border: 1px solid #f3c2c2; }
.badge-v2--nouvelle { background: var(--vert-100); color: var(--vert-800); border: 1px solid #c7e6d0; }
.badge-v2--longue { background: var(--bleu-100); color: var(--bleu-800); border: 1px solid var(--bleu-200); }
.badge-v2--rare { background: var(--ambre-100); color: var(--ambre-800); border: 1px solid #f0d9a8; }
.badge-v2--epinglee { background: var(--bleu-700); color: #fff; }
.carte-v2__titre { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.005em; line-height: 1.25; }
.carte-v2__titre a { color: var(--bleu-950); text-decoration: none; }
.carte-v2__titre a:hover { color: var(--bleu-700); text-decoration: underline; }
.carte-v2__specialite { display: block; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--vert-700); margin-bottom: 2px; }
.carte-v2__remu { margin: 0; font-size: 1.375rem; font-weight: 800; color: var(--bleu-700); line-height: 1.2; }
.carte-v2__remu small { font-size: .875rem; font-weight: 600; color: var(--texte-2); }
.carte-v2__infos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9688rem; }
.carte-v2__infos li { display: flex; gap: 10px; align-items: flex-start; }
.carte-v2__infos svg { width: 20px; height: 20px; flex: none; color: var(--bleu-700); margin-top: 1px; }
.carte-v2__infos b { font-weight: 700; }
.carte-v2__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid var(--fond-2); }
.carte-v2__actions .bouton { min-height: 48px; padding-inline: 12px; }

/* Grille sur ordinateur, liste sur téléphone */
.grille-v2 { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .grille-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grille-v2--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* ---------- Héros v2 + recherche à 4 filtres ---------- */
.heros-v2 h1 { max-width: 20ch; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.recherche-v2 { margin-top: 24px; background: #fff; color: var(--texte); border-radius: 16px; padding: 12px; box-shadow: var(--ombre-forte); display: grid; gap: 8px; max-width: 1040px; }
.recherche-v2__champs { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .recherche-v2 { grid-template-columns: 1fr auto; align-items: stretch; } .recherche-v2__champs { grid-template-columns: 1.25fr 1.1fr 1fr 1fr; gap: 0; } }
.recherche-v2 .champ-recherche { padding: 8px 12px; border-radius: 10px; min-width: 0; background: var(--fond-2); }
@media (min-width: 900px) { .recherche-v2 .champ-recherche { background: transparent; } .recherche-v2 .champ-recherche + .champ-recherche { border-left: 1px solid var(--bordure); border-radius: 0; } }
.recherche-v2 .champ-recherche:focus-within { box-shadow: inset 0 0 0 2px var(--bleu-700); }
.recherche-v2 label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-2); }
.recherche-v2 select, .recherche-v2 input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 600; color: var(--texte); padding: 4px 0; min-height: 36px; }
.recherche-v2 select:focus, .recherche-v2 input:focus { outline: none; }
.recherche-v2 .champ-plein { grid-column: 1 / -1; }
@media (min-width: 900px) { .recherche-v2 .champ-plein { grid-column: auto; } }
.recherche-v2 .bouton { min-height: 56px; border-radius: 12px; font-size: 1.0625rem; padding-inline: 28px; }
.heros-v2__ctas { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 18px; }
.heros-v2__ctas a:not(.bouton) { color: #fff; font-weight: 700; }

/* Chiffres */
.chiffres-v2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .chiffres-v2 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chiffres-v2 li { background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 18px; }
.chiffres-v2 strong { display: block; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); font-weight: 800; color: var(--bleu-700); line-height: 1.1; }
.chiffres-v2 span { color: var(--texte-2); font-size: .9375rem; }
.chiffres-v2__note { font-size: .8125rem; color: var(--texte-2); margin: 10px 0 0; }

/* Confiance */
.confiance { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; margin: 0 0 32px; padding: 0; }
.confiance li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--bordure); }
.confiance svg { width: 28px; height: 28px; color: var(--vert-700); flex: none; }
.confiance b { display: block; font-size: 1.125rem; color: var(--bleu-950); }
.confiance span { font-size: .875rem; color: var(--texte-2); }

/* Logos d'établissements partenaires (publiés dans l'ERP avec leur accord écrit) */
.logos-etablissements { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); list-style: none; margin: 24px 0 0; padding: 0; }
.logos-etablissements li { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 14px 18px; border-radius: var(--rayon); background: #fff; }
.logos-etablissements img { display: block; max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }

/* Texte d'une page de spécialité (saisi dans l'ERP) */
.texte-specialite p + p { margin-top: 1em; }


/* ---------- Liste des offres v2 ---------- */
.liste-v2 { display: grid; gap: 24px; padding-block: 20px 72px; }
@media (min-width: 1024px) { .liste-v2 { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } }
.filtres-v2 { display: none; }
@media (min-width: 1024px) { .filtres-v2 { display: block; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 6px; } }
.filtres-v2.ouvert { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 90; background: #fff; overflow: hidden; padding: 0; max-height: none; }
.filtres-v2__tete { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--bordure); }
.filtres-v2__tete h2 { margin: 0; font-size: 1.25rem; }
.filtres-v2__corps { display: grid; gap: 18px; }
.filtres-v2.ouvert .filtres-v2__corps { overflow-y: auto; padding: 16px; flex: 1; }
.filtres-v2__pied { display: none; }
.filtres-v2.ouvert .filtres-v2__pied { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bordure); }
@media (min-width: 1024px) { .filtres-v2__tete .fermer { display: none; } .filtres-v2__tete { padding: 0 0 8px; border: 0; } }
.filtre-v2 { display: grid; gap: 6px; }
.filtre-v2 > label, .filtre-v2 > .libelle { font-weight: 800; font-size: .9375rem; }
.filtre-v2 select, .filtre-v2 input[type="date"], .filtre-v2 input[type="text"] { width: 100%; font: inherit; font-size: 1rem; border: 1.5px solid #748893; border-radius: 10px; padding: 10px 12px; min-height: 48px; background: #fff; color: var(--texte); }
.filtre-v2 .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filtre-v2 small { color: var(--texte-2); font-size: .8125rem; }
.segments { display: flex; flex-wrap: wrap; gap: 6px; }
.segments label { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--bordure); cursor: pointer; font-weight: 600; font-size: .9375rem; }
.segments input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segments label:has(input:checked) { background: var(--bleu-700); border-color: var(--bleu-700); color: #fff; }
.segments label:has(input:focus-visible) { outline: 3px solid var(--bleu-700); outline-offset: 2px; }
.interrupteur { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-weight: 700; cursor: pointer; }
.interrupteur input { appearance: none; width: 48px; height: 28px; border-radius: 999px; background: #8a99a3; position: relative; cursor: pointer; flex: none; transition: background .15s; }
.interrupteur input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.interrupteur input:checked { background: var(--vert-700); }
.interrupteur input:checked::after { transform: translateX(20px); }
.interrupteur input:focus-visible { outline: 3px solid var(--bleu-700); outline-offset: 2px; }

.barre-v2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 12px; }
.barre-v2__compte { margin: 0; font-weight: 800; font-size: 1.125rem; }
.barre-v2__compte span { color: var(--vert-700); }
.barre-v2__tri { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.barre-v2__tri select { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1.5px solid #748893; background: #fff; min-height: 44px; }
.bouton-filtrer { display: inline-flex; }
@media (min-width: 1024px) { .bouton-filtrer { display: none; } }
@media (max-width: 1023px) {
  .barre-v2 { position: sticky; top: 68px; z-index: 40; background: #fff; padding: 10px 0; margin-inline: -16px; padding-inline: 16px; border-bottom: 1px solid var(--bordure); }
  .barre-v2__compte { width: 100%; font-size: 1rem; }
  .barre-v2__tri { margin-left: auto; }
}
.puce-compte { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: #fff; color: var(--bleu-700); font-size: .75rem; font-weight: 800; padding: 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font: inherit; font-size: .875rem; font-weight: 600; border: 1px solid var(--bleu-200); background: var(--bleu-50); color: var(--bleu-800); border-radius: 999px; padding: 4px 6px 4px 12px; cursor: pointer; }
.chip span[aria-hidden] { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bleu-100); font-weight: 800; }
.chip:hover span[aria-hidden] { background: var(--bleu-200); }
.reinitialiser { font: inherit; font-weight: 700; color: var(--bleu-700); background: none; border: 0; text-decoration: underline; cursor: pointer; min-height: 36px; padding: 0 6px; }
.separateur-liste { grid-column: 1 / -1; margin: 12px 0 0; font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-2); list-style: none; }


/* ---------- Dialogue « Postuler » ---------- */
.dialogue { border: 0; padding: 0; border-radius: 20px; width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: var(--ombre-forte); color: var(--texte); }
.dialogue::backdrop { background: rgb(8 38 52 / .55); }
@media (max-width: 639px) { .dialogue { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; max-height: 92vh; } }
.dialogue__tete { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 20px 20px 8px; position: sticky; top: 0; background: #fff; }
.dialogue__tete h2 { font-size: 1.25rem; margin: 0; }
.dialogue__tete p { margin: 4px 0 0; color: var(--texte-2); font-size: .9375rem; }
.dialogue__corps { padding: 8px 20px 20px; }
.bouton-icone { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--bordure); background: #fff; cursor: pointer; font-size: 1.25rem; line-height: 1; flex: none; color: var(--texte); }
.onglets-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: var(--fond-2); border-radius: 12px; margin-bottom: 16px; }
.onglets-choix button { font: inherit; font-weight: 700; min-height: 44px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; color: var(--texte-2); }
.onglets-choix button[aria-pressed="true"] { background: #fff; color: var(--bleu-700); box-shadow: var(--ombre); }

/* Annotations longues : retour à la ligne sur téléphone ; en-têtes de tuile qui passent à la ligne */
.a-fournir::before { white-space: normal; width: max-content; max-width: min(280px, calc(100vw - 64px)); }
.tuile__tete { flex-wrap: wrap; }
.filtres-v2__corps > *, .filtre-v2 .deux > *, .filtre-v2 input, .filtre-v2 select { min-width: 0; }
.filtres-v2 { overflow-x: hidden; }
@media (min-width: 1024px) { .filtres-v2 { padding: 2px 8px 8px 2px; } }

.filtres-v2__corps { align-content: start; }

/* Listes avec recherche (spécialité, localisation) : tout le référentiel, entrées avec missions en tête (27/11) */
.choix-recherche { position: relative; }
.choix-recherche input[role="combobox"] { padding-right: 36px; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2345555f' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.recherche-v2 .choix-recherche input[role="combobox"] { background-position: right 2px center; padding-right: 22px; }
.choix-recherche input[role="combobox"]::placeholder { color: var(--texte); opacity: 1; }
.choix-recherche__liste { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; min-width: min(320px, calc(100vw - 32px)); max-height: 340px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--texte); border: 1px solid var(--bordure); border-radius: 12px; box-shadow: var(--ombre-forte); text-align: left; }
.choix-recherche__liste ul { margin: 0; padding: 0; list-style: none; }
.choix-recherche__liste [role="option"] { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: .9688rem; text-transform: none; letter-spacing: 0; }
.choix-recherche__liste [role="option"].sans-offre { font-weight: 500; color: var(--texte-2); }
.choix-recherche__liste [role="option"].actif, .choix-recherche__liste [role="option"]:hover { background: var(--bleu-50); }
.choix-recherche__liste [role="option"][aria-selected="true"] { box-shadow: inset 3px 0 0 var(--bleu-700); }
.choix-recherche__compte { flex: none; font-size: .8125rem; font-weight: 700; color: var(--vert-800, #1d7f36); }
.choix-recherche__groupe { display: block; padding: 10px 10px 4px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-2); }
.choix-recherche__rien { padding: 10px; color: var(--texte-2); }
.heros.heros-v2 { overflow: visible; }
/* Panneau de filtres (colonne collante ou plein écran mobile) : la liste s'ouvre dans le flux, sans être rognée. */
.filtres-v2 .choix-recherche__liste { position: static; margin-top: 6px; min-width: 0; max-height: 300px; box-shadow: var(--ombre); }
