/* Style commun des jobboards. La couleur de marque (--accent et ses teintes) est injectée
   par generer.py depuis le champ "couleur" de la config de chaque niche, avec le pictogramme du métier.
   Identité « Signalétique », retenue par Matthieu le 24/10/2026 parmi trois maquettes : police du système
   (aucune police à télécharger), en-tête en aplat de la couleur du métier, bordures franches, angles presque
   droits. Ergonomie d'après l'audit expert-ergonomie du même jour (experts/ergonomie/audit-2026-10-24-*.md). */
:root {
  --texte: #1c2127; --texte-doux: #4f5863; --fond: #ffffff; --fond-doux: #f5f7f9;
  --ligne: #dde2e7; --accent: #1f5f8b; --accent-fonce: #18496c; --accent-doux: #eef4f8;
  --accent-ligne: #c7d7e2; --accent-pale: #e6eef3; --bordure-champ: #767f89; --erreur: #b3261e; --rayon: 6px; --ombre: 0 1px 2px rgba(16, 24, 32, .06), 0 2px 8px rgba(16, 24, 32, .05);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--texte); background: var(--fond); overflow-wrap: break-word; }
img, svg { max-width: 100%; }
main { flex: 1 0 auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-fonce); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; color: var(--texte); }
h1 { font-size: 2rem; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.4rem; margin: 40px 0 12px; }
h3 { font-size: 1.1rem; }
h2, .hero-boite-titre, .carte-titre { font-weight: 800; letter-spacing: -0.01em; }
.conteneur { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px;
  border: 2px solid var(--accent); border-radius: var(--rayon); background: var(--accent); color: #fff; font: inherit;
  font-weight: 600; font-size: 0.95rem; line-height: 1.3; text-decoration: none; cursor: pointer; text-align: center; }
.bouton:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); color: #fff; }
.bouton-second { background: #fff; color: var(--accent); }
.bouton-second:hover { background: var(--accent-doux); color: var(--accent-fonce); }
.bouton-large { padding: 12px 22px; font-size: 1rem; }

/* En-tête */
.entete { background: var(--accent); }
.entete :focus-visible { outline-color: #fff; }
.entete-in { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem;
  color: #fff; text-decoration: none; white-space: nowrap; }
.marque:hover { color: #fff; }
.marque-logo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: #fff; color: var(--accent); font-size: 1.05rem; }
.nav-principale { display: flex; gap: 4px; margin-left: auto; }
.nav-principale a { padding: 8px 12px; border-radius: 6px; color: #fff; text-decoration: none; font-weight: 500;
  font-size: 0.97rem; white-space: nowrap; }
.nav-principale a:hover, .nav-principale a[aria-current="page"] { background: var(--accent-fonce); color: #fff; }
.bouton-entete { padding: 8px 14px; white-space: nowrap; background: #fff; color: var(--accent-fonce); border-color: #fff; }
.bouton-entete:hover { background: var(--accent-doux); border-color: var(--accent-doux); color: var(--accent-fonce); }
.libelle-court { display: none; }

/* Fil d'Ariane et en-tête de page */
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 12px; font-size: 0.9rem;
  color: var(--texte-doux); }
.fil li + li::before { content: "›"; margin-right: 4px; color: var(--texte-doux); }
.fil a { color: var(--texte-doux); }
.bandeau-page { background: var(--accent-doux); border-bottom: 3px solid var(--accent); padding: 28px 0 24px; }
.bandeau-page h1 { max-width: 900px; }
.chapo { font-size: 1.1rem; color: var(--texte-doux); max-width: 760px; margin: 0; }
/* Date de mise à jour d'une analyse (action 167) */
.maj { font-size: 0.92rem; color: var(--texte-doux); margin: -4px 0 0; }
.section { padding: 40px 0; }
.section > .conteneur > h2:first-child, .section > h2:first-child { margin-top: 0; }
.section.conteneur { padding: 32px 16px 48px; }
.section.conteneur > h2:first-child { margin-top: 0; }
.section-douce { background: var(--fond-doux); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.section-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.section-tete h2 { margin: 0; }
.note { font-size: 0.92rem; color: var(--texte-doux); }
.source { font-size: 0.88rem; color: var(--texte-doux); background: var(--fond-doux); padding: 10px 14px;
  border-radius: 8px; border: 1px solid var(--ligne); }

/* Accueil : bandeau d'ouverture */
.hero { background: var(--accent-doux); border-bottom: 3px solid var(--accent); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { font-size: 2.6rem; margin-bottom: 16px; max-width: 860px; }
.hero-phrase { font-size: 1.15rem; color: var(--texte-doux); margin: 0; max-width: 820px; }
.hero-boite { background: #fff; border: 2px solid var(--accent); border-radius: var(--rayon); padding: 22px; }
.hero-boite-titre { font-size: 1.35rem; margin: 0 0 12px; }
.hero-note { font-size: 0.88rem; color: var(--texte-doux); margin: 14px 0 0; }

/* Sélecteur de département */
.selecteur label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.selecteur-ligne { display: flex; flex-wrap: wrap; gap: 8px; }
.selecteur select { flex: 1 1 200px; min-width: 0; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--texte);
  border: 2px solid var(--bordure-champ); border-radius: 4px; background: #fff; }
.selecteur .bouton { flex: 0 0 auto; }
.repli-deps { margin-top: 12px; }
.liste-deps { columns: 3 200px; padding: 0; list-style: none; font-size: 0.92rem; }
/* Départements voisins d'une page départementale, avant la liste des établissements (action 213) ; liens de 44 px
   de haut au moins, pour le toucher (relecture expert-ergonomie du 04/11/2026) */
.liste-voisins { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0; margin: 0 0 24px; list-style: none; }
.liste-voisins a { display: inline-block; padding: 10px 0; }

/* Cartes */
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.carte { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 2px solid var(--ligne);
  border-radius: var(--rayon); padding: 22px; color: var(--texte); text-decoration: none; transition: border-color .15s; }
.carte:hover { border-color: var(--accent); color: var(--texte); }
.carte-surtitre { font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.carte-titre { font-size: 1.25rem; line-height: 1.3; }
.carte-texte { color: var(--texte-doux); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden; }
.carte-lien { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: 0.95rem; }

/* Offres */
.grille-offres { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.offre { background: #fff; border: 2px solid var(--ligne); border-radius: var(--rayon); padding: 18px 20px; }
.offre-titre { margin: 0 0 4px; font-size: 1.1rem; }
.offre-titre a { color: var(--texte); text-decoration: none; }
.offre-titre a:hover { color: var(--accent); text-decoration: underline; }
.offre-employeur { margin: 0 0 10px; color: var(--texte-doux); font-size: 0.95rem; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 10px; }
.etiquettes li { background: #fff; color: var(--accent-fonce); border: 1px solid var(--accent-ligne); border-radius: 4px; padding: 2px 10px; font-size: 0.85rem; font-weight: 500; }
.offre-date { margin: 0; font-size: 0.85rem; color: var(--texte-doux); }
.suite { margin: 16px 0 0; font-weight: 600; }
.vide { border: 1px dashed var(--accent-ligne); background: var(--accent-doux); border-radius: var(--rayon); padding: 24px; }
.vide-titre { font-size: 1.2rem; font-weight: 700; margin: 0 0 6px; }
.vide p { max-width: 760px; }
.vide-actions, .recruteurs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.offre-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.offre-corps h2:first-child { margin-top: 0; }
.offre-fiche { background: #fff; border: 2px solid var(--accent); border-radius: var(--rayon); padding: 20px; position: sticky; top: 16px; }
.offre-fiche dl { margin: 0 0 16px; }
.offre-fiche dl div { padding: 8px 0; border-bottom: 1px solid var(--ligne); }
.offre-fiche dt { font-size: 0.82rem; color: var(--texte-doux); }
.offre-fiche dd { margin: 0; font-weight: 500; }
.offre-fiche .bouton { width: 100%; }

/* Bandeau recruteurs */
.recruteurs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: center;
  background: var(--accent); color: #fff; border-radius: var(--rayon); padding: 32px; }
.recruteurs h2 { color: #fff; margin: 0 0 8px; }
.recruteurs p { margin: 0; }
.recruteurs .etapes { margin: 0; padding: 0; list-style: none; counter-reset: etape; display: grid; gap: 10px; }
.recruteurs .etapes li { counter-increment: etape; display: flex; gap: 12px; align-items: baseline; }
.recruteurs .etapes li::before { content: counter(etape); flex: 0 0 28px; height: 28px; display: inline-grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--accent-fonce); font-weight: 700; font-size: 0.9rem; }
.recruteurs-actions { grid-column: 1 / -1; }
.recruteurs .bouton { background: #fff; color: var(--accent-fonce); border-color: #fff; }
.recruteurs .bouton:hover { background: var(--accent-doux); }
.recruteurs .bouton-second { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.recruteurs .bouton-second:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Encarts */
.encart { background: var(--accent-doux); border: 1px solid var(--accent-ligne); border-radius: var(--rayon); padding: 18px 22px; margin-bottom: 8px; }
.encart p { margin: 0; }
.encart-titre { font-size: 1.1rem; margin: 0 0 6px; }
.encart-selecteur { max-width: 640px; }
.encart-alerte { margin: 24px 0; }
.encart-alerte p + p { margin-top: 10px; }

/* Tableaux */
.tableau { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ligne); border-radius: var(--rayon); margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { background: var(--fond-doux); font-weight: 600; font-size: 0.9rem; }
td.nombre, th.nombre { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
th.nombre { white-space: normal; }
.liste-deps-table td:first-child { min-width: 8em; }
.liste-etab .c-nom { font-weight: 600; }
.recrute { display: inline-block; margin-left: 6px; background: var(--accent-doux); color: var(--accent-fonce); border-radius: 999px; padding: 1px 8px; font-size: 0.8rem; font-weight: 600; }
.recrute-lien, .recrute-date { font-weight: 400; font-size: 0.9rem; }
.liste-recrute li { margin-bottom: 6px; }
.liste-etab .c-registre, .liste-etab .c-effectif { white-space: nowrap; }
tr[hidden] { display: none !important; }

/* Filtre des établissements */
.filtre { margin: 8px 0 4px; max-width: 420px; }
.filtre label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.filtre input { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid var(--bordure-champ); border-radius: 8px; }
.filtre-compte { margin: 6px 0 0; font-size: 0.88rem; color: var(--texte-doux); min-height: 1.2em; }

/* Pages d'analyse */
.lecture { max-width: 720px; }
.lecture.avec-sommaire { max-width: none; display: grid; grid-template-columns: minmax(0, 720px) 280px; column-gap: 56px;
  grid-template-areas: "bref sommaire" "article sommaire"; align-items: start; }
.avec-sommaire .en-bref { grid-area: bref; }
.avec-sommaire .sommaire { grid-area: sommaire; position: sticky; top: 16px; }
.avec-sommaire .article { grid-area: article; }
.en-bref { background: var(--accent-doux); border-left: 4px solid var(--accent); border-radius: 0 var(--rayon) var(--rayon) 0;
  padding: 16px 20px; margin: 0 0 8px; }
.en-bref-titre { margin: 0 0 4px; font-weight: 700; font-size: 0.82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-fonce); }
.en-bref p:last-child { margin: 0; font-size: 1.05rem; }
.sommaire { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; background: #fff; font-size: 0.93rem; }
.sommaire-titre { margin: 0 0 8px; font-weight: 700; }
.sommaire ol { margin: 0; padding-left: 20px; }
.sommaire li { margin: 4px 0; }
.sommaire a { color: var(--texte); text-decoration: none; }
.sommaire a:hover { color: var(--accent); text-decoration: underline; }
.article { font-size: 1.05rem; line-height: 1.7; }
.article h2 { font-size: 1.45rem; margin-top: 44px; scroll-margin-top: 16px; }
.article li { margin: 6px 0; }
.article .sources { font-size: 0.9rem; color: var(--texte-doux); line-height: 1.55; }
.lecture-simple { max-width: 760px; }

/* Pied de page */
.pied { background: #1c2127; color: #d3d8de; margin-top: 0; font-size: 0.92rem; }
.pied a { color: #fff; }
.pied-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px 40px; padding-top: 36px; padding-bottom: 36px; }
.pied-marque { font-weight: 700; color: #fff; font-size: 1.05rem; margin: 0 0 6px; }
.pied p { margin: 0 0 8px; max-width: 520px; }
.pied-liens { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pied-editeur { grid-column: 1 / -1; border-top: 1px solid #39414a; padding-top: 14px; margin-top: 12px !important; max-width: none !important; }

/* Formulaire « publier une offre » */
.formulaire h2:first-child { margin-top: 0; }
.champ { margin: 0 0 16px; }
.champ label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.champ input, .champ select, .champ textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: 1rem;
  color: var(--texte); background: #fff; border: 2px solid var(--bordure-champ); border-radius: 4px; }
.champ textarea { resize: vertical; }
.champ-ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.champ-court { max-width: 240px; }
.facultatif { font-weight: 400; color: var(--texte-doux); }
.aide { font-size: 0.88rem; color: var(--texte-doux); margin: 6px 0 0; }
.resultats ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.resultat { display: block; width: 100%; text-align: left; padding: 10px 14px; font: inherit; font-size: 0.95rem;
  background: #fff; color: var(--texte); border: 1px solid var(--bordure-champ); border-radius: 8px; cursor: pointer; }
.resultat:hover { border-color: var(--accent); background: var(--accent-doux); }
.resultat strong, .resultat span { display: block; }
.resultat span { color: var(--texte-doux); font-size: 0.88rem; }
.choisi, .message { background: var(--accent-doux); border: 1px solid var(--accent-ligne); border-radius: 8px; padding: 10px 14px; }
.message { background: #fff4e5; border-color: #f0c27a; }
.lien-bouton { padding: 0; border: 0; background: none; font: inherit; color: var(--accent); text-decoration: underline;
  text-underline-offset: 2px; cursor: pointer; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lien-offre, .lien-retrait { overflow-wrap: anywhere; font-weight: 600; }
.champ-ligne-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
fieldset.champ { border: 0; padding: 0; min-width: 0; }
fieldset.champ legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.case { display: flex; gap: 10px; align-items: flex-start; }
.case input { width: 24px; height: 24px; margin-top: 2px; flex: 0 0 auto; }
.case label { font-weight: 600; margin: 0; }
.autre-nom, .signaler { margin: 0 0 16px; }
.autre-nom summary, .signaler summary { cursor: pointer; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.signaler form { margin-top: 12px; padding: 16px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--fond-doux); }
.mention-depot { margin-top: 24px; }

/* Tablette */
@media (max-width: 1000px) {
  .lecture.avec-sommaire { display: block; max-width: 720px; }
  .avec-sommaire .sommaire { position: static; margin: 16px 0 8px; }
  .offre-page { grid-template-columns: minmax(0, 1fr); }
  .offre-fiche { position: static; }
}
@media (max-width: 860px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 32px; gap: 24px; }
  .recruteurs { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .entete-in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 0; gap: 10px 12px; }
  .marque { order: 1; }
  .bouton-entete { order: 2; margin-left: auto; }
  .nav-principale { order: 3; flex: 1 0 100%; margin: 0 -16px; padding: 0 8px; border-top: 1px solid var(--accent-fonce);
    overflow-x: auto; gap: 0; }
  .nav-principale a { padding: 10px 10px; border-radius: 0; border-bottom: 3px solid transparent; }
  .nav-principale a[aria-current="page"] { background: none; border-bottom-color: #fff; }
}

/* Téléphone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero-phrase { font-size: 1.03rem; }
  h2 { font-size: 1.25rem; margin-top: 32px; }
  .section { padding: 28px 0; }
  .section.conteneur { padding: 24px 16px 36px; }
  .bandeau-page { padding: 20px 0 18px; }
  .chapo { font-size: 1.02rem; }
  .marque { font-size: 1rem; gap: 8px; }
  .marque-logo { width: 28px; height: 28px; font-size: 0.95rem; }
  .libelle-long { display: none; }
  .libelle-court { display: inline; }
  .bouton-entete { padding: 7px 12px; font-size: 0.88rem; }
  .selecteur .bouton { flex: 1 1 100%; }
  .grille-cartes, .grille-offres { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .carte { padding: 18px; }
  .hero-boite { padding: 18px; }
  .vide { padding: 18px; }
  .vide-actions .bouton, .recruteurs-actions .bouton { flex: 1 1 100%; }
  .champ-ligne, .champ-ligne-3 { grid-template-columns: minmax(0, 1fr); }
  .champ-court { max-width: none; }
  .formulaire .bouton-large { width: 100%; }
  .recruteurs { padding: 20px; border-radius: 12px; }
  .article { font-size: 1rem; }
  .article h2 { font-size: 1.25rem; }
  .pied-in { grid-template-columns: minmax(0, 1fr); }
  table { font-size: 0.9rem; }
  th, td { padding: 8px 8px; }
  /* La liste des établissements devient une pile de cartes. */
  .tableau-cartes { border: 0; overflow: visible; }
  .tableau-cartes thead { display: none; }
  .tableau-cartes table, .tableau-cartes tbody, .tableau-cartes tr, .tableau-cartes td { display: block; width: 100%; }
  .tableau-cartes tr { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 12px 14px; margin-bottom: 10px;
    background: #fff; box-shadow: var(--ombre); }
  .tableau-cartes td { border: 0; padding: 0; white-space: normal; }
  .tableau-cartes .c-nom { font-size: 1rem; }
  .tableau-cartes .c-commune, .tableau-cartes .c-effectif { display: inline; color: var(--texte-doux); font-size: 0.92rem; }
  .tableau-cartes .c-effectif::before { content: " · "; }
  .tableau-cartes .c-registre { margin-top: 4px; font-size: 0.92rem; }
  .tableau-cartes tbody tr:last-child td { border-bottom: 0; }
}

/* Refonte du 24/10/2026 : pictogramme, accueil à deux portes, essentiel de l'offre, erreurs du formulaire */
.marque-logo svg { width: 22px; height: 22px; }
.hero-portes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .hero-portes { grid-template-columns: minmax(0, 1fr); } }
.hero-boite-recruteur { background: var(--accent); color: #fff; }
.hero-boite-recruteur .bouton { background: transparent; color: #fff; border-color: #fff; }
.hero-boite-recruteur .bouton:hover { background: var(--accent-fonce); color: #fff; }
.hero-boite-recruteur :focus-visible { outline-color: #fff; }
.hero-lien { margin: 12px 0 0; font-weight: 600; }
.hero-boite-recruteur p { margin: 0 0 12px; }
.hero-action { margin: 0; }
.hero-illus { display: none; }
.etiquettes-offre { margin: 14px 0 0; }
.postuler-haut { margin: 16px 0 0; }
.formulaire-intro { margin: 0 0 8px; color: var(--texte-doux); }
.etape-num { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: 6px; border-radius: 4px;
  background: var(--accent); color: #fff; font-size: 0.8em; vertical-align: 0.1em; }
.champ .aide { margin: 0 0 6px; }
.formulaire h2 { border-top: 2px solid var(--ligne); padding-top: 24px; margin-top: 32px; }
.formulaire h2:first-of-type { border-top: 0; padding-top: 0; }
.compteur { font-size: 0.88rem; color: var(--texte-doux); margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.erreurs { border: 3px solid var(--erreur); border-radius: var(--rayon); padding: 14px 18px; margin: 0 0 20px; background: #fff; }
.erreurs:focus { outline: 3px solid var(--texte); outline-offset: 2px; }
.erreurs-titre { margin: 0 0 6px; font-weight: 700; color: var(--erreur); }
.erreurs ul { margin: 0; padding-left: 20px; }
.erreurs a { color: var(--erreur); font-weight: 600; }
.erreur-champ { margin: 0 0 6px; color: var(--erreur); font-weight: 600; font-size: 0.95rem; }
.champ [aria-invalid="true"] { border: 2px solid var(--erreur); }
/* Un nom de site long (Emploi Diagnostiqueur) passe sur deux lignes plutôt que de renvoyer le bouton à la ligne ;
   sous 360 px, il ne tiendrait plus : le bouton reprend sa propre ligne. */
@media (min-width: 360px) and (max-width: 420px) {
  .marque { flex: 1 1 0; min-width: 0; white-space: normal; line-height: 1.15; }
  .marque-logo { flex: 0 0 auto; }
}

/* Logo « grand » (choix de Matthieu du 11/11/2026, page de comparaison des logos et couleurs, action 352) : le symbole
   en blanc à même la barre, sans tuile ; le nom du site dans sa police de titres, « Emploi » au poids 400, le métier à
   700. Mesuré le 10/11 : l'en-tête garde sa hauteur à 375 et 1 280 px, 2 px de moins à 320 px. Un site sans
   pictogramme garde son initiale dans la tuile blanche. */
.entete .marque { gap: 9px; }
.police-titres .entete .marque { font-family: var(--police-titres); }
.entete .marque-logo { width: 28px; height: 28px; border-radius: 0; background: none; color: #fff; }
.entete .marque-logo svg { width: 28px; height: 28px; }
.entete .marque-initiale { width: 32px; height: 32px; border-radius: 8px; background: #fff; color: var(--accent); }
.entete .marque-emploi { font-weight: 400; }
@media (max-width: 600px) {
  .entete .marque { gap: 7px; }
  .entete .marque-logo, .entete .marque-logo svg { width: 24px; height: 24px; }
  .entete .marque-initiale { width: 28px; height: 28px; }
}

/* Audit du 24/10/2026 : focus visible sur les fonds de couleur, pages de lecture alignées sur leur titre, état vide discret */
.recruteurs :focus-visible, .pied :focus-visible { outline-color: #fff; }
.conteneur.lecture-simple { max-width: 1120px; }
.conteneur.lecture-simple > * { max-width: 760px; }
.vide { border: 0; border-left: 4px solid var(--accent-ligne); border-radius: 0; background: none; padding: 4px 0 4px 18px; }
.vide-titre { font-size: 1.05rem; }

/* Audit du 03/11/2026 : encart « Vous recrutez ici ? » en tête des pages départementales (action 210) */
.encart-recruteur { border-left: 6px solid var(--accent); margin-bottom: 24px; }
.encart-recruteur .encart-titre { font-weight: 800; letter-spacing: -0.01em; }
.encart-recruteur p + p { margin-top: 12px; }
.grille-offres + .encart { margin-top: 24px; }

/* Audit du 03/11/2026 : formulaire de dépôt plus court sur téléphone (action 211), le salaire tient sur une ligne */
.precision { font-weight: 400; color: var(--texte-doux); }
@media (max-width: 600px) {
  .salaire .champ-ligne-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; }
}

/* Audit du 24/10/2026, point 8 (action 182) : temps de travail en deux boutons radio (E9), défaut visible ; sur
   téléphone, en-tête de la page de dépôt resserré, pour remonter le premier champ dans le premier écran. Les deux
   libellés sont collés dans generer.py, l'écart vient d'ici : le texte de la page, donc sa date au sitemap, reste
   celui de l'ancienne liste. */
.radios { display: flex; flex-wrap: wrap; gap: 0 24px; }
.champ .radio { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; font-weight: 400; font-size: 1rem; cursor: pointer; }
.radio input { width: 24px; height: 24px; margin: 0; flex: 0 0 auto; }
@media (max-width: 600px) {
  main:has(#formulaire) .bandeau-page { padding: 14px 0 14px; }
  main:has(#formulaire) .fil ol { margin-bottom: 8px; }
  main:has(#formulaire) .bandeau-page h1 { margin-bottom: 8px; }
  main:has(#formulaire) .chapo { font-size: .95rem; line-height: 1.5; }
  main:has(#formulaire) .section.conteneur { padding-top: 16px; }
  #formulaire .formulaire-intro { line-height: 1.45; }
  #formulaire h2:first-of-type { margin-top: 16px; }
}

/* Identité de chaque site (doctrine ergonomie, V1 élargie le 03/11/2026) : chaque levier s'allume par la config du
   site (generer.py, identite()) ; sans réglage, rien ne change. --decor ne va jamais sur un texte ni sur un bouton. */
.hero { background: var(--fond-accueil, var(--accent-doux)); }
.police-titres h1, .police-titres h2, .police-titres .hero-boite-titre, .police-titres .carte-titre,
.police-titres .vide-titre, .police-titres .encart-titre { font-family: var(--police-titres); font-weight: 700; letter-spacing: 0; }
.hero-signature { margin: 0 0 8px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-fonce); }
.hero-signature::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 10px;
  vertical-align: .3em; background: var(--decor, var(--accent)); }
.frise .hero { border-bottom: 0; }
.frise .hero::after { content: ""; display: block; height: 14px; background: var(--frise) repeat-x 0 0 / 22px 14px;
  border-bottom: 3px solid var(--accent); }
.decor .section-tete h2::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 6px; background: var(--decor); }
.decor .vide { border-left-color: var(--decor); }
/* L'illustration n'apparaît qu'à partir de 861 px, à côté du titre : sur téléphone elle tombait au deuxième écran et
   repoussait les offres de l'accueil de 119 px (avis ergonomie du 03/11). */
.hero-dessin { display: none; }
.hero-dessin svg { display: block; width: 100%; height: auto; }
.hero-dessin .i-aplat, .hero-dessin .i-aplat * { fill: var(--decor-pale, var(--accent-pale)); stroke: none; }
.hero-dessin .i-trait { stroke: var(--accent); }
.hero-dessin .i-point { fill: var(--decor, var(--accent)); stroke: none; }
@media (min-width: 861px) {
  .hero-in-dessin { grid-template-columns: minmax(0, 1fr) 270px; column-gap: 40px; }
  .hero-in-dessin .hero-texte { grid-column: 1; grid-row: 1; }
  .hero-in-dessin .hero-portes { grid-column: 1 / -1; grid-row: 2; }
  .hero-in-dessin .hero-dessin { display: block; justify-self: end; grid-column: 2; grid-row: 1; align-self: end; width: 270px; }
}

/* Passe design du 10/11/2026, lots 1 et 3 (relectures expert-ergonomie et expert-seo-geo du même jour).
   Porte candidat de l'accueil : le bouton des offres, quand il y en a, au-dessus du choix du département. */
.porte-offres { margin: 0 0 14px; }
.porte-offres .bouton { width: 100%; }
/* Page « Votre offre est en ligne » : la carte à la largeur qu'elle a dans une liste. */
.lecture-simple > .offre { max-width: 420px; }
/* Pages d'analyse : une ligne de liens sous « En bref » ; à partir de 1 001 px, des liens sous le sommaire, dans sa
   colonne qui suit la lecture sans jamais dépasser l'écran ; en fin d'article, les deux portes de l'accueil. */
.suite-analyse { margin: 12px 0 0; font-weight: 600; }
.suite-analyse a { white-space: nowrap; }
.sommaire-site { display: none; }
.section-passerelle { padding-top: 0; }
.passerelle .porte-offres { margin-bottom: 0; }
@media (min-width: 1001px) {
  .avec-sommaire .suite-analyse { display: none; }
  .avec-sommaire .colonne-sommaire { grid-area: sommaire; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
  .avec-sommaire .colonne-sommaire .sommaire { position: static; }
  .sommaire-site { display: block; margin: 12px 0 0; padding: 14px 18px; border: 1px solid var(--ligne); border-radius: var(--rayon);
    background: #fff; font-size: 0.93rem; }
  .sommaire-site p { margin: 0 0 8px; font-weight: 700; }
  .sommaire-site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .sommaire-site a { font-weight: 600; }
}

/* Alerte emploi par mail (conception du 10/11/2026, action 350) : le formulaire dans l'encart, le mail et le
   département côte à côte, l'un sous l'autre sur téléphone ; la réponse s'affiche à la place du formulaire. */
.form-alerte { margin-top: 12px; }
.alerte-champs { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 12px; max-width: 640px; }
.alerte-champs .champ { margin-bottom: 12px; }
.alerte-champs .champ:only-child { grid-column: 1 / -1; max-width: 420px; }
.form-alerte .case-lettre { max-width: 640px; margin-bottom: 4px; }
.case-lettre label { font-weight: 400; }
.case-lettre-aide { max-width: 640px; margin: 0 0 12px 34px; }
/* Dans l'encart, « .encart p » effaçait la marge : l'aide collait au bouton. Sans retrait, deux lignes de moins à 375 px.
   L'erreur d'adresse sous son champ. Relecture expert-ergonomie du 12/11/2026. */
.encart-alerte .case-lettre-aide { margin: 0 0 12px; }
.encart-alerte .alerte-erreur { margin: 4px 0 0; }
.encart-alerte .alerte-envoi, .encart-alerte .alerte-fait p { margin: 0; }
.encart-alerte .alerte-statut { margin-top: 10px; }
.alerte-statut:empty { display: none; }
.alerte-fait { margin-top: 12px; }
.encart-alerte .alerte-fait p + p { margin-top: 8px; }
.encart-alerte .alerte-fait strong { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .alerte-champs { grid-template-columns: minmax(0, 1fr); }
  .form-alerte .bouton { width: 100%; }
}

/* Gabarit v2 (maquette du 17/11/2026, essai sur coiffure décidé par Matthieu le 18/11/2026). Recopié à la suite de
   style.css, dans le même fichier public/style.css, par gabarit_v2.ecrire_fichiers ; les déclarations des polices
   présentes le précèdent. Les couleurs sont des variables écrites dans chaque page par gabarit_v2.variables() : les
   neuves en --g2-*, les anciennes de style.css recalculées sur la même palette. Aucun color-mix() : les mélanges sont
   calculés en Python (gabarit_v2.melange).
   Partie 1 : l'ancien vocabulaire (bandeau-page, bouton, carte, offre, encart, champ...) habillé sous body.g2, pour
   les pages que le gabarit ne redessine pas : guides, offres, formulaires, mentions, pages des Functions.
   Partie 2 : les composants neufs, tous préfixés g2-. */

/* ------------------------------------------------------------ partie 1 : base */
body.g2 { background: var(--g2-fond); color: var(--g2-encre); }
.g2 a { color: var(--g2-marque); }
.g2 a:hover { color: var(--g2-marque-fonce); }
.g2 :focus-visible { outline: 3px solid var(--g2-marque); outline-offset: 2px; }
.g2 h1, .g2 h2, .g2 h3, .g2 .hero-boite-titre, .g2 .carte-titre, .g2 .vide-titre, .g2 .encart-titre {
  font-family: var(--g2-titres); font-weight: var(--g2-graisse-titres, 500); letter-spacing: -0.018em; font-synthesis: none; color: inherit; }
.g2 h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08; }
.g2 h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.g2 .article h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.g2 h3 { font-size: 1.2rem; }

/* Boutons : en pilule, la couleur du thème ; le second en contour encre. */
.g2 .bouton { min-height: 3rem; padding: .55rem 1.35rem; border: 1.5px solid var(--g2-marque); border-radius: 999px;
  background: var(--g2-marque); color: #fff; font-size: 1rem; }
.g2 .bouton:hover { background: var(--g2-marque-fonce); border-color: var(--g2-marque-fonce); color: #fff; }
.g2 .bouton-second { background: transparent; color: var(--g2-encre); border-color: var(--g2-encre); }
.g2 .bouton-second:hover { background: var(--g2-encre); border-color: var(--g2-encre); color: var(--g2-fond); }
.g2 .lien-bouton { color: var(--g2-marque); }

/* En-tête de page, sections. Le bandeau du titre reprend l'identité de l'accueil quand le site en a une (maquette du
   28/11/2026) : son fond (--g2-bandeau-fond) et sa frise pâlie (--g2-bandeau-frise), deux variables écrites en tête de
   style.css par gabarit_v2.bandeau_pages ; sans elles, le bandeau reste nu. La frise tient dans la marge du bas du
   bandeau : aucune hauteur ne change. Pas de frise au-dessus du formulaire de dépôt, que style.css resserre sur
   téléphone. */
.g2 .bandeau-page { background: var(--g2-bandeau-fond, transparent) var(--g2-bandeau-frise, none) repeat-x 0 100% / auto 10px;
  border-bottom: 1px solid var(--g2-trait); padding: 1.4rem 0 1.8rem; }
.g2 main:has(#formulaire) .bandeau-page { background-image: none; }
.g2 .fil ol { font-size: .85rem; }
.g2 .fil a, .g2 .fil li + li::before { color: var(--g2-encre-2); }
.g2 .chapo, .g2 .note, .g2 .maj, .g2 .aide, .g2 .compteur, .g2 .facultatif, .g2 .precision { color: var(--g2-encre-2); }
.g2 .section-douce { background: var(--g2-papier); border-color: var(--g2-trait); }
.g2 .source { margin-top: .9rem; padding: 0; background: none; border: 0; font-size: .85rem; color: var(--g2-encre-2); }

/* Cartes, offres, encarts */
.g2 .carte, .g2 .offre, .g2 .sommaire, .g2 .sommaire-site, .g2 .encart {
  background: var(--g2-papier); border: 1px solid var(--g2-trait); border-radius: var(--g2-rayon); }
.g2 .carte:hover { border-color: var(--g2-encre); color: var(--g2-encre); }
.g2 .carte-surtitre { letter-spacing: .13em; color: var(--g2-marque); }
.g2 .carte-texte { color: var(--g2-encre-2); }
.g2 .carte-lien { color: var(--g2-marque); }
.g2 .offre-titre a { color: var(--g2-encre); }
.g2 .offre-employeur, .g2 .offre-date { color: var(--g2-encre-2); }
.g2 .etiquettes li { border: 0; border-radius: 999px; background: var(--g2-voile); color: var(--g2-encre); font-weight: 600;
  font-size: .82rem; padding: .2rem .62rem; }
.g2 .encart-alerte, .g2 .en-bref { background: var(--g2-marque-pale); border: 0; }
.g2 .en-bref { border-radius: var(--g2-rayon); }
.g2 .en-bref-titre { color: var(--g2-marque-fonce); }
.g2 .encart-recruteur { border-left: 6px solid var(--g2-marque); }
.g2 .vide { padding: 1.4rem; border: 1.5px dashed var(--g2-pointille); border-radius: var(--g2-rayon); background: var(--g2-papier); }
.g2 .recrute { background: var(--g2-marque-pale); color: var(--g2-marque-fonce); }

/* Tableaux */
.g2 .tableau { background: var(--g2-papier); border-color: var(--g2-trait); border-radius: var(--g2-rayon); }
.g2 th, .g2 td { border-bottom-color: var(--g2-trait); }
.g2 th { background: var(--fond-doux); }

/* Accueil d'avant (tant que le gabarit ne le redessine pas) et bandeau recruteurs */
.g2 .hero { background: var(--g2-fond); border-bottom: 1px solid var(--g2-trait); }
.g2 .hero-phrase, .g2 .hero-note { color: var(--g2-encre-2); }
.g2 .hero-boite { background: var(--g2-papier); border: 1px solid var(--g2-trait); border-radius: var(--g2-rayon); }
.g2 .hero-boite-recruteur, .g2 .recruteurs { background: var(--g2-sombre); color: var(--g2-sur-sombre); border-color: var(--g2-sombre); }
.g2 .recruteurs { border-radius: calc(var(--g2-rayon) + 12px); }
.g2 .recruteurs h2, .g2 .hero-boite-recruteur .hero-boite-titre { color: var(--g2-sur-sombre); }
.g2 .recruteurs .etapes li::before { background: transparent; border: 1.5px solid var(--g2-accent-sombre); color: var(--g2-accent-sombre); }
.g2 .recruteurs .bouton { background: var(--g2-sur-sombre); color: var(--g2-sombre); border-color: var(--g2-sur-sombre); }
.g2 .hero-boite-recruteur .bouton, .g2 .recruteurs .bouton-second { background: transparent; color: var(--g2-sur-sombre);
  border-color: var(--g2-sur-sombre); }
.g2 .hero-boite-recruteur a:not(.bouton), .g2 .recruteurs a:not(.bouton) { color: var(--g2-sur-sombre); }
.g2 .hero-boite-recruteur :focus-visible, .g2 .recruteurs :focus-visible { outline-color: var(--g2-sur-sombre); }

/* Champs et formulaires */
.g2 .champ input, .g2 .champ select, .g2 .champ textarea, .g2 .selecteur select, .g2 .filtre input {
  border: 1.5px solid var(--g2-bord); border-radius: 12px; background: var(--g2-papier); color: var(--g2-encre); }
.g2 .champ input:not([type="checkbox"]):not([type="radio"]), .g2 .champ select, .g2 .selecteur select, .g2 .filtre input { min-height: 3rem; }
.g2 .champ [aria-invalid="true"] { border-color: var(--erreur); }
.g2 .resultat { border-radius: 12px; background: var(--g2-papier); }
.g2 .choisi { background: var(--g2-marque-pale); border-color: var(--g2-trait); border-radius: 12px; }
.g2 .etape-num { border-radius: 50%; background: var(--g2-marque); }
.g2 .formulaire h2 { border-top-color: var(--g2-trait); }
.g2 .erreurs { background: var(--g2-papier); border-radius: var(--g2-rayon); }
.g2 .case input, .g2 .radio input { accent-color: var(--g2-marque); }

/* Page d'une offre : la fiche cadrée d'encre ; sur téléphone, son bouton « Postuler » reste en bas de l'écran. */
.g2 .offre-fiche { background: var(--g2-papier); border: 1.5px solid var(--g2-encre); border-radius: calc(var(--g2-rayon) + 4px); }
.g2 .offre-fiche dl div { border-bottom-color: var(--g2-trait); }
.g2 .offre-fiche dt { color: var(--g2-encre-2); }
@media (max-width: 1000px) {
  .g2 .offre-fiche > a.bouton { position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 25; width: auto; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); }
  .g2 main:has(.offre-fiche > a.bouton) { padding-bottom: 5.5rem; }
}

/* ------------------------------------------------------------ partie 2 : en-tête */
.g2-entete { background: var(--g2-fond); border-bottom: 1px solid var(--g2-trait); }
.g2-entete-in { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1rem; padding-top: .7rem; }
.g2-logo { display: inline-flex; align-items: center; gap: .5rem; margin-right: auto; color: var(--g2-encre);
  font-family: var(--g2-titres); font-size: 1.32rem; font-weight: var(--g2-graisse-titres, 500); letter-spacing: -.02em; font-synthesis: none;
  text-decoration: none; white-space: nowrap; }
.g2 .g2-logo, .g2 .g2-logo:hover { color: var(--g2-encre); }
.g2-logo em { font-style: italic; color: var(--g2-marque); }
.g2-logo-picto { display: inline-grid; color: var(--g2-marque); }
.g2-logo-picto svg { width: 26px; height: 26px; }
.g2-nav { order: 3; flex: 1 0 100%; display: flex; gap: .1rem; overflow-x: auto; margin-inline: -.6rem;
  padding: .2rem 0 .3rem; scrollbar-width: none; }
.g2 .g2-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .7rem; border-radius: 999px;
  color: var(--g2-encre-2); font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.g2 .g2-nav a:hover { color: var(--g2-encre); background: var(--g2-marque-pale); }
.g2 .g2-nav a[aria-current="page"] { color: var(--g2-encre); font-weight: 700; text-decoration: underline;
  text-decoration-color: var(--g2-marque); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.g2 .g2-recruter { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1rem;
  border: 1.5px solid var(--g2-encre); border-radius: 999px; color: var(--g2-encre); font-size: .92rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; }
.g2 .g2-recruter:hover { background: var(--g2-encre); color: var(--g2-fond); }
.g2-recruter b { font-weight: inherit; }
.g2-recruter i { font-style: normal; }
@media (max-width: 1099px) { .g2-recruter i { display: none; } }
@media (max-width: 480px) { .g2-logo { font-size: 1.2rem; } }
@media (max-width: 400px) { .g2 .g2-recruter { padding-inline: .8rem; font-size: .84rem; } }
@media (max-width: 345px) { .g2-recruter b { display: none; } }
/* Sur téléphone, un nom de site long (« Emploi Restauration Collective ») passe sur deux lignes à côté du bouton ; avant,
   c'est le bouton qui tombait sous le logo, et l'en-tête prenait 34 px de plus (constaté le 18/11/2026 sur six sites). */
@media (max-width: 819px) {
  .g2-entete-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .g2-logo { justify-self: start; margin-right: 0; white-space: normal; line-height: 1.1; text-wrap: balance; }
  .g2-nav { grid-column: 1 / -1; }
  /* Nom dont aucune coupe en deux lignes ne tient à côté du bouton (gabarit_v2.nom_long) : réduit avec l'écran. */
  .g2-logo-nom-long { font-size: clamp(.94rem, 4.2vw, 1.2rem); }
}
@media (min-width: 820px) {
  .g2-entete { position: sticky; top: 0; z-index: 20; }
  .g2-entete-in { flex-wrap: nowrap; gap: 1.5rem; padding-top: 0; min-height: 4.2rem; }
  .g2-logo { margin-right: 0; }
  .g2-nav { order: 0; flex: 1; margin: 0 0 0 1rem; padding: 0; gap: .25rem; }
  .g2 .g2-nav a { padding: 0 .85rem; }
  /* L'en-tête collant ne doit couvrir ni une ancre ni une colonne collante. */
  .g2 [id] { scroll-margin-top: 5rem; }
  .g2 .avec-sommaire .sommaire, .g2 .avec-sommaire .colonne-sommaire, .g2 .offre-fiche { top: 5rem; }
  .g2 .avec-sommaire .colonne-sommaire { max-height: calc(100vh - 6rem); }
}

/* ------------------------------------------------------------ partie 2 : pied
   Maquette du 28/11/2026 : sur le fond sombre du bloc recruteur, fermé en haut d'un filet d'accent ; en tête, la
   signature du site dans la police des titres, précédée de son pictogramme (gabarit_v2.signature_pied). Texte courant
   en --g2-pied-doux, titres et liens en --g2-sur-sombre, traits en --g2-pied-trait (gabarit_v2.variables). */
.g2-pied { margin-top: 2rem; padding: 2.4rem 0 2rem; border-top: 3px solid var(--g2-accent); background: var(--g2-sombre);
  color: var(--g2-pied-doux); font-size: .93rem; }
.g2-pied .g2-pied-signature { display: flex; align-items: center; gap: .7rem; max-width: none; margin: 0 0 1.7rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--g2-pied-trait); color: var(--g2-sur-sombre);
  font-family: var(--g2-titres); font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: var(--g2-graisse-titres, 500); letter-spacing: -.018em; line-height: 1.15; font-synthesis: none; }
.g2-pied-picto { display: inline-grid; flex: none; color: var(--g2-accent-sombre); }
.g2-pied-picto svg { width: 1.9rem; height: 1.9rem; }
.g2-pied :focus-visible { outline-color: var(--g2-sur-sombre); }
.g2-pied-grille { display: grid; gap: 1.6rem 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g2-pied-grille > div:first-child { grid-column: 1 / -1; }
@media (min-width: 800px) {
  .g2-pied-grille { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .g2-pied-grille > div:first-child { grid-column: auto; }
}
.g2-pied p { margin: 0 0 .5rem; max-width: 34rem; }
.g2-pied-marque { font-family: var(--g2-titres); font-size: 1.2rem; font-weight: var(--g2-graisse-titres, 500); font-synthesis: none; color: var(--g2-sur-sombre); }
.g2-pied .g2-pied-titre { margin-bottom: .6rem; color: var(--g2-sur-sombre); font-size: .76rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; }
.g2-pied ul { margin: 0; padding: 0; list-style: none; }
.g2-pied li { margin: .1rem 0; }
.g2 .g2-pied li a { display: inline-block; padding: .3rem 0; color: var(--g2-sur-sombre); text-decoration: none; }
.g2 .g2-pied li a:hover { color: var(--g2-sur-sombre); text-decoration: underline; }
.g2 .g2-pied p a, .g2 .g2-pied p a:hover { color: var(--g2-sur-sombre); }
.g2-pied .g2-pied-editeur { max-width: none; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--g2-pied-trait); font-size: .82rem; }

/* ------------------------------------------------------------ partie 2 : carte de France (cartes/france-departements.json) */
.g2-employeurs-haut { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 1rem; }
.g2-employeurs-haut > * { min-width: 0; }
.g2-employeurs-haut .encart { margin: 0; }
@media (min-width: 860px) { .g2-employeurs-haut { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 3rem; } }
.g2-carte-cadre { position: relative; width: 100%; max-width: 24rem; margin-inline: auto; }
svg.g2-carte { display: block; width: 100%; height: auto; overflow: visible; }
svg.g2-carte path { fill: var(--g2-dep); stroke: var(--g2-dep-trait); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
svg.g2-carte path.inerte { fill: var(--g2-dep-inerte); }
.g2-carte .loupe-fond { fill: var(--g2-dep-trait); }
.g2-carte .loupe-bord { fill: none; stroke: var(--g2-encre); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.g2-carte .loupe text { font: 600 40px system-ui, sans-serif; fill: var(--g2-encre-2); text-anchor: middle; }
/* Unités du viewBox (1000 de large) : 40 ou 52 donnent 11 px au moins à la largeur rendue de la carte. */
@media (max-width: 699px) { .g2-carte .loupe text { font-size: 52px; } }
/* Cadres, selon theme.motifs.cadre_carte : rectangle par défaut ; « arche », le miroir du salon de coiffure. */
.g2-cadre-rect { padding: 1rem; background: var(--g2-papier); border: 1px solid var(--g2-trait); border-radius: var(--g2-rayon); }
.g2-cadre-arche { max-width: 20rem; padding: 14% 6% 6%; background: var(--g2-papier); border: 1.5px solid var(--g2-accent);
  border-radius: 999px 999px 28px 28px;
  box-shadow: 0 0 0 7px var(--g2-fond), 0 0 0 8.5px var(--g2-accent-voile), 0 34px 50px -38px rgba(70, 25, 10, .55); }
@media (min-width: 860px) { .g2-cadre-arche { max-width: 24rem; } }
svg.g2-carte path:not(.inerte) { cursor: pointer; transition: fill .12s; }
@media (hover: hover) { svg.g2-carte path:not(.inerte):hover { fill: var(--g2-dep-survol); } }
svg.g2-carte path.choisi { fill: var(--g2-dep-choisi); }
.g2-carte .loupe-bord, svg.g2-carte path.inerte { pointer-events: none; }
.g2-carte-bulle { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -135%); padding: .35rem .65rem;
  border-radius: 8px; background: var(--g2-encre); color: var(--g2-fond); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.g2-carte-bulle[hidden] { display: none; }
.g2-carte-source { margin: .6rem 0 0; font-size: .75rem; color: var(--g2-encre-2); text-align: center; }

/* ------------------------------------------------------------ partie 2 : accueil */
.g2-hero { padding: clamp(1.2rem, 4vw, 3.6rem) 0 clamp(1rem, 3vw, 2.4rem); overflow: hidden; }
.g2-hero-grille { display: grid; gap: 1.6rem; align-items: center; }
.g2-hero-grille > * { min-width: 0; }
@media (min-width: 920px) { .g2-hero-grille { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3rem; } }
.g2 .g2-hero-titre { margin: 0 0 .8rem; font-size: clamp(2.2rem, 6.1vw, 4.5rem); line-height: 1.02; }
/* Titre d'accueil long (plus de 48 signes, le cas de presque tous les sites) : en grand il prenait six lignes sur
   ordinateur et poussait la recherche hors du premier écran (constaté sur garage le 18/11/2026). */
.g2 .g2-hero-titre-long { font-size: clamp(1.75rem, 3.9vw, 3rem); line-height: 1.08; text-wrap: balance; }
.g2 .g2-surtitre { display: block; margin: 0 0 .7rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .8rem;
  font-weight: 700; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; color: var(--g2-marque-fonce); text-wrap: balance; }
/* Le slogan (accueil.titre), sous le h1 : l'allure du grand titre. */
.g2 .g2-phrase { font-family: var(--g2-titres); font-weight: var(--g2-graisse-titres, 500); letter-spacing: -0.018em; font-synthesis: none; }
.g2-hero-titre em { font-style: italic; color: var(--g2-marque); }
/* Identité du site (clés "signature", "fond_accueil", "frise" de la config, gabarit_v2.signature, fond_accueil, frise).
   La signature au-dessus du h1 : l'allure du surtitre, précédée d'un filet dans la couleur d'accent. */
.g2 .g2-signature { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; color: var(--g2-marque-fonce); }
.g2-signature::before { content: ""; flex: none; width: 1.6rem; height: 2px; background: var(--g2-accent); }
/* Le haut de l'accueil sur le fond du site, sans le trait de l'en-tête au-dessus ; la frise ferme le bandeau, à la
   place de sa marge du bas. */
.g2-hero-teinte { background: var(--g2-fond-accueil); }
.g2-entete:has(+ main .g2-hero-teinte) { border-bottom-color: transparent; }
.g2-hero-frise { padding-bottom: 0; }
.g2-hero-frise::after { content: ""; display: block; height: 14px; margin-top: clamp(1.2rem, 3vw, 2.4rem);
  background: var(--g2-frise) repeat-x 0 0 / 22px 14px; border-bottom: 3px solid var(--g2-marque); }
.g2-chapo { margin: 0; max-width: 34rem; font-size: 1.08rem; color: var(--g2-encre-2); }
.g2-chapo strong { color: var(--g2-encre); }
.g2-recherche { margin-top: 1.2rem; max-width: 36rem; }
.g2-recherche-label { display: block; margin-bottom: .4rem; font-weight: 700; }
.g2-recherche-champ { position: relative; display: flex; align-items: center; gap: .5rem; padding: .3rem .3rem .3rem 1rem;
  border: 1.5px solid var(--g2-encre); border-radius: 999px; background: var(--g2-papier); }
/* Le contour porte le focus à lui seul : sur un site dont la marque est la couleur du texte (électricien, 28/11/2026),
   la bordure ne change pas de couleur et l'anneau pâle ne se voit pas. */
.g2-recherche-champ:focus-within { border-color: var(--g2-marque); box-shadow: 0 0 0 4px var(--g2-marque-pale);
  outline: 3px solid var(--g2-encre); outline-offset: 2px; }
.g2-recherche-champ > svg { flex: none; color: var(--g2-marque); }
.g2 .g2-recherche-champ input { flex: 1; min-width: 0; min-height: 2.9rem; padding: 0; border: 0; background: none;
  color: var(--g2-encre); font-size: 1.05rem; outline: 0; }
.g2-recherche-champ input::placeholder { color: var(--g2-encre-2); opacity: 1; }
.g2-recherche-champ .bouton { flex: none; min-height: 2.9rem; padding-inline: 1.1rem; }
.g2-suggestions { position: absolute; top: calc(100% + .45rem); left: 0; right: 0; z-index: 30; max-height: 21rem; margin: 0;
  padding: .35rem; overflow: auto; list-style: none; background: var(--g2-papier); border: 1px solid var(--g2-trait);
  border-radius: 16px; box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .4); }
.g2-suggestions[hidden] { display: none; }
.g2-suggestions li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0;
  padding: .62rem .8rem; border-radius: 11px; cursor: pointer; }
.g2-suggestions li[aria-selected="true"], .g2-suggestions li:hover { background: var(--g2-marque-pale); }
.g2-suggestions small { color: var(--g2-encre-2); white-space: nowrap; }
.g2-recherche-message { margin: .5rem 0 0; font-weight: 600; }
.g2-recherche-message:empty { display: none; }
.g2-raccourcis { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 0; }
.g2 .g2-puce { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.5rem; padding: 0 .85rem;
  border: 1.5px solid var(--g2-bord); border-radius: 999px; background: var(--g2-papier); color: var(--g2-encre);
  font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.g2 .g2-puce:hover { border-color: var(--g2-encre); color: var(--g2-encre); }
.g2 .g2-puce[aria-pressed="true"] { background: var(--g2-encre); border-color: var(--g2-encre); color: var(--g2-fond); }
.g2-puce small { font-size: .82rem; font-weight: 500; }
.g2-hero .hero-lien, .g2-hero .porte-offres { margin: .8rem 0 0; }
.g2-hero .hero-lien a { font-weight: 600; }
.g2-hero-recruteur { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: 1.1rem 0 0; padding-top: 1rem;
  border-top: 1px solid var(--g2-trait); font-weight: 600; }
.g2 .g2-hero-recruteur .bouton { min-height: 2.75rem; max-width: 100%; padding-block: .45rem; white-space: normal; text-align: center; line-height: 1.2; }
.g2-carte-choix { display: flex; align-items: center; justify-content: space-between; gap: .8rem; max-width: 25rem; margin: 1rem auto 0;
  padding: .6rem .65rem .6rem 1rem; border: 1.5px solid var(--g2-encre); border-radius: var(--g2-rayon); background: var(--g2-papier);
  text-decoration: none; }
.g2 .g2-carte-choix, .g2 .g2-carte-choix:hover { color: var(--g2-encre); }
.g2-carte-choix[hidden] { display: none; }
.g2-carte-choix strong { display: block; font-family: var(--g2-titres); font-size: 1.08rem; font-weight: var(--g2-graisse-titres, 500); }
.g2-carte-choix small { display: block; font-size: .84rem; color: var(--g2-encre-2); }
.g2-carte-voir { flex: none; padding: .45rem 1rem; border-radius: 999px; background: var(--g2-marque); color: #fff; font-weight: 700; }
.g2-carte-legende { margin: .8rem 0 0; font-size: .85rem; color: var(--g2-encre-2); text-align: center; }
.g2-tous-deps { margin-top: .4rem; font-size: .9rem; text-align: center; }
.g2-tous-deps summary { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .8rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.g2-tous-deps ul { margin: .4rem 0 0; padding: 0; list-style: none; text-align: left; columns: 2; column-gap: 1.3rem; }
.g2-tous-deps li { margin: 0; break-inside: avoid; }
.g2 .g2-tous-deps a { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--g2-trait);
  color: var(--g2-encre); text-decoration: none; }
.g2 .g2-tous-deps a:hover { color: var(--g2-marque); }
.g2-tous-deps small { color: var(--g2-encre-2); }
.g2-hero-carte .hero-note { margin: .5rem 0 0; font-size: .8rem; color: var(--g2-encre-2); text-align: center; }

/* Sections de l'accueil */
.g2 .g2-section { padding: clamp(1.3rem, 3.4vw, 2.7rem) 0; }
.g2-section-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1.5rem; margin-bottom: 1rem; }
.g2-section-tete h2 { margin: 0; }
.g2-section-tete a { font-weight: 600; white-space: nowrap; }
.g2 .g2-vide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.4rem; padding: 1.1rem 1.3rem; }
.g2 .g2-vide p { margin: 0; }
.g2-vide .vide-titre { font-size: 1.2rem; }
.g2 .g2-bloc .g2-vide { display: block; }
.g2-bloc .g2-vide p + p { margin-top: .4rem; }
/* Accueil sans offre (maquette du 28/11/2026) : la phrase d'attente et son lien sur une ligne, sans cadre ; avec le
   titre de la section, une bande de deux lignes sur ordinateur. La section ne se resserre que tant que le bloc
   d'attente la termine : dès que les Functions le remplacent par des offres, ou si l'encart de l'alerte le suit, elle
   garde ses marges. Un navigateur sans :has() garde les marges aussi. */
.g2-attente { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem 1.2rem; }
/* 1.05rem et non 1.1rem : à 1.1rem, la phrase de la restauration collective dépassait la ligne de 2,6 px et renvoyait
   le lien dessous (bande de 135 px au lieu de 105). Mesuré le 29/11/2026 à 1366 px : 33,6 px de marge à 1.05rem. */
.g2 .g2-attente-texte { margin: 0; font-family: var(--g2-titres); font-size: 1.05rem; font-weight: var(--g2-graisse-titres, 500); font-synthesis: none; }
.g2-attente a { font-weight: 600; }
.g2 .g2-section:has(> .conteneur > .g2-attente:last-child) { padding: 1.15rem 0; background: var(--g2-papier); border-bottom: 1px solid var(--g2-trait); }
.g2-section:has(> .conteneur > .g2-attente:last-child) .g2-section-tete { margin-bottom: .25rem; }

/* Salaires : nuancier (coiffure), liste simple sinon */
.g2-salaires { margin: 0; padding: 0; list-style: none; }
.g2-salaires li { margin: 0; }
.g2-salaires-liste { display: grid; padding: .4rem 1.2rem; background: var(--g2-papier); border: 1px solid var(--g2-trait); border-radius: var(--g2-rayon); }
.g2-salaires-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--g2-trait); }
.g2-salaires-liste li:last-child { border-bottom: 0; }
.g2-salaires-liste .g2-s-niv, .g2-salaires-liste .g2-s-note { font-size: .82rem; color: var(--g2-encre-2); }
.g2-salaires-liste .g2-s-combien { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--g2-titres); font-size: 1.2rem; white-space: nowrap; }
.g2-nuancier { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(9.4rem, 1fr); gap: .7rem; overflow-x: auto;
  padding-bottom: .5rem; scroll-snap-type: x proximity; }
.g2-nuancier li { display: flex; flex-direction: column; min-height: 11rem; padding: .9rem .95rem 1rem; scroll-snap-align: start;
  border-radius: 18px 18px 54px 18px; color: #fff;
  background: repeating-linear-gradient(93deg, rgba(255, 255, 255, .09) 0 1.5px, transparent 1.5px 7px), var(--teinte); }
.g2-nuancier li.clair { color: var(--g2-encre); }
.g2-nuancier .g2-s-niv { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.g2-nuancier .g2-s-qui { margin-top: .3rem; font-family: var(--g2-titres); font-size: 1.12rem; line-height: 1.18; }
.g2-nuancier .g2-s-combien { margin-top: auto; padding-top: .6rem; font-family: var(--g2-titres); font-size: 1.6rem; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.g2-nuancier .g2-s-note { min-height: 1.2em; margin-top: .25rem; font-size: .82rem; font-weight: 600; }

/* Recruteurs */
.g2-recruteurs { display: grid; gap: .9rem; padding: clamp(1.4rem, 4.5vw, 3rem); border-radius: calc(var(--g2-rayon) + 8px);
  background: var(--g2-sombre); color: var(--g2-sur-sombre); }
.g2 .g2-recruteurs h2, .g2-recruteurs p { margin: 0; color: var(--g2-sur-sombre); }
.g2-recruteurs > p:first-of-type { max-width: 44rem; }
.g2-etapes { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0; padding: 0; list-style: none; counter-reset: g2e; }
.g2-etapes li { display: flex; align-items: center; gap: .55rem; margin: 0; counter-increment: g2e; font-size: .95rem; }
.g2-etapes li::before { content: counter(g2e); display: grid; place-items: center; flex: none; width: 1.7rem; height: 1.7rem;
  border: 1.5px solid var(--g2-accent-sombre); border-radius: 50%; color: var(--g2-accent-sombre); font-size: .85rem; font-weight: 700; }
.g2 .g2-recruteurs .bouton { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2;
  background: var(--g2-sur-sombre); border-color: var(--g2-sur-sombre); color: var(--g2-sombre); }
.g2 .g2-recruteurs .bouton:hover { background: var(--g2-accent-sombre); border-color: var(--g2-accent-sombre); color: var(--g2-sombre); }
/* --g2-accent-sombre : l'accent, éclairci s'il le faut pour tenir 4,5:1 sur le fond sombre (gabarit_v2.accent_sur_sombre). */
.g2-recruteurs :focus-visible { outline-color: var(--g2-sur-sombre); }
/* Le dessin du métier (clé "illustration", gabarit_v2.dessin), décoratif, au trait clair sur le fond sombre : à droite
   du bloc à partir de 900 px ; en dessous, réduit (8,25 rem, 132 px de haut) et centré sous le bouton, dernier du
   bloc, qu'il ne déplace donc pas (maquette du 28/11/2026 ; avant, absent sous 900 px). */
.g2-dessin { justify-self: center; height: 8.25rem; margin-top: .4rem; }
.g2-dessin svg { display: block; width: auto; height: 100%; }
.g2-dessin .i-aplat, .g2-dessin .i-aplat * { fill: var(--g2-sur-sombre); fill-opacity: .1; stroke: none; }
.g2-dessin .i-trait { stroke: var(--g2-sur-sombre); }
.g2-dessin .i-point { fill: var(--g2-accent-sombre); stroke: none; }
@media (min-width: 900px) {
  .g2-recruteurs:has(.g2-dessin) { grid-template-columns: minmax(0, 1fr) clamp(13rem, 24vw, 18rem); column-gap: 2.5rem; }
  .g2-recruteurs > * { grid-column: 1; }
  .g2-recruteurs > .g2-dessin { display: block; grid-column: 2; grid-row: 1 / span 4; align-self: center; justify-self: stretch;
    height: auto; margin-top: 0; }
  .g2-recruteurs > .g2-dessin svg { width: 100%; height: auto; }
}

/* Guides : liste compacte */
.g2-guides { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .g2-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g2-guides { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g2-guides li { margin: 0; }
.g2 .g2-guides a { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: .85rem 1.1rem; background: var(--g2-papier);
  border: 1px solid var(--g2-trait); border-radius: var(--g2-rayon); color: var(--g2-encre); text-decoration: none; }
.g2 .g2-guides a:hover { border-color: var(--g2-encre); color: var(--g2-encre); }
.g2-guide-cat { font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--g2-marque-fonce); }
.g2-guide-titre { font-weight: 700; line-height: 1.3; }
.g2-guide-texte { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
/* Le repère d'une carte (gabarit_v2.repere_guide, maquette du 28/11/2026) : un chiffre que la page liée porte déjà, en
   police de titres, sa légende dessous, un filet d'accent à gauche (l'accent ne porte jamais le texte) ; à défaut le
   pictogramme du site dans une pastille. */
.g2-guide-repere { display: flex; flex-direction: column; gap: .2rem; min-width: 0; padding-left: .8rem; border-left: 4px solid var(--g2-accent); }
.g2-guide-chiffre { font-family: var(--g2-titres); font-size: 1.5rem; font-weight: var(--g2-graisse-titres, 500); letter-spacing: -.018em; line-height: 1; font-synthesis: none;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.g2-guide-legende { font-size: .8rem; line-height: 1.3; color: var(--g2-encre-2); }
.g2-guide-picto { display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--g2-marque-pale); color: var(--g2-marque-fonce); }
.g2-guide-picto svg { width: 1.9rem; height: 1.9rem; }
/* Une, deux ou trois cartes (g2-guides-1 à -3) : elles se partagent toute la largeur du conteneur, le repère à gauche
   et en grand. Quatre cartes et plus : la grille d'avant. */
.g2-guides.g2-guides-1 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .g2-guides.g2-guides-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) { .g2-guides.g2-guides-3 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 760px) { .g2-guides.g2-guides-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g2 [class*="g2-guides-"] a { flex-direction: row; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; }
[class*="g2-guides-"] .g2-guide-repere:not(.g2-guide-picto) { flex: 0 1 46%; }
[class*="g2-guides-"] .g2-guide-chiffre { font-size: clamp(1.8rem, 3vw, 2.3rem); }
[class*="g2-guides-"] .g2-guide-titre { font-size: 1.08rem; }
[class*="g2-guides-"] .g2-guide-texte { flex: 1; }
/* Sur téléphone, une carte à chiffre s'empile : le chiffre et sa légende côte à côte, puis le titre du guide. */
@media (max-width: 559px) {
  .g2 [class*="g2-guides-"] a:has(.g2-guide-chiffre) { flex-direction: column; align-items: stretch; gap: .55rem; }
  [class*="g2-guides-"] .g2-guide-repere:not(.g2-guide-picto) { flex: none; flex-direction: row; align-items: center; gap: .7rem; }
  [class*="g2-guides-"] .g2-guide-chiffre { font-size: 1.7rem; }
}

/* ------------------------------------------------------------ partie 2 : page département */
.g2-colonnes { display: grid; gap: 2rem; }
.g2-colonnes > * { min-width: 0; }
@media (min-width: 980px) {
  .g2-colonnes { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.6rem; align-items: start; }
  .g2-cote { position: sticky; top: 5.2rem; }
}
.g2-bloc { margin-top: 1.6rem; }
.g2-mini-salaires p { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .45rem 0;
  border-bottom: 1px solid var(--g2-trait); font-size: .95rem; }
.g2-mini-salaires b { font-family: var(--g2-titres); font-weight: var(--g2-graisse-titres, 500); white-space: nowrap; }
.g2 .g2-mini-salaires p.note { border: 0; font-size: .82rem; }
.g2-outil { display: grid; gap: .5rem; margin: .8rem 0 .4rem; }
.g2-outil[hidden] { display: none; }
.g2-outil label { font-weight: 600; }
.g2-communes { display: flex; flex-wrap: wrap; gap: .4rem; }
.g2 .g2-champ { width: 100%; min-height: 3rem; padding: 0 .9rem; border: 1.5px solid var(--g2-bord); border-radius: 12px;
  background: var(--g2-papier); color: var(--g2-encre); font: inherit; }
.g2 .g2-champ:focus { border-color: var(--g2-marque); box-shadow: 0 0 0 4px var(--g2-marque-pale); outline: 0; }
.g2-compte { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--g2-encre-2); }
.g2-etabs { margin: .4rem 0 0; padding: 0; list-style: none; }
.g2-etabs > li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; row-gap: .1rem; align-items: center;
  margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--g2-trait); }
.g2-etabs > li > * { grid-column: 2; }
.g2-etabs > li[hidden] { display: none; }
.g2-js .g2-etabs:not(.g2-pilote) > li:nth-child(n+21) { display: none; }
/* Monogramme : les initiales de data-i, hors du texte de la page ; forme selon theme.motifs.monogramme. */
.g2-etabs > li::before { content: attr(data-i); grid-column: 1; grid-row: 1 / span 4; display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 50%; background: var(--g2-marque-pale); color: var(--g2-marque-fonce); font-family: var(--g2-titres); font-size: .88rem; font-weight: var(--g2-graisse-titres, 500); }
.g2-etabs > li:nth-child(3n+2)::before { background: var(--g2-accent-pale); color: var(--g2-sur-accent); }
.g2-etabs > li:nth-child(3n)::before { background: var(--g2-voile); color: var(--g2-encre); }
.g2-mono-arche > li::before { height: 3rem; padding-top: .3rem; border-radius: 999px 999px 8px 8px; }
/* Le nom vient du registre, tel quel : discret, petit et un peu espacé ; la commune porte la ligne. */
.g2-e-nom { font-size: .84rem; font-weight: 600; letter-spacing: .04em; line-height: 1.3; color: var(--g2-encre); overflow-wrap: anywhere; }
.g2-e-lieu { display: flex; flex-wrap: wrap; gap: 0 .6rem; font-size: .92rem; color: var(--g2-encre-2); }
.g2-e-commune { font-weight: 600; color: var(--g2-encre); }
.g2-etabs .recrute, .g2-etabs .recrute-lien, .g2-etabs .recrute-date { justify-self: start; font-size: .82rem; }
.g2 .g2-e-registre { justify-self: start; font-size: .85rem; }
.g2 .g2-plus { margin-top: 1rem; }
.g2-plus[hidden] { display: none; }

/* ------------------------------------------------------------ compaction sur téléphone (plan, F) */
@media (max-width: 699px) {
  .g2-raccourcis { display: none; }
  .g2-chapo { font-size: 1rem; }
  .g2 .g2-hero-titre { font-size: 2.15rem; }
  .g2 .g2-hero-titre-long { font-size: 1.75rem; }
  .g2-recherche-label { font-size: .95rem; }
  .g2-cadre-arche { max-width: 15.5rem; }
  .g2-nuancier li { min-height: 9.5rem; }
  .g2-nuancier { grid-auto-columns: minmax(8.6rem, 1fr); }
  .g2 .g2-guides a { padding: .7rem .95rem; }
  .g2-pied { padding-top: 1.8rem; }
}
.g2-bloc + .encart { margin-top: 1.2rem; }
/* Tableaux des guides sur petit téléphone : cellules resserrées pour tenir dans le cadre. */
@media (max-width: 400px) { body.g2 th, body.g2 td { padding: 7px 4px; font-size: .88rem; } }
.g2-vide-filtre { margin: .8rem 0 0; }
.g2-vide-filtre[hidden] { display: none; }
/* ------------------------------------------------------------ options du mélange (19/11/2026)
   theme.motifs "etablissements", "departements_accueil", "entete", puis "boutons" et "decor" le 28/11/2026
   (gabarit_v2.OPTIONS) : tout ce qui suit n'est recopié
   dans style.css que si l'une d'elles est allumée, pour que les autres sites ne changent pas d'un octet. */
.g2-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Établissements d'une page département en tableau (« tableau ») ; sur téléphone, chaque ligne s'empile. */
.g2-tableau-cadre { margin-top: .4rem; background: var(--g2-papier); border: 1px solid var(--g2-trait); border-radius: var(--g2-rayon); overflow: hidden;
  container-type: inline-size; }
.g2 .g2-etabs-tableau { margin: 0; font-size: .92rem; }
.g2 .g2-etabs-tableau th { padding: .6rem .8rem; background: var(--g2-papier); border-bottom: 1.5px solid var(--g2-encre);
  color: var(--g2-encre-2); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.g2 .g2-etabs-tableau td { padding: .55rem .8rem; vertical-align: baseline; }
.g2 .g2-etabs-tableau tbody tr:last-child td { border-bottom: 0; }
.g2-etabs-tableau .g2-e-nom { display: block; }
.g2-etabs-tableau .g2-e-effectif { color: var(--g2-encre-2); }
.g2 .g2-etabs-tableau th, .g2-etabs-tableau td.g2-e-commune, .g2-etabs-tableau td:last-child { white-space: nowrap; }
/* Largeurs fixes (relectures expert-ergonomie du 20/11/2026) : sans elles, le navigateur recalcule les colonnes à
   chaque filtre et la liste saute, et la colonne du nom s'écrase quand une commune est longue. Les 44, 22, 18 et 16 %
   de la première relecture débordaient : mesuré le 20/11 sur un tableau de 613 à 851 px, le lien « Fiche au
   registre » sortait de sa colonne sous 720 px et l'effectif passait sur deux lignes dans 39 à 71 % des cas.
   L'effectif et la fiche, dont les textes sont connus (« Effectif non renseigné », 141 px ; « Fiche au registre »,
   98 px), ont donc une largeur à leur mesure, la commune 22 %, et le nom prend le reste ; un texte trop long passe à
   la ligne, il ne sort pas de sa case. Ces largeurs sont en rem : elles grossissent avec la police du lecteur. La
   règle se déclenche donc sur la largeur du cadre comptée en rem, pas sur celle de la fenêtre : sous 37,5 rem, le
   nom n'aurait plus ses 10 rem (police à 24 px dans un cadre de 435 px : nom à 0 px, texte coupé, seconde relecture)
   et les lignes s'empilent, plus bas. Un navigateur d'avant 2023, qui ne connaît pas @container, garde le tableau
   d'avant. Pas de surlignage au survol : la ligne ne se clique pas, seul son lien réagit. */
@container (width >= 37.5rem) {
  .g2 .g2-etabs-tableau { table-layout: fixed; }
  .g2-etabs-tableau th:nth-child(2) { width: 22%; }
  .g2-etabs-tableau th:nth-child(3) { width: 10.6rem; }
  .g2-etabs-tableau th:nth-child(4) { width: 8.4rem; }
  .g2 .g2-etabs-tableau th { vertical-align: bottom; }
  .g2 .g2-etabs-tableau th:nth-child(4) { white-space: normal; }
  .g2 .g2-etabs-tableau td { white-space: normal; overflow-wrap: anywhere; }
}
.g2-js .g2-etabs-tableau:not(.g2-pilote) > tbody > tr:nth-child(n+21) { display: none; }
@media (max-width: 699px) {
  .g2-etabs-tableau, .g2-etabs-tableau tbody { display: block; }
  .g2-etabs-tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .g2-etabs-tableau tbody tr { display: flex; flex-wrap: wrap; gap: .1rem .7rem; padding: .65rem .9rem; border-bottom: 1px solid var(--g2-trait); }
  .g2-etabs-tableau tbody tr:last-child { border-bottom: 0; }
  .g2 .g2-etabs-tableau td { display: block; padding: 0; border: 0; font-size: .92rem; white-space: normal; }
  .g2 .g2-etabs-tableau td:first-child, .g2 .g2-etabs-tableau td:last-child { flex: 1 0 100%; }
  .g2-etabs-tableau .g2-e-commune { font-weight: 600; }
  .g2 .g2-etabs-tableau td:last-child { font-size: .85rem; }
}
/* Le même empilement quand c'est le cadre qui est étroit dans une fenêtre large : police grossie, ou encart des
   salaires à côté du tableau. Copie du bloc ci-dessus, que garde seul un navigateur sans @container : les deux
   doivent rester identiques (test_gabarit_v2, test_largeurs_fixes). */
@container (width < 37.5rem) {
  .g2-etabs-tableau, .g2-etabs-tableau tbody { display: block; }
  .g2-etabs-tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .g2-etabs-tableau tbody tr { display: flex; flex-wrap: wrap; gap: .1rem .7rem; padding: .65rem .9rem; border-bottom: 1px solid var(--g2-trait); }
  .g2-etabs-tableau tbody tr:last-child { border-bottom: 0; }
  .g2 .g2-etabs-tableau td { display: block; padding: 0; border: 0; font-size: .92rem; white-space: normal; }
  .g2 .g2-etabs-tableau td:first-child, .g2 .g2-etabs-tableau td:last-child { flex: 1 0 100%; }
  .g2-etabs-tableau .g2-e-commune { font-weight: 600; }
  .g2 .g2-etabs-tableau td:last-child { font-size: .85rem; }
}

/* Accueil : les dix départements les plus fournis en barres (« barres ») ; deux colonnes de cinq sur ordinateur, une
   sur téléphone, les cinq suivants derrière un bouton (site.js). */
.g2-barres-chapo { margin: -.4rem 0 1rem; color: var(--g2-encre-2); }
.g2-barres { display: grid; column-gap: 2.6rem; margin: 0; padding: .3rem 1.2rem; list-style: none; background: var(--g2-papier);
  border: 1px solid var(--g2-trait); border-radius: var(--g2-rayon); }
.g2-barres li { margin: 0; border-bottom: 1px solid var(--g2-trait); }
.g2-barres li:last-child { border-bottom: 0; }
.g2 .g2-barres a { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr) 3.2rem; align-items: center; gap: .3rem .9rem;
  min-height: 2.9rem; padding: .35rem 0; color: var(--g2-encre); text-decoration: none; }
.g2 .g2-barres a:hover .g2-b-nom { color: var(--g2-marque); text-decoration: underline; }
.g2-b-nom { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.g2-b-nom small { font-weight: 500; color: var(--g2-encre-2); }
.g2-b-barre { height: .7rem; border-radius: 999px; background: var(--g2-voile); overflow: hidden; }
.g2-b-barre span { display: block; height: 100%; border-radius: inherit; background: var(--g2-marque); }
.g2-b-n { font-family: var(--g2-titres); font-size: 1.15rem; text-align: right; font-variant-numeric: tabular-nums; }
.g2 .g2-barres-plus { margin-top: .9rem; }
.g2-barres-plus[hidden] { display: none; }
@media (min-width: 700px) {
  .g2-barres { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
  .g2-barres li:nth-child(5) { border-bottom: 0; }
  .g2 .g2-barres-plus { display: none; }
}
@media (max-width: 699px) {
  .g2 .g2-barres a { grid-template-columns: minmax(0, 1fr) auto; padding: .55rem 0; }
  .g2-b-barre { grid-column: 1 / -1; grid-row: 2; }
  .g2-js .g2-barres:not(.g2-ouvert) > li:nth-child(n+6) { display: none; }
  .g2-js .g2-barres:not(.g2-ouvert) > li:nth-child(5) { border-bottom: 0; }
}

/* En-tête sur un aplat de la couleur du site (« entete ») : texte blanc, bouton blanc plein. Blanc sur --g2-marque :
   4,5:1 au moins (gabarit_v2.PAIRES) ; survol sur --g2-marque-fonce, plus foncée. */
.g2-entete-aplat { background: var(--g2-marque); border-bottom-color: var(--g2-marque); }
.g2 .g2-entete-aplat .g2-logo, .g2 .g2-entete-aplat .g2-logo:hover, .g2-entete-aplat .g2-logo em, .g2-entete-aplat .g2-logo-picto { color: #fff; }
.g2 .g2-entete-aplat .g2-nav a, .g2 .g2-entete-aplat .g2-nav a[aria-current="page"] { color: #fff; text-decoration-color: #fff; }
.g2 .g2-entete-aplat .g2-nav a:hover { background: var(--g2-marque-fonce); color: #fff; }
.g2 .g2-entete-aplat .g2-recruter { background: #fff; border-color: #fff; color: var(--g2-marque); }
.g2 .g2-entete-aplat .g2-recruter:hover { background: var(--g2-marque-pale); border-color: var(--g2-marque-pale); color: var(--g2-marque-fonce); }
.g2-entete-aplat :focus-visible { outline-color: #fff; }

/* Options de couleur (maquette du 28/11/2026), éteintes par défaut comme les précédentes.
   En-tête sombre (« entete » : « sombre ») : le fond du bloc recruteurs et du pied, texte clair, fermé d'un filet
   d'accent de 3 px ; le pictogramme et le nom du métier dans l'accent éclairci pour le fond sombre ; le bouton
   « Publier » blanc plein, comme sur l'aplat. */
.g2-entete-sombre, .g2-entete-sombre:has(+ main .g2-hero-teinte) { background: var(--g2-sombre); border-bottom: 3px solid var(--g2-accent); }
.g2 .g2-entete-sombre .g2-logo, .g2 .g2-entete-sombre .g2-logo:hover { color: var(--g2-sur-sombre); }
.g2-entete-sombre .g2-logo em, .g2-entete-sombre .g2-logo-picto { color: var(--g2-accent-sombre); }
.g2 .g2-entete-sombre .g2-nav a, .g2 .g2-entete-sombre .g2-nav a[aria-current="page"] { color: var(--g2-sur-sombre); text-decoration-color: var(--g2-accent-sombre); }
.g2 .g2-entete-sombre .g2-nav a:hover { background: var(--g2-pied-trait); color: var(--g2-sur-sombre); }
.g2 .g2-entete-sombre .g2-recruter { background: var(--g2-sur-sombre); border-color: var(--g2-sur-sombre); color: var(--g2-sombre); }
.g2 .g2-entete-sombre .g2-recruter:hover { background: var(--g2-accent-sombre); border-color: var(--g2-accent-sombre); color: var(--g2-sombre); }
.g2-entete-sombre :focus-visible { outline-color: var(--g2-sur-sombre); }

/* Bouton principal dans l'accent (« boutons » : « accent ») : fond d'accent, texte et bord en --g2-sur-accent, que
   gabarit_v2.classes_page n'allume que si ce texte tient 4,5:1 sur l'accent. Le bord sombre porte le contour du
   bouton : l'accent seul ne tient pas 3:1 sur un fond clair. :where() garde le poids du sélecteur de base : le bouton
   du bloc recruteurs et celui de l'en-tête restent ce qu'ils sont. */
.g2-boutons-accent .bouton:where(:not(.bouton-second)) { background: var(--g2-accent); border-color: var(--g2-sur-accent); color: var(--g2-sur-accent); }
.g2-boutons-accent .bouton:where(:not(.bouton-second)):hover { background: var(--g2-sur-accent); border-color: var(--g2-sur-accent); color: #fff; }
.g2-boutons-accent .g2-carte-voir { background: var(--g2-accent); color: var(--g2-sur-accent); }

/* L'accent en décor (« decor » : « filets ») : un filet devant chaque titre de section de l'accueil (celui de la
   signature), la frise fermée d'un trait d'accent, les puces des listes et les numéros du bloc recruteurs pleins.
   Jamais en couleur de texte sur un fond clair. */
.g2-decor-filets .g2-section-tete h2::before { content: ""; display: inline-block; width: 1.6rem; height: 3px; margin-right: .6rem;
  vertical-align: middle; background: var(--g2-accent); }
/* Sur téléphone, le filet passe au-dessus du titre : à côté, il le ferait passer sur deux lignes. */
@media (max-width: 559px) { .g2-decor-filets .g2-section-tete h2::before { display: block; margin: 0 0 .4rem; } }
.g2-decor-filets .g2-hero-frise::after { border-bottom-color: var(--g2-accent); }
.g2-decor-filets .article ul > li::marker, .g2-decor-filets .g2-principal ul > li::marker { color: var(--g2-accent); }
.g2-decor-filets .g2-etapes li::before { background: var(--g2-accent-sombre); color: var(--g2-sombre); }

/* Page département sans colonne de droite (pas d'encart salaires) : la colonne principale prend toute la largeur, pour
   que le tableau respire ; les blocs de texte, les puces et le champ de filtre gardent une largeur de lecture. */
.g2-colonnes > .g2-principal:only-child { grid-column: 1 / -1; }
.g2-colonnes > .g2-principal:only-child > :not(#employeurs),
.g2-colonnes > .g2-principal:only-child > #employeurs > :not(.g2-tableau-cadre) { max-width: 46rem; }
