
/* ===========================================================================
   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. En-tête de la liste — un titre, une phrase, rien d'autre
   ------------------------------------------------------------------------ */
.page-head { padding-block: 72px var(--space-6); }
.page-head__inner { max-width: 720px; }
.page-head__inner > * + * { margin-top: var(--space-2); }
.page-head .lead { color: var(--muted); }

/* ---------------------------------------------------------------------------
   2. Article à la une — image à gauche, texte à droite
   ------------------------------------------------------------------------ */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.feature:hover { border-color: var(--line-strong); }
/* v3.1 : la couverture est révélée par un balayage ; le cadre porte le filet. */
.feature__media { overflow: hidden; border-right: 1px solid var(--line); }
.feature__cover {
  width: 100%; height: 100%;
  min-height: 320px;
  object-fit: cover;
  background: var(--soft);
}
.feature__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-6);
}
.feature__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ink);
}
.feature__title a { color: inherit; text-decoration: none; }
.feature:hover .feature__title a { color: var(--accent); }
.feature__meta { font-size: 14px; color: var(--muted); }
.feature .btn { margin-top: var(--space-1); }

/* ---------------------------------------------------------------------------
   3. Suite de la liste
   ------------------------------------------------------------------------ */
.list-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.list-head .h3 { font-size: 20px; }
.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); }

/* ---------------------------------------------------------------------------
   4. Mobile — tout s'empile
   ------------------------------------------------------------------------ */
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature__cover { min-height: 0; aspect-ratio: 16 / 10; }
  .feature__body { padding: var(--space-3); }
  .feature__title { font-size: 26px; }
}
@media (max-width: 720px) {
  .page-head { padding-block: var(--space-6) var(--space-4); }
  .feature .btn { width: 100%; }
}

/* 5. Bandeau final : le même bandeau centré que Tarifs et l'article (.final__inner). */

/* ===========================================================================
   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;
}
