/* ==========================================================================
   Web Katalyst — Landing IA (V0.1)
   Complète css/styles.css (charte de la landing e-commerce V4.3, inchangée).
   Uniquement les composants propres à cette page.
   ========================================================================== */

.hero-ia h1 { max-width: 13em; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.375rem); }
@media (max-width: 1023px) { .hero-ia h1 { font-size: clamp(1.875rem, 1.4rem + 2.6vw, 2.5rem); } }
.hero-ia .hero-actions { margin-bottom: 26px; }

/* ---------- Situations ---------- */
.situations { list-style: none; display: grid; gap: 16px; }
@media (min-width: 900px) { .situations { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.situation { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; display: flex; flex-direction: column; }
.situation h3 { font-size: 1.25rem; }
.situation-now { color: var(--muted); }
.situation-then { margin: auto 0 0; padding-top: 14px; border-top: 2px solid var(--wk-yellow); color: var(--text-strong); }
.situation-gain { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #fff8e0; color: var(--text-strong); font-size: .95rem; }
.situations-more { margin: 24px 0 0; color: var(--muted); }

/* ---------- Méthode en 4 étapes ---------- */
@media (min-width: 900px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps-4 .step ul { list-style: none; display: grid; gap: 8px; font-size: .9375rem; }
.steps-4 .step li:last-child { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--text-strong); }
.frame-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .frame-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.frame-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.frame-card h3 { font-size: 1.125rem; }
.frame-limits { background: var(--bg); }
.frame-limits .check-list li::before { background: #e9e9e6; border: 2px solid var(--wk-ink-3); width: 18px; height: 18px; background-image: linear-gradient(var(--wk-ink-3), var(--wk-ink-3)); background-size: 8px 2px; background-position: center; background-repeat: no-repeat; box-sizing: border-box; }

/* ---------- Expérience (Diptyque) ---------- */
.experience-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .experience-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.experience-note { font-size: .875rem; color: var(--muted); }
.experience-visual { margin: 0; }
.experience-visual figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); }

/* ---------- Contact ---------- */
.booking-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 20px 0 8px; color: #dde0e6; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.consent-check { align-items: flex-start; }
.consent-check input { margin-top: 5px; flex: none; width: 18px; height: 18px; }
.contact-form select { width: 100%; }

/* Titres des sections sans en-tête commun */
.experience h2 { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem); letter-spacing: -.01em; }

/* Formulaire branché (réception commune) : mentions et lien de réservation après l'envoi */
.form-privacy { margin: -6px 0 0; font-size: .8125rem; color: var(--muted); }
.form-privacy a { color: inherit; }
.form-status a:not(.btn) { color: inherit; font-weight: 700; }
.status-next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; color: var(--text-strong, inherit); }

/* ==========================================================================
   Web Katalyst — Landing IA V0.4 : sections sous le hero
   Bénéfices (trois panneaux), démonstration (une scène, étapes sélectionnables),
   méthode (livrables), expérience, équipe, contact (deux façons de commencer).
   HTML/CSS seulement. Règle commune : l'état par défaut est l'état FINAL, lisible sans
   animation ni survol. Les états de départ n'existent que sous .is-armed (posé par js/main.js
   quand le bloc est sous l'écran et que les animations sont permises) ; .is-played les lève.
   ========================================================================== */

.tag-light { background: #fff; color: var(--muted); border: 1px solid var(--line); }

/* ==========================================================================
   1. BÉNÉFICES — un grand panneau et deux panneaux complémentaires
   ========================================================================== */
.benefits { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.benefits-head { display: grid; gap: 0; margin-bottom: 32px; }
.benefits-head .tag { justify-self: start; }

.bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: 1fr 1fr; gap: 20px; } .bx-main { grid-column: 1 / -1; } }
/* Ordinateur : le grand panneau occupe toute la largeur (scène à gauche, texte à droite), les deux autres dessous. */
@media (min-width: 1100px) {
  .bento .bx-main { flex-direction: row; align-items: stretch; }
  .bento .bx-main .bx-stage { flex: 1.55 1 0; padding: 34px 30px; }
  .bento .bx-main .bx-copy { flex: 1 1 0; align-content: center; padding: 28px 30px 28px 34px; gap: 14px; }
  .bx-main .bx-copy p { font-size: 1.0625rem; }
  .bx-main .sq { zoom: 1.22; }
}

.bx { display: flex; flex-direction: column; min-width: 0; padding: 10px; border-radius: 22px; background: #fff; border: 1px solid #e7e6e2;
  box-shadow: 0 1px 2px rgba(19, 21, 28, .05), 0 28px 50px -28px rgba(19, 21, 28, .28); }
.bx-copy { padding: 18px 14px 12px; display: grid; gap: 10px; }
.bx-copy h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.005em; }
.bx-main .bx-copy h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.bx-copy p { margin: 0; color: var(--text); font-size: .9375rem; line-height: 1.55; }
.bx-gain { display: flex; gap: 10px; align-items: baseline; padding-left: 12px; border-left: 3px solid var(--wk-yellow); color: var(--text-strong) !important; font-weight: 600; }
.bx-gain span { font-weight: 400; color: var(--muted); }
.bx-more { font-size: .875rem; }
.bx-more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; list-style: none; font-weight: 700; color: var(--text-strong); border-radius: 4px; }
.bx-more summary::-webkit-details-marker { display: none; }
.bx-more summary::after { content: "+"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); font-size: 1rem; line-height: 1; transition: transform .2s, background .2s; }
.bx-more[open] summary::after { transform: rotate(45deg); background: var(--wk-yellow); }
.bx-more ul { list-style: none; display: grid; gap: 6px; margin: 8px 0 4px; color: var(--text); }
.bx-more li { position: relative; padding-left: 18px; line-height: 1.5; }
.bx-more li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--wk-orange); }
@media (pointer: coarse) { .bx-more summary { min-height: 44px; } }

/* Scène : même matière que le hero (anthracite, lumière jaune, cartes en volume) */
.bx-stage { position: relative; flex: 1 1 auto; display: grid; align-content: center; container-type: inline-size; overflow: hidden; border-radius: 14px; padding: 18px; color: #fff;
  background: radial-gradient(120% 110% at 82% 18%, #252c3d 0%, var(--wk-ink) 66%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.bx-stage::before { content: ""; position: absolute; pointer-events: none; left: 30%; top: 18%; width: 52%; height: 70%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 193, 14, .16), rgba(255, 193, 14, .04) 60%, transparent); }
.bx-stage > * { position: relative; }
.bx-label { margin: 0 0 8px; font: 700 .625rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }

/* Carte sombre (ce qui arrive) et papier clair (ce qui est produit) */
.u-card { border-radius: 10px; padding: 10px 12px; background: linear-gradient(180deg, #2c303c, #1d2029); border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 16px 28px -14px rgba(0, 0, 0, .75); }
.u-head { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 .8125rem/1.25 var(--font-title); color: #fff; }
.u-head small { margin-left: auto; font: 400 .6875rem/1 var(--font-text); color: var(--on-dark-muted); white-space: nowrap; }
.u-quote { margin: 8px 0 0; font-size: .8125rem; line-height: 1.5; color: #e3e5ea; }
.u-quote mark { background: rgba(255, 193, 14, .22); color: #fff; border-radius: 3px; padding: 0 3px; box-shadow: inset 0 -2px 0 var(--wk-yellow); }
.u-paper { border-radius: 12px; padding: 14px; background: #fff; color: var(--text-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 24px 40px -18px rgba(0, 0, 0, .75), 0 2px 6px rgba(0, 0, 0, .25); }
.u-paper-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 .8125rem/1.2 var(--font-title); letter-spacing: .04em; text-transform: uppercase; }
.u-paper-head .u-state { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: var(--bg-soft); color: var(--muted); font: 700 .625rem/1.4 var(--font-text); letter-spacing: .04em; }
.u-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid #eceae6; font-size: .8125rem; line-height: 1.3; }
.u-row b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-row small { display: block; font-size: .6875rem; font-weight: 400; color: var(--muted); }
.u-bar { display: block; height: 7px; width: var(--w, 56px); border-radius: 4px; background: #e2e1dc; transform-origin: right center; }
.u-total { border-top: 2px solid var(--text-strong); font-weight: 700; }
.u-total .u-bar { background: var(--text-strong); }
.u-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.u-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font: 600 .75rem/1.2 var(--font-text); color: #fff; white-space: nowrap; }
.u-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wk-yellow); box-shadow: 0 0 8px rgba(255, 193, 14, .8); }
.u-kv { margin: 0; display: grid; }
.u-kv > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid #eceae6; font-size: .8125rem; }
.u-kv dt { color: var(--muted); } .u-kv dd { margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-arrow { display: block; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 193, 14, .9) 0 6px, transparent 6px 12px); }

/* --- Panneau 1 : une demande devient un devis prêt à relire --- */
.sq { display: grid; gap: 14px; }
.sq-in { display: grid; gap: 10px; align-content: start; }
.sq-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.sq-doc { min-width: 0; }
.sq-link { display: none; }
@container (min-width: 560px) {
  .sq { grid-template-columns: minmax(0, .92fr) 28px minmax(0, 1.08fr); gap: 0; align-items: center; min-height: 330px; }
  .sq-in { transform: perspective(1200px) rotateY(7deg) rotateZ(-.6deg); transform-origin: right center; }
  .sq-facts { flex-direction: column; align-items: flex-start; }
  .sq-link { display: block; align-self: center; }
  .sq-doc { transform: perspective(1200px) rotateY(-6deg) rotateZ(.5deg); transform-origin: left center; }
}

/* --- Panneau 2 : plusieurs canaux, une seule fiche --- */
.sf { display: grid; gap: 12px; }
.sf-src { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sf-src .u-card { padding: 8px 9px; }
.sf-src .u-head { font-size: .75rem; gap: 6px; }
.sf-src .u-head .sc-ico { width: 22px; height: 22px; border-radius: 6px; transform: scale(.9); }
.sf-src p { margin: 4px 0 0; font-size: .6875rem; line-height: 1.35; color: var(--on-dark-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-src .u-card:nth-child(1) { transform: rotate(-2deg); } .sf-src .u-card:nth-child(3) { transform: rotate(2deg); }
@container (max-width: 360px) { .sf-src .sc-ico { display: none; } }
.sf-down { justify-self: center; width: 2px; height: 16px; background: repeating-linear-gradient(180deg, rgba(255, 193, 14, .9) 0 5px, transparent 5px 9px); }

/* --- Panneau 3 : une modification, trois outils à jour --- */
.ss { display: grid; gap: 12px; }
.ss-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ss-edit .u-card { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: .8125rem; border-color: rgba(255, 193, 14, .4); }
.ss-edit s { color: var(--on-dark-muted); } .ss-edit strong { color: var(--wk-yellow); }
.ss-edit small { font-size: .6875rem; color: var(--on-dark-muted); }
.ss-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ss-tool { border-radius: 10px; background: #fff; color: var(--text-strong); overflow: hidden; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .75); }
.ss-tool h4 { margin: 0; padding: 6px 9px; background: #ebedf0; border-bottom: 1px solid #dcdfe4; font: 700 .6875rem/1.2 var(--font-text); color: #555b66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-tool p { margin: 0; padding: 8px 9px 9px; font-size: .6875rem; line-height: 1.3; color: var(--muted); }
.ss-val { position: relative; display: block; margin-top: 3px; font: 700 .8125rem/1.3 var(--font-text); color: var(--text-strong); }
.ss-val .new { display: inline-block; padding: 0 5px; margin-left: -5px; border-radius: 4px; background: rgba(255, 193, 14, .35); }
.ss-val .old { position: absolute; left: 0; top: 0; opacity: 0; color: var(--muted); text-decoration: line-through; }
.ss-ok { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: .625rem; font-weight: 700; color: var(--ok); }
.ss-ok::before { content: ""; width: 8px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }

/* --- Entrée en scène (une fois, à l'arrivée dans l'écran) --- */
.is-armed .a-in { opacity: 0; translate: 0 10px; }
.is-armed .a-grow { transform: scaleX(0); }
.is-armed .a-pop { opacity: 0; scale: .9; }
.is-armed .ss-val .new { opacity: 0; } .is-armed .ss-val .old { opacity: 1; } .is-armed .ss-ok { opacity: 0; }
.is-played .a-in { opacity: 1; translate: 0 0; transition: opacity .45s ease, translate .45s ease; transition-delay: calc(var(--d, 0) * 1ms); }
.is-played .a-grow { transform: scaleX(1); transition: transform .5s ease; transition-delay: calc(var(--d, 0) * 1ms); }
.is-played .a-pop { opacity: 1; scale: 1; transition: opacity .3s ease, scale .35s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--d, 0) * 1ms); }
.is-played .ss-val .new, .is-played .ss-ok { opacity: 1; transition: opacity .35s ease; transition-delay: calc(var(--d, 0) * 1ms); }
.is-played .ss-val .old { opacity: 0; transition: opacity .25s ease; transition-delay: calc(var(--d, 0) * 1ms); }


@media (prefers-reduced-motion: reduce) {
  .bento *, .bento *::before, .bento *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   2. DÉMONSTRATION — la demande, le devis, quatre temps (data-phase 1 à 4 sur .dq)
   Défaut : 4 (résultat). Un seul élément attire l'œil à chaque temps :
   1 la demande (contour) · 2 les informations (surlignages successifs) · 3 le trajet et les lignes du devis · 4 « À valider ».
   ========================================================================== */
.dq { border-radius: 18px; background: linear-gradient(180deg, #1f222c, #171a22); border: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -30px rgba(0, 0, 0, .8); overflow: hidden; }
.dq-stage { position: relative; display: grid; gap: 6px; padding: 22px 16px 18px; }
.dq-stage::before { content: ""; position: absolute; pointer-events: none; left: 26%; top: 4%; width: 48%; height: 92%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 193, 14, .12), rgba(255, 193, 14, .03) 60%, transparent); }
.dq-col { position: relative; min-width: 0; }
.dq-msg { padding: 16px; transition: box-shadow .35s ease, border-color .35s ease; }
.dq-msg .u-head { flex-wrap: wrap; }
.dq-meta { margin: 6px 0 0; font-size: .75rem; color: var(--on-dark-muted); }
.dq-msg .u-quote { margin-top: 12px; font-size: 1rem; line-height: 1.65; }
.dq mark { padding: 0 2px; margin: 0 -2px; transition: background .35s ease, box-shadow .35s ease; transition-delay: calc(var(--m, 0) * 420ms); }
.dq-doc { transition: box-shadow .35s ease; }
.dq .u-row { padding-left: 8px; margin-left: -8px; font-size: .875rem; }
.dq-r { position: relative; transition: background .3s ease, box-shadow .3s ease; }
.dq-r::after { content: ""; position: absolute; left: 8px; top: 50%; width: 46%; height: 7px; margin-top: -3px; border-radius: 4px; background: #ebe9e4; opacity: 0; transition: opacity .25s ease; }
.dq-r > *, .dq-x, .dq-foot { transition: opacity .4s ease, translate .4s ease; }
.dq-foot .sc-badge { transition: box-shadow .35s ease; }

/* Le trajet entre la demande et le devis */
.dq-flow { position: relative; justify-self: center; width: 2px; height: 30px; background: repeating-linear-gradient(180deg, rgba(255, 193, 14, .55) 0 5px, transparent 5px 10px); }
.dq-flow::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 9px; height: 9px; margin-left: -5px; border: solid var(--wk-yellow); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dq-dot { position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--wk-yellow); box-shadow: 0 0 14px 3px rgba(255, 193, 14, .7); opacity: 0; }
@keyframes dq-travel-y { 0% { opacity: 0; top: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: 100%; } }
@keyframes dq-travel-x { 0% { opacity: 0; left: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; left: 100%; } }
.dq[data-phase="3"] .dq-dot { animation: dq-travel-y .8s ease-in-out 3; }

@media (min-width: 900px) {
  .dq-stage { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); gap: 0; align-items: center; padding: 34px 34px 26px; }
  .dq-flow { width: auto; height: 2px; justify-self: stretch; margin: 0 14px; background: repeating-linear-gradient(90deg, rgba(255, 193, 14, .55) 0 6px, transparent 6px 12px); }
  .dq-flow::after { left: auto; right: -2px; bottom: auto; top: 50%; margin: -5px 0 0; transform: rotate(-45deg); }
  .dq-dot { left: 0; top: 50%; }
  .dq[data-phase="3"] .dq-dot { animation-name: dq-travel-x; }
  .dq-msg { padding: 20px; } .dq-doc { padding: 18px; }
}

/* Temps 1 à 3 : ce qui n'est pas encore arrivé */
.dq[data-phase="1"] mark { background: transparent; box-shadow: none; transition-delay: 0s; }
.dq:is([data-phase="1"], [data-phase="2"]) .dq-r > * { opacity: 0; translate: -8px 0; }
.dq:is([data-phase="1"], [data-phase="2"]) .dq-r::after { opacity: 1; }
.dq:is([data-phase="1"], [data-phase="2"], [data-phase="3"]) .dq-foot, .dq:is([data-phase="1"], [data-phase="2"]) .dq-x { opacity: 0; translate: 0 6px; }
/* Temps 3 : les lignes arrivent l'une après l'autre */
.dq[data-phase="3"] .dq-r > * { transition-delay: calc(var(--i) * 480ms + 500ms); }
.dq[data-phase="3"] .dq-r::after { transition-delay: calc(var(--i) * 480ms + 450ms); }
/* Ce qui attire l'œil, un seul élément à la fois */
.dq[data-phase="1"] .dq-msg { border-color: var(--wk-yellow); box-shadow: 0 0 0 1px var(--wk-yellow), 0 0 44px -6px rgba(255, 193, 14, .45); }
.dq[data-phase="3"] .dq-doc { box-shadow: 0 0 0 2px var(--wk-yellow), 0 24px 40px -18px rgba(0, 0, 0, .75), 0 0 44px -6px rgba(255, 193, 14, .4); }
.dq[data-phase="4"] .dq-foot .sc-badge { box-shadow: 0 0 0 4px rgba(255, 193, 14, .3); }
.dq.is-running[data-phase="4"] .dq-foot .sc-badge { animation: dq-pulse 1.2s ease 2; }
@keyframes dq-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 193, 14, .3); } 50% { box-shadow: 0 0 0 9px rgba(255, 193, 14, .12); } }

/* Barre : temps sélectionnables, pause, rejouer */
.dq-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-top: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); }
.dq-steps { list-style: none; display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.dq-steps::-webkit-scrollbar { display: none; }
.dq-steps button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 6px; border-radius: 99px; border: 1px solid var(--line-dark); background: transparent;
  color: var(--on-dark-muted); font: 600 .8125rem/1.1 var(--font-text); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.dz-n { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--wk-ink-3); color: #fff; font: 900 .75rem/1 var(--font-title); }
.dq-steps button:hover { border-color: var(--on-dark-muted); color: #fff; }
.dq-steps button[aria-pressed="true"] { background: var(--wk-yellow); border-color: var(--wk-yellow); color: var(--wk-ink); }
.dq-steps button[aria-pressed="true"] .dz-n { background: var(--wk-ink); }
.dq-ctl { display: flex; gap: 6px; }
.dz-replay { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-dark); background: transparent; color: #fff; font: 700 .8125rem/1 var(--font-text); cursor: pointer; }
.dz-replay:hover { border-color: var(--wk-yellow); }
.dz-replay-ico { width: 12px; height: 12px; border: 2px solid var(--wk-yellow); border-right-color: transparent; border-radius: 50%; position: relative; }
.dz-replay-ico::after { content: ""; position: absolute; right: -4px; top: -3px; border: 4px solid transparent; border-left-color: var(--wk-yellow); transform: rotate(-35deg); }
.dq-pause-ico { width: 9px; height: 11px; border-left: 3px solid var(--wk-yellow); border-right: 3px solid var(--wk-yellow); }
[data-dq-pause][aria-pressed="true"] .dq-pause-ico { width: 0; height: 0; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--wk-yellow); }
@media (pointer: coarse) { .dq-steps button, .dz-replay { min-height: 44px; } }
@media (max-width: 759px) { .dq-steps button .dz-t { display: none; } .dq-steps button { padding: 6px; } .dq-steps button[aria-pressed="true"] { padding-right: 14px; } .dq-steps button[aria-pressed="true"] .dz-t { display: inline; } }
.dq-caption { margin: 0; padding: 0 18px 18px; font-size: .9375rem; line-height: 1.5; color: #e8eaef; min-height: 3.6em; }
@media (min-width: 900px) { .dq-caption { padding: 2px 34px 22px; font-size: 1rem; min-height: 0; } }

/* Volet « Voir comment ça fonctionne » */
.how { margin-top: 18px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); }
.how > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 18px; cursor: pointer; list-style: none; font: 700 1rem/1.3 var(--font-title); color: #fff; border-radius: 14px; }
.how > summary::-webkit-details-marker { display: none; }
.how > summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--wk-ink-3); color: #fff; font-size: 1.25rem; transition: transform .2s, background .2s, color .2s; }
.how[open] > summary::after { transform: rotate(45deg); background: var(--wk-yellow); color: var(--wk-ink); }
.how-body { padding: 4px 18px 20px; display: grid; gap: 22px; }
.how-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } .how-body { padding: 4px 26px 26px; } .how > summary { padding: 10px 26px; } }
.how h3 { margin: 0 0 10px; font-size: 1rem; color: var(--wk-yellow); }
.how-grid ul { list-style: none; display: grid; gap: 10px; }
.how-grid li { font-size: .875rem; line-height: 1.45; color: var(--on-dark-muted); }
.how-grid li strong { display: block; color: #fff; font-weight: 600; }

/* Vue simplifiée d'un workflow n8n (illustration) */
.how-body > * { min-width: 0; }
.wf-block { padding-top: 20px; border-top: 1px solid var(--line-dark); }
.wf-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.wf-head h3 { margin: 0; color: #fff; }
.wf-zoom { margin-left: auto; min-height: 36px; }
.wf { overflow-x: auto; border-radius: 12px; background-color: #f5f5f2; background-image: radial-gradient(#d4d3ce 1px, transparent 1px); background-size: 16px 16px; padding: 22px 18px 16px; }
.wf-track { list-style: none; display: flex; align-items: flex-start; gap: 34px; width: max-content; min-width: 100%; margin: 0; padding: 0; }
.wf-node { position: relative; flex: none; width: 104px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.wf-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 2px solid #c9c8c3; box-shadow: 0 6px 12px -8px rgba(19, 21, 28, .5); }
.wf-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--wk-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wf-label { font: 600 .75rem/1.3 var(--font-text); color: var(--wk-ink); }
.wf-node + .wf-node::before { content: ""; position: absolute; right: calc(100% - 22px + 4px); top: 29px; width: 56px; height: 2px; background: #9a9891; right: auto; left: -56px; }
.wf-node + .wf-node::after { content: ""; position: absolute; left: -8px; top: 25px; width: 8px; height: 8px; border: solid #9a9891; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.wf-trigger .wf-ico { border-radius: 30px 12px 12px 30px; }
.wf-ai .wf-ico { border-color: var(--wk-ink); }
.wf-human .wf-ico { background: var(--wk-yellow); border-color: var(--wk-orange); }
.wf-note { margin: 10px 0 0; font-size: .8125rem; color: var(--on-dark-muted); }
.wf-dialog { width: min(1180px, 96vw); max-width: none; padding: 46px 14px 14px; border: 0; border-radius: 14px; background: #f5f5f2; }
.wf-dialog::backdrop { background: rgba(10, 11, 16, .9); }
.wf-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--wk-ink); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.wf-big { padding: 30px 26px; } .wf-big .wf-track { zoom: 1.35; }

@media (prefers-reduced-motion: reduce) { .dq *, .dq *::before, .dq *::after { transition: none !important; animation: none !important; } }

/* ==========================================================================
   3. MÉTHODE — quatre étapes sélectionnables, un livrable chacune
   data-active sur .msteps : 0 = tout affiché (défaut, état complet) ; 1 à 4 = étape mise en avant, suivantes atténuées.
   ========================================================================== */
.msteps { --fill: 100%; position: relative; list-style: none; display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 760px) { .msteps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1180px) {
  .msteps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 26px; }
  /* Liaison : un rail gris, rempli en jaune jusqu'à l'étape active */
  .msteps::before, .msteps::after { content: ""; position: absolute; left: 12.5%; top: 8px; height: 3px; border-radius: 2px; }
  .msteps::before { right: 12.5%; background: #dcdcd8; }
  .msteps::after { width: calc(75% * var(--fill-n, 1)); background: var(--wk-yellow); transition: width .6s cubic-bezier(.3, .7, .2, 1); }
  .mstep::before { content: ""; position: absolute; left: 50%; top: -25px; width: 15px; height: 15px; margin-left: -8px; border-radius: 50%; background: var(--wk-yellow); border: 3px solid var(--bg-soft); z-index: 1; transition: background .3s ease; }
}
.msteps[data-active="1"] { --fill-n: 0; } .msteps[data-active="2"] { --fill-n: .3333; } .msteps[data-active="3"] { --fill-n: .6667; }
.mstep { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #e7e6e2; box-shadow: 0 1px 2px rgba(19, 21, 28, .05), 0 22px 40px -28px rgba(19, 21, 28, .3);
  transition: border-color .3s ease, box-shadow .3s ease, opacity .3s ease; }
.mstep h3 { margin: 0 0 12px; font-size: 1.3125rem; }
.mstep h3 button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 6px; }
.mstep .step-num { margin: 0; flex: none; transition: background .3s ease, color .3s ease; }
.mstep > p { margin: 0 0 18px; font-size: .9375rem; line-height: 1.55; }
.dlv { display: flex; gap: 12px; align-items: center; margin: auto 0 0 !important; padding: 12px; border-radius: 12px; background: var(--wk-ink); color: #fff; font-weight: 600; font-size: .9375rem !important; line-height: 1.35 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 14px 24px -14px rgba(19, 21, 28, .7); transition: opacity .3s ease; }
.dlv small { display: block; margin-bottom: 2px; font: 700 .625rem/1.2 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--wk-yellow); }
.dlv-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #fff; }
.dlv-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--wk-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dlv-ico svg circle { fill: var(--wk-yellow); stroke: var(--wk-ink); }
/* Étape active : contour jaune ; étapes suivantes : atténuées */
.msteps[data-active="1"] .mstep:nth-child(1), .msteps[data-active="2"] .mstep:nth-child(2), .msteps[data-active="3"] .mstep:nth-child(3), .msteps[data-active="4"] .mstep:nth-child(4) {
  border-color: var(--wk-yellow); box-shadow: 0 0 0 2px var(--wk-yellow), 0 26px 44px -26px rgba(19, 21, 28, .45); }
.msteps[data-active="1"] .mstep:nth-child(n+2), .msteps[data-active="2"] .mstep:nth-child(n+3), .msteps[data-active="3"] .mstep:nth-child(n+4) { opacity: .5; }
.msteps[data-active="1"] .mstep:nth-child(n+2) .step-num, .msteps[data-active="2"] .mstep:nth-child(n+3) .step-num, .msteps[data-active="3"] .mstep:nth-child(n+4) .step-num { background: #dcdcd8; }
.msteps[data-active="1"] .mstep:nth-child(n+2)::before, .msteps[data-active="2"] .mstep:nth-child(n+3)::before, .msteps[data-active="3"] .mstep:nth-child(n+4)::before { background: #dcdcd8; }
@media (prefers-reduced-motion: reduce) { .msteps, .msteps *, .msteps::after { transition: none !important; } }

/* ---------- Expérience, équipe ---------- */
.exp-list { margin: 4px 0 18px; }
.exp-list li { color: var(--text-strong); font-weight: 600; }
.experience-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; }
.skill-tools { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #dcdcd8; font-size: .8125rem; color: var(--muted); }

/* ==========================================================================
   4. CONTACT — deux façons de commencer
   ========================================================================== */
.choices { display: grid; gap: 12px; margin-top: 22px; }
.choice { padding: 18px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.choice-main { border-color: rgba(255, 193, 14, .5); background: linear-gradient(160deg, #262a35 0%, #171a22 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 40px -22px rgba(0, 0, 0, .8), 0 0 46px -14px rgba(255, 193, 14, .3); }
.choice .choice-kicker { margin: 0 0 6px; font: 700 .6875rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--wk-yellow); }
.choice h3 { margin: 0 0 6px; font-size: 1.25rem; color: #fff; }
.choice p { margin: 0 0 12px; font-size: .9375rem; line-height: 1.5; color: #dde0e6; }
.choice .btn { margin-top: 2px; }
.choice-link { color: #fff; min-height: 32px; }
@media (min-width: 1024px) { .choice-link { display: none; } .choice:not(.choice-main) p:last-of-type { margin-bottom: 0; } }

/* ==========================================================================
   V0.5 — Exemples : la tâche avec les mots du client, un bouton par exemple, deux nouvelles scènes
   ========================================================================== */
.benefits-head .section-intro { max-width: 46em; margin: 0 0 16px; color: var(--text); }
.bx-copy { align-content: start; }
.bx-quote { margin: 0; font: 700 .9375rem/1.4 var(--font-title); color: #7a5200 !important; }
.bx-copy h3 { font-size: 1.375rem; }
.bx-gain { border-left: 0; padding-left: 0; font-weight: 400 !important; color: var(--text) !important; }
.btn-ghost { justify-self: start; min-height: 44px; padding: 10px 18px; background: #fff; color: var(--wk-ink); border: 2px solid var(--wk-ink); font-size: .75rem; }
.btn-ghost:hover { background: var(--wk-yellow); border-color: var(--wk-yellow); }
.bx-cta { margin-top: 4px; }
.fict-l { font: 400 .6875rem/1 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--muted); }

/* Dossier client : des pièces arrivent par plusieurs voies, la liste dit ce qui est reçu et ce qui manque */
.sd { display: grid; gap: 12px; }
.sd-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sd-in .u-card { padding: 8px 9px; }
.sd-in .u-head { font-size: .75rem; gap: 6px; }
.sd-in .u-head .sc-ico { width: 22px; height: 22px; border-radius: 6px; transform: scale(.9); }
.sd-in p + p { margin: 4px 0 0; font-size: .6875rem; line-height: 1.35; color: var(--on-dark-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-in .u-card:nth-child(1) { transform: rotate(-2deg); } .sd-in .u-card:nth-child(3) { transform: rotate(2deg); }
@container (max-width: 360px) { .sd-in .sc-ico { display: none; } }
.sd-list { list-style: none; display: grid; margin: 0; padding: 0; }
.sd-list li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid #eceae6; font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.sd-list small { display: block; font-size: .6875rem; font-weight: 400; color: var(--muted); }
.sd-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg); }
.sd-list li.ok::after { content: ""; position: absolute; left: 5px; top: 14px; width: 8px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.sd-list li.ko { color: var(--wait-ink); }
.sd-list li.ko::before { background: var(--wk-yellow); box-shadow: 0 0 0 3px rgba(255, 193, 14, .3); }
.sd-list li.ko::after { content: "!"; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; display: grid; place-items: center; font: 900 .75rem/1 var(--font-title); color: var(--wk-ink); }
.sd-list li.ko small { color: var(--wait-ink); }

/* Note vocale → compte rendu */
.sn { display: grid; gap: 12px; }
.sn-voice .u-quote { margin-top: 8px; }
.sn-mic { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--wk-yellow); }
.sn-mic::before { content: ""; position: absolute; left: 10px; top: 6px; width: 8px; height: 11px; border-radius: 4px; background: var(--wk-ink); }
.sn-mic::after { content: ""; position: absolute; left: 7px; top: 12px; width: 14px; height: 8px; border: 2px solid var(--wk-ink); border-top: 0; border-radius: 0 0 8px 8px; box-sizing: border-box; }
.sn-wave { display: flex; align-items: center; gap: 3px; height: 26px; margin: 10px 0 0; }
.sn-wave i { flex: 1 1 0; max-width: 6px; border-radius: 2px; background: var(--wk-yellow); height: 30%; opacity: .9; }
.sn-wave i:nth-child(3n+1) { height: 70%; } .sn-wave i:nth-child(4n+2) { height: 100%; } .sn-wave i:nth-child(5n+3) { height: 45%; } .sn-wave i:nth-child(7n) { height: 85%; }
.sn-kv > div { grid-template-columns: 74px minmax(0, 1fr); align-items: baseline; }
.sn-kv dd { white-space: normal; }
.sn-done { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); font: 700 .6875rem/1.3 var(--font-text); }
.sn-done::before { content: ""; width: 8px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }

/* D'autres tâches à simplifier : trois entrées courtes, sans nouvelle grille de services */
.more-tasks { margin-top: 28px; }
.more-tasks h3 { margin: 0 0 12px; font-size: 1.125rem; }
.more-tasks ul { list-style: none; display: grid; gap: 10px; }
@media (min-width: 760px) { .more-tasks ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.more-tasks a { display: grid; gap: 2px; height: 100%; padding: 14px 44px 14px 16px; position: relative; border-radius: 12px; background: #fff; border: 1px solid #e7e6e2; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.more-tasks a::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--wk-ink); transition: transform .2s; }
.more-tasks a:hover { border-color: var(--wk-yellow); box-shadow: 0 0 0 1px var(--wk-yellow); }
.more-tasks a:hover::after { transform: translate(3px, -50%); }
.more-tasks strong { color: var(--text-strong); }
.more-tasks span { font-size: .875rem; line-height: 1.4; color: var(--muted); }

/* Bandeau « Réalisations, expériences & réseau » : nouveaux logos (fichiers d'origine, recadrés et réduits seulement) */
.logo-robuchon { height: 46px; }
.logo-aq { height: 70px; }   /* logo blanc officiel : fond noir du fichier d'origine rendu transparent, dessin inchangé (voir SUIVI.md) */
.logo-cci { height: 30px; padding: 7px 10px; border-radius: 6px; background: #fff; box-sizing: content-box; }   /* logo officiel en couleurs, sur son fond blanc */
.logo-set { min-height: 64px; }
@media (max-width: 767px) { .logo-robuchon { height: 40px; } .logo-aq { height: 56px; } .logo-cci { height: 26px; } }
