/* ==========================================================================
   pages.css : gabarits des pages intérieures (produits, secteurs, comparaison).
   Chargé après site.css. Mêmes règles que l'accueil : titres en Young Serif,
   toiles peintes avec une carte d'interface, du texte sans cartes ni pastilles.
   ========================================================================== */

/* ---------- Fil d'Ariane ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ink-3); list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- En-tête de page : texte à gauche, toile à droite ---------- */
.page-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 48px; }
.page-hero h1 {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 3.9vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1B1F27;
  text-wrap: balance;
}
.page-hero .lead { max-width: 520px; margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero-visual { aspect-ratio: 1 / 0.92; }
.page-hero-visual .video-card { width: 84%; }

/* ---------- Texte centré : définition, introduction ---------- */
.prose { max-width: 680px; margin: 36px auto 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose p + p { margin-top: 16px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Chiffres : un grand nombre, une ligne d'explication ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat { padding-top: 22px; border-top: 1px solid var(--line-2); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); font-weight: 400; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat span { display: block; max-width: 240px; margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Points : colonnes de texte séparées par un filet, sans cartes ---------- */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point { padding-top: 20px; border-top: 1px solid var(--line-2); }
.point h3 { font-size: 16.5px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.point p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.point a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Rangée : le texte d'un côté, la toile de l'autre ---------- */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.row.flip > .row-text { order: 2; }
.row-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.03em; color: #1B1F27; text-wrap: balance; }
.row-text > p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.row-text > p a { color: var(--ink); text-underline-offset: 3px; }
.row-text .points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 28px; margin-top: 36px; }
.row-text .points.one { grid-template-columns: 1fr; gap: 20px; }
.row-text .point { padding-top: 16px; }
.row-text .more { display: inline-block; margin-top: 28px; font-size: 15px; font-weight: 500; text-decoration: none; }
.row-text .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.row > .canvas { aspect-ratio: 1 / 0.92; }

/* ---------- Captures d'écran lisibles ----------
   Une capture se pose directement sur la toile, avec une marge étroite, sans carte en plus.
   .row.wide donne près des deux tiers de la largeur à la capture. */
.shot-canvas { padding: 28px; }
.row > .canvas.shot-canvas, .page-hero-visual.shot-canvas { aspect-ratio: auto; }
.shot-frame { margin: 0; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.shot-frame img { width: 100%; }
.row.wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.row.wide.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
/* En-tête avec une vidéo : la vidéo prend plus de place que le texte */
.page-hero.has-video { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
.page-hero-visual.shot-canvas .video-card { width: 100%; }

/* Plusieurs captures dans une section : une rangée par capture, texte à côté, en alternance */
.row + .row { margin-top: 104px; }
.row-text > h3 { font-family: var(--serif); font-size: clamp(23px, 2.3vw, 30px); font-weight: 400; line-height: 1.18; letter-spacing: -0.025em; color: #1B1F27; text-wrap: balance; }
.row-text > h3 + p { margin-top: 14px; }
.row-text > .points:first-child { margin-top: 0; }

/* ---------- Situations : une colonne par métier, une liste par colonne ---------- */
.contexts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.contexts h3 { padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.contexts ul { display: grid; gap: 9px; margin-top: 14px; list-style: none; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.section-note { max-width: 640px; margin: 48px auto 0; text-align: center; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.section-note a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Citation ---------- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-figure { margin-bottom: 28px; font-size: 15px; color: var(--ink-2); }
.quote-figure b { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.quote blockquote { font-family: var(--serif); font-size: clamp(23px, 2.5vw, 31px); line-height: 1.32; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.quote figcaption { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; text-align: left; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.quote figcaption img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font-weight: 600; color: var(--ink); }

/* ---------- Liens vers d'autres pages : une liste à filets, une flèche ---------- */
.links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; max-width: 1040px; margin: 0 auto; list-style: none; }
.links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
.links a strong { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.links a span { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-2); }
.links a::after { content: '→'; flex: none; color: var(--ink-3); transition: transform 0.2s, color 0.2s; }
.links a:hover::after { transform: translateX(4px); color: var(--ink); }

/* ---------- Cartes d'interface des pages produit ---------- */
/* Assistant de création : les champs du scénario se remplissent depuis la conversation */
.builder { width: 86%; padding: 16px; }
.builder-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.builder-head img { width: 22px; height: 22px; }
.builder-head .ui-pill { margin-left: auto; }
.builder-field { display: grid; grid-template-columns: 112px minmax(0, 1fr) 16px; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.builder-field:last-child { border-bottom: 0; padding-bottom: 2px; }
.builder-field > span:first-child { color: var(--ink-3); }
.builder-field b { font-weight: 500; }
.builder-field svg { width: 14px; height: 14px; align-self: center; color: var(--ok); }
.builder-field.is-filling b::after { content: ''; display: inline-block; width: 1.5px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.builder-field.is-filling svg { color: var(--line-2); }

/* Module : une simulation source et ses variantes, de la plus simple à la plus difficile */
.variants { width: 86%; padding: 16px; }
.variants .ui-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.variant { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.variant:last-of-type { border-bottom: 0; }
.variant-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(17, 25, 39, 0.05); font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.variant strong { display: block; font-size: 13px; font-weight: 600; }
.variant small { display: block; margin-top: 1px; font-size: 12px; line-height: 1.35; color: var(--ink-3); }
.level { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.level-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.level-bars b { width: 3px; border-radius: 1px; background: rgba(17, 25, 39, 0.14); }
.level-bars b:nth-child(1) { height: 5px; } .level-bars b:nth-child(2) { height: 8px; } .level-bars b:nth-child(3) { height: 12px; }
.level-bars b.on { background: var(--ink); }
.variants-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; font-size: 12px; color: var(--ink-3); }
.variant-face { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.variants-foot .bar { flex: 1; grid-column: auto; }

/* Coach posé sur la vidéo : la carte du coach IA en surimpression */
.coach-float { right: 5%; bottom: 7%; width: 230px; padding: 12px 14px; }
.coach-float .coach-head img { width: 34px; height: 34px; }
.coach-float p { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }

/* ---------- Cartes d'interface des pages secteur ---------- */
/* Audit : l'état de la formation aujourd'hui, en quatre chiffres */
.audit { width: 84%; padding: 16px; }
.audit .ui-head { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.audit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.audit-row strong { display: block; font-size: 13px; font-weight: 600; }
.audit-row small { display: block; margin-top: 1px; font-size: 12px; line-height: 1.35; color: var(--ink-3); }
.audit-row b { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; white-space: nowrap; }
.audit-foot { display: flex; align-items: center; gap: 8px; padding-top: 11px; font-size: 12.5px; font-weight: 500; color: var(--warn); }
.audit-foot svg { flex: none; width: 14px; height: 14px; }

/* ---------- Personnages : un visage, un nom, un rôle, une phrase ---------- */
.personas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.persona { padding-top: 22px; border-top: 1px solid var(--line-2); }
.persona img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.persona h3 { margin-top: 16px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.persona-role { margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.persona p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Comparaison : aujourd'hui, puis avec Engramm ---------- */
.compare-canvas { padding: 56px; }
.compare-card { position: relative; max-width: 1000px; margin: 0 auto; padding: 6px 28px; border-radius: 18px; }
.compare-card .compare { max-width: none; }
.compare-card .compare tbody tr:last-child th, .compare-card .compare tbody tr:last-child td { border-bottom: 0; }
.compare-card .compare td:last-child, .compare-card .compare thead th:last-child { background: #F5F3FC; }
.compare .cmp { display: flex; align-items: flex-start; gap: 9px; }
.compare .cmp svg { flex: none; width: 17px; height: 17px; margin-top: 2px; }
.compare td:not(:last-child) .cmp svg { color: var(--lv-r); }
.compare td:last-child .cmp svg { color: var(--lv-g); }
.compare { width: 100%; max-width: 1000px; margin: 0 auto; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.compare thead th { padding-top: 14px; padding-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.compare tbody th { width: 22%; padding-left: 0; font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare td:last-child, .compare thead th:last-child { background: var(--surface); color: var(--ink); }
.compare thead th:last-child { border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child td:last-child { border-radius: 0 0 14px 14px; }

/* ---------- Points avec une icône : une illustration douce, sans carte ---------- */
.points.icons .point { padding-top: 0; border-top: 0; }
.point-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 13px; background: var(--surface); box-shadow: 0 1px 2px rgba(17, 25, 39, 0.05), 0 6px 16px -10px rgba(17, 25, 39, 0.25); color: var(--ink); }
.point-ic svg { width: 21px; height: 21px; }
/* Sur une colonne (blocs .split) : l'icône à gauche, l'intitulé, le titre et le texte à droite */
.points.icons.one .point { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; }
.points.icons.one .point-ic { grid-row: 1 / span 6; margin-bottom: 0; }
.points.icons.one .point > :not(.point-ic) { grid-column: 2; }
.point .point-kicker { margin: 0 0 4px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }

/* ---------- Cas d'usage : la carte de simulation de l'en-tête (personnage, réplique, trois notes) ---------- */
.sim-quote { margin: 6px 6px 0; padding: 10px 12px; border-radius: 10px; background: #F4F1EC; font-size: 13px; line-height: 1.45; color: var(--ink); }
.sim-scores { padding: 2px 6px 6px; }
.sim-scores .bar i { background: var(--c, var(--ink)); }
.quote-figure a { color: var(--ink); text-underline-offset: 3px; }
.quote.section-body { margin-top: 64px; }
.quote-figure { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Situations : une petite toile et un personnage au-dessus de chaque liste ---------- */
.contexts .canvas { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.contexts .canvas + h3 { padding-top: 0; border-top: 0; }
.ctx-card { width: 84%; padding: 12px 14px; }
.ctx-who { display: flex; align-items: center; gap: 10px; }
.ctx-who img { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ctx-who strong { display: block; font-size: 12.5px; font-weight: 600; }
.ctx-who small { display: block; font-size: 11.5px; color: var(--ink-3); }
.ctx-card p { margin-top: 10px; padding: 8px 10px; border-radius: 10px 10px 10px 3px; background: var(--bg); font-size: 12.5px; line-height: 1.4; }

/* ---------- Bloc partagé : le titre à gauche, le contenu à droite ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.split-head { position: sticky; top: 112px; }
.split-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.03em; color: #1B1F27; text-wrap: balance; }
.split-head p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.split-head .more { display: inline-block; margin-top: 22px; font-size: 15px; font-weight: 500; text-decoration: none; }
.split-head .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.split .points.one { grid-template-columns: 1fr; gap: 28px; }
.split .faq-list { max-width: none; margin: 0; }
.split-note { margin-top: 28px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.split-lead { padding-top: 6px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.split-lead p + p { margin-top: 14px; }
.split-lead a { color: var(--ink); text-underline-offset: 3px; }
/* Avis courts sous un témoignage : trois citations côte à côte */
.verbatims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 1000px; margin: 64px auto 0; }
.verbatims figure { padding-top: 20px; border-top: 1px solid var(--line-2); }
.verbatims blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.verbatims figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
/* Appel sous un tableau : un bouton et une ligne */
.table-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 36px; font-size: 15px; color: var(--ink-2); }

/* Secteurs : un visage, le secteur, ses métiers, une flèche */
.sector-list { list-style: none; border-top: 1px solid var(--line-2); }
.sector-list a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
.sector-list img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sector-list strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.sector-list span span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--ink-2); }
.sector-list a::after { content: '→'; color: var(--ink-3); transition: transform 0.2s, color 0.2s; }
.sector-list a:hover::after { transform: translateX(4px); color: var(--ink); }

/* Chiffre sous les logos */
.logos-figure { max-width: 640px; margin: 40px auto 0; text-align: center; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.logos-figure b { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: clamp(40px, 4.4vw, 56px); font-weight: 400; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }

/* Conversation avec un coach : l'en-tête, les messages, l'onde de la voix */
.chat { width: 86%; padding: 14px 16px 16px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.chat-head > div { min-width: 0; }
.chat-head .ui-title { white-space: nowrap; }
.chat-head .ui-pill { margin-left: auto; }
.msg { max-width: 88%; margin-top: 10px; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--bg); font-size: 13px; line-height: 1.45; }
.msg.me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; }
.chat .wave { justify-content: flex-start; height: 24px; margin: 12px 0 0; }
.chat .modes { margin-top: 12px; }
.contexts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Cas d'usage : la toile, un intitulé discret, le titre et un paragraphe */
.contexts .ctx-kicker { font-size: 13.5px; color: var(--ink-3); }
.contexts .ctx-kicker + h3 { margin-top: 4px; padding-top: 0; border-top: 0; line-height: 1.35; }
.contexts h3 + p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.contexts h3 + p a { color: var(--ink); text-underline-offset: 3px; }
/* Preuves sous les boutons d'un en-tête de page, reprises de l'accueil : une ligne par point, une icône au trait */
.page-hero .hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.page-proof { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; list-style: none; font-size: 15px; line-height: 22px; color: var(--ink); }
.page-proof li { display: flex; align-items: flex-start; gap: 12px; }
.page-proof svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ink-2); }
.page-proof .nw { white-space: nowrap; }

/* ---------- Pages courtes (podcasts, fiches, quiz) ---------- */
/* Liste à coches sous une légende de tuile */
.caption ul { display: grid; gap: 7px; margin-top: 14px; list-style: none; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.caption li { display: flex; gap: 9px; }
.caption li::before { content: ''; flex: none; width: 15px; height: 15px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111927' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0.75; }
/* Création à partir d'un sujet : la consigne écrite, puis le bouton */
.prompt-card { width: 84%; padding: 16px; }
.prompt-card .builder-head { padding-bottom: 12px; }
.prompt-box { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.prompt-box::after { content: ''; display: inline-block; width: 1.5px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.prompt-card .btn { width: 100%; margin-top: 12px; padding: 9px 14px; font-size: 13px; }
/* Conteneur d'une démo interactive, centré sur la toile */
.demo-wrap { display: flex; justify-content: center; width: 100%; }

/* Lecteur de podcast (script de la page : boutons, progression, volume) */
.podcast-player-asset { --text-primary: var(--ink); --border: var(--line-2); width: 86%; padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.pp-cover { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #ECE8E1; }
.pp-cover-img { width: 100%; height: 100%; object-fit: cover; }
.pp-info { margin-top: 14px; padding: 0 4px; }
.pp-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.pp-desc { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.pp-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 12px; }
.pp-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.pp-btn:hover { background: rgba(17, 25, 39, 0.05); color: var(--ink); }
.pp-btn svg { width: 16px; height: 16px; }
.pp-btn--play { width: 44px; height: 44px; background: var(--ink); color: #fff; }
.pp-btn--play:hover { background: #26303f; color: #fff; }
.pp-time { margin-left: 6px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pp-progress { order: 10; flex: 1 1 100%; padding: 8px 4px 2px; cursor: pointer; }
.pp-progress-bar { height: 4px; overflow: hidden; border-radius: 4px; background: rgba(17, 25, 39, 0.08); }
.pp-progress-fill { width: 0; height: 100%; background: var(--ink); }
.pp-volume-wrap { margin-left: auto; }
.pp-volume { width: 76px; height: 4px; border-radius: 4px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.pp-volume::-webkit-slider-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); -webkit-appearance: none; }
.pp-volume::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--ink); }

/* Fiches d'apprentissage : une pile de cartes, la carte du dessus se retourne */
.fc-deck { width: 84%; }
.fc-stack { position: relative; height: 240px; }
.fc-ghost { position: absolute; inset: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.fc-ghost--1 { opacity: 0.75; transform: translateY(9px) scale(0.96); }
.fc-ghost--2 { opacity: 0.5; transform: translateY(18px) scale(0.92); }
.fc-card { position: absolute; inset: 0; perspective: 1200px; }
.fc-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fc-card-inner.flipped { transform: rotateY(180deg); }
.fc-card-front, .fc-card-back { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.fc-card-back { transform: rotateY(180deg); }
.fc-card-text { font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--ink); }
.fc-card-back .fc-card-text { overflow: auto; font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.fc-reveal-btn { align-self: flex-start; padding: 8px 15px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; }
.fc-pulse { animation: fc-pulse 1.2s ease infinite; }
@keyframes fc-pulse { 50% { box-shadow: 0 0 0 7px rgba(17, 25, 39, 0.14); } }
.fc-controls { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.fc-nav-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); color: var(--ink); }
.fc-nav-btn svg, .fc-restart-btn svg { width: 16px; height: 16px; }
.fc-footer { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); }
.fc-restart-btn { display: grid; place-items: center; color: var(--ink-2); }
.fc-progress { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(17, 25, 39, 0.1); }
.fc-progress-fill { width: 0; height: 100%; border-radius: inherit; background: var(--ink); }
.fc-progress-dot { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.fc-counter { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Quiz : une question, des réponses, l'explication qui apparaît sous la réponse */
.qz-container { width: 88%; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.qz-header { display: flex; align-items: center; gap: 12px; }
.qz-progress { flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(17, 25, 39, 0.08); }
.qz-progress-fill { width: 0; height: 100%; background: var(--ink); transition: width 0.3s; }
.qz-counter { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.qz-next-btn { padding: 6px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; }
.qz-next-btn:disabled { opacity: 0.3; cursor: default; }
.qz-question { margin-top: 16px; font-family: var(--serif); font-size: 18px; line-height: 1.35; }
.qz-options { display: grid; gap: 8px; margin-top: 16px; }
.qz-option { width: 100%; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; text-align: left; font-size: 13.5px; line-height: 1.4; transition: border-color 0.15s, background 0.15s; }
.qz-option:hover { border-color: var(--ink); }
.qz-option.qz-disabled { opacity: 0.5; cursor: default; }
.qz-option.qz-disabled:hover { border-color: var(--line-2); }
.qz-option.qz-correct { opacity: 1; border-color: var(--lv-g); background: #ECFDF5; }
.qz-option.qz-incorrect { opacity: 1; border-color: var(--lv-r); background: #FEF2F2; }
.qz-feedback { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.qz-feedback-label { display: inline-flex; align-items: center; gap: 5px; margin-right: 6px; font-weight: 600; }
.qz-feedback-correct { color: #047857; }
.qz-feedback-incorrect { color: #B42318; }

/* ---------- Tuiles illustrées des pages secteur ---------- */
/* Une légende peut porter deux points : un petit écart entre les deux */
.caption h3 + p + h3 { margin-top: 18px; }

/* Charte : les règles du scénario, respectées ou signalées */
.rules { width: 82%; padding: 16px; }
.rules .ui-head, .launch .ui-head, .regions .ui-head { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
/* La petite mention de droite reste sur une ligne, le titre passe à la ligne s'il le faut */
.ui-head .ui-kicker { flex: none; white-space: nowrap; }
.rule { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.rule svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.rule.ok svg { color: var(--lv-g); }
.rule.warn { font-weight: 500; }
.rule.warn svg { color: var(--lv-o); }
.rules-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; font-size: 12px; color: var(--ink-3); }
.rules-foot b { font-size: 13px; color: var(--ink); }

/* Visite : le temps qui passe et les messages clés à faire passer */
.visit { width: 82%; padding: 16px; }
.visit-head { display: flex; align-items: center; gap: 10px; }
.visit-head img { flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.visit-head > div { flex: 1; min-width: 0; }
.visit-head .ui-title { white-space: nowrap; }
.visit-head .ui-pill { margin-left: auto; font-variant-numeric: tabular-nums; }
.visit .bar { height: 6px; margin-top: 14px; }
.visit .bar i { background: var(--lv-o); }
.visit-time { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.visit-list { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.visit-list .ui-kicker { margin-bottom: 4px; }
.visit-item { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; }
.visit-item svg { flex: none; width: 16px; height: 16px; color: var(--lv-g); }
.visit-item.todo { color: var(--ink-3); }
.visit-item.todo svg { color: var(--line-2); }

/* Interlocuteurs : quatre visages, quatre discours */
.faces { width: 84%; padding: 12px 16px; }
.face-row { display: grid; grid-template-columns: 36px auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.face-row:last-child { border-bottom: 0; }
.face-row img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.face-row strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; }
.face-row small { display: block; font-size: 12px; color: var(--ink-3); }
.face-row em { font-size: 12px; font-style: normal; line-height: 1.35; color: var(--ink-2); text-align: right; }
.face-row .lv { justify-self: end; min-width: 36px; }

/* Lancement : un parcours de quatre contenus, chacun avec la couleur de son type */
.launch { width: 84%; padding: 16px; }
.launch-item { display: grid; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.launch-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.launch-item strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; }
.launch-item .type { display: inline-block; margin-top: 5px; }
.launch-item svg { width: 16px; height: 16px; color: var(--lv-g); }

/* Régions : qui est prêt pour le lancement, région par région */
.regions { width: 84%; padding: 16px; }
.region { display: grid; grid-template-columns: 92px minmax(0, 1fr) 38px; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.region:first-of-type { margin-top: 4px; }
.region .bar { grid-column: auto; height: 6px; }
.region .bar i.g, .lv.g { background: var(--lv-g); }
.region .bar i.o, .lv.o { background: var(--lv-o); }
.region .bar i.r, .lv.r { background: var(--lv-r); }
.lv { display: inline-grid; place-items: center; height: 24px; border-radius: 6px; color: #fff; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }


/* ---------- Pages légales (CGU, confidentialité) : le texte seul, en colonne de lecture ---------- */
.legal-page { max-width: 820px; margin: 0 auto; padding: 56px 24px 120px; }
.legal-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line-2); }
.legal-eyebrow { display: block; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.legal-header h1 { margin-top: 10px; font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; color: #1B1F27; }
.legal-updated { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.legal-content { font-size: 16px; line-height: 1.7; color: #2A303B; }
.legal-content > * + * { margin-top: 14px; }
.legal-content h2 { margin-top: 44px; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.legal-content h3 { margin-top: 28px; font-size: 17px; font-weight: 600; color: var(--ink); }
.legal-content ul, .legal-content ol { display: grid; gap: 6px; padding-left: 22px; }
.legal-content a { color: var(--ink); text-underline-offset: 3px; }
.legal-content strong { font-weight: 600; color: var(--ink); }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-content th, .legal-content td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.legal-content th { font-weight: 600; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .contexts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .row { gap: 48px; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .row.wide, .row.wide.flip, .page-hero.has-video { grid-template-columns: 1fr; }
  .row + .row { margin-top: 64px; }
  .contexts.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-head { position: static; }
  .page-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 28px; }
  .page-hero-visual { aspect-ratio: 1 / 0.86; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .points, .points.two { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 40px; }
  .row.flip > .row-text { order: 0; }
  .links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  /* Comparaison : une ligne devient un bloc, chaque cellule annonce sa colonne */
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
  .compare th, .compare td { padding: 0; border: 0; }
  .compare td { margin-top: 10px; padding: 10px 14px; border-radius: 12px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
  .compare tbody tr:last-child td:last-child { border-radius: 12px; }
  .compare-card .compare tr { border-bottom: 1px solid var(--line); }
  .compare-card .compare tbody tr:last-child { border-bottom: 0; }
  .compare-canvas { padding: 20px 14px; }
  .compare-card { padding: 4px 16px; }
}
@media (max-width: 600px) {
  .shot-canvas { padding: 14px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero .lead { font-size: 16.5px; }
  .page-hero .actions .btn { flex: 1 1 100%; }
  .page-hero-visual { aspect-ratio: 1 / 1.05; }
  .page-hero-visual .video-card, .builder, .variants, .chat, .rules, .visit, .faces, .launch, .regions, .prompt-card, .podcast-player-asset, .fc-deck, .qz-container { width: 92%; }
  .points, .points.two, .row-text .points, .contexts, .contexts.three, .links, .personas, .verbatims { grid-template-columns: 1fr; }
  .audit { width: 92%; }
  .stats { gap: 28px 16px; }
  .stat span { font-size: 14px; }
  .row > .canvas { aspect-ratio: 1 / 1.1; }
  .builder-field { grid-template-columns: 92px minmax(0, 1fr) 14px; }
  .coach-float { width: 200px; right: 4%; bottom: 4%; }
  .quote figcaption { flex-direction: column; text-align: center; }
}
