/* ============================================================
   K2 — Call-center : styles dédiés à la page produit.
   Préfixe cc- pour isoler du design system (app.css).
   ============================================================ */

html { scroll-behavior: smooth; }

/* ---------- HERO : console de routage en direct ---------- */
.cc-router-body { display: grid; gap: 10px; padding: 14px; }

.cc-route {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0a0c10;
  padding: 12px 13px;
  opacity: .35;
  transition: opacity .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.cc-route.ring,
.cc-route.done { opacity: 1; }
.cc-route.ring {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}

.cc-route-top { display: flex; align-items: center; gap: 12px; }

.cc-route.ring .call-ic { animation: cc-ring 1.1s ease-in-out infinite; }
@keyframes cc-ring {
  0%, 100% { transform: rotate(0); }
  12% { transform: rotate(-14deg); }
  24% { transform: rotate(11deg); }
  36% { transform: rotate(-8deg); }
  48% { transform: rotate(0); }
}

.cc-chip {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.cc-route.id .cc-chip,
.cc-route.done .cc-chip { opacity: 1; transform: none; }
.cc-chip--bene   { color: #ff4fd8; background: rgba(255,79,216,.1);  border: 1px solid rgba(255,79,216,.4); }
.cc-chip--assist { color: #2fe4ff; background: rgba(47,228,255,.1);  border: 1px solid rgba(47,228,255,.4); }
.cc-chip--autre  { color: #8a93a6; background: rgba(138,147,166,.1); border: 1px solid rgba(138,147,166,.35); }

.cc-route-result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease, margin-top .5s ease;
}
.cc-route.done .cc-route-result { max-height: 40px; opacity: 1; margin-top: 10px; }
.cc-route-result i { font-style: normal; color: var(--accent); }
.cc-route-result b { color: var(--accent); }

/* mini onde vocale dans une ligne de résultat */
.cc-mini-wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.cc-mini-wave i {
  width: 3px; border-radius: 1px;
  background: #2fe4ff;
  animation: wave 1s ease-in-out infinite;
}
.cc-mini-wave i:nth-child(2) { animation-delay: .15s; }
.cc-mini-wave i:nth-child(3) { animation-delay: .3s; }
.cc-mini-wave i:nth-child(4) { animation-delay: .45s; }

/* ---------- BANDE DE CHIFFRES ---------- */
.cc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 26px;
  margin-bottom: 76px;
  background:
    radial-gradient(700px 300px at 50% -40%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
}
.cc-stat { text-align: center; }
.cc-stat .n {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--accent);
}
.cc-stat .l { color: var(--muted); font-size: 13.5px; margin-top: 8px; line-height: 1.45; }
.cc-stat .l b { color: var(--txt); }

/* ---------- SECTIONS AGENT (copie + visuel) ---------- */
.cc-agent {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 58px;
  align-items: center;
  padding: 68px 0;
  border-top: 1px solid var(--line);
}
.cc-agent--flip .cc-agent-copy { order: 2; }
.cc-agent--flip .cc-agent-visual { order: 1; }

.cc-agent-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
}
.cc-agent-copy h2 em { font-style: normal; color: var(--accent); }
.cc-agent-copy > p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.cc-agent-copy > p b { color: var(--txt); }

.cc-agent-visual { position: relative; }

/* ---------- MAYDAY : téléphone + chat ---------- */
.cc-phone {
  max-width: 340px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  overflow: hidden;
  position: relative;
}
.cc-phone::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .8;
}
.cc-phone-notch {
  width: 110px; height: 22px;
  margin: 10px auto 4px;
  border-radius: 999px;
  background: #0a0c10;
  border: 1px solid var(--line);
}
.cc-phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.cc-phone-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.cc-phone-title { flex: 1; }
.cc-phone-title .t { font-size: 13.5px; font-weight: 600; }
.cc-phone-title .s {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; color: var(--accent);
}
.cc-phone-body { padding: 14px 14px 18px; display: grid; gap: 10px; }

/* suivi dépanneuse */
.cc-tracker {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0a0c10;
  padding: 12px 13px;
}
.cc-tracker-top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px;
}
.cc-tracker-top .who { font-weight: 600; }
.cc-tracker-top .eta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--accent);
}
.cc-tracker-road {
  position: relative;
  height: 4px;
  border-radius: 2px;
  margin-top: 10px;
  background: var(--line);
  overflow: visible;
}
.cc-tracker-road::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--prog, 58%);
  border-radius: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 30%, transparent), var(--accent));
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.cc-truck {
  position: absolute;
  top: 50%; left: var(--prog, 58%);
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: #0a0c10;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  transition: left 1.2s cubic-bezier(.2,.7,.2,1);
  animation: cc-truck-pulse 2.2s ease-in-out infinite;
}
@keyframes cc-truck-pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}

/* bulles de chat */
.cc-bubble {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.45;
}
.cc-bubble--sys {
  max-width: 100%;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
  background: transparent;
  padding: 2px 0 0;
}
.cc-bubble--user {
  justify-self: end;
  background: #1a1f2a;
  border: 1px solid var(--line);
  border-bottom-right-radius: 5px;
}
.cc-bubble--k2 {
  justify-self: start;
  background: color-mix(in srgb, var(--accent) 11%, #0a0c10 89%);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-bottom-left-radius: 5px;
}
.cc-bubble--k2 b { color: var(--accent); }

.cc-typing {
  justify-self: start;
  display: inline-flex;
  gap: 4px;
  padding: 11px 14px;
  border-radius: 15px;
  border-bottom-left-radius: 5px;
  background: color-mix(in srgb, var(--accent) 11%, #0a0c10 89%);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
}
.cc-typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: cc-typing 1.1s ease-in-out infinite;
}
.cc-typing i:nth-child(2) { animation-delay: .18s; }
.cc-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes cc-typing {
  0%, 100% { opacity: .25; transform: translateY(0); }
  40%      { opacity: 1;   transform: translateY(-3px); }
}

.cc-stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--accent);
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px;
  padding: 5px 12px;
}

/* chorégraphie du chat : tout est masqué, la classe .play déroule */
.cc-phone [data-step] { opacity: 0; transform: translateY(10px); }
.cc-phone.play [data-step] {
  animation: cc-step-in .55s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--d) * 1s);
}
.cc-phone.play .cc-typing[data-step] {
  animation: cc-step-in .4s cubic-bezier(.2,.7,.2,1) forwards,
             cc-step-out .3s ease forwards;
  animation-delay: calc(var(--d) * 1s), calc((var(--d) + 1.15) * 1s);
}
@keyframes cc-step-in  { to { opacity: 1; transform: none; } }
@keyframes cc-step-out { to { opacity: 0; transform: translateY(-4px); height: 0; padding-top: 0; padding-bottom: 0; margin: 0; border-width: 0; } }

/* ---------- ARCHIMÈDE : console vocale ---------- */
.cc-script {
  background: #0a0c10;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.65;
  min-height: 132px;
}
.cc-script .who { color: var(--accent); font-weight: 600; }
.cc-script .caret {
  display: inline-block;
  width: 8px; height: 15px;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: cc-caret .85s steps(1) infinite;
}
@keyframes cc-caret { 50% { opacity: 0; } }

.cc-console-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cc-console-tags span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease, color .4s ease, border-color .4s ease;
}
.cc-console-tags.on span {
  opacity: 1;
  transform: none;
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.cc-console-tags.on span:nth-child(2) { transition-delay: .15s; }
.cc-console-tags.on span:nth-child(3) { transition-delay: .3s; }

/* ---------- DIFFÉRENCIATEUR : la plaque ---------- */
.cc-plate-band {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 36px;
  margin: 8px 0 76px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  background:
    radial-gradient(700px 300px at 20% -40%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
}
.cc-plate-band h2 {
  margin: 6px 0 14px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.cc-plate-band p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

.cc-plate-demo { display: grid; gap: 14px; }
.cc-heard {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.cc-heard b {
  color: var(--txt);
  font-weight: 500;
  font-style: italic;
}

.cc-plates { display: grid; gap: 8px; }
.cc-plate {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0a0c10;
  padding: 9px 13px;
}
.cc-plate .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
}
.cc-plate .bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.cc-plate .bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: var(--muted);
}
.cc-plate .pct {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
  width: 38px;
  text-align: right;
}

/* boucle d'animation de la recherche par ressemblance */
.cc-plate-demo.on .cc-plate .bar i { animation: cc-bar 5.5s ease-in-out infinite; }
.cc-plate-demo.on .cc-plate[data-match] .bar i {
  animation-name: cc-bar-match;
  background: var(--accent);
}
@keyframes cc-bar       { 0%, 8% { width: 0; } 30%, 78% { width: var(--sim); } 92%, 100% { width: 0; } }
@keyframes cc-bar-match { 0%, 8% { width: 0; } 30%, 78% { width: var(--sim); } 92%, 100% { width: 0; } }

.cc-plate-demo.on .cc-plate[data-match] { animation: cc-plate-win 5.5s ease-in-out infinite; }
@keyframes cc-plate-win {
  0%, 30%   { border-color: var(--line); box-shadow: none; }
  42%, 78%  { border-color: color-mix(in srgb, var(--accent) 55%, transparent);
              box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent),
                          0 10px 30px rgba(0,0,0,.35); }
  92%, 100% { border-color: var(--line); box-shadow: none; }
}
.cc-plate[data-match] .found {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--accent);
  opacity: 0;
}
.cc-plate-demo.on .cc-plate[data-match] .found { animation: cc-found 5.5s ease-in-out infinite; }
@keyframes cc-found { 0%, 40% { opacity: 0; } 50%, 78% { opacity: 1; } 92%, 100% { opacity: 0; } }

/* ---------- AGENTS SORTANTS ---------- */
.cc-out-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.cc-out-head h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.cc-out-head p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 12px 0 0; }

.cc-out-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 76px;
}
.cc-out-card {
  cursor: pointer;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cc-out-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.cc-out-card h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cc-out-tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cc-out-card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }

/* plateau des scénarios : événement → fil → agent → résultat */
.cc-board { margin-bottom: 18px; }
.cc-board-body { padding: 24px 18px 20px; }

.cc-event { display: flex; justify-content: center; }
.cc-event-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--txt);
  border: 1px solid var(--line);
  background: #0a0c10;
  border-radius: 999px;
  padding: 8px 16px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}
.cc-event-pill.in { opacity: 1; transform: none; }
.cc-event-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: con-pulse 1.8s infinite;
}
.cc-event-pill .t { color: var(--muted); }

.cc-wires { display: block; width: 100%; height: 74px; }
.cc-wire {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.cc-wire.on {
  stroke: var(--accent);
  stroke-dasharray: 30 170;
  stroke-dashoffset: 30;
  animation: cc-flow 1.15s ease-in-out forwards;
}
@keyframes cc-flow { to { stroke-dashoffset: -100; } }
.cc-wire.lit {
  animation: none;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  stroke: color-mix(in srgb, var(--accent) 70%, transparent);
}

.cc-agents { display: grid; grid-template-columns: repeat(3, 1fr); }
.cc-agent-chip {
  cursor: pointer;
  justify-self: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #0a0c10;
  transition: color .4s ease, background .4s ease, border-color .4s ease,
              box-shadow .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.cc-agent-chip:hover:not(.on) {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  color: var(--txt);
}
.cc-agent-chip.on {
  color: #0a0c10;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-3px);
}

.cc-result {
  text-align: center;
  margin-top: 16px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--accent);
  min-height: 18px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .45s ease, transform .45s ease;
}
.cc-result.in { opacity: 1; transform: none; }

.cc-out-card.hot {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent),
              0 18px 44px rgba(0, 0, 0, .45);
}

/* ---------- BRANCHEMENT ---------- */
.cc-hook { padding: 8px 0 76px; scroll-margin-top: 24px; }
.cc-hook-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.cc-hook-head h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.cc-hook-head p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 12px 0 0; }

/* schéma de connexion : votre numéro → ligne K2 → tri → 3 issues */
.cc-hs {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 30px 26px;
  margin-bottom: 14px;
}
.cc-hs-node {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0a0c10;
  padding: 15px 16px;
  text-align: center;
}
.cc-hs-node .k {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.cc-hs-node .v { font-size: 15.5px; font-weight: 600; margin-top: 5px; }
.cc-hs-node .s {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--accent);
  margin-top: 7px;
}
.cc-hs-link {
  flex: none;
  width: 68px;
  height: 2px;
  position: relative;
  background: repeating-linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 70%, transparent) 0 7px, transparent 7px 14px);
  animation: cc-dash .9s linear infinite;
}
@keyframes cc-dash { to { background-position: 14px 0; } }
.cc-hs-link::before {
  content: attr(data-label);
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.cc-hs-link::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: color-mix(in srgb, var(--accent) 80%, transparent);
}
.cc-hs-out { flex: 1.3; display: grid; gap: 8px; }
.cc-hs-branch {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0a0c10;
  padding: 9px 13px;
}
.cc-hs-branch .cc-chip { opacity: 1; transform: none; }
.cc-hs-branch .to {
  margin-left: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
}
.cc-hs-caption {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 34px;
}

.cc-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: cc-step;
}
.cc-step {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  position: relative;
}
.cc-step[data-reveal] { transition-delay: calc(var(--d) * .12s); }
.cc-step::before {
  counter-increment: cc-step;
  content: "0" counter(cc-step);
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-radius: 10px;
  padding: 6px 10px;
  margin-bottom: 16px;
}
.cc-step h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 600; }
.cc-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.cc-hook-reassure {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  gap: 10px 26px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: 13.5px;
}
.cc-hook-reassure li { display: inline-flex; align-items: center; gap: 7px; }
.cc-hook-reassure li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .cc-stats { grid-template-columns: 1fr; gap: 26px; }
  .cc-hs { flex-direction: column; align-items: stretch; padding: 24px 18px; }
  .cc-hs-link {
    width: 2px;
    height: 40px;
    align-self: center;
    background: repeating-linear-gradient(180deg,
      color-mix(in srgb, var(--accent) 70%, transparent) 0 7px, transparent 7px 14px);
    animation-name: cc-dash-v;
  }
  @keyframes cc-dash-v { to { background-position: 0 14px; } }
  .cc-hs-link::before { bottom: auto; left: 14px; top: 50%; transform: translateY(-50%); }
  .cc-hs-link::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: color-mix(in srgb, var(--accent) 80%, transparent);
  }
  .cc-agent { grid-template-columns: 1fr; gap: 34px; padding: 48px 0; }
  .cc-agent--flip .cc-agent-copy,
  .cc-agent--flip .cc-agent-visual { order: 0; }
  .cc-plate-band { grid-template-columns: 1fr; padding: 30px 22px; gap: 28px; }
  .cc-out-grid { grid-template-columns: 1fr; }
  .cc-steps { grid-template-columns: 1fr; }
}

/* ---------- accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .cc-route { opacity: 1; }
  .cc-route .cc-chip { opacity: 1; transform: none; }
  .cc-route-result { max-height: 40px; opacity: 1; margin-top: 10px; }
  .cc-phone [data-step] { opacity: 1; transform: none; animation: none !important; }
  .cc-typing { display: none; }
  .cc-event-pill .dot,
  .cc-plate-demo.on .cc-plate .bar i,
  .cc-plate-demo.on .cc-plate[data-match],
  .cc-plate-demo.on .cc-plate[data-match] .found,
  .cc-truck, .cc-mini-wave i, .cc-route.ring .call-ic { animation: none !important; }
  .cc-plate .bar i { width: var(--sim); }
  .cc-plate[data-match] .found { opacity: 1; }
  .cc-console-tags span { opacity: 1; transform: none; }
  .cc-wire.on { animation: none; stroke-dasharray: none; }
  .cc-event-pill, .cc-agent-chip, .cc-result { transition: none; }
  .cc-hs-link { animation: none !important; }
}
