/* ============================================================
   MON PERSONNEL PARFAIT — 05. SECTIONS DE PAGE
   Styles propres à une section précise. Tout ce qui se répète
   sur plusieurs pages vit dans components.css.
   ============================================================ */

/* ============================================================
   ACCUEIL — HÉROS
   Le héros est l'entrée de la maison : une image plein cadre,
   assombrie, et l'arche du monogramme en incrustation.
   ============================================================ */
.heros {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 72vh, 760px);
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6rem);
  background: var(--c-expresso-900);
  color: var(--texte-clair);
  overflow: hidden;
}
.heros__fond { position: absolute; inset: 0; z-index: 0; }
.heros__fond img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.heros__fond::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,16,12,0.94) 0%, rgba(20,16,12,0.78) 42%, rgba(20,16,12,0.35) 75%, rgba(20,16,12,0.55) 100%),
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(200,168,106,0.20), transparent 65%);
}
.heros__contenu { position: relative; z-index: 1; max-width: 620px; }
.heros h1 {
  /* Volontairement plus contenu que le display : le visuel doit respirer. */
  font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.5rem);
  margin-bottom: var(--e-4);
  letter-spacing: -0.022em;
  line-height: 1.12;
}
.heros__appui {
  font-size: var(--t-base);
  color: var(--c-champagne-300);
  max-width: 46ch;
  margin-bottom: var(--e-6);
}
.heros .groupe-btn { margin-bottom: var(--e-7); }

.heros__preuves {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--e-4) var(--e-5);
  padding-top: var(--e-5);
  border-top: 1px solid var(--filet-clair);
  list-style: none; margin: 0;
  max-width: 620px;
}
.heros__preuves li { margin: 0; }
.heros__preuves strong {
  display: block;
  font-family: var(--font-titre); font-size: 1.45rem; font-weight: 500;
  color: var(--c-champagne); line-height: 1;
}
.heros__preuves span { font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-clair-doux); line-height: 1.4; }
@media (max-width: 640px) { .heros__preuves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Entrée orchestrée du héros */
.heros__contenu > * { opacity: 0; transform: translateY(22px); animation: heros-monte 900ms var(--easing) forwards; }
.heros__contenu > *:nth-child(1) { animation-delay: 100ms; }
.heros__contenu > *:nth-child(2) { animation-delay: 200ms; }
.heros__contenu > *:nth-child(3) { animation-delay: 300ms; }
.heros__contenu > *:nth-child(4) { animation-delay: 400ms; }
.heros__contenu > *:nth-child(5) { animation-delay: 500ms; }
.heros__contenu > *:nth-child(6) { animation-delay: 620ms; }
@keyframes heros-monte { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .heros__contenu > * { opacity: 1; transform: none; animation: none; }
}

/* Ancré à droite plutôt qu'au centre : le héros ayant été resserré,
   un repère centré viendrait buter contre la ligne de chiffres. */
.heros__descente {
  position: absolute; bottom: var(--e-6); right: var(--gouttiere);
  z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--texte-clair-doux); text-decoration: none;
}
.heros__descente i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--c-champagne), transparent); }
@media (max-width: 1100px) { .heros__descente { display: none; } }

/* ============================================================
   PILIERS DE CONFIANCE (Pourquoi MPP)
   ============================================================ */
.piliers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--filet); border-radius: var(--r-md); overflow: hidden; background: var(--c-blanc); }
.pilier { padding: var(--e-7) var(--e-6); border-right: 1px solid var(--filet); transition: background var(--d-base) var(--easing); }
.pilier:last-child { border-right: 0; }
.pilier:hover { background: var(--c-ivoire); }
.pilier h3 { font-family: var(--font-texte); font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--e-2); }
.pilier p { font-size: var(--t-sm); color: var(--texte-doux); margin: 0; }
@media (max-width: 860px) {
  .piliers { grid-template-columns: 1fr; }
  .pilier { border-right: 0; border-bottom: 1px solid var(--filet); }
  .pilier:last-child { border-bottom: 0; }
}

/* ============================================================
   MÉTIERS — bande défilante douce
   ============================================================ */
.bande-metiers { overflow: hidden; padding-block: var(--e-6); border-block: 1px solid var(--filet); background: var(--c-ivoire); }
/* Boucle réellement continue : la piste contient deux groupes strictement
   identiques et se translate d'exactement une largeur de groupe. L'écart
   entre jetons est porté par une marge (et non par `gap`), sans quoi la
   translation de 50 % tomberait à un demi-écart près et laisserait un saut. */
.bande-metiers__piste {
  display: flex;
  width: max-content;
  animation: defile var(--duree-defile, 46s) linear infinite;
}
.bande-metiers__groupe { display: flex; flex: none; }
.bande-metiers__groupe .jeton { margin-right: var(--e-4); }
.bande-metiers:hover .bande-metiers__piste,
.bande-metiers:focus-within .bande-metiers__piste { animation-play-state: paused; }
@keyframes defile {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-100% / var(--groupes, 2)), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .bande-metiers { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bande-metiers__piste { animation: none; }
}

/* ============================================================
   FORMULES (accueil + page offres)
   ============================================================ */
/* Quatre offres sur une ligne tant que chaque colonne reste lisible,
   puis 2 × 2, puis une seule colonne. Jamais trois : une rangée
   orpheline déséquilibre la lecture. */
.formules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--e-4);
  align-items: stretch;
}
.formules--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-5); }
@media (max-width: 1180px) {
  .formules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-5); }
}
@media (max-width: 980px) { .formules--trois { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .formules, .formules--trois { grid-template-columns: minmax(0, 1fr); }
}

.formule {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--e-7) var(--e-5) var(--e-5);
  background: var(--c-blanc);
  border: 1px solid var(--filet);
  border-radius: var(--r-md);
  height: 100%;
  transition: transform var(--d-base) var(--easing), box-shadow var(--d-base) var(--easing), border-color var(--d-base) var(--easing);
}
.formule:hover { transform: translateY(-5px); box-shadow: var(--ombre-3); border-color: rgba(168,135,63,0.35); }
.formule__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px;
  background: linear-gradient(135deg, #D9BD84, #AE8C48);
  color: var(--c-expresso);
  border-radius: var(--r-pill);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--ombre-2);
}
.formule--phare {
  background: var(--c-expresso);
  border-color: var(--c-expresso);
  color: var(--texte-clair-doux);
  box-shadow: var(--ombre-4);
}
.formule--phare h3, .formule--phare .formule__nom { color: var(--texte-clair); }
.formule--phare .formule__accroche { color: var(--c-champagne); }
.formule--phare .liste-check li::before { background: rgba(200,168,106,0.24); }
.formule--phare .liste-check li::after { border-color: var(--c-champagne); }
.formule--phare .formule__cible { background: rgba(247,244,239,0.07); border-color: var(--filet-clair); }
.formule--phare .formule__cible dt { color: var(--c-champagne); }

.formule__nom {
  font-family: var(--font-titre);
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  font-weight: 500; margin-bottom: 6px; line-height: 1.15;
  min-height: 2.3em;              /* aligne les accroches entre les quatre cartes */
  display: flex; align-items: flex-end;
}
.formule__accroche {
  font-size: var(--t-xs); font-style: italic; color: var(--accent-lisible);
  margin-bottom: var(--e-4); min-height: 3.6em;
}
@media (max-width: 620px) {
  .formule__nom, .formule__accroche { min-height: 0; display: block; }
}
.formule__cible {
  margin: 0 0 var(--e-4); padding: var(--e-4);
  background: var(--c-ivoire); border: 1px solid transparent; border-radius: var(--r-sm);
}
.formule__cible dt { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-lisible); margin-bottom: 5px; }
.formule__cible dd { margin: 0; font-size: var(--t-sm); color: inherit; }
.formule .liste-check { flex: 1; }
.formule .liste-check li { font-size: var(--t-xs); }
/* Les quatre encadrés « Pour qui / Le principe » doivent démarrer et
   finir à la même hauteur : sans cela, les listes d'avantages se
   décalent et une offre paraît plus fournie qu'une autre. La hauteur
   nécessaire dépend du nombre de colonnes, donc de la largeur. */
@media (min-width: 1181px) { .formule__cible { min-height: 12.4em; } }
@media (min-width: 861px) and (max-width: 1180px) { .formule__cible { min-height: 9.4em; } }
@media (min-width: 621px) and (max-width: 860px)  { .formule__cible { min-height: 13.2em; } }
@media (max-width: 620px) { .formule__cible { min-height: 0; } }
.formule .btn { margin-top: var(--e-5); width: 100%; }

/* Option Foyer — encadré horizontal distinct */
.foyer {
  background: linear-gradient(135deg, var(--c-expresso) 0%, var(--c-expresso-700) 100%);
  color: var(--texte-clair-doux);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.foyer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 10%, rgba(200,168,106,0.20), transparent 60%);
}
.foyer > * { position: relative; }
/* `.chapo` est calibré pour les fonds clairs : sur ce bloc sombre il faut
   rétablir la couleur, sans quoi le texte devient illisible. */
.foyer .chapo, .foyer p { color: var(--texte-clair-doux); max-width: 74ch; }
.foyer .surtitre { color: var(--c-champagne); }
.foyer__intro { font-size: var(--t-lead); line-height: 1.7; margin-bottom: 0; }
.foyer__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-5); margin-top: var(--e-6); }
.foyer__bloc { padding: var(--e-5); background: rgba(247,244,239,0.06); border: 1px solid var(--filet-clair); border-radius: var(--r-md); }
.foyer__bloc h3 { font-family: var(--font-texte); font-size: var(--t-base); font-weight: 600; margin-bottom: 4px; }
.foyer__bloc p { font-size: var(--t-xs); color: var(--c-champagne); margin-bottom: var(--e-4); }
.foyer__bloc .liste-check li { font-size: var(--t-xs); }
@media (max-width: 900px) { .foyer__grille { grid-template-columns: 1fr; } }

/* ============================================================
   MÉTHODE — parcours numéroté (l'ordre porte du sens)
   ============================================================ */
.methode { counter-reset: etape; display: grid; gap: 0; }
.methode__etape {
  position: relative;
  display: grid; grid-template-columns: 92px 1fr;
  gap: var(--e-5);
  padding: var(--e-6) 0;
  border-bottom: 1px solid var(--filet);
}
.methode__etape:last-child { border-bottom: 0; }
.methode__num {
  font-family: var(--font-titre);
  font-size: 2.6rem; line-height: 1;
  color: var(--c-taupe);
  font-variant-numeric: tabular-nums;
  transition: color var(--d-base) var(--easing);
}
.methode__etape:hover .methode__num { color: var(--accent-lisible); }
.methode__corps h3 { font-family: var(--font-texte); font-size: 1.125rem; font-weight: 600; margin-bottom: 6px; }
.methode__corps p { font-size: var(--t-sm); color: var(--texte-doux); margin: 0; max-width: 62ch; }
@media (max-width: 560px) {
  .methode__etape { grid-template-columns: 1fr; gap: var(--e-2); }
  .methode__num { font-size: 2rem; }
}

/* ============================================================
   VALEURS D.I.G.N.E.S
   ============================================================ */
.valeurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 1px; background: var(--filet); border: 1px solid var(--filet); border-radius: var(--r-md); overflow: hidden; }
.valeur { padding: var(--e-6) var(--e-4); text-align: center; background: var(--c-blanc); transition: background var(--d-base) var(--easing); }
.valeur:hover { background: var(--c-ivoire); }
.valeur__initiale {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: var(--e-3);
  border-radius: 50% 50% 4px 4px;
  background: linear-gradient(160deg, var(--c-ivoire), var(--c-taupe));
  font-family: var(--font-titre); font-size: 1.35rem; color: var(--accent-lisible);
}
.valeur h3 { font-family: var(--font-texte); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.valeur p { font-size: var(--t-xs); color: var(--texte-doux); margin: 0; line-height: 1.55; }

/* ============================================================
   LIVRE
   ============================================================ */
.livre-une { position: relative; overflow: hidden; }
.livre-une__visuel { position: relative; }
.livre-une__visuel img { border-radius: var(--r-md); box-shadow: var(--ombre-4); }
.livre-une__cartouche {
  position: absolute; right: -12px; bottom: -22px;
  max-width: 240px;
  padding: var(--e-4) var(--e-5);
  background: var(--c-expresso);
  color: var(--texte-clair);
  border-radius: var(--r-md);
  box-shadow: var(--ombre-4);
}
.livre-une__cartouche strong { display: block; font-family: var(--font-titre); font-size: 1.5rem; color: var(--c-champagne); line-height: 1; margin-bottom: 4px; }
.livre-une__cartouche span { font-size: var(--t-xs); color: var(--texte-clair-doux); letter-spacing: 0.06em; }
@media (max-width: 900px) { .livre-une__cartouche { right: var(--e-4); bottom: -18px; } }

/* Les cinq points de vente tiennent sur une ligne en desktop : la liste se
   lit d'un regard, ce qu'un retour à la ligne casserait. */
.points-vente { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--e-3); }
.point-vente { flex-direction: column; gap: var(--e-3); padding: var(--e-4); }
@media (max-width: 1180px) { .points-vente { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-4); } }
@media (max-width: 780px)  { .points-vente { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .points-vente { grid-template-columns: minmax(0, 1fr); } .point-vente { flex-direction: row; } }
.point-vente { display: flex; gap: var(--e-4); padding: var(--e-5); background: var(--c-blanc); border: 1px solid var(--filet); border-radius: var(--r-md); }
.point-vente__picto { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50% 50% 4px 4px; background: rgba(200,168,106,0.18); color: var(--accent-lisible); }
.point-vente__picto svg { width: 18px; height: 18px; }
.point-vente h3 { font-family: var(--font-texte); font-size: var(--t-sm); font-weight: 600; margin-bottom: 3px; }
.point-vente p { font-size: var(--t-xs); color: var(--texte-doux); margin: 0; }

.extrait-livre {
  position: relative;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: var(--c-ivoire);
  border-left: 3px solid var(--c-champagne);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.extrait-livre p { font-family: var(--font-titre); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); font-style: italic; line-height: 1.55; color: var(--texte); }
.extrait-livre cite { display: block; margin-top: var(--e-4); font-family: var(--font-texte); font-style: normal; font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--texte-doux); }

/* ============================================================
   ESPACE CANDIDATS — identité sauge
   ============================================================ */
.univers-candidats { --accent-local: var(--c-sauge-700); }
.univers-candidats .surtitre { color: var(--c-sauge-700); }
.univers-candidats .accentue { color: var(--c-sauge-700); }

.engagement {
  position: relative;
  padding: var(--e-6);
  background: var(--c-blanc);
  border: 1px solid var(--filet);
  border-radius: var(--r-md);
  border-top: 3px solid var(--c-sauge);
  transition: transform var(--d-base) var(--easing), box-shadow var(--d-base) var(--easing);
}
.engagement:hover { transform: translateY(-4px); box-shadow: var(--ombre-3); }
.engagement__num {
  display: inline-block; margin-bottom: var(--e-3);
  font-family: var(--font-titre); font-size: 1.5rem;
  color: var(--c-sauge-700);
  font-variant-numeric: tabular-nums;
}
.engagement h3 { font-family: var(--font-texte); font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--e-2); }
.engagement p { font-size: var(--t-sm); color: var(--texte-doux); margin: 0; }

.offre-emploi {
  display: grid; grid-template-columns: 200px 1fr auto;
  gap: var(--e-5); align-items: center;
  padding: var(--e-5);
  background: var(--c-blanc);
  border: 1px solid var(--filet);
  border-radius: var(--r-md);
  transition: transform var(--d-base) var(--easing), box-shadow var(--d-base) var(--easing), border-color var(--d-base) var(--easing);
}
.offre-emploi:hover { transform: translateY(-3px); box-shadow: var(--ombre-3); border-color: rgba(126,140,109,0.45); }
.offre-emploi__visuel { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16/10; background: var(--c-taupe); }
.offre-emploi__visuel img { width: 100%; height: 100%; object-fit: cover; }
.offre-emploi__meta { display: flex; flex-wrap: wrap; gap: var(--e-2) var(--e-4); margin-bottom: var(--e-3); font-size: var(--t-xs); color: var(--texte-doux); }
.offre-emploi__meta span { display: inline-flex; align-items: center; gap: 5px; }
.offre-emploi__meta svg { width: 13px; height: 13px; color: var(--c-sauge-700); }
.offre-emploi h3 { font-family: var(--font-titre); font-size: 1.35rem; font-weight: 500; margin-bottom: var(--e-2); }
.offre-emploi h3 a { text-decoration: none; }
.offre-emploi p { font-size: var(--t-sm); color: var(--texte-doux); margin: 0; }
.offre-emploi__actions { display: grid; gap: var(--e-2); }
@media (max-width: 900px) {
  .offre-emploi { grid-template-columns: 1fr; }
  .offre-emploi__actions { grid-auto-flow: column; justify-content: start; }
}
@media (max-width: 460px) { .offre-emploi__actions { grid-auto-flow: row; } }

/* ============================================================
   CONTACT — quatre parcours
   ============================================================ */
.parcours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: var(--e-4); }
.parcours__carte {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--e-6);
  background: var(--c-blanc);
  border: 1px solid var(--filet);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: transform var(--d-base) var(--easing), box-shadow var(--d-base) var(--easing), border-color var(--d-base) var(--easing);
}
.parcours__carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-3); border-color: rgba(168,135,63,0.4); color: inherit; }
.parcours__carte h3 { font-family: var(--font-titre); font-size: 1.3rem; font-weight: 500; margin-bottom: var(--e-2); }
.parcours__carte p { font-size: var(--t-sm); color: var(--texte-doux); margin-bottom: var(--e-5); flex: 1; }
.parcours__carte .lien-fleche { margin-top: auto; }

.coordonnees { display: grid; gap: var(--e-5); }
.coordonnee { display: flex; gap: var(--e-4); align-items: flex-start; }
.coordonnee__picto { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50% 50% 4px 4px; background: rgba(200,168,106,0.18); color: var(--accent-lisible); }
.coordonnee__picto svg { width: 18px; height: 18px; }
.coordonnee h3 { font-family: var(--font-texte); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 4px; }
.coordonnee p, .coordonnee a { font-size: var(--t-sm); margin: 0; }
.coordonnee a { color: var(--texte); text-decoration: none; font-weight: 500; }
.coordonnee a:hover { color: var(--accent-lisible); }

/* ============================================================
   ARTICLE / OFFRE — mise en page éditoriale
   ============================================================ */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (max-width: 980px) { .article { grid-template-columns: 1fr; } }

.article__corps { max-width: 72ch; }
.article__corps > * + * { margin-top: var(--e-4); }
.article__corps h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: var(--e-8); margin-bottom: var(--e-3); }
.article__corps h3 {
  font-family: var(--font-texte); font-size: 1.125rem; font-weight: 600;
  margin-top: var(--e-7); margin-bottom: var(--e-3);
  padding-bottom: var(--e-2); border-bottom: 1px solid var(--filet);
}
.article__corps ul:not(.article__meta) { padding-left: 0; list-style: none; display: grid; gap: var(--e-3); }
.article__corps ul:not(.article__meta) li { position: relative; padding-left: 1.6rem; font-size: var(--t-sm); color: var(--texte-doux); margin: 0; }
.article__corps ul:not(.article__meta) li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-champagne); }
.article__corps blockquote {
  margin: var(--e-6) 0; padding: var(--e-5) var(--e-6);
  background: var(--c-ivoire); border-left: 3px solid var(--c-champagne); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-titre); font-size: 1.15rem; font-style: italic; line-height: 1.6;
}
.article__figure { margin: 0 0 var(--e-7); }
.article__figure img { width: 100%; border-radius: var(--r-md); }
.article__figure figcaption { margin-top: var(--e-3); font-size: var(--t-xs); color: var(--texte-doux); }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--e-4); margin-bottom: var(--e-6); padding-bottom: var(--e-5); border-bottom: 1px solid var(--filet); font-size: var(--t-xs); color: var(--texte-doux); }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }

.article__aside { display: grid; gap: var(--e-4); position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 980px) { .article__aside { position: static; } }
.aside-bloc { padding: var(--e-5); background: var(--c-ivoire); border-radius: var(--r-md); }
.aside-bloc h2 { font-family: var(--font-texte); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-lisible); margin-bottom: var(--e-4); }
.aside-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-4); }
.aside-liens li { display: flex; gap: var(--e-3); margin: 0; }
.aside-liens img { width: 60px; height: 60px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.aside-liens a { font-size: var(--t-sm); font-weight: 500; text-decoration: none; line-height: 1.35; }
.aside-liens time { display: block; font-size: var(--t-xs); color: var(--texte-doux); margin-top: 3px; }

/* ============================================================
   ÉVÉNEMENTS — chronologie
   ============================================================ */
.chronologie { position: relative; padding-left: var(--e-7); }
.chronologie::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--filet); }
.chrono-item { position: relative; padding-bottom: var(--e-7); }
.chrono-item:last-child { padding-bottom: 0; }
.chrono-item::before {
  content: ""; position: absolute; left: calc(-1 * var(--e-7) + 2px); top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-blanc); border: 2px solid var(--c-champagne);
}
.chrono-item time { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-lisible); font-weight: 600; }
.chrono-item h3 { font-family: var(--font-titre); font-size: 1.25rem; font-weight: 500; margin: 6px 0 var(--e-2); }
.chrono-item p { font-size: var(--t-sm); color: var(--texte-doux); margin: 0; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.page-legale { max-width: 76ch; }
.page-legale h2 { font-size: 1.5rem; margin-top: var(--e-8); margin-bottom: var(--e-3); padding-top: var(--e-5); border-top: 1px solid var(--filet); }
.page-legale h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.page-legale p, .page-legale li { font-size: var(--t-sm); color: var(--texte-doux); }
.page-legale strong { color: var(--texte); }

/* Encadré d'informations clés (fiche d'offre d'emploi) */
.etiquette-info {
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-bottom: 4px;
}
.valeur-info { font-weight: 600; font-size: var(--t-sm); margin: 0; }

/* ============================================================
   ESPACE CANDIDATS — bandeau d'appel à l'action
   ============================================================ */
.cta-candidats {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: linear-gradient(135deg, var(--c-expresso) 0%, #3B3226 60%, var(--c-sauge-700) 190%);
  color: var(--texte-clair-doux);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre-4);
}
.cta-candidats::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 92% 12%, rgba(126, 140, 109, 0.34), transparent 62%),
    radial-gradient(ellipse 45% 80% at 4% 96%, rgba(200, 168, 106, 0.18), transparent 62%);
  pointer-events: none;
}
.cta-candidats > * { position: relative; z-index: 1; }
.cta-candidats h2 { font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.35rem); margin-bottom: var(--e-4); }
.cta-candidats__texte p { font-size: var(--t-sm); color: var(--texte-clair-doux); margin: 0; max-width: 52ch; }
.cta-candidats__actions { display: grid; gap: var(--e-3); }
.cta-candidats__actions .btn { width: 100%; }
.cta-candidats__mention {
  margin-top: var(--e-2);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-champagne);
  text-align: center;
}
@media (max-width: 900px) {
  .cta-candidats { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   ACTUS — rendez-vous à venir
   ============================================================ */
.rdv-liste { display: grid; gap: var(--e-4); }
.rdv {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: var(--e-5);
  align-items: center;
  padding: var(--e-5);
  background: var(--c-blanc);
  border: 1px solid var(--filet);
  border-radius: var(--r-md);
  transition: transform var(--d-base) var(--easing), box-shadow var(--d-base) var(--easing), border-color var(--d-base) var(--easing);
}
.rdv:hover { transform: translateY(-3px); box-shadow: var(--ombre-3); border-color: rgba(168, 135, 63, 0.4); }
.rdv__date {
  display: grid; place-items: center; gap: 1px;
  padding: var(--e-3) 0;
  background: var(--c-expresso);
  color: var(--texte-clair);
  border-radius: 50% 50% var(--r-sm) var(--r-sm);
  line-height: 1.05;
}
.rdv__date strong { font-family: var(--font-titre); font-size: 1.75rem; font-weight: 500; }
.rdv__date span { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-champagne); }
.rdv__date em { font-style: normal; font-size: 0.6875rem; color: var(--texte-clair-doux); }
.rdv__corps h3 { font-family: var(--font-titre); font-size: 1.3rem; font-weight: 500; margin: var(--e-3) 0 var(--e-2); }
.rdv__corps > p { font-size: var(--t-sm); color: var(--texte-doux); margin: 0; }
.rdv__corps > p.rdv__lieu { display: flex; align-items: center; gap: 6px; margin-bottom: var(--e-2); font-size: var(--t-xs); }
.rdv__lieu svg { width: 14px; height: 14px; color: var(--accent-lisible); flex: none; }
@media (max-width: 820px) {
  .rdv { grid-template-columns: 66px minmax(0, 1fr); gap: var(--e-4); align-items: start; }
  .rdv__action { grid-column: 1 / -1; }
  .rdv__date strong { font-size: 1.4rem; }
}

.rdv-vide {
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) clamp(1.5rem, 1rem + 3vw, 3rem);
  background: var(--c-blanc);
  border: 1px dashed var(--filet-fort);
  border-radius: var(--r-lg);
  text-align: center;
}
.rdv-vide .picto { margin-inline: auto; }
.rdv-vide h3 { font-family: var(--font-titre); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); font-weight: 500; margin-bottom: var(--e-4); }
.rdv-vide p { font-size: var(--t-sm); color: var(--texte-doux); max-width: 58ch; margin-inline: auto; }
.rdv-vide p + p { margin-top: var(--e-3); }

/* ============================================================
   ARTICLE — métadonnées alignées
   ============================================================ */
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--e-2) var(--e-5);
  margin: 0 0 var(--e-6);
  padding: 0 0 var(--e-5);
  list-style: none;
  border-bottom: 1px solid var(--filet);
  font-size: var(--t-xs);
  color: var(--texte-doux);
}
.article__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
}
.article__meta-icone { display: inline-flex; flex: none; color: var(--accent-lisible); }
.article__meta-icone svg { width: 14px; height: 14px; display: block; }
.article__meta time { font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .article__meta { gap: var(--e-2) var(--e-4); }
  .article__meta li { white-space: normal; }
}

/* ============================================================
   FORMULES — pied de grille et carte cliquable
   ============================================================ */
.formules__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-4) var(--e-6);
  margin-top: var(--e-7);
  padding-top: var(--e-5);
  border-top: 1px solid var(--filet);
}
.formules__aide { margin: 0; font-size: var(--t-sm); color: var(--texte-doux); max-width: 46ch; }
.formules__liens { display: flex; flex-wrap: wrap; gap: var(--e-3) var(--e-6); }
@media (max-width: 640px) {
  .formules__pied { flex-direction: column; align-items: flex-start; }
  .formules__liens { flex-direction: column; gap: var(--e-3); }
}

/* La carte entière conduit au diagnostic : le lien du bouton est
   étendu à toute la carte, tout en restant un seul lien pour les
   lecteurs d'écran et la navigation au clavier. */
.formule { position: relative; }
.formule__lien::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.formule:hover { cursor: pointer; }
.formule:active { transform: translateY(-2px); }
.formule:focus-within { border-color: var(--accent-lisible); box-shadow: var(--ombre-3); }

/* Le champ « Formule souhaitée » ouvre le diagnostic : on le distingue
   discrètement des questions qui suivent. */
.mpp-champ[data-champ="formule"] {
  padding: var(--e-4) var(--e-5) var(--e-5);
  margin-bottom: var(--e-2);
  background: linear-gradient(160deg, rgba(200, 168, 106, 0.12), rgba(200, 168, 106, 0.04));
  border: 1px solid rgba(168, 135, 63, 0.28);
  border-radius: var(--r-md);
}
.mpp-champ[data-champ="formule"] .mpp-champ__label { font-size: var(--t-base); }
.mpp-champ[data-champ="formule"] select { background-color: var(--c-blanc); }
