
/* ===========================================================================
   Transcriptor — accent et polices de l'outil (identiques à l'accueil)
   ======================================================================== */
:root {
  --accent: #2365EB;
  --font-title: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Correctif de socle (à remonter dans base.css) : « .section-head p » (0,1,1)
   l'emporte sur « .eyebrow » (0,1,0) et grise tous les eyebrows de section. */
/* v3.1 : les eyebrows repassent au gris (point accent de 6 px), cf. v31.css. */

/* Nav centrée : les liens occupent le centre exact, sans décalage à gauche. */
.nav--centered .nav__links { margin-left: 0; }

/* ===========================================================================
   v3 — règles communes aux quatre pages Transcriptor
   ======================================================================== */

/* Nav collante, légèrement floutée : identique à l'accueil. */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: var(--canvas); }
}

/* Titres au gabarit v3. */
.h1, h1 { font-size: 52px; }

/* Bandeau final (teinte accent 4 %, posée par v31.css) et strip des outils Belentia. */
.final { border-top: 1px solid var(--line); }
.final__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.final__inner > * + * { margin-top: var(--space-2); }
.final .actions { justify-content: center; margin-top: var(--space-4); }
.final__note { margin-top: var(--space-3); font-size: 14px; color: var(--muted); }

.tools { padding-block: var(--space-6); }
.tools__title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--canvas);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.tool:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.tool svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 17px; }
.tool--here { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.after-grid { margin-top: var(--space-4); text-align: center; }

@media (max-width: 720px) {
  .h1, h1 { font-size: 34px; }
}


/* ---------------------------------------------------------------------------
   1. Fil d'Ariane et en-tête d'article
   ------------------------------------------------------------------------ */
.crumb { padding-top: var(--space-5); }
.crumb a {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  font-size: 15px; font-weight: 500;
}
.crumb svg { width: 16px; height: 16px; }

.page-head { padding-block: var(--space-2) var(--space-5); }
.page-head__inner { max-width: 760px; }
.page-head__inner > * + * { margin-top: var(--space-2); }
.page-head .lead { color: var(--muted); }
.post-meta { font-size: 14px; color: var(--muted); }
.post-meta b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------------------
   2. Couverture 16:10
   ------------------------------------------------------------------------ */
.cover {
  max-width: 900px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------------------------------------------------------------------------
   3. Corps typographié — colonne de 720 px
   ------------------------------------------------------------------------ */
.article { max-width: 720px; margin-inline: auto; padding-block: var(--space-8); }
.article > * + * { margin-top: var(--space-3); }
.article h2 {
  margin-top: var(--space-8);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
}
.article h2 + p { margin-top: var(--space-2); }
.article p { font-size: 18px; line-height: 1.7; color: var(--text); }
.article p a { text-decoration: underline; text-underline-offset: 3px; }
.article ul { display: grid; gap: var(--space-2); }
.article ul li { display: flex; gap: var(--space-2); font-size: 18px; line-height: 1.7; color: var(--text); }
.article ul li::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-top: 12px; border-radius: 999px; background: var(--accent); }

/* Emplacement d'image dans le corps : même ratio que l'image finale. */
.article .ph { aspect-ratio: 3 / 2; margin-block: var(--space-5); }

/* Encadré « Passer à la pratique ». */
/* v3.1 : encadré neutre (gris très clair, filet 1 px) — la teinte accent est
   réservée à la carte tarif mise en avant et au bandeau final. */
.practice {
  margin-top: var(--space-8);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.practice h2 { margin-top: 0; font-size: 22px; }
.practice p { margin-top: var(--space-2); font-size: 17px; }
.practice .btn { margin-top: var(--space-3); }
.practice__more { margin-top: var(--space-2); font-size: 15px; color: var(--muted); }
.practice__more a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------------
   4. Pour continuer
   ------------------------------------------------------------------------ */
.guide-card__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.guide-card__read { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------------------
   5. Mobile
   ------------------------------------------------------------------------ */
@media (max-width: 720px) {
  .article { padding-block: var(--space-6); }
  .article h2 { margin-top: var(--space-6); font-size: 22px; }
  .article p, .article ul li { font-size: 17px; }
  .practice { padding: var(--space-3); }
  .practice .btn { width: 100%; }
  .cover img { aspect-ratio: 3 / 2; }
}

/* ===========================================================================
   Règles v2 — communes aux quatre pages Transcriptor
   ======================================================================== */

/* Aucun bouton noir ni gris foncé : le secondaire prend la couleur de l'outil. */
.btn--secondary {
  background: var(--canvas);
  color: var(--accent);
  border-color: var(--accent);
}
.btn--secondary:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

/* Pilules et options : non coché neutre, coché teinté accent 8 % + bord accent. */
.switch { padding: 0; gap: var(--space-1); border: 0; background: transparent; }
.switch button {
  min-height: 44px;
  padding-inline: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  color: var(--ink);
}
.switch button:hover { border-color: var(--line-strong); color: var(--ink); }
.switch button[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* Emplacement d'image à produire — bloc neutre, aux dimensions finales. */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: var(--space-2);
  background: #EEF0F4;
  border: 1px dashed #C9CDD6;
  border-radius: var(--radius);
  text-align: center;
}
.ph span {
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Liste des emplacements d'images, repliée en bas de page. */
.slots {
  max-width: 900px;
  margin: 0 auto var(--space-8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}
.slots > summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: 0 var(--space-3);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.slots > summary::-webkit-details-marker { display: none; }
.slots > summary:hover { color: var(--accent); }
.slots > summary svg { width: 18px; height: 18px; margin-left: auto; transition: transform var(--t) var(--ease); }
.slots[open] > summary svg { transform: rotate(180deg); }
.slot { padding: var(--space-3); border-top: 1px solid var(--line); }
/* Boucle 3 : plus de police mono décorative, même rendu que sur l'accueil. */
.slot__id {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.slot__facts { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.slot__facts b { color: var(--ink); font-weight: 600; }
.slot__prompt {
  margin-top: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
