/* Pages « Pour qui » (20/11/2026) : /pour/<slug>/ et /en/for/<slug>/, générées par scripts/generate-pour-qui.mjs.
   Chargée APRÈS hallmark.css : mêmes jetons, boutons, .faq, .close, .pour-qui. Ici seulement ce que la page ajoute. */

.pq-h2 { max-width: 20ch; margin-bottom: var(--space-xl); text-wrap: balance; }

/* ---------- Hero ---------- */
.pq-hero { padding-block: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl); background: radial-gradient(80% 60% at 85% 10%, color-mix(in oklab, var(--color-accent) 8%, transparent), transparent 70%); }
.pq-hero__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-2xl); align-items: center; }
.pq-eyebrow { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); margin-bottom: var(--space-sm); }
.pq-hero h1 { font-size: var(--text-display-s); line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.pq-hero .lead { margin-top: var(--space-md); max-width: 52ch; color: var(--color-muted); font-size: var(--text-lead); line-height: 1.5; }
.pq-hero__action { margin-top: var(--space-lg); }
.pq-hero__garantie { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* Exemple de conversation */
.pq-exemple { position: relative; margin: 0; padding: var(--space-xl) var(--space-lg) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: 22px; background: var(--color-paper); box-shadow: 0 30px 60px -36px rgba(70, 25, 140, .35); }
.pq-exemple__icone { position: absolute; top: -56px; right: -18px; width: 132px; height: 132px; filter: drop-shadow(0 16px 20px rgba(70, 25, 140, .22)); transform: rotate(6deg); }
.pq-exemple__label { display: flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--color-muted); margin: var(--space-sm) 0 6px; }
.pq-exemple__label--kord { color: var(--color-accent); font-weight: 600; margin-top: var(--space-md); }
.pq-bulle { position: relative; max-width: 92%; width: fit-content; padding: 10px 14px; border-radius: 16px; font-size: var(--text-sm); line-height: 1.5; }
.pq-bulle--recu { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-bottom-left-radius: 4px; }
.pq-bulle--relance { margin-left: auto; background: var(--color-accent); color: #fff; border-bottom-right-radius: 4px; }

/* ---------- Conversation animée (20/11/2026), grammaire des fenêtres Claude / ChatGPT de l'accueil ---------- */
.pq-conv { transition: opacity .4s var(--ease); }
.pq-conv__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: var(--text-xs); color: var(--color-muted); }
.pq-conv__meta strong { color: var(--color-ink); font-weight: 600; }
.pq-conv__avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in oklab, var(--color-accent) 14%, var(--color-paper)); color: var(--color-accent); font-weight: 700; font-size: 12px; }
/* Deux états dans la même case : rien ne bouge quand l'un remplace l'autre. */
.pq-pile { display: grid; }
.pq-pile > * { grid-area: 1 / 1; }
.pq-prep { display: inline-flex; align-items: center; gap: 6px; opacity: 0; }
.pq-pret { opacity: 1; }
.pq-preparation .pq-prep { opacity: 1; }
.pq-preparation .pq-pret { opacity: 0; }
.pq-pile--reponse { justify-items: start; margin-top: var(--space-sm); }
.pq-points { display: inline-flex; gap: 3px; align-items: center; }
.pq-points i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .35; animation: pq-points 1.2s ease-in-out infinite; }
.pq-points i:nth-child(2) { animation-delay: .15s; }
.pq-points i:nth-child(3) { animation-delay: .3s; }
@keyframes pq-points { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.pq-bulle--saisie { padding-block: 13px; color: var(--color-muted); }
.pq-envoye { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 6px; font-size: var(--text-xs); font-weight: 600; color: var(--color-accent); }
.pq-fin { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-md); padding: 6px 12px; border-radius: 999px; background: color-mix(in oklab, #16a34a 10%, var(--color-paper)); border: var(--rule-hair) solid color-mix(in oklab, #16a34a 35%, var(--color-rule)); color: #15803d; font-size: var(--text-sm); font-weight: 600; }
.pq-fin__point { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.pq-fin.pq-pulse .pq-fin__point { animation: pq-pulse 1s ease-in-out infinite; }
@keyframes pq-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .45; } }
/* Sans animation (pas de JavaScript, mouvement réduit) : conversation complète, sans la bulle de saisie. */
.pq-bulle--saisie { display: none; }
.pq-anime .pq-bulle--saisie { display: block; }
.pq-anime .pq-a { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.pq-anime .pq-a.on { opacity: 1; transform: none; }
.pq-anime .pq-conv.pq-fondu { opacity: 0; }
.pq-anime .pq-bulle--relance .l { opacity: 0; }
.pq-anime .pq-bulle--relance .l.v { opacity: 1; }
.pq-bulle--relance .l.d { position: relative; }
.pq-bulle--relance.pq-tape .l.d::after { content: ""; position: absolute; right: -2px; top: .15em; width: 2px; height: 1.05em; background: #fff; animation: pq-clignote .8s steps(1) infinite; }
@keyframes pq-clignote { 0% { opacity: 1; } 50% { opacity: 0; } }
.pq-anime .pq-prep, .pq-anime .pq-pret { transition: opacity .25s var(--ease); }
@media (prefers-reduced-motion: reduce) { .pq-points i, .pq-fin__point { animation: none !important; } }

/* ---------- Situations ---------- */
.pq-situations__liste, .pq-etapes__liste, .pq-preuves__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.pq-situation { padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: 18px; background: var(--color-paper-2); }
.pq-situation__citation { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.pq-situation__texte { margin-top: var(--space-sm); font-size: var(--text-sm); line-height: 1.55; color: var(--color-muted); }

/* ---------- Étapes ---------- */
.pq-etape { padding-top: var(--space-md); border-top: 2px solid color-mix(in oklab, var(--color-accent) 25%, var(--color-rule)); }
.pq-etape__num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in oklab, var(--color-accent) 10%, transparent); color: var(--color-accent); font-weight: 700; font-size: var(--text-sm); }
.pq-etape__titre { margin-top: var(--space-sm); max-width: none; font-family: inherit; letter-spacing: normal; line-height: 1.3; font-weight: 600; font-size: var(--text-md); }
.pq-etape__texte { margin-top: 6px; font-size: var(--text-sm); line-height: 1.55; color: var(--color-muted); }
.pq-canon { margin-top: var(--space-xl); max-width: 80ch; font-size: var(--text-xs); line-height: 1.6; color: var(--color-muted); }

/* ---------- Preuves (coaching) ---------- */
.pq-preuve { display: flex; flex-direction: column; gap: var(--space-sm); height: 100%; padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: 18px; color: var(--color-ink); text-decoration: none; transition: border-color .2s var(--ease); }
.pq-preuve:hover, .pq-preuve:focus-visible { border-color: var(--color-accent); outline: none; }
.pq-preuve__texte { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.pq-preuve__nom { margin-top: auto; font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); }

@media (max-width: 960px) {
  .pq-hero { padding-block-start: calc(var(--nav-height) + var(--space-lg)); }
  .pq-hero__grille { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .pq-exemple { margin-top: var(--space-lg); }
  .pq-exemple__icone { width: 104px; height: 104px; top: -48px; right: -6px; }
  .pq-situations__liste, .pq-etapes__liste, .pq-preuves__liste { grid-template-columns: minmax(0, 1fr); }
}
.pq-preuves__mention { margin-top: var(--space-md); font-size: var(--text-xs, 0.8125rem); color: var(--color-muted); }
