/* Pages métiers (/restaurant, puis /snack, …) — complètent calculateur.css, dont elles
   reprennent l'en-tête, l'article et l'aperçu de fiche. */

.m-appel { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.m-appel .bouton-sec { height: 40px; }
.m-signe { margin: 4px 0 0 !important; font-size: 13px !important; color: var(--mut2) !important; }

/* ---- ce qu'un chef connaît par cœur ---- */
.vecu { display: flex; flex-direction: column; border-top: 1px solid var(--bd); }
.v-ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--bd); }
.v-ligne blockquote { font-size: 18px; line-height: 1.5; font-weight: 500; }
.v-ligne p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--mut); }
.v-ligne p b { color: var(--acc); font-weight: 600; }

/* ---- l'exemple ---- */
.ap-lignes .ap-entete { min-height: 30px; background: var(--srf2); font-size: 10.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--mut2); }
.ap-cote .ap-fort span { color: var(--ink); font-weight: 500; }
.ap-cote .ap-fort b { font-size: 18px; }
.ap-cote small b { color: var(--ink); font-size: 11.5px; }
.a-bloc > p b { font-weight: 600; }

/* ---- produire pour N ---- */
.production { border: 1px solid var(--bd); border-radius: 8px; background: var(--bg); overflow: hidden; }
.p-choix { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--bd); background: var(--srf); font-size: 13.5px; color: var(--mut); }
.p-choix button { height: 32px; min-width: 48px; padding: 0 12px; border: 1px solid var(--bd2); border-radius: 4px; background: var(--srf); font-family: "JetBrains Mono", monospace; font-size: 14px; color: var(--mut); cursor: pointer; }
.p-choix button[aria-checked="true"] { background: var(--acc); border-color: var(--acc); color: #fff; font-weight: 600; }
.p-choix button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(63, 111, 78, .25); }
.p-lignes > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--srf2); background: var(--srf); font-size: 14px; }
.p-lignes .mono { font-size: 13.5px; font-weight: 500; }
.p-note { margin: 0; padding: 10px 14px 12px; font-size: 12.5px; line-height: 1.5; color: var(--mut2); }

/* ---- comparatif ---- */
.compare { border: 1px solid var(--bd); border-radius: 6px; overflow: hidden; }
.compare > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 12px 16px; border-top: 1px solid var(--srf2); font-size: 14.5px; line-height: 1.5; }
.compare > div > span:first-child { font-weight: 500; }
.compare > div > span:nth-child(2) { color: var(--mut); }
.compare .c-tete { border-top: 0; background: var(--srf2); border-bottom: 1px solid var(--bd); font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--mut); }
.compare .c-tete span:last-child { color: var(--acc); }

.m-final { padding-top: 8px; }

@media (max-width: 760px) {
  .page-metier .calc-tete h1 { font-size: 26px; }
  .v-ligne { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .v-ligne blockquote { font-size: 16.5px; }
  .compare > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .compare .c-tete { display: none; }
  .compare > div > span:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--mut2); }
  .compare > div > span:nth-child(2)::before { content: "Excel : "; color: var(--mut2); }
  .compare > div > span:nth-child(3)::before { content: "Sous-Chef : "; color: var(--acc); font-weight: 500; }
  .reperes > div { grid-template-columns: minmax(0, 1fr) auto; height: auto; min-height: 42px; padding: 8px 14px; gap: 12px; }
  .p-choix { flex-wrap: wrap; }
}

/* Les repères d'une page métier portent des phrases (« +69 %, jusqu'à 25 € »), pas des fourchettes. */
.page-metier .reperes > div { grid-template-columns: minmax(0, 1fr) 210px; }
@media (max-width: 760px) { .page-metier .reperes > div { grid-template-columns: minmax(0, 1fr) auto; } }
