/* ══════════════════════════════════════════════════════════════════════════
   LANDINGS PAR VILLE — design fidèle aux maquettes (Paris / Lyon)

   Hero centré grand titre, cards blanches à pastille colorée, badges pilule,
   CTA gradient violet. Utilisé par city-landing.ejs et business-city-landing.ejs
   via le wrapper .wr-lp.
   ══════════════════════════════════════════════════════════════════════════ */

.wr-lp {
  --lp-ink: #1E1B2E;
  --lp-ink-2: #374151;
  --lp-muted: #6B7280;
  --lp-muted-2: #9CA3AF;
  --lp-violet: #8A63C1;
  --lp-violet-d: #6B47A6;
  --lp-violet-soft: #F2EDFA;
  --lp-line: #EEF1F7;
  --lp-bg: #FBFCFE;
  background: var(--lp-bg);
  width: 100%;
  max-width: 100%;
}
.wr-lp * { box-sizing: border-box; }
.wr-lp__wrap { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
@media (max-width: 720px) { .wr-lp__wrap { padding: 0 16px; } }

/* ── HERO ── */
.wr-lp-hero { position: relative; padding: 48px 0 8px; overflow: hidden; text-align: center; }
/* Sans titre de section, l'entête ne porte que le lien : à droite. */
.wr-lp-sechead--sanstitre { justify-content: flex-end; }
.wr-lp-hero::before,
.wr-lp-hero::after {
  content: ""; position: absolute; width: 400px; height: 400px; pointer-events: none;
  background: radial-gradient(circle, rgba(138,99,192,.13), transparent 65%);
  filter: blur(46px);
}
.wr-lp-hero::before { top: -90px; right: -40px; }
.wr-lp-hero::after { bottom: -120px; left: -60px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(138,99,192,.1), transparent 65%); }
.wr-lp-hero__inner { position: relative; max-width: 760px; margin: 0 auto; }
.wr-lp-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--lp-violet-soft); color: var(--lp-violet-d);
  text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  padding: 7px 15px; border-radius: 100px; margin-bottom: 22px;
}
.wr-lp-hero__title {
  margin: 0 0 16px; font-size: 52px; line-height: 1.06; font-weight: 800;
  letter-spacing: -.03em; color: var(--lp-ink);
  overflow-wrap: break-word; word-break: normal;
}
.wr-lp-hero__title em { font-style: normal; color: var(--lp-violet); }
.wr-lp-hero__lede { margin: 0 auto 26px; max-width: 560px; font-size: 16px; line-height: 1.55; color: var(--lp-ink-2); }
@media (max-width: 980px) { .wr-lp-hero__title { font-size: 40px; } }
@media (max-width: 720px) { .wr-lp-hero__title { font-size: 32px; } }

/* Stats */
.wr-lp-stats { display: flex; justify-content: center; gap: 34px; margin: 0 0 30px; }
.wr-lp-stat__num { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--lp-violet); }
.wr-lp-stat__label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--lp-muted-2); }
.wr-lp-stats__sep { width: 1px; background: var(--lp-line); }

/* CTA hero */
.wr-lp-hero__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.wr-lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: all .12s ease;
}
.wr-lp-btn--primary { background: var(--lp-violet); color: #fff; box-shadow: 0 4px 14px rgba(138,99,193,.32); }
.wr-lp-btn--primary:hover { background: var(--lp-violet-d); color: #fff; }
/* ⚠️  LE PASSAGE D'UN PUBLIC À L'AUTRE EST UN LIEN, PAS UN BOUTON.

       Sur la landing candidat, « vous recrutez ici ? » s'adresse à un
       visiteur sur dix. Un bouton plein le mettrait au même niveau que
       l'action de la page et forcerait les neuf autres à trancher entre
       deux propositions dont une ne les concerne pas. En retrait, celui qui
       recrute le voit, celui qui cherche l'ignore. */
.wr-lp-hero__switch { margin: 18px 0 0; font-size: 13.5px; text-align: center; }
.wr-lp-hero__switch--left { text-align: left; }
.wr-lp-hero__switch a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--lp-muted); text-decoration: none; font-weight: 600;
  padding: 6px 2px; border-bottom: 1px solid transparent;
}
.wr-lp-hero__switch a:hover { color: var(--lp-violet-d); border-bottom-color: currentColor; }
.wr-lp-hero__switch svg { width: 14px; height: 14px; }

.wr-lp-btn--ghost { background: #fff; color: var(--lp-ink); border-color: #E5E7EB; }
.wr-lp-btn--ghost:hover { border-color: #D9CEF0; color: var(--lp-violet-d); }
.wr-lp-btn--light { background: #fff; color: var(--lp-violet-d); }
.wr-lp-btn--light:hover { background: #F8F4FD; }

/* ── SECTIONS ── */
.wr-lp-sec { padding: 8px 0 40px; }
.wr-lp-sechead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 16px; }
.wr-lp-sectitle { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.025em; color: var(--lp-ink); }
.wr-lp-seelink { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--lp-violet); text-decoration: none; white-space: nowrap; }
.wr-lp-secsub { margin: -8px 0 18px; font-size: 15px; color: var(--lp-ink-2); }
/* Le lien de suite sous une liste (« Connectez-vous pour rechercher… »). */
.wr-lp-more { margin-top: 16px; text-align: center; }

/* Grille d'items (offres) */
/* ══════════════════════════════════════════════════════════════════════
   ⚠️  `minmax(0, 1fr)` ET NON `1fr`. C'EST CE QUI EMPÊCHE LE DÉBORDEMENT.

       `1fr` vaut `minmax(auto, 1fr)` : la colonne ne peut pas devenir plus
       étroite que le contenu le plus large qu'elle porte. Un intitulé
       d'offre à cent caractères — « Développeuse/développeur d'applications
       senior spécialisé-e en direction de projets » — a un `white-space:
       nowrap` sur son titre : sa largeur minimale est celle de la phrase
       ENTIÈRE.

       Résultat mesuré sur /city/zurich : deux colonnes de 267 px et
       1 008 px au lieu de 526 px chacune, une grille plus large que son
       conteneur, et toute la PAGE qui défile horizontalement. Le `text-
       overflow: ellipsis` du titre ne servait à rien : il ne se déclenche
       que si la boîte est trop petite, et elle ne l'était jamais.

       `minmax(0, 1fr)` autorise la colonne à descendre sous le contenu.
       L'ellipse reprend alors son rôle.

       ⚠️  ET `min-width: 0` SUR LES CARTES.

           Même mécanique un cran plus bas : un élément de grille a une
           taille minimale automatique égale à son contenu. Sans ce
           `min-width: 0` sur la carte elle-même, elle repousserait sa
           colonne exactement comme la colonne repoussait la grille.
   ══════════════════════════════════════════════════════════════════════ */
.wr-lp-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 720px) { .wr-lp-grid2 { grid-template-columns: minmax(0, 1fr); } }

/* Card ligne (offre) : pastille lettre + texte + badge */
.wr-lp-row {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--lp-line); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 0 16px rgba(0,0,0,.03); text-decoration: none;
  transition: border-color .12s ease, transform .1s ease;
  min-width: 0;   /* voir le commentaire de `.wr-lp-grid2` */
}
.wr-lp-row:hover { border-color: #D9CEF0; transform: translateY(-2px); }
.wr-lp-badgeletter {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.wr-lp-row__body { flex: 1; min-width: 0; }
.wr-lp-row__title { display: block; font-size: 14.5px; font-weight: 700; color: var(--lp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr-lp-row__sub { display: block; font-size: 12px; color: var(--lp-muted); margin-top: 2px; overflow-wrap: anywhere; }
.wr-lp-pill { background: var(--lp-violet-soft); color: var(--lp-violet); font-size: 11.5px; font-weight: 600; padding: 5px 9px; border-radius: 100px; flex: none; white-space: nowrap; }

/* Grille entreprises (cards centrées) */
/* Même correctif que `.wr-lp-grid2` ci-dessus : un nom d'entreprise ou un
   intitulé de poste à rallonge ne doit pas élargir sa colonne. */
.wr-lp-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .wr-lp-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .wr-lp-grid4 { grid-template-columns: minmax(0, 1fr); } }
.wr-lp-ccard {
  background: #fff; border: 1px solid var(--lp-line); border-radius: 16px;
  padding: 18px; text-align: center; text-decoration: none;
  transition: border-color .12s ease, transform .1s ease; display: block;
  min-width: 0;
}
/* Un nom d'entreprise sans espace — « BRANDI&BRANDIRECRUITMENT » — n'a aucun
   point de coupure : il déborderait de sa carte. On l'autorise à casser. */
.wr-lp-ccard__name, .wr-lp-ccard__meta { overflow-wrap: anywhere; }
.wr-lp-ccard:hover { border-color: #D9CEF0; transform: translateY(-2px); }
.wr-lp-ccard__logo { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; overflow: hidden; }
.wr-lp-ccard__logo img { width: 100%; height: 100%; object-fit: cover; }
.wr-lp-ccard__name { font-size: 14px; font-weight: 700; color: var(--lp-ink); }
.wr-lp-ccard__meta { font-size: 11.5px; color: var(--lp-muted); margin: 2px 0 8px; }

/* Card candidat anonyme (Lyon) : pastille initiale + poste/ville + badge */
.wr-lp-cand {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--lp-line); border-radius: 14px; padding: 14px 16px;
  min-width: 0;
}
.wr-lp-cand__av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}
.wr-lp-cand__body { flex: 1; min-width: 0; }
.wr-lp-cand__title { display: block; font-size: 14px; font-weight: 700; color: var(--lp-ink); }
.wr-lp-cand__sub { display: block; font-size: 12px; color: var(--lp-muted); margin-top: 2px; }
.wr-lp-cand__skills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.wr-lp-cand__skill { font-size: 11px; font-weight: 600; color: #475569; background: #F1F5F9; padding: 3px 9px; border-radius: 100px; }
.wr-lp-cand__badge { background: #D1FAE5; color: #047857; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 100px; flex: none; }

/* ══════════════════════════════════════════════════════════════════════
   PROFILS DE LA VILLE

   ⚠️  PAS DE `.wr-lp-grid4` ICI : ELLE EXISTE DÉJÀ, PLUS HAUT.

       Je l'avais redéclarée avec les mêmes points de rupture — deux
       définitions identiques d'une même classe dans la même feuille. Tant
       qu'elles concordent, ça ne se voit pas ; le jour où l'on en corrige
       une, la seconde annule silencieusement la correction. La grille des
       entreprises et celle des profils sont la même : quatre, puis deux,
       puis une.
   ══════════════════════════════════════════════════════════════════════ */

/* La carte : en colonne, contrairement aux cards d'offre qui sont en ligne.
   À 250 px de large, un avatar à gauche et trois lignes à droite ne tiennent
   pas — le métier passerait sur quatre lignes. */
.wr-lp-prof {
  min-width: 0;   /* voir `.wr-lp-grid2` : un élément de grille ne rétrécit pas seul */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 20px 14px 18px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
/* Le survol ne s'allume que sur une carte CLIQUABLE : un profil mis en avant
   sans adresse est un `<div>`, et une carte statique qui bouge au survol
   ment sur ce qu'elle fait. */
/* ⚠️  `.est-inerte` A ÉTÉ RETIRÉE.

       Elle habillait la carte d'un candidat sans page publique, rendue en
       `<div>` : curseur par défaut, pas de survol. Toute carte est
       désormais un lien — vers la page du profil quand elle existe, vers la
       connexion sinon. Il n'y a plus de carte morte à distinguer. */
a.wr-lp-prof { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.wr-lp-prof:hover {
  border-color: var(--lp-violet);
  box-shadow: 0 10px 26px -12px rgba(138, 99, 192, .35);
  transform: translateY(-2px);
}

.wr-lp-prof__av {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800;
  overflow: hidden;
}
/* `object-fit` : une photo qui n'est pas carrée doit être recadrée, pas
   déformée — un visage étiré se remarque tout de suite. */
.wr-lp-prof__av img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wr-lp-prof__body { min-width: 0; width: 100%; }
.wr-lp-prof__name {
  display: block; font-size: 14.5px; font-weight: 700; color: var(--lp-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%;
}
/* ⚠️  DEUX LIGNES AU PLUS, PAS UNE ELLIPSE SUR UNE SEULE.

       Un intitulé tient rarement sur 250 px — « Développeuse/développeur
       d'applications senior » se réduirait à « Développeuse/dév… », qui
       n'apprend rien. Deux lignes suffisent presque toujours, et la
       troisième est coupée proprement. Les quatre cartes d'une rangée
       gardent la même hauteur : c'est la grille qui les aligne. */
.wr-lp-prof__job {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px; font-weight: 600; color: var(--lp-violet-d);
  margin-top: 3px; line-height: 1.35;
  overflow-wrap: anywhere;
}
.wr-lp-prof__meta { display: block; font-size: 11.5px; color: var(--lp-muted); margin-top: 4px; overflow-wrap: anywhere; }
.wr-lp-prof__skills {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; justify-content: center;
}
.wr-lp-prof__skill {
  font-size: 11px; font-weight: 600; color: #475569; background: #F1F5F9;
  padding: 3px 9px; border-radius: 100px;
}

/* ══════════════════════════════════════════════════════════════════════
   « CETTE PLACE EST LIBRE » — la carte affichée quand aucun profil public
   n'existe encore dans la ville.

   ⚠️  ELLE NE RESSEMBLE PAS À UNE CARTE DE PROFIL, ET C'EST LE POINT.

       Bordure en tirets, pas de pastille colorée, une action à droite :
       on doit voir en un coup d'œil que ce n'est pas quelqu'un, c'est une
       place. Une carte identique aux autres avec « Vous ? » écrit dedans
       se lirait comme un profil nommé « Vous ».
   ══════════════════════════════════════════════════════════════════════ */
.wr-lp-vous {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 2px dashed #D9CEF0;
  border-radius: 16px;
  background: linear-gradient(135deg, #FBF9FE, #F7F3FD);
  min-width: 0;
}
.wr-lp-vous__av {
  flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  color: var(--lp-violet);
  box-shadow: 0 2px 10px -4px rgba(138, 99, 192, .4);
}
.wr-lp-vous__av svg { width: 22px; height: 22px; }
.wr-lp-vous__body { flex: 1; min-width: 0; }
.wr-lp-vous__title {
  margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--lp-ink);
}
.wr-lp-vous__text {
  margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--lp-ink-2);
  overflow-wrap: anywhere;
}
.wr-lp-vous .wr-lp-btn { flex: none; }

/* Sur mobile, la colonne : un bouton coincé à droite d'un texte de deux
   lignes sur 320 px devient un bouton de six caractères par ligne. */
@media (max-width: 620px) {
  .wr-lp-vous { flex-direction: column; text-align: center; gap: 12px; padding: 24px 18px; }
  .wr-lp-vous .wr-lp-btn { width: 100%; justify-content: center; }
}

/* Bloc inscription (Paris) */
.wr-lp-signup {
  background: linear-gradient(135deg, #F7F3FD, #FBF9FE); border: 1px solid #E8DFFF;
  border-radius: 24px; padding: 36px; display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: center;
}
@media (max-width: 860px) { .wr-lp-signup { grid-template-columns: 1fr; } }
.wr-lp-signup__badge { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--lp-violet-d); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 6px 13px; border-radius: 100px; margin-bottom: 16px; }
.wr-lp-signup__title { margin: 0 0 12px; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: var(--lp-ink); }
.wr-lp-signup__text { margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; color: var(--lp-ink-2); }
.wr-lp-checks { display: flex; flex-direction: column; gap: 12px; }
.wr-lp-check { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; color: var(--lp-ink-2); }
.wr-lp-check__icon { width: 32px; height: 32px; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; color: var(--lp-violet); }
.wr-lp-signup__card { background: #fff; border: 1px solid var(--lp-line); border-radius: 18px; padding: 24px; box-shadow: 0 12px 32px -14px rgba(138,99,192,.25); }

/* Éditorial */
/* L'éditorial garde une largeur de lecture confortable, mais reste ALIGNÉ à
   gauche comme les autres blocs (un `margin: 0 auto` le centrait, ce qui le
   décalait visiblement par rapport au hero et aux autres sections). */
.wr-lp-editorial { max-width: 820px; }
.wr-lp-editorial h2 { margin: 0 0 14px; font-size: 24px; font-weight: 800; letter-spacing: -.025em; color: var(--lp-ink); }
.wr-lp-editorial p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.7; color: var(--lp-ink-2); }
.wr-lp-editorial a { color: var(--lp-violet); }

/* CTA final gradient */
.wr-lp-final { background: linear-gradient(135deg, #8A63C0, #9D7BCC); border-radius: 26px; padding: 40px; box-shadow: 0 20px 50px -14px rgba(138,99,192,.4); }
.wr-lp-final__head { text-align: center; margin-bottom: 18px; }
.wr-lp-final__head h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.wr-lp-final__head p { margin: 8px 0 0; font-size: 15px; color: rgba(255,255,255,.9); }
.wr-lp-final__cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 640px) { .wr-lp-final__cards { grid-template-columns: minmax(0, 1fr); } }
.wr-lp-final__card { background: #fff; border-radius: 16px; padding: 24px; }
.wr-lp-final__role { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--lp-violet); margin-bottom: 6px; }
.wr-lp-final__card h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: var(--lp-ink); }
.wr-lp-final__card .wr-lp-btn { width: 100%; }

/* CTA final simple (une seule colonne, entreprise) */
.wr-lp-final--single { text-align: center; }
.wr-lp-final--single h2 { margin: 0 0 10px; font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.wr-lp-final--single p { margin: 0 0 22px; font-size: 15px; color: rgba(255,255,255,.9); }

.wr-lp-empty { text-align: center; padding: 30px 16px; color: var(--lp-muted); font-size: 14px; }

/* Bouton violet clair (visible sur fond blanc — carte CTA recruteur) */
.wr-lp-btn--soft { background: var(--lp-violet-soft); color: var(--lp-violet-d); }
.wr-lp-btn--soft:hover { background: #E9DFF7; color: var(--lp-violet-d); }
.wr-lp-btn--dark { background: #111; color: #fff; }
.wr-lp-btn--dark:hover { background: #000; color: #fff; }

/* ── RECHERCHE LIVE (hero Paris) ── */
.wr-lp-search {
  background: #fff; border-radius: 20px; box-shadow: 0 12px 40px -12px rgba(30,27,46,.16), 0 0 0 1px var(--lp-line);
  padding: 16px; text-align: left; max-width: 640px; margin: 26px auto 0;
}
.wr-lp-search__tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.wr-lp-search__tab {
  flex: 1; border: none; border-radius: 10px; padding: 11px; font-size: 13px; font-weight: 700;
  cursor: pointer; background: #F4F6FB; color: var(--lp-ink-2); font-family: inherit; transition: all .12s ease;
}
.wr-lp-search__tab.is-active { background: var(--lp-violet); color: #fff; }
.wr-lp-search__field {
  display: flex; align-items: center; gap: 11px; background: #F9FAFB;
  border: 1px solid #E5E7EB; border-radius: 12px; padding: 14px 16px;
}
.wr-lp-search__field input { flex: 1; border: none; outline: none; background: transparent; font-size: 15px; color: var(--lp-ink); font-family: inherit; }
.wr-lp-search__count { font-size: 11px; font-weight: 700; color: var(--lp-violet); background: var(--lp-violet-soft); padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.wr-lp-search__results { margin-top: 10px; max-height: 300px; overflow-y: auto; }
.wr-lp-search__row { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 12px; text-decoration: none; }
.wr-lp-search__row:hover { background: #F9FAFB; }
.wr-lp-search__freq { margin: 14px 0 0; font-size: 12.5px; color: var(--lp-muted-2); }
.wr-lp-search__freq b { color: var(--lp-violet); font-weight: 600; cursor: pointer; }
.wr-lp-search__empty { text-align: center; padding: 24px 16px; color: var(--lp-muted-2); font-size: 13px; }

/* ── FORMULAIRE INSCRIPTION (Paris) ── */
.wr-lp-form { display: flex; flex-direction: column; gap: 10px; }
.wr-lp-form__title { margin: 0 0 16px; font-size: 17px; font-weight: 800; color: var(--lp-ink); }
.wr-lp-input {
  width: 100%; background: #FAFBFD; border: 1px solid #E5E9F0; border-radius: 11px;
  padding: 13px 14px; font-size: 13.5px; color: var(--lp-ink); font-family: inherit; outline: none;
}
.wr-lp-input:focus { border-color: var(--lp-violet); }
.wr-lp-form__or { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.wr-lp-form__or span:first-child, .wr-lp-form__or span:last-child { flex: 1; height: 1px; background: var(--lp-line); }
.wr-lp-form__or em { font-style: normal; font-size: 11px; color: var(--lp-muted-2); }
.wr-lp-gbtn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 11px; padding: 11px;
  font-size: 12.5px; font-weight: 600; color: var(--lp-ink); cursor: pointer; text-decoration: none; font-family: inherit;
}
.wr-lp-gbtn:hover { border-color: #D9CEF0; }

/* Breadcrumb (landing entreprise) */
.wr-lp-crumb { display: flex; align-items: center; gap: 8px; padding: 20px 0 0; font-size: 13px; color: var(--lp-muted); }
.wr-lp-crumb a { color: var(--lp-muted); text-decoration: none; }
.wr-lp-crumb a:hover { color: var(--lp-violet); }
.wr-lp-crumb__sep { color: var(--lp-muted-2); }
.wr-lp-crumb__current { color: var(--lp-ink); font-weight: 600; }

/* Autres villes (chips) */
.wr-lp-othercities { display: flex; flex-wrap: wrap; gap: 8px; }
.wr-lp-citychip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--lp-line); border-radius: 100px;
  padding: 8px 15px; font-size: 13.5px; font-weight: 600; color: var(--lp-ink);
  text-decoration: none; transition: border-color .12s ease, color .12s ease;
}
.wr-lp-citychip:hover { border-color: #D9CEF0; color: var(--lp-violet-d); }

/* ── HERO ENTREPRISE : 2 colonnes (contenu + carte formulaire) ── */
.wr-lp-hero--split .wr-lp-hero__inner { max-width: 100%; }
.wr-lp-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center;
  text-align: left;
}
@media (max-width: 980px) { .wr-lp-hero__grid { grid-template-columns: 1fr; gap: 32px; } }
.wr-lp-hero__left { text-align: left; min-width: 0; }
.wr-lp-herocard { min-width: 0; }
.wr-lp-hero--split .wr-lp-hero__title { text-align: left; }
.wr-lp-hero--split .wr-lp-hero__lede { margin-left: 0; text-align: left; }
.wr-lp-hero--split .wr-lp-stats { justify-content: flex-start; }
.wr-lp-hero--split .wr-lp-hero__cta { justify-content: flex-start; margin-bottom: 26px; }

/* Carte formulaire du hero */
.wr-lp-herocard {
  background: #fff; border: 1px solid var(--lp-line); border-radius: 22px;
  padding: 28px; box-shadow: 0 20px 50px -18px rgba(138,99,192,.3);
}
.wr-lp-herocard__title { margin: 0 0 4px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--lp-ink); }
.wr-lp-herocard__sub { margin: 0 0 18px; font-size: 13px; color: var(--lp-muted); }
.wr-lp-herocard__pin {
  display: flex; align-items: center; gap: 8px;
  background: #FAFBFD; border: 1px solid #E5E9F0; border-radius: 11px;
  padding: 13px 14px; font-size: 13.5px; color: var(--lp-ink-2); margin-bottom: 10px;
}
.wr-lp-herocard__pin b { color: var(--lp-ink); font-weight: 700; }
.wr-lp-herocard__tag { margin-left: auto; font-size: 11px; color: var(--lp-violet); background: var(--lp-violet-soft); padding: 3px 8px; border-radius: 100px; }

/* Recherches fréquentes : labels cliquables avec emoji */
.wr-lp-freq { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wr-lp-freq__label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--lp-muted); margin-right: 2px;
}
.wr-lp-freqchip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--lp-line); border-radius: 100px;
  padding: 6px 13px; font-size: 13px; font-weight: 600; color: var(--lp-ink);
  font-family: inherit; cursor: pointer;
  transition: border-color .12s ease, color .12s ease, transform .12s ease;
}
.wr-lp-freqchip:hover {
  border-color: #D9CEF0; color: var(--lp-violet-d); transform: translateY(-1px);
}
.wr-lp-freqchip__ic { font-size: 14px; line-height: 1; }

/* ── Section « Poster une offre » (amorce vers le tunnel) ── */
.wr-lp-postjob {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--lp-line);
  border-radius: 22px; padding: 34px 36px;
}
@media (max-width: 900px) { .wr-lp-postjob { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; } }
.wr-lp-postjob__sub { margin: 10px 0 18px; font-size: 15px; line-height: 1.6; color: var(--lp-ink-2); }
.wr-lp-postjob__pts { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.wr-lp-postjob__pts li {
  position: relative; padding-left: 26px;
  font-size: 14px; color: var(--lp-ink-2);
}
.wr-lp-postjob__pts li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #ECFDF5; color: #047857;
  font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}
.wr-lp-postjob__form {
  background: #FBFCFE; border: 1px solid var(--lp-line);
  border-radius: 18px; padding: 22px;
}
.wr-lp-postjob__label {
  display: block; margin-bottom: 8px;
  font-size: 13px; font-weight: 700; color: var(--lp-ink);
}
.wr-lp-postjob__city {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #E5E9F0; border-radius: 11px;
  padding: 12px 13px; margin-top: 10px; font-size: 13.5px; color: var(--lp-ink-2);
}
.wr-lp-postjob__city b { color: var(--lp-ink); font-weight: 700; }
.wr-lp-postjob__tag {
  margin-left: auto; font-size: 11px; color: var(--lp-violet);
  background: var(--lp-violet-soft); padding: 3px 8px; border-radius: 100px;
}
.wr-lp-postjob__note { margin: 10px 0 0; font-size: 12px; color: var(--lp-muted); text-align: center; }

/* ══════════════════════════════════════════════════════════════════════════
   LA LANDING DANS UNE COLONNE — requêtes de conteneur

   ⚠️  POURQUOI CE BLOC EXISTE.

   Les landings ville étaient rendues en pleine largeur (`fullWidth: true`).
   Elles vivent désormais dans la colonne centrale de la coquille, comme
   toutes les autres pages — avec la sidebar à gauche.

   Or les points de rupture ci-dessus interrogent l'ÉCRAN, pas la colonne :

       @media (max-width: 860px) { .wr-lp-signup { grid-template-columns: 1fr } }

   Sur un écran de 1000 px, la media query ne se déclenche pas — mais la
   colonne, elle, ne fait plus que ~510 px une fois la sidebar déduite
   (264 px + gouttière + marges). Le bloc d'inscription resterait sur deux
   colonnes de 250 px, avec un formulaire dedans.

   `@container` interroge la LARGEUR DISPONIBLE. La landing s'adapte donc à
   la place qu'elle a vraiment, que la sidebar soit dépliée, repliée à 68 px,
   ou absente. Aucun seuil à recalculer si la coquille change.

   ⚠️  ON NE SUPPRIME PAS LES MEDIA QUERIES CI-DESSUS.

   Elles restent le repli des navigateurs sans `@container` (< Chrome 105 /
   Safari 16). Les deux jeux de règles ne font jamais que RÉDUIRE le nombre
   de colonnes : les cumuler ne peut pas produire de mise en page absurde.
   ══════════════════════════════════════════════════════════════════════════ */

.wr-lp {
  container-type: inline-size;
  container-name: lp;
}

@container lp (max-width: 980px) {
  .wr-lp-hero__title { font-size: 40px; }
  .wr-lp-hero__grid { grid-template-columns: 1fr; gap: 32px; }
}

@container lp (max-width: 900px) {
  .wr-lp-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wr-lp-postjob { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; }
}

@container lp (max-width: 860px) {
  .wr-lp-signup { grid-template-columns: 1fr; }
}

@container lp (max-width: 720px) {
  .wr-lp__wrap { padding: 0 16px; }
  .wr-lp-hero__title { font-size: 32px; }
  .wr-lp-grid2 { grid-template-columns: minmax(0, 1fr); }
}

@container lp (max-width: 640px) {
  .wr-lp-final__cards { grid-template-columns: minmax(0, 1fr); }
}

@container lp (max-width: 520px) {
  .wr-lp-grid4 { grid-template-columns: minmax(0, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════
   LE CLASSEMENT DES CANDIDATS  —  /classement
   ══════════════════════════════════════════════════════════════════════ */

/* ── Ma place, en tête ── */
/* ⚠️  ELLES S'APPELAIENT `wr-cl`, ET C'ÉTAIT UNE COLLISION.

       `wr-cl` est le préfixe des CHECKLISTS — `wr-cl__row`, `wr-cl__cell`,
       `wr-cl__box`… Tant que mes règles vivaient sous `.wr-lp`, elles ne
       sortaient pas de la page de classement et personne ne le voyait. En
       les sortant de cette portée pour le bloc CMS, elles se sont mises à
       habiller les checklists : leurs cellules se sont retrouvées écrasées
       dans une colonne de deux cent cinquante pixels.

       C'est la panne typique d'un préfixe court : elle n'apparaît pas au
       moment où on l'écrit, mais au premier changement de portée, sur une
       page qu'on ne regardait pas.

   ⚠️  CES RÈGLES NE SONT PLUS SOUS `.wr-lp`, ET C'EST NÉCESSAIRE.

       Elles habillaient la page /classement, qui vit dans un `.wr-lp`. Le
       bloc « Classement » se pose maintenant sur N'IMPORTE QUELLE page du
       CMS — l'accueil, /business, une page rédigée — où ce conteneur
       n'existe pas. Sous `.wr-lp`, le bloc y sortait sans style, en liste
       brute.

   ⚠️  D'OÙ LE REPLI SUR CHAQUE VARIABLE.

       `--lp-ink`, `--lp-violet`… sont déclarées SUR `.wr-lp`. Hors de lui
       elles n'existent pas, et `var(--lp-ink)` sans second argument rend la
       propriété invalide : le texte repasse en noir par défaut, les bordures
       disparaissent. `var(--lp-ink, #1E1B2E)` garde la valeur exacte de la
       landing partout ailleurs. */
.wr-rank-moi {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px; margin-bottom: 26px;
  border: 2px solid var(--lp-violet, #8A63C1); border-radius: 18px;
  background: linear-gradient(135deg, #FBF9FE, #F4EEFC);
  box-shadow: 0 10px 30px -18px rgba(138, 99, 192, .5);
}
.wr-rank-moi__rang {
  display: flex; align-items: baseline; flex: none;
  color: var(--lp-violet-d, #6B47A6);
}
.wr-rank-moi__n { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.wr-rank-moi__e { font-size: 16px; font-weight: 700; margin-left: 2px; }
.wr-rank-moi__body { flex: 1; min-width: 0; }
.wr-rank-moi__titre { margin: 0; font-size: 15px; font-weight: 800; color: var(--lp-ink, #1E1B2E); }
.wr-rank-moi__sub { margin: 2px 0 0; font-size: 13px; color: var(--lp-muted, #6B7280); }
.wr-rank-moi__pts {
  flex: none; font-size: 22px; font-weight: 800; color: var(--lp-violet-d, #6B47A6);
  font-variant-numeric: tabular-nums;
}
.wr-rank-moi__pts small { display: block; font-size: 11px; font-weight: 600; color: var(--lp-muted, #6B7280); text-align: right; }

@media (max-width: 620px) {
  .wr-rank-moi { gap: 12px; padding: 16px 18px; }
  .wr-rank-moi__n { font-size: 30px; }
  .wr-rank-moi__pts { font-size: 18px; }
}

/* ── Le tableau ──
   `list-style: none` : les numéros viennent de `.wr-rank__rang`, qui porte le
   vrai rang. Ceux du navigateur compteraient à partir de 1 et mentiraient
   sur la seconde liste, celle qui reprend au 4 218e. */
.wr-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wr-rank--suite { margin-top: 0; }

.wr-rank__row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; background: #fff;
  border: 1px solid var(--lp-line, #EEF1F7); border-radius: 14px;
  text-decoration: none; color: inherit; min-width: 0;
  transition: border-color .12s ease, transform .1s ease;
}
.wr-rank__row:hover { border-color: #D9CEF0; transform: translateY(-1px); }

/* Ma ligne, surlignée dans le tableau : c'est la seule qu'on cherche. */
.wr-rank__item.est-moi .wr-rank__row {
  border-color: var(--lp-violet, #8A63C1); background: #FBF9FE;
  box-shadow: 0 0 0 1px var(--lp-violet, #8A63C1) inset;
}

.wr-rank__rang {
  flex: none; width: 34px; text-align: center;
  font-size: 14px; font-weight: 800; color: var(--lp-muted-2, #9CA3AF);
  font-variant-numeric: tabular-nums;
}
/* Les trois premiers seulement : un podium de cent places n'est pas un podium. */
.wr-rank__rang--1 { color: #B45309; }
.wr-rank__rang--2 { color: #6B7280; }
.wr-rank__rang--3 { color: #9A6B3F; }
/* Au-delà du troisième : le gris de base. La règle existe pour que la classe
   posée par le gabarit — `wr-rank__rang--n` — ne soit pas orpheline dans la
   feuille : une classe sans règle est un oubli qu'on ne distingue pas d'un
   choix. */
.wr-rank__rang--n { color: var(--lp-muted-2, #9CA3AF); }

.wr-rank__av {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--lp-violet-soft, #F2EDFA); color: var(--lp-violet-d, #6B47A6);
  font-size: 14px; font-weight: 800;
}

.wr-rank__body { flex: 1; min-width: 0; }
.wr-rank__nom {
  display: block; font-size: 14px; font-weight: 700; color: var(--lp-ink, #1E1B2E);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.wr-rank__meta {
  display: block; font-size: 12px; color: var(--lp-muted, #6B7280); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.wr-rank__pts {
  flex: none; font-size: 15px; font-weight: 800; color: var(--lp-violet-d, #6B47A6);
  font-variant-numeric: tabular-nums;
}

/* La coupure entre le centième et ma ligne : elle dit qu'il manque des
   rangs entre les deux, ce qu'un simple espace ne dirait pas. */
.wr-rank__coupure {
  text-align: center; color: var(--lp-muted-2, #9CA3AF); letter-spacing: .4em;
  margin: 14px 0; font-size: 18px; user-select: none;
}

/* ── États vides ── */
.wr-rank-vide {
  text-align: center; padding: 30px 24px; margin-bottom: 26px;
  border: 2px dashed #D9CEF0; border-radius: 18px;
  background: linear-gradient(135deg, #FBF9FE, #F7F3FD);
}
.wr-rank-vide p { margin: 0 0 6px; font-size: 14.5px; color: var(--lp-ink-2, #374151); }
/* Le score, en tête de l'encadré : c'est le même chiffre que la pastille du
   header, et il doit se lire d'aussi loin.

   ⚠️  `p.wr-rank-vide__pts`, PAS `.wr-rank-vide__pts` SEUL.

       La règle au-dessus est `.wr-rank-vide p` — deux classes et un
       ÉLÉMENT, soit (0,2,1). Une règle à deux classes, (0,2,0), perd contre
       elle : le « 0 » s'affichait en 14,5 px, taille de paragraphe, au lieu
       des 40 px voulus. Rien ne le signale — la propriété est bien écrite,
       elle est simplement battue. Ajouter l'élément au sélecteur rétablit
       l'égalité, puis l'ordre tranche. */
.wr-rank-vide p.wr-rank-vide__pts {
  font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--lp-violet-d, #6B47A6); margin: 0 0 12px;
  font-variant-numeric: tabular-nums;
}
.wr-rank-vide p.wr-rank-vide__pts small {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0;
  color: var(--lp-muted, #6B7280); margin-top: 4px;
}
.wr-rank-vide .wr-lp-btn { margin-top: 14px; }
