/* Méthode : une preuve visuelle par étape, sur la palette Opale existante. */
.am13 .am13__creative,
.am13 .am13__markets,
.am13 .am13__piloting { padding: 0; display: flex; flex-direction: column; justify-content: center; }
.am13 .method-needs,
.am13 .method-creation,
.am13 .method-markets { width: 100%; max-width: 760px; margin-inline: auto; }
.am13 .method-needs { padding: 8px 10px; text-align: center; }
.am13 .method-need-quote { padding: 30px 32px; border-radius: 18px; background: #fff; box-shadow: 0 4px 8px #24375903, 0 16px 40px #24375908; }
.am13 .method-need-speaker { display: block; margin-bottom: 16px; color: #66748a; font-size: 13px; }
.am13 .method-need-quote blockquote { max-width: 32ch; margin: 0 auto; font-size: clamp(22px, 1.75vw, 29px); font-weight: 500; line-height: 1.4; letter-spacing: -.025em; text-wrap: balance; }
.am13 .method-need-quote mark { background: #eaf0ff; color: #2459b7; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 1px 3px; }
.am13 .method-need-links { height: 48px; margin-inline: 14px; color: #b9c8e3; }
.am13 .method-need-links svg,
.am13 .method-creation-flow svg { width: 100%; height: 100%; overflow: visible; }
.am13 .method-need-links path,
.am13 .method-creation-flow path { fill: none; stroke: currentColor; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.am13 .method-need-lenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.am13 .method-need-lenses>div { display: flex; align-items: center; flex-direction: column; }
.am13 .method-need-lenses svg { width: 42px; height: 42px; stroke: #5379b9; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin: 6px 0 13px; }
.am13 .method-need-lenses span { color: #6b7890; font-size: 12px; margin-bottom: 7px; }
.am13 .method-need-lenses strong { font-size: 16px; line-height: 1.35; font-weight: 500; max-width: 16ch; text-wrap: balance; }
.am13 .method-deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-inline: 16px; }
.am13 .method-deliverables>span { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #405977; }
.am13 .method-deliverables svg { width: 32px; height: 32px; fill: none; stroke: #6a7cab; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.am13 .method-creation-flow { height: 54px; padding-inline: 16px; margin-top: 14px; color: #bdc9df; }
.am13 .method-ad-surface { padding: 24px; background: #fff; border-radius: 16px; box-shadow: 0 4px 8px #24375903, 0 16px 40px #24375909; }
.am13 .method-ad-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 25px; color: #202327; }
.am13 .method-ad-heading>span { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -.025em; }
.am13 .method-ad-heading img { display: block; width: 22px; height: 22px; }
.am13 .method-ad-heading small { font-size: 11px; color: #787c83; }
.am13 .method-conversation { display: grid; gap: 22px; margin-bottom: 24px; color: #202327; font-size: 14px; line-height: 1.55; }
.am13 .method-conversation__user { justify-self: end; max-width: 82%; padding: 13px 17px; background: #f4f4f4; border-radius: 18px; }
.am13 .method-conversation__assistant { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 11px; align-items: start; padding-right: 5px; }
.am13 .method-conversation__assistant>img { display: block; width: 20px; height: 20px; margin-top: 2px; }
.am13 .method-creation .ad-title { text-wrap: balance; }
.am13 .method-title-phrase { white-space: nowrap; }
.am13 .method-ad-surface .ad-card { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid #e7e7e7; border-radius: 12px; background: #fff; box-shadow: none; align-items: center; }
.am13 .method-ad-surface .ad-image,
.am13 .method-ad-surface .software-art { width: 120px; height: 120px; border-radius: 6px; }
.am13 .method-ad-surface .ad-merchant { font-size: 11px; margin-bottom: 10px; gap: 6px; }
.am13 .method-ad-surface .brand-initial { width: 17px; height: 17px; }
.am13 .method-ad-surface .ad-label { font-size: 11px; }
.am13 .method-ad-surface .ad-title { font-size: 19px; line-height: 1.22; font-weight: 600; letter-spacing: -.025em; text-wrap: pretty; }
.am13 .method-ad-surface .ad-description { font-size: 13px; line-height: 1.5; margin-top: 8px; color: #5c626c; }
.am13 .method-ad-surface .ad-domain { font-size: 11px; margin-top: 10px; color: #666f80; }
.am13 .method-market-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: #e9edf680; margin: 0 0 22px; }
.am13 .method-market-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; padding: 12px 8px; min-height: 64px; border-radius: 8px; background: transparent; color: #65758d; font: inherit; cursor: pointer; transition: background .18s, color .18s, box-shadow .18s; }
.am13 .method-market-choice strong { font-size: 14px; font-weight: 500; }
.am13 .method-market-choice>span { font-size: 12px; }
.am13 .method-market-choice[aria-pressed=true] { background: white; color: #1c4f9a; box-shadow: 0 2px 5px #2437590a; }
.am13 .method-market-choice:hover { color: #1c4f9a; background: #ffffffa0; }
.am13 .method-dashboard { width: 100%; max-width: 760px; margin-inline: auto; padding: 24px 26px 22px; background: white; border-radius: 16px; box-shadow: 0 4px 8px #24375903, 0 16px 40px #24375909; }
.am13 .method-dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.am13 .method-dashboard-brand { display: inline-flex; gap: 9px; align-items: center; }
.am13 .method-dashboard-brand>img { width: 26px; height: 26px; border-radius: 5px; }
.am13 .method-dashboard-brand>svg { width: 26px; height: 26px; padding: 4px; flex-shrink: 0; color: #fff; background: #2854ff; border-radius: 5px; }
.am13 .method-dashboard-brand strong { font-size: 13px; font-weight: 600; }
.am13 .method-demo-label { font-size: 11px; color: #7a8597; }
.am13 .method-dashboard-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.am13 .method-dashboard-title h4 { font-size: 23px; letter-spacing: -.035em; font-weight: 550; }
.am13 .method-dashboard-title>span { font-size: 11px; color: #7a8597; }
.am13 .method-dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 22px 0 26px; }
.am13 .method-dashboard-metrics button { appearance: none; border: 0; border-radius: 9px; padding: 13px 15px 9px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #7b889b; background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background .18s; }
.am13 .method-dashboard-metrics button[aria-pressed=true] { background: #f3f6fc; }
.am13 .method-dashboard-metrics button:hover { background: #f7f9fc; }
.am13 .method-dashboard-metrics button>span { font-size: 12px; white-space: nowrap; }
.am13 .method-dashboard-metrics button>strong { font-size: clamp(21px, 1.8vw, 28px); font-weight: 550; letter-spacing: -.035em; color: #1c304a; white-space: nowrap; }
.am13 .method-dashboard-metrics button>svg { display: block; color: var(--metric-color); width: 100%; height: 29px; margin-top: 3px; }
.am13 .method-chart-title { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #5f6c80; margin-bottom: 19px; }
.am13 .method-chart-title i { width: 6px; height: 6px; border-radius: 50%; background: var(--chart-color); }
.am13 .method-plot { display: grid; grid-template-columns: 42px minmax(0, 1fr); height: 190px; }
.am13 .method-axis { display: flex; flex-direction: column; justify-content: space-between; height: 180px; font-size: 11px; color: #8090a6; }
.am13 .method-axis>span { line-height: 1; transform: translateY(-50%); white-space: nowrap; }
.am13 .method-plot>svg { width: 100%; height: 190px; overflow: visible; }
.am13 .method-chart-dates { display: flex; justify-content: space-between; margin-left: 42px; font-size: 11px; color: #8090a6; }
.am13 .method-market-choice:focus-visible,
.am13 .method-dashboard-metrics button:focus-visible { outline: 3px solid #245bff; outline-offset: 3px; }
.am13 .method-market-choice:active,
.am13 .method-dashboard-metrics button:active { transform: scale(.96); }
@media (max-width: 1180px) {
 .am13 .method-needs { padding-inline: 0; }
 .am13 .method-need-quote { padding: 25px 22px; }
 .am13 .method-need-lenses { gap: 12px; }
 .am13 .method-need-lenses strong { font-size: 14px; }
 .am13 .method-ad-surface { padding: 20px; }
 .am13 .method-ad-surface .ad-card { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px; }
 .am13 .method-ad-surface .ad-image,
 .am13 .method-ad-surface .software-art { width: 90px; height: 90px; }
 .am13 .method-ad-surface .ad-title { font-size: 17px; }
 .am13 .method-ad-surface .ad-description { font-size: 12px; }
 .am13 .method-dashboard { padding-inline: 20px; }
 .am13 .method-dashboard-metrics { gap: 4px; }
 .am13 .method-dashboard-metrics button { padding-inline: 10px; }
}
@media (min-width: 681px) and (max-width: 980px) {
 .am13 .method-ad-surface { padding: 16px; }
 .am13 .method-ad-surface .ad-card { grid-template-columns: 70px minmax(0, 1fr); padding: 10px; gap: 10px; }
 .am13 .method-ad-surface .ad-image,
 .am13 .method-ad-surface .software-art { width: 70px; height: 70px; }
 .am13 .method-ad-surface .ad-title { font-size: 16px; }
 .am13 .method-dashboard-title h4 { font-size: 20px; }
 .am13 .method-dashboard { padding-inline: 16px; }
 .am13 .method-dashboard-metrics button { padding-inline: 7px; }
 .am13 .method-dashboard-metrics button>strong { font-size: 21px; }
 .am13 .method-market-choice strong { font-size: 12px; }
}
@media (max-width: 680px) {
 .am13 .am13__creative,
 .am13 .am13__markets,
 .am13 .am13__piloting,
 .am13 .am13__intentions { min-height: 0; }
 .am13 .method-needs { padding: 0; }
 .am13 .method-need-quote { padding: 25px 18px; }
 .am13 .method-need-quote blockquote { font-size: 23px; }
 .am13 .method-need-speaker { font-size: 11px; }
 .am13 .method-need-links { height: 34px; margin-inline: 0; }
 .am13 .method-need-lenses { gap: 12px; }
 .am13 .method-need-lenses svg { width: 34px; height: 34px; margin-bottom: 12px; }
 .am13 .method-need-lenses span { font-size: 11px; }
 .am13 .method-need-lenses strong { font-size: 14px; }
 .am13 .method-deliverables { padding-inline: 0; gap: 10px; margin-top: 12px; }
 .am13 .method-deliverables>span { font-size: 12px; }
 .am13 .method-creation-flow { padding-inline: 0; height: 42px; }
 .am13 .method-ad-surface { padding: 18px 14px; border-radius: 13px; }
 .am13 .method-ad-heading { margin-bottom: 20px; gap: 8px; }
 .am13 .method-ad-heading>span { font-size: 14px; }
 .am13 .method-ad-heading small { font-size: 10px; }
 .am13 .method-conversation { font-size: 13px; gap: 21px; margin-bottom: 23px; }
 .am13 .method-conversation__user { max-width: 92%; padding: 12px 14px; border-radius: 16px; }
 .am13 .method-conversation__assistant { gap: 9px; padding-right: 0; }
 .am13 .method-ad-surface .ad-card { grid-template-columns: 76px minmax(0, 1fr); padding: 10px; gap: 10px; }
 .am13 .method-ad-surface .ad-image,
 .am13 .method-ad-surface .software-art { width: 76px; height: 76px; }
 .am13 .method-ad-surface .ad-title { font-size: 15px; }
 .am13 .method-ad-surface .ad-description { font-size: 12px; margin-top: 7px; }
 .am13 .method-ad-surface .ad-merchant { font-size: 9px; margin-bottom: 8px; gap: 4px; }
 .am13 .method-ad-surface .brand-initial { width: 14px; height: 14px; }
 .am13 .method-ad-surface .ad-domain { font-size: 10px; }
 .am13 .method-market-choice { min-height: 60px; padding-inline: 5px; }
 .am13 .method-market-choice strong { font-size: 12px; }
 .am13 .method-market-choice>span { font-size: 11px; }
 .am13 .method-dashboard { padding: 20px 16px; border-radius: 13px; }
 .am13 .method-dashboard-head { margin-bottom: 24px; }
 .am13 .method-dashboard-title { gap: 5px; }
 .am13 .method-dashboard-title h4 { font-size: 20px; }
 .am13 .method-dashboard-title>span { font-size: 10px; }
 .am13 .method-dashboard-metrics { margin: 20px -6px 24px; gap: 2px; }
 .am13 .method-dashboard-metrics button { padding: 12px 8px 8px; gap: 8px; }
 .am13 .method-dashboard-metrics button>span { font-size: 11px; }
 .am13 .method-dashboard-metrics button>strong { font-size: 23px; }
 .am13 .method-dashboard-metrics button>svg { height: 23px; }
 .am13 .method-plot { grid-template-columns: 38px minmax(0, 1fr); }
 .am13 .method-chart-dates { margin-left: 38px; }
 .am13 .method-demo-label { font-size: 10px; }
}
@media (max-width: 359px) {
 .am13 .method-need-quote blockquote { font-size: 21px; }
 .am13 .method-need-lenses { gap: 7px; }
 .am13 .method-need-lenses strong { font-size: 13px; }
 .am13 .method-dashboard { padding-inline: 12px; }
 .am13 .method-dashboard-metrics button { padding-inline: 6px; }
 .am13 .method-dashboard-metrics button>strong { font-size: 19px; }
 .am13 .method-dashboard-metrics button>span { font-size: 10px; }
 .am13 .method-ad-surface { padding-inline: 10px; }
 .am13 .method-ad-surface .ad-card { grid-template-columns: 58px minmax(0, 1fr); gap: 9px; padding: 9px; }
 .am13 .method-ad-surface .ad-image,
 .am13 .method-ad-surface .software-art { width: 58px; height: 58px; }
 .am13 .method-ad-surface .ad-title { font-size: 14px; }
 .am13 .method-market-choice strong { font-size: 11px; }
}
.am13 .method-markets .method-market-choices { gap: 6px; background: #ecf0f780; }
.am13 .method-markets .method-market-choice { position: relative; min-width: 0; height: 90px; padding: 12px 8px; gap: 4px; }
.am13 .method-markets .method-market-choice strong { font-size: 18px; line-height: 1.3; min-height: 24px; display: grid; align-content: center; text-wrap: balance; }
.am13 .method-markets .method-market-choice>span { display: grid; align-content: center; min-height: 28px; font-size: 12px; line-height: 1.25; text-wrap: balance; }
.am13 .method-markets .method-market-choice[aria-pressed=true] { background: linear-gradient(135deg,#fff,#e7efff); color: #244e9a; box-shadow: 0 2px 5px #24375908,0 7px 15px #24375906; }
.am13 .method-markets .method-market-choice[aria-pressed=true]::after { content: ''; position: absolute; inset: auto 12px 3px; height: 2px; border-radius: 2px; background: #4976db; transform: scaleX(var(--market-progress,0)); transform-origin: left; }
.am13 .method-markets .method-market-choice:not([aria-pressed=true]):hover { background: #ffffff80; color: #405977; }
.am13 .method-ad-heading>.method-language-position { font-size: 12px; font-weight: 400; color: #6b7890; letter-spacing: .04em; }
.am13 .method-markets .method-ad-surface { position: relative; }
.am13 .method-markets .ad-card { min-height: var(--market-ad-height,180px); }
.am13 .method-markets .ad-content { min-width: 0; }
.am13 .method-markets .ad-title { line-height: 1.4; overflow-wrap: anywhere; }
.am13 .method-markets .ad-description { line-height: 1.6; overflow-wrap: anywhere; }
.am13 .method-markets .ad-label { margin-left: 0; margin-inline-start: auto; white-space: nowrap; }
.am13 .method-markets .ad-card[dir=rtl] .ad-content,
.am13 .method-markets .ad-card[dir=rtl] .ad-domain { text-align: right; }
.am13 .method-markets .ad-card:is(:lang(ar),:lang(he),:lang(hi),:lang(th)) .ad-title { letter-spacing: normal; line-height: 1.55; }
.am13 .method-markets .ad-card:lang(ar),
.am13 .method-markets strong:lang(ar) { font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.am13 .method-markets .ad-card:lang(ar) .ad-title { font-size: 21px; }
.am13 .method-markets .ad-card:lang(ar) .ad-description { font-size: 15px; line-height: 1.7; }
.am13 .method-markets .ad-card:lang(ar) .ad-label { font-size: 12px; }
.am13 .method-markets .method-market-measure { position: absolute; top: 0; left: 0; visibility: hidden; pointer-events: none; min-height: 0!important; height: auto!important; }
@media (max-width: 980px) {
 .am13 .method-markets .method-market-choice { height: 106px; padding: 10px 6px; }
 .am13 .method-markets .method-market-choice strong { font-size: 15px; min-height: 39px; }
 .am13 .method-markets .method-market-choice>span { font-size: 11px; min-height: 28px; }
 .am13 .method-markets .ad-card:lang(ar) .ad-title { font-size: 18px; }
 .am13 .method-markets .ad-card:lang(ar) .ad-description { font-size: 14px; }
}
@media (max-width: 380px) {
 .am13 .method-markets .method-market-choice { padding-inline: 4px; }
 .am13 .method-markets .method-market-choice strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
 .am13 .method-market-choice,
 .am13 .method-dashboard-metrics button { transition: none; }
}

/* Le fond et la jauge utilisent la même progression, y compris en pause. */
.am13.is-autoplay .am13__scenes { isolation: isolate; }
.am13 .am13__sweep {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  pointer-events: none;
  opacity: var(--method-sweep-opacity, 0);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.am13 .am13__sweep::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 -24%;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgb(151 124 240 / 10%) 24%, rgb(89 148 255 / 21%) 52%, rgb(127 201 248 / 9%) 76%, transparent);
  transform: translateX(calc(var(--method-progress, 0) * 208.333333%));
}
@media (prefers-reduced-motion: reduce) {
  .am13 .am13__sweep { display: none; }
}
