
/* ===========================================================================
   Transcriptor — accent et polices de l'outil (identité existante conservée)
   ======================================================================== */
: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;
  /* Surlignage du mot en cours de lecture dans l'exemple. */
  --hl: color-mix(in srgb, var(--accent) 16%, #FFF);
  /* v3.1 : les fonds teintés (carte Pro 5 %, bandeau final 4 %) sont posés
     par _assets/transcriptor/v31.css. */
}
@supports not (color: color-mix(in srgb, #000 8%, #fff)) {
  :root { --hl: #E3EBFD; }
}

/* 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. */

/* Titres un cran plus grands, conformément à la direction v3. */
.h1, h1 { font-size: 52px; }

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

/* Nav collante, légèrement floutée : la barre suit sans masquer la page. */
.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); }
}

/* ---------------------------------------------------------------------------
   1. Hero — blanc pur, titre court, zone de dépôt, exemple animé
   (v3.1 : le halo teinté est retiré, le blanc porte seul le premier écran)
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: 72px var(--space-8);
  text-align: center;
  isolation: isolate;
}
.hero__head { max-width: 780px; margin-inline: auto; }
.hero__head > * + * { margin-top: var(--space-2); }
.hero p.lead { color: var(--muted); }

/* Zone de dépôt : filet pointillé, fond gris très clair (plus de teinte accent). */
.drop {
  position: relative;
  margin: var(--space-6) auto 0;
  max-width: 904px;
  padding: var(--space-5) var(--space-3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--soft);
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.drop:hover,
.drop.is-hot { border-color: var(--accent); }
/* Le bord s'allume une seule fois à l'apparition : on remarque la zone, sans
   clignotement (v3.1 : plus d'anneau d'ombre, seulement le filet). */
.has-motion .drop.is-revealed { animation: drop-pulse 1500ms var(--ease) 260ms 1 both; }
@keyframes drop-pulse {
  0%   { border-color: var(--line-strong); }
  35%  { border-color: var(--accent); }
  100% { border-color: var(--line-strong); }
}
.drop__icon { display: block; color: var(--accent); }
.drop__icon svg { width: 28px; height: 28px; margin-inline: auto; }
/* L'icône flotte doucement : le fichier « se pose ». */
.has-motion .drop__icon svg { animation: float-y 4.2s var(--ease) infinite; }
@keyframes float-y {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -5px, 0); }
}
.drop__title {
  margin-top: var(--space-2);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.drop__hint { margin-top: 4px; font-size: 15px; color: var(--muted); }
.drop .btn { margin-top: var(--space-3); }
.drop__formats { margin-top: var(--space-3); font-size: 14px; color: var(--muted); }
.drop__account { margin-top: 4px; font-size: 14px; color: var(--muted); }
.drop__account a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------------
   2. Exemple de transcription — onde pilotée, surlignage mot à mot
   ------------------------------------------------------------------------ */
.demo {
  max-width: 904px;
  margin: var(--space-5) auto 0;
  padding: var(--space-3);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}
.demo__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.demo__title { font-family: var(--font-title); font-weight: 700; font-size: 17px; color: var(--ink); }
.demo__sub { font-size: 14px; color: var(--muted); }

/* Ligne de lecture : bouton rond + temps + onde. */
.player { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); }
/* v3.1 : bouton de lecture au trait (un seul aplat accent par écran : le CTA). */
.player__btn {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid #D9DCE3;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--accent);
  cursor: pointer;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.player__btn:hover { border-color: var(--accent); }
.player__btn:active { transform: translateY(1px); }
.player__btn svg { width: 18px; height: 18px; }
.demo[data-playing="false"] .player__btn .icon-pause { display: none; }
.demo[data-playing="false"] .player__btn .icon-play { display: block; }
.demo[data-playing="true"] .player__btn .icon-pause { display: block; }
.demo[data-playing="true"] .player__btn .icon-play { display: none; }

.player__time {
  flex: 0 0 auto;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* L'onde : deux calques identiques, celui du haut est la partie lue. */
.wave { position: relative; flex: 1 1 auto; height: 64px; min-width: 0; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 64px; }
/* v3.1 : partie à venir en gris, partie lue à la couleur de l'outil (plus de bleu assombri). */
.wave__base { fill: #D9DCE3; }
.wave__read { fill: var(--accent); clip-path: inset(0 42% 0 0); }
/* Tête de lecture : un simple filet qui suit la progression. */
.wave__head {
  position: absolute;
  top: 2px; bottom: 2px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .7;
  transform: translate3d(0, 0, 0);
}

/* Texte de l'exemple : les mots déjà lus s'assombrissent, le mot en cours s'allume. */
.demo__text {
  margin-top: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.demo__text .w {
  border-radius: 4px;
  padding: 1px 3px;
  margin: 0 -3px;
  transition: background-color 180ms linear, color 180ms linear;
}
.demo__text .w.is-said { color: var(--text); }
.demo__text .w.is-now { background: var(--hl); color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------------------
   3. Appareils (v3.3) — ordinateur et téléphones dessinés en CSS
   (_assets/device.css), vraies captures de l'éditeur ; réglages de la page
   dans le second bloc <style>, chargé après v32.css.
   ------------------------------------------------------------------------ */

/* ---------------------------------------------------------------------------
   4. Cartes d'usage
   ------------------------------------------------------------------------ */
.use { gap: var(--space-2); text-decoration: none; }
.use:hover { text-decoration: none; }
.use p { min-height: 52px; }

/* ---------------------------------------------------------------------------
   5. Pour qui — onglets auto-cyclés + exemple de sortie réel
   ------------------------------------------------------------------------ */
.who { max-width: 980px; margin-inline: auto; }
.who__tabs { justify-content: center; }
.who__panel { padding-top: var(--space-4); }
.who__grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}
.who__lead { font-size: 18px; color: var(--text); }
.who__meta { margin-top: var(--space-2); font-size: 15px; color: var(--muted); }
.who__cta { margin-top: var(--space-3); }

/* Mini-sortie : trois lignes horodatées, au gabarit de l'éditeur réel. */
.out {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  overflow: hidden;
}
.out__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: 12px var(--space-3);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.out__name { font-family: var(--font-title); font-weight: 700; font-size: 15px; color: var(--ink); }
.out__lines { padding: var(--space-2) var(--space-3) var(--space-3); }
.out__line { display: flex; align-items: flex-start; gap: var(--space-2); padding-block: 10px; }
.out__line + .out__line { border-top: 1px solid var(--line); }
.out__t {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: #F2F3F5;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.out__txt { font-size: 15px; line-height: 1.6; color: var(--text); }

/* ---------------------------------------------------------------------------
   6. Pipeline — scène épinglée (v3.1) : le parcours se dessine au rythme du
   défilement. Quatre nœuds, trois flèches qui s'allongent, une légende par
   étape. Sans JavaScript ou en « animations réduites », tout est affiché.
   ------------------------------------------------------------------------ */
.howto { padding-block: var(--section-y); }
/* L'écran épinglé prend la hauteur de son contenu et se centre sous la nav
   (--pscene-h mesurée par le script de la page) : pendant l'épinglage le
   parcours est au milieu de l'écran, et à la sortie la carte de relecture le
   suit directement, sans blanc. */
.pscene { --scene-top: max(64px, calc(32px + 50vh - var(--pscene-h, 480px) / 2)); }
@supports (height: 100svh) {
  .pscene { --scene-top: max(64px, calc(32px + 50svh - var(--pscene-h, 480px) / 2)); }
}
.pscene .scene__sticky { height: auto; overflow: visible; }
.pscene .section-head { margin-bottom: var(--space-6); }
/* Quatre nœuds, reliés par des flèches. La grille se replie en colonne sous
   720 px : rien n'est jamais illisible. */
.pipe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  max-width: 1000px;
  margin-inline: auto;
}
.pnode { position: relative; text-align: center; }
.pnode__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: #F2F3F5;
  color: var(--accent);
  transition: color 450ms var(--ease), border-color 450ms var(--ease), background-color 450ms var(--ease);
}
.pnode__icon svg { width: 26px; height: 26px; }
.pnode__t { font-family: var(--font-title); font-weight: 700; font-size: 17px; color: var(--ink); }
.pnode__s { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pnode__link {
  position: absolute;
  top: 26px;
  right: 100%;
  width: var(--space-5);
  height: 10px;
  margin-right: 2px;
  color: var(--accent);
  opacity: .55;
}
.pnode:first-child .pnode__link { display: none; }

/* Pendant la scène : les nœuds pas encore atteints gardent leur titre en encre
   et une icône grise #6B7280 (jamais l'air désactivé) ;
   le nœud courant est cerclé d'accent ; les flèches s'allongent avec --p
   (transform uniquement : mise à l'échelle depuis leur bord gauche). */
.has-scroll .pscene:not(.is-static) .pnode .pnode__icon { color: var(--muted); }
.has-scroll .pscene.is-step-0 .pnode:nth-child(-n+1) .pnode__icon,
.has-scroll .pscene.is-step-1 .pnode:nth-child(-n+2) .pnode__icon,
.has-scroll .pscene.is-step-2 .pnode:nth-child(-n+3) .pnode__icon,
.has-scroll .pscene.is-step-3 .pnode:nth-child(n) .pnode__icon { color: var(--accent); }
.has-scroll .pscene.is-step-0:not(.is-static) .pnode:nth-child(1) .pnode__icon,
.has-scroll .pscene.is-step-1:not(.is-static) .pnode:nth-child(2) .pnode__icon,
.has-scroll .pscene.is-step-2:not(.is-static) .pnode:nth-child(3) .pnode__icon,
.has-scroll .pscene.is-step-3:not(.is-static) .pnode:nth-child(4) .pnode__icon {
  border-color: var(--accent);
  background: var(--canvas);
}
.pnode__link { --k: 1; transform: translateX(-50%) scaleX(var(--k)) translateX(50%); }
.has-scroll .pscene:not(.is-static) .pnode:nth-child(2) .pnode__link { --k: clamp(0, calc(var(--p) * 4), 1); opacity: .8; }
.has-scroll .pscene:not(.is-static) .pnode:nth-child(3) .pnode__link { --k: clamp(0, calc(var(--p) * 4 - 1), 1); opacity: .8; }
.has-scroll .pscene:not(.is-static) .pnode:nth-child(4) .pnode__link { --k: clamp(0, calc(var(--p) * 4 - 2), 1); opacity: .8; }

/* Légende : une phrase par étape, dans la même case. */
.pcap {
  max-width: 640px;
  margin: var(--space-5) auto 0;
  text-align: center;
}
.pcap p { font-size: 17px; line-height: 1.6; color: var(--text); }
.pcap strong { font-weight: 600; color: var(--ink); }
/* Scène dépliée (animations réduites, captures) : chaque légende sous son nœud,
   à la place du sous-titre court. top: 0, sinon le décalage d'épinglage (64 px)
   s'appliquerait en position relative. */
.pscene.is-static .scene__sticky { top: 0; padding-block: 0; }
.pscene.is-static .pcap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  max-width: 1000px;
  margin-top: 4px;
}
.pscene.is-static .pnode__s,
.pscene.is-static .pcap strong { display: none; }
.pscene.is-static .pcap p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Relecture en direct : une ligne se corrige, puis les formats s'allument. */
.fix {
  max-width: 820px;
  margin: var(--space-6) auto 0;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}
.fix__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.fix__title { font-family: var(--font-title); font-weight: 700; font-size: 15px; color: var(--ink); }
.fix__line { display: flex; gap: var(--space-2); margin-top: var(--space-2); align-items: baseline; }
.fix__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  min-height: 2.6em;
}
.formats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  margin-top: var(--space-3);
  opacity: .45;
  transition: opacity 420ms var(--ease);
}
.formats.is-done { opacity: 1; }
.formats .chip { color: var(--muted); font-weight: 500; }


/* ---------------------------------------------------------------------------
   7. Synthèse vocale — zone de parcours guidé
   ------------------------------------------------------------------------ */
.speech-zone {
  position: relative;
  max-width: 904px;
  margin-inline: auto;
  padding: var(--space-3) var(--space-3) 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}
.speech { display: flex; align-items: flex-start; gap: var(--space-2); text-align: left; }
.speech textarea {
  flex: 1 1 auto;
  min-height: 96px;
  padding: 12px var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  resize: vertical;
}
.speech textarea:hover { border-color: var(--line-strong); }
.speech .btn { flex: 0 0 auto; }
.speech__note { margin-top: var(--space-3); font-size: 14px; color: var(--muted); text-align: center; }

/* Petite onde qui s'anime quand on écoute. */
.vwave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  height: 28px;
  margin-top: var(--space-2);
}
.vwave span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--accent) 45%, #FFF);
  transform-origin: center;
}
@supports not (color: color-mix(in srgb, #000 8%, #fff)) {
  .vwave span { background: #A9C2F6; }
}
/* Au repos, les barres dessinent déjà un profil d'onde : rien ne « clignote ». */
.vwave span:nth-child(3n)   { height: 14px; }
.vwave span:nth-child(4n+1) { height: 20px; }
.vwave span:nth-child(8n+5) { height: 26px; }
.vwave.is-on span { background: var(--accent); animation: vbar 900ms var(--ease) infinite; }
.vwave.is-on span:nth-child(2n)  { animation-delay: 110ms; }
.vwave.is-on span:nth-child(3n)  { animation-delay: 220ms; }
.vwave.is-on span:nth-child(5n)  { animation-delay: 330ms; }
@keyframes vbar {
  0%, 100% { transform: scaleY(.6); }
  50%      { transform: scaleY(1.6); }
}

/* ---------------------------------------------------------------------------
   8. Vos données — faits réels des offres
   ------------------------------------------------------------------------ */
.keep { text-align: center; }
/* v3.1 : la couleur passe du libellé de l'offre au chiffre clé. */
.keep .kpi__num { font-family: var(--font-title); color: var(--accent); }
.keep__plan { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------------------------------------------------------------------------
   9. Tarifs — trois cartes de même hauteur, bascule mensuel / annuel
   ------------------------------------------------------------------------ */
.switch button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
/* v3.1 : piste grise et bouton actif blanc, cf. v31.css. */

.plans { align-items: stretch; }
.plan { height: 100%; gap: var(--space-2); }
/* Carte mise en avant : fond accent 5 % (v31.css), bord 2 px, prix plus grand, bouton plein. */
.plan--featured {
  border: 2px solid var(--accent);
  padding: calc(var(--space-3) - 1px);
}
.plan--featured .plan__price { font-size: 44px; }
.plan__badge--ghost { visibility: hidden; }
.plan__badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.plan--featured .plan__badge { background: #FFF; border: 1px solid var(--accent); }
.plan__name { font-family: var(--font-title); font-weight: 700; font-size: 20px; color: var(--ink); }
.plan__price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  color: var(--ink);
}
.plan__period { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--muted); }
.plan .ticks { margin-top: var(--space-1); font-size: 15px; }
.plan .ticks li { color: var(--text); }
.plan__plus { margin-top: var(--space-2); font-size: 15px; font-weight: 600; color: var(--accent); }
.plan__cta { margin-top: auto; padding-top: var(--space-3); }
.plans__note { margin-top: var(--space-3); font-size: 14px; color: var(--muted); text-align: center; }
.plans__note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------------
   10. Bandeau final 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 { text-decoration: none; }
.tool svg { width: 17px; height: 17px; flex: 0 0 17px; }

/* ---------------------------------------------------------------------------
   11. Divers
   ------------------------------------------------------------------------ */
.center { text-align: center; }
.section-head--center { margin-inline: auto; text-align: center; }
.after-grid { margin-top: var(--space-4); text-align: center; }

/* ---------------------------------------------------------------------------
   12. Mobile
   ------------------------------------------------------------------------ */
@media (max-width: 900px) {
  .speech { flex-direction: column; align-items: stretch; }
  .speech .btn { width: 100%; }
  .who__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .h1, h1 { font-size: 34px; }
  .hero { padding-block: var(--space-6) var(--space-6); }
  .band { padding-bottom: var(--space-6); }
  .drop { padding: var(--space-4) var(--space-2); }
  .demo { padding: var(--space-2); }
  .demo__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  /* L'onde passe sur sa propre ligne : elle garde toute la largeur de la carte. */
  .player { flex-wrap: wrap; row-gap: var(--space-2); }
  .player__time--end { margin-left: auto; }
  .wave { order: 3; flex: 1 0 100%; height: 48px; }
  .wave svg { height: 48px; }
  /* Les cartes sont empilées : plus besoin de réserver la place du badge. */
  .plan__badge--ghost { display: none; }
  .use p { min-height: 0; }
  /* Les onglets passent à la ligne : aucun libellé n'est coupé. */
  .who__tabs { justify-content: center; flex-wrap: wrap; }
  /* Les trois durées restent sur une ligne : ce sont trois chiffres courts. */
  .keep-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-1); }
  .keep-row .card { padding: var(--space-2) 8px; }
  .keep-row .kpi__num { font-size: 26px; }
  .keep-row .kpi__label, .keep-row .keep__plan { font-size: 12px; }
  /* Le parcours s'empile : flèches tournées d'un quart de tour. */
  .pipe { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .pscene .section-head { margin-bottom: var(--space-4); }
  .pcap { margin-top: var(--space-4); text-align: left; }
  .pcap p { font-size: 16px; }
  /* Scène dépliée sur mobile : le parcours n'est dit qu'une fois (nœuds et
     sous-titres), les phrases de légende sont masquées. */
  .pscene.is-static .pcap { display: none; }
  .pscene.is-static .pnode__s { display: block; }
  .pnode__t { font-size: 16px; }
  .pnode {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: var(--space-2);
    row-gap: 2px;
    align-items: center;
    text-align: left;
  }
  .pnode__icon { grid-row: 1 / 3; align-self: center; margin: 0; }
  .pnode__t, .pnode__s { grid-column: 2; }
  .pnode__s { margin-top: 0; }
  .pnode__link {
    top: auto;
    bottom: 100%;
    right: auto;
    left: 28px;
    width: var(--space-3);
    margin: 0 0 0 -12px;
    transform: rotate(90deg) translateX(-50%) scaleX(var(--k)) translateX(50%);
  }
  .out__line { flex-direction: column; gap: 6px; }
  .out__t { align-self: flex-start; }
  .speech-zone { padding: var(--space-2) var(--space-2) 56px; }
}

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

/* v3.1 : bouton secondaire blanc, bord gris #D9DCE3, texte encre ; au survol
   le bord prend la couleur de l'outil (cf. v31.css). */

/* 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: var(--font-body);
  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); }
.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;
}

/* Rien ne doit bouger ni disparaître quand l'utilisateur demande moins d'animations. */
@media (prefers-reduced-motion: reduce) {
  .has-motion .drop.is-revealed { animation: none; }
  .has-motion .drop__icon svg { animation: none; }
  .vwave.is-on span { animation: none; }
  .formats { opacity: 1; }
}
