/* ==========================================================================
   Página de case · usa os tokens de styles.css
   ========================================================================== */

.case-page main { overflow-x: clip; }
.screen { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 24px rgb(23 33 43 / 14%)); }

/* Entrada e revelação ---------------------------------------------------- */
.enter { animation: fade-arrive .8s cubic-bezier(.2, .7, .2, 1) both; }
.case-lead.enter { animation-delay: .12s; }
.case-meta.enter { animation-delay: .22s; }
.reveal-ready .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Topo ------------------------------------------------------------------- */
.case-hero { width: min(1360px, calc(100% - var(--space-4))); margin: var(--space-2) auto 0; }
.case-hero-card { position: relative; min-height: min(720px, calc(100svh - var(--header-h) - var(--space-4))); padding: clamp(var(--space-4), 5vw, var(--space-8)); display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: var(--space-5); overflow: hidden; border-radius: var(--radius-feature); background: radial-gradient(ellipse at 78% 40%, rgb(49 95 140 / 18%), transparent 55%), radial-gradient(ellipse at 20% 100%, var(--tint-sand), transparent 50%), linear-gradient(135deg, var(--mist), var(--paper)); }
.back-link { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 40px; margin-bottom: var(--space-8); padding: 0 var(--space-2); border: 1px solid var(--neutral-200); border-radius: var(--radius-control); background: var(--white); color: var(--ink); font-size: var(--fs-small); font-weight: 600; transition: border-color .2s ease, color .2s ease; }
.back-link:hover { border-color: var(--blue); color: var(--blue); }
.back-link span { transition: transform .2s ease; }
.back-link:hover span { transform: translateX(-4px); }
.case-kicker { margin: 0 0 var(--space-2); color: var(--text-muted); font-size: var(--fs-small); font-weight: 600; }
.case-kicker span { margin-right: var(--space-1); color: var(--blue); letter-spacing: var(--tracking-eyebrow); }
.case-hero h1 { max-width: 600px; margin: 0 0 var(--space-3); font-size: var(--fs-hero); line-height: var(--lh-hero); font-weight: 700; }
.case-lead { max-width: 560px; margin: 0 0 var(--space-5); color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.case-meta { margin: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: var(--space-2) var(--space-4); }
.case-meta dt { color: var(--text-subtle); font-size: var(--fs-meta); font-weight: 600; letter-spacing: var(--tracking-eyebrow); line-height: var(--lh-meta); text-transform: uppercase; }
.case-meta dd { margin: var(--space-1) 0 0; font-size: var(--fs-small); font-weight: 600; line-height: var(--lh-small); }
.case-hero-visual { position: relative; align-self: stretch; min-height: 480px; }
.fan { position: absolute; bottom: -8%; width: min(44%, 240px); filter: drop-shadow(0 24px 40px rgb(23 33 43 / 18%)); }
.fan-center { left: 50%; translate: -50% 0; z-index: 2; bottom: -4%; width: min(50%, 272px); animation: fan-rise 1s .2s cubic-bezier(.2, .7, .2, 1) both, bob 6s 1.2s ease-in-out infinite; }
.fan-left { left: 6%; rotate: -10deg; animation: fan-rise 1s .35s cubic-bezier(.2, .7, .2, 1) both; }
.fan-right { right: 6%; rotate: 10deg; animation: fan-rise 1s .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fan-rise { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }

/* Seções em duas colunas ------------------------------------------------- */
.case-section { width: min(1280px, calc(100% - var(--space-8))); margin-inline: auto; padding-block: clamp(var(--space-10), 9vw, var(--space-16)); display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-5) clamp(var(--space-5), 6vw, var(--space-12)); border-top: 1px solid var(--neutral-200); }
.case-section-wide { grid-template-columns: 1fr; }
.case-section-wide .case-head { max-width: 720px; }
.case-head h2 { margin: 0; font-size: var(--fs-section); line-height: var(--lh-section); }
.case-head .eyebrow { margin-bottom: var(--space-2); }
.case-sub { margin: var(--space-2) 0 0; color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.case-section:not(.case-section-wide) .case-head { align-self: start; position: sticky; top: calc(var(--header-h) + var(--space-3)); }
.case-prose p { max-width: 640px; margin: 0 0 var(--space-3); color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.case-prose p:first-child { color: var(--ink); font-size: var(--fs-card); line-height: var(--lh-card); font-weight: 600; }

/* 01 Contexto */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: var(--space-2); }
.compare-card { padding: var(--space-4); border: 1px solid var(--neutral-100); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-flat); }
.compare-card p { margin: 0; color: var(--text-muted); }
.compare-card .compare-tag { display: inline-block; margin-bottom: var(--space-2); padding: var(--space-1) var(--space-2); border-radius: var(--radius-tag); background: var(--neutral-100); color: var(--neutral-800); font-size: var(--fs-meta); font-weight: 600; letter-spacing: var(--tracking-eyebrow); line-height: var(--lh-meta); text-transform: uppercase; }
.compare-card.is-after { border-color: rgb(49 95 140 / 24%); box-shadow: var(--shadow-soft); }
.compare-card.is-after .compare-tag { background: var(--mist); color: var(--blue); }
.compare-arrow { align-self: center; color: var(--blue); font-size: var(--fs-card); }

/* 02 Ecossistema */
.lanes { margin: 0; padding: clamp(var(--space-3), 4vw, var(--space-5)); border-radius: var(--radius-feature); background: var(--white); border: 1px solid var(--neutral-100); box-shadow: var(--shadow-flat); }
.lane-legend { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-4); color: var(--text-subtle); font-size: var(--fs-small); font-weight: 600; }
.lane-legend span::before { display: inline-block; width: 12px; height: 12px; margin-right: var(--space-1); border-radius: 4px; vertical-align: -1px; content: ""; }
.dot-bradesco::before { background: var(--blue); }
.dot-other::before { background: var(--sand); }
.lane-title { margin: 0 0 var(--space-2); color: var(--text-muted); font-size: var(--fs-small); }
.lane-title b { margin-right: var(--space-1); color: var(--ink); font-size: var(--fs-body); }
.lane-steps { position: relative; margin: 0 0 var(--space-5); padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-2); list-style: none; }
.lane-steps:last-of-type { margin-bottom: 0; }
.lane-short { grid-template-columns: repeat(3, 1fr); max-width: 50%; }
.lane-steps::before { position: absolute; top: 20px; left: var(--space-2); right: var(--space-2); height: 2px; background: linear-gradient(90deg, var(--blue), rgb(49 95 140 / 24%)); content: ""; }
.lane-steps li { position: relative; padding: var(--space-6) var(--space-2) var(--space-2); border-radius: var(--radius-card); background: var(--paper); }
.lane-steps li b { position: absolute; top: var(--space-1); left: var(--space-2); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-size: var(--fs-meta); }
.lane-steps li.is-other { background: linear-gradient(rgb(197 168 120 / 16%), rgb(197 168 120 / 16%)), var(--white); }
/* A linha azul passa por trás dos cards: cards acima, fundos opacos. */
.lane-steps::before { z-index: 0; }
.lane-steps li { z-index: 1; }
.lane-steps li.is-other b { background: var(--sand); color: var(--ink); }
.lane-steps h3 { margin: 0 0 var(--space-1); font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: 0; }
.lane-steps p { margin: 0; color: var(--text-subtle); font-size: var(--fs-meta); line-height: var(--lh-meta); }
.reveal-ready .lanes li { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .is-visible .lanes li { opacity: 1; transform: none; }
.reveal-ready .is-visible .lanes li:nth-child(2) { transition-delay: .08s; } .reveal-ready .is-visible .lanes li:nth-child(3) { transition-delay: .16s; } .reveal-ready .is-visible .lanes li:nth-child(4) { transition-delay: .24s; } .reveal-ready .is-visible .lanes li:nth-child(5) { transition-delay: .32s; } .reveal-ready .is-visible .lanes li:nth-child(6) { transition-delay: .4s; }

/* 03 Meu papel */
.role-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--neutral-200); }
.role-list li { padding-block: var(--space-3); display: grid; grid-template-columns: 48px 1fr; gap: var(--space-2); border-bottom: 1px solid var(--neutral-200); }
.role-list b { color: var(--blue); font-size: var(--fs-small); letter-spacing: var(--tracking-eyebrow); line-height: var(--lh-card); }
.role-list h3 { margin: 0 0 var(--space-1); font-size: var(--fs-card); line-height: var(--lh-card); }
.role-list p { margin: 0; color: var(--text-muted); }

/* 05 Decisões */
.decisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.decision { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4) var(--space-4) 0; overflow: hidden; border: 1px solid var(--neutral-100); border-radius: var(--radius-feature); background: linear-gradient(180deg, var(--white) 55%, var(--mist)); box-shadow: var(--shadow-flat); transition: box-shadow .3s ease, transform .3s ease; }
.decision:hover { transform: translateY(-8px); box-shadow: var(--shadow-raised); }
.decision-index { color: var(--blue); font-size: var(--fs-small); letter-spacing: var(--tracking-eyebrow); }
.decision h3 { margin: var(--space-1) 0 var(--space-2); font-size: var(--fs-card); line-height: var(--lh-card); }
.decision p { margin: 0 0 var(--space-2); color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.rule { padding: var(--space-2); border-radius: var(--radius-control); background: var(--paper); color: var(--ink) !important; font-weight: 600; }
.rule span { display: block; margin-bottom: var(--space-1); color: var(--blue); font-size: var(--fs-meta); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; }
.decision .screen { width: 72%; margin: auto auto -24%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.decision:hover .screen { transform: translateY(-16px); }

/* 06 Jornada interativa (celular fixo) ----------------------------------- */
.journey { margin-block: var(--space-8); background: linear-gradient(180deg, var(--paper), var(--mist) 20%, var(--mist) 80%, var(--paper)); }
.journey-inner { width: min(1280px, calc(100% - var(--space-8))); margin-inline: auto; padding-block: var(--space-12); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-5), 6vw, var(--space-12)); }
.journey-copy h2 { margin: 0 0 var(--space-2); font-size: var(--fs-section); line-height: var(--lh-section); }
.journey-intro { max-width: 480px; margin: 0 0 var(--space-6); color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.journey-steps { margin: 0; padding: 0; list-style: none; }
.journey-steps li { min-height: 40vh; display: flex; align-items: center; }
.journey-steps li:last-child { min-height: 48vh; }
.journey-steps button { width: 100%; max-width: 440px; padding: var(--space-2) var(--space-3); display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: var(--space-2); border: 1px solid transparent; border-radius: var(--radius-card); background: transparent; color: var(--text-subtle); text-align: left; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.journey-steps b { color: var(--neutral-400); font-size: var(--fs-small); letter-spacing: var(--tracking-eyebrow); line-height: var(--lh-card); transition: color .3s ease; }
.journey-steps span { font-size: var(--fs-card); font-weight: 600; line-height: var(--lh-card); }
.journey-steps small { display: block; margin-top: var(--space-1); font-size: var(--fs-body); font-weight: 400; line-height: var(--lh-body); }
.journey-steps li.is-active button { border-color: var(--neutral-100); background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); }
.journey-steps li.is-active b { color: var(--blue); }
.journey-steps li.is-active small { color: var(--text-muted); }
.journey-phone { position: sticky; top: calc(var(--header-h) + var(--space-4)); align-self: start; width: min(100%, 320px); aspect-ratio: 694 / 1260; justify-self: center; }
.journey-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(16px) scale(.98); filter: drop-shadow(0 24px 40px rgb(23 33 43 / 18%)); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.journey-phone img.is-active { opacity: 1; transform: none; }
.journey-progress { position: absolute; left: 50%; bottom: calc(var(--space-4) * -1); width: 120px; height: 4px; translate: -50% 0; overflow: hidden; border-radius: 4px; background: rgb(49 95 140 / 16%); }
.journey-progress i { display: block; width: 100%; height: 100%; border-radius: 4px; background: var(--blue); transform-origin: left; transform: scaleX(var(--progress, .14)); transition: transform .4s ease; }

/* 07 e 08 · fileiras de telas */
.screen-row { margin: 0; padding: 0; display: flex; gap: var(--space-4); list-style: none; }
.screen-row li { flex: 1; max-width: 280px; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.screen-row span { color: var(--text-muted); font-size: var(--fs-small); font-weight: 600; }
.screen-row span b { margin-right: var(--space-1); color: var(--blue); }
.screen-row li:not(:last-child) { position: relative; }
.screen-row:not(.small) li:not(:last-child)::after { position: absolute; top: 40%; right: calc(var(--space-4) * -.5 - 8px); color: var(--blue); font-size: var(--fs-lead); content: "→"; }
.screen-row .screen { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.screen-row li:hover .screen { transform: translateY(-8px); }
.case-section-wide > .case-body > .screen-row { justify-content: center; }
.branch { display: grid; gap: var(--space-3); }
.trunk { justify-content: center; }
.trunk li { max-width: 216px; }
.branch-split { position: relative; height: 48px; }
.branch-split::before, .branch-split i { position: absolute; content: ""; }
.branch-split::before { left: 50%; top: 0; width: 2px; height: 24px; background: var(--blue); }
.branch-split i { left: 25%; right: 25%; top: 24px; height: 24px; border: 2px solid var(--blue); border-bottom: 0; border-radius: var(--radius-control) var(--radius-control) 0 0; }
.branch-paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.branch-path { padding: var(--space-4); border: 1px solid var(--neutral-100); border-radius: var(--radius-feature); background: var(--white); box-shadow: var(--shadow-flat); }
.branch-path h3 { margin: 0 0 var(--space-1); font-size: var(--fs-card); line-height: var(--lh-card); }
.branch-path > p { margin: 0 0 var(--space-4); color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.screen-row.small { gap: var(--space-2); }
.screen-row.small li { max-width: 136px; }
.screen-row.small span { font-size: var(--fs-meta); }

/* 09 Resultados (bloco escuro) ------------------------------------------ */
.results { width: min(1360px, calc(100% - var(--space-4))); margin: var(--space-8) auto; }
.results-card { position: relative; padding: clamp(var(--space-5), 7vw, var(--space-16)); overflow: hidden; border-radius: var(--radius-feature); background: radial-gradient(ellipse at 85% 0%, rgb(49 95 140 / 55%), transparent 55%), radial-gradient(ellipse at 0% 100%, rgb(111 143 134 / 22%), transparent 50%), var(--ink); color: var(--white); }
.results-card .eyebrow { color: var(--mist); opacity: .8; }
.results-card h2 { max-width: 640px; margin: 0 0 var(--space-6); font-size: var(--fs-hero); line-height: var(--lh-hero); }
.results-notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.results-notes article { padding: var(--space-4); border: 1px solid rgb(232 240 246 / 12%); border-radius: var(--radius-card); background: rgb(232 240 246 / 6%); backdrop-filter: blur(8px); }
.results-notes h3 { margin: 0 0 var(--space-1); font-size: var(--fs-card); line-height: var(--lh-card); }
.results-notes p { margin: 0; color: rgb(232 240 246 / 80%); }

/* 10 Aprendizado --------------------------------------------------------- */
.learning blockquote { margin: var(--space-3) 0 0; color: var(--ink); font-size: var(--fs-section); font-weight: 600; line-height: var(--lh-section); letter-spacing: var(--tracking-title); }
.learning .case-head { position: static !important; }
.learning-card { padding: var(--space-4); border: 1px solid var(--neutral-100); border-radius: var(--radius-feature); background: var(--white); box-shadow: var(--shadow-soft); }
.learning-card article { padding-block: var(--space-2); border-top: 1px solid var(--neutral-200); }
.learning-card h3 { margin: 0 0 var(--space-1); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.learning-card p { margin: 0; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }

/* Próximo case ----------------------------------------------------------- */
.next-case { width: min(1280px, calc(100% - var(--space-8))); margin: 0 auto var(--space-12); padding-block: var(--space-8) var(--space-6); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-1) var(--space-4); border-top: 1px solid var(--neutral-200); border-bottom: 1px solid var(--neutral-200); }
.next-case .eyebrow { grid-column: 1 / -1; margin: 0; }
.next-case strong { font-size: var(--fs-hero); line-height: var(--lh-hero); font-weight: 600; letter-spacing: var(--tracking-title); transition: color .3s ease; }
.next-desc { grid-column: 1; max-width: 560px; color: var(--text-muted); }
.next-arrow { grid-column: 2; grid-row: 2 / span 2; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--neutral-200); border-radius: 50%; color: var(--blue); font-size: var(--fs-card); transition: transform .3s ease, background .3s ease, color .3s ease; }
.next-case:hover strong { color: var(--blue); }
.next-case:hover .next-arrow { transform: translateX(8px); background: var(--blue); color: var(--white); }

/* Tablet ----------------------------------------------------------------- */
@media (max-width: 950px) {
  .case-hero-card { grid-template-columns: 1fr; }
  .case-hero-visual { min-height: 400px; }
  .case-meta { grid-template-columns: repeat(2, auto); }
  .case-section { grid-template-columns: 1fr; width: min(100% - var(--space-6), 760px); }
  .case-section:not(.case-section-wide) .case-head { position: static; }
  .lane-steps { grid-template-columns: repeat(3, 1fr); }
  .lane-steps::before { display: none; }
  .lane-steps li.is-other { translate: none; }
  .lane-short { max-width: none; }
  .decisions { grid-template-columns: 1fr; }
  .decision { display: grid; grid-template-columns: 1fr 200px; padding-bottom: var(--space-4); }
  .decision .screen { width: 100%; margin: 0; }
  .journey-inner { width: min(100% - var(--space-6), 760px); grid-template-columns: 1fr 200px; gap: var(--space-3); }
  .branch-paths { grid-template-columns: 1fr; }
      .next-case { width: min(100% - var(--space-6), 760px); }
}

/* Celular ---------------------------------------------------------------- */
@media (max-width: 680px) {
  .case-hero { width: calc(100% - var(--space-2)); margin-top: var(--space-1); }
  .case-hero-card { padding: var(--space-3); }
  .back-link { margin-bottom: var(--space-5); }
  .case-hero-visual { min-height: 320px; }
  .case-section, .next-case { width: calc(100% - var(--space-5)); }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { justify-self: center; rotate: 90deg; }
  .lane-steps, .lane-short { grid-template-columns: 1fr 1fr; }
  .decision { grid-template-columns: 1fr; padding: var(--space-3) var(--space-3) 0; }
  .decision .screen { width: 72%; margin: 0 auto -24%; }
  .journey-inner { width: calc(100% - var(--space-5)); grid-template-columns: 1fr 112px; padding-block: var(--space-8); }
  .journey-phone { top: calc(var(--header-h) + var(--space-2)); }
  .journey-steps li { min-height: 32vh; }
  .journey-steps button { grid-template-columns: 1fr; gap: 0; padding: var(--space-2); }
  .journey-steps span { font-size: var(--fs-lead); line-height: var(--lh-lead); }
  .journey-steps small { font-size: var(--fs-small); line-height: var(--lh-small); }
  .journey-progress { width: 64px; }
  .screen-row { gap: var(--space-2); overflow-x: auto; padding-bottom: var(--space-2); scroll-snap-type: x mandatory; }
  .screen-row li { flex: 0 0 56%; scroll-snap-align: center; }
  .screen-row.small li { flex: 0 0 40%; }
  .screen-row:not(.small) li:not(:last-child)::after { display: none; }
  .branch-split { display: none; }
  .branch-path { padding: var(--space-3); }
  .results { width: calc(100% - var(--space-2)); }
  .results-card h2 { font-size: var(--fs-section); line-height: var(--lh-section); margin-bottom: var(--space-5); }
      .results-notes { grid-template-columns: 1fr; }
  .learning blockquote { font-size: var(--fs-card); line-height: var(--lh-card); }
  .next-case strong { font-size: var(--fs-section); line-height: var(--lh-section); }
  .next-arrow { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal, .reveal-ready .lanes li { opacity: 1; transform: none; }
  .fan-center { animation: none; }
}

/* 07 · Jornada em verde de sucesso (mesmo componente do 06) ------------- */

.journey-success .eyebrow { color: #347A58; }
.journey-success .journey-steps li.is-active button { border-color: #CFE3D5; }
.journey-success .journey-steps li.is-active b { color: #347A58; }
.journey-success .journey-progress { background: rgb(52 122 88 / 16%); }
.journey-success .journey-progress i { background: #347A58; }

/* Ponte entre 06 e 07: respiro grande + comparação 6 → 3 ----------------- */
.journey-bridge { width: min(1280px, calc(100% - var(--space-8))); margin: 0 auto; padding-block: var(--space-16); display: flex; flex-direction: column; align-items: center; text-align: center; border-top: 1px solid var(--neutral-200); }
.journey-bridge .eyebrow { margin-bottom: var(--space-3); }
.bridge-steps { margin: 0 0 var(--space-3); display: flex; align-items: center; gap: var(--space-4); font-size: var(--fs-card); font-weight: 600; }
.bridge-steps b { margin-right: var(--space-1); font-size: var(--fs-hero); line-height: var(--lh-hero); font-variant-numeric: tabular-nums; }
.bridge-from { color: var(--neutral-500); }
.bridge-from b { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgb(129 139 145 / 60%); }
.bridge-to { color: #347A58; }
.bridge-arrow { position: relative; width: 96px; height: 2px; background: linear-gradient(90deg, var(--neutral-300), #347A58); }
.bridge-arrow::after { position: absolute; right: -2px; top: 50%; width: 12px; height: 12px; border-top: 2px solid #347A58; border-right: 2px solid #347A58; transform: translateY(-50%) rotate(45deg); content: ""; }
.reveal-ready .journey-bridge .bridge-arrow { transform: scaleX(0); transform-origin: left; transition: transform .9s .3s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .journey-bridge.is-visible .bridge-arrow { transform: scaleX(1); }
.reveal-ready .journey-bridge .bridge-to { opacity: 0; transform: translateX(-16px); transition: opacity .6s 1s ease, transform .6s 1s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .journey-bridge.is-visible .bridge-to { opacity: 1; transform: none; }
.bridge-note { max-width: 480px; margin: 0; color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }

/* 07 em destaque: card verde de sucesso, selo e brilho atrás do celular -- */
.journey-success { width: min(1360px, calc(100% - var(--space-4))); margin: 0 auto var(--space-12); border: 1px solid #CFE3D5; border-radius: var(--radius-feature); background: radial-gradient(ellipse at 75% 35%, rgb(52 122 88 / 18%), transparent 55%), linear-gradient(160deg, #EDF5EF, var(--white) 70%, #EDF5EF); box-shadow: var(--shadow-raised); }
.journey-success h2 { font-size: var(--fs-hero); line-height: var(--lh-hero); }
.success-badge { display: inline-flex; align-items: center; gap: var(--space-1); margin: 0 0 var(--space-3); padding: var(--space-1) var(--space-2); border: 1px solid #CFE3D5; border-radius: var(--radius-tag); background: #EDF5EF; color: #347A58; font-size: var(--fs-meta); font-weight: 600; letter-spacing: .04em; line-height: var(--lh-meta); }
.success-badge span { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: #347A58; color: var(--white); font-size: 10px; }
.journey-success .journey-phone::before { position: absolute; inset: 8% -16%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgb(52 122 88 / 28%), transparent 65%); animation: success-pulse 4s ease-in-out infinite; content: ""; }
@keyframes success-pulse { 50% { opacity: .55; transform: scale(.92); } }
@media (max-width: 680px) {
  .journey-bridge { width: calc(100% - var(--space-5)); padding-block: var(--space-12); }
  .bridge-steps { gap: var(--space-2); font-size: var(--fs-body); }
  .bridge-steps b { font-size: var(--fs-section); line-height: var(--lh-section); }
  .bridge-arrow { width: 48px; }
  .journey-success { width: calc(100% - var(--space-2)); }
  .journey-success h2 { font-size: var(--fs-section); line-height: var(--lh-section); }
}
@media (prefers-reduced-motion: reduce) {
  .journey-success .journey-phone::before { animation: none; }
}

/* 08 · O fluxo se divide a partir de "Envio e recebimento" (última tela do tronco) */
.branch-split::before { left: var(--split-x, 50%); translate: -1px 0; }
.trunk li:last-child span { color: var(--blue); }
/* Linhas do fluxo de Gestão com cantos retos */
.branch-split i { border-radius: 0; }

/* 02 · "Próximas vezes" em verde de sucesso, como a jornada 07 ---------- */
/* Azul e verde lado a lado: as duas cores acontecem no app Bradesco. */
.dot-bradesco::before { margin-right: calc(var(--space-1) + 16px) !important; box-shadow: 16px 0 0 #347A58; }
.lane-short::before { background: linear-gradient(90deg, #347A58, rgb(52 122 88 / 24%)); }
.lane-short li { background: #EDF5EF; box-shadow: inset 0 0 0 1px #CFE3D5; }
.lane-short li b { background: #347A58; }
.lane-title:has(+ .lane-short) b { color: #347A58; }
