/* ===== Mapa do Lucro Perdido (#comecar) — usa só os tokens do site (styles.css) ===== */
.mapa { --gap: clamp(1.4rem, 2.5vw, 1.9rem); max-width: 820px; margin-inline: auto; scroll-margin-top: 92px; position: relative; }
.mapa__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: var(--gap); }
.mapa__progress div { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--text-muted); }
.mapa__progress div::before { content: ""; height: 3px; border-radius: 3px; background: var(--hairline); transition: background .3s; }
.mapa__progress .is-done::before, .mapa__progress .is-now::before { background-image: var(--grad); }
.mapa__progress .is-now { color: var(--text); }

.mapa__step { display: flex; flex-direction: column; gap: var(--gap); }
.mapa__step.is-fwd { animation: mapaFwd .4s cubic-bezier(.2,.7,.2,1) both; }
.mapa__step.is-back { animation: mapaBack .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes mapaFwd { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes mapaBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.mapa__head { display: flex; flex-direction: column; gap: .7rem; }
.mapa__head .eyebrow { margin: 0; }
.mapa__head .section__title { max-width: 24ch; }
.mapa__title { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.mapa__h4 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.mapa__lead { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin: 0; max-width: 60ch; }
.mapa__small { color: var(--text-muted); font-size: .9rem; margin: 0; }
.mapa__block { display: flex; flex-direction: column; gap: .9rem; }
.mapa__row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.mapa__nowrap { white-space: nowrap; }

.mapa__pipe { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 18px 12px 8px; }
.mapa__pipe.is-compact { padding: 12px 8px 0; }
.mapa__pipe svg { width: 100%; height: auto; display: block; overflow: visible; }
.mapa__flow { stroke-dasharray: 6 10; animation: mapaFlow 1.6s linear infinite; }
@keyframes mapaFlow { to { stroke-dashoffset: -32; } }
.mapa__drip { animation: mapaDrip 1.8s ease-in infinite; }
@keyframes mapaDrip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

.mapa__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.mapa__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--text-muted); font-size: .85rem; margin: 0; }
.mapa__meta b { color: var(--text); font-weight: 600; }

.mapa__opts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.mapa__opt { font: inherit; color: inherit; text-align: left; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.1rem 1.2rem; cursor: pointer; display: flex; flex-direction: column; gap: .2rem; transition: border-color .15s, background .15s; }
.mapa__opt:hover { border-color: var(--hairline-strong); }
.mapa__opt[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface-1)); }
.mapa__opt b { font-weight: 600; }
.mapa__opt span { color: var(--text-muted); font-size: .88rem; }

.mapa__stages { display: flex; flex-direction: column; gap: 1.1rem; }
.mapa__stagerow { border-top: 1px solid var(--hairline); padding-top: 1.1rem; display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 1rem; }
.mapa__stagename { display: flex; flex-direction: column; gap: .1rem; }
.mapa__stagename span { color: var(--text-muted); font-size: .85rem; }
.mapa__chips { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.mapa__chip { font: inherit; font-size: .95rem; color: var(--text); text-align: left; background: transparent; border: 1px solid var(--hairline); border-radius: 12px; padding: .7rem .9rem .7rem 2.5rem; cursor: pointer; position: relative; transition: border-color .15s, background .15s; }
.mapa__chip::before { content: ""; position: absolute; left: .9rem; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 4px; border: 1.5px solid var(--hairline-strong); transition: background .15s, border-color .15s; }
.mapa__chip:hover { border-color: var(--hairline-strong); }
.mapa__chip[aria-pressed="true"] { border-color: var(--cam); background: color-mix(in srgb, var(--cam) 10%, transparent); }
.mapa__chip[aria-pressed="true"]::before { background: var(--cam); border-color: var(--cam); }
.mapa__chip small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cam); margin-top: .15rem; }
.mapa__cam { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cam); }

.mapa__list { display: flex; flex-direction: column; gap: .9rem; }
.mapa__q { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.2rem 1.3rem; position: relative; overflow: hidden; }
.mapa__q::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cam); }
.mapa__qhead { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; }
.mapa__qhead p { margin: 0; font-weight: 600; }
.mapa__qhead .mapa__cam { white-space: nowrap; }
.mapa__sliders { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; margin-top: 1rem; }
.mapa__field label { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: .35rem; }
.mapa__val, .mapa__num { font-variant-numeric: tabular-nums; font-weight: 600; }
.mapa__val { font-size: 1.1rem; }
.mapa input[type=range] { width: 100%; accent-color: var(--accent); margin-top: .4rem; }
.mapa__formula { margin-top: .9rem; padding-top: .75rem; border-top: 1px dashed var(--hairline); display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; font-size: .82rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.mapa__formula b { color: var(--text); font-size: .95rem; }

.mapa__big { font-weight: 700; font-size: clamp(2.6rem, 9vw, 4.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mapa__bigsub { display: flex; gap: .4rem 1.4rem; flex-wrap: wrap; color: var(--text-muted); margin: 0; }
.mapa__bigsub b { color: var(--text); font-variant-numeric: tabular-nums; }
.mapa__disclaimer { font-size: .82rem; color: var(--text-muted); border-left: 2px solid var(--hairline-strong); padding-left: .7rem; margin: 0; max-width: 62ch; }
.mapa__bars { display: flex; flex-direction: column; gap: .8rem; }
.mapa__barrow { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .25rem .8rem; align-items: baseline; font-size: .93rem; }
.mapa__barrow b { font-variant-numeric: tabular-nums; font-weight: 600; }
.mapa__track { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.mapa__track i { display: block; height: 100%; border-radius: 8px; background: var(--cam); width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1); }

.mapa__solve { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.2rem; align-items: center; }
.mapa__solve.card:hover { transform: none; }
.mapa__solve .mapa__h4 { margin: .35rem 0 .5rem; }
.mapa__solve p { margin: 0; font-size: .93rem; }
.mapa__gain { margin-top: .75rem !important; color: var(--text); font-size: .88rem !important; }
.mapa__mock { background: var(--bg); border: 1px solid var(--hairline-strong); border-radius: 14px; padding: .9rem; font-size: .82rem; box-shadow: var(--shadow); min-width: 0; }
.mapa__mtop { display: flex; justify-content: space-between; gap: .5rem; color: var(--text-muted); font-size: .72rem; margin-bottom: .6rem; }
.mapa__mrow { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--hairline); }
.mapa__mrow:last-of-type { border-bottom: 0; }
.mapa__pill { font-size: .68rem; padding: .1rem .5rem; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.mapa__pill.is-warn { background: rgba(245,165,36,.15); color: #F5A524; }
.mapa__pill.is-bad { background: rgba(242,84,91,.15); color: #F2545B; }
.mapa__pill.is-ok { background: rgba(52,195,143,.15); color: #34C38F; }
.mapa__meter { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; margin: .5rem 0 .25rem; }
.mapa__meter i { display: block; height: 100%; background-image: var(--grad); }
.mapa__mnote { color: var(--text-muted); font-size: .68rem; margin-top: .5rem; }

.mapa__price { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 1.4rem; }
.mapa__price.card:hover { transform: none; }
.mapa__lvl { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.mapa__range { font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 1.95rem); letter-spacing: -.02em; margin: .35rem 0 .25rem; font-variant-numeric: tabular-nums; }
.mapa__payback { border-left: 1px solid var(--hairline); padding-left: 1.4rem; display: flex; flex-direction: column; justify-content: center; gap: .35rem; }
.mapa__payback b { font-size: 1.8rem; font-weight: 700; color: #34C38F; }

.mapa__send { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), color-mix(in srgb, var(--accent-2) 10%, transparent)); border: 1px solid var(--hairline-strong); border-radius: var(--radius); padding: 1.3rem; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.4rem; }
.mapa__form { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.mapa__label { display: block; font-size: .85rem; color: var(--text-muted); }
.mapa__fit { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.mapa__fit button { font: inherit; font-size: .9rem; color: var(--text); background: var(--bg); border: 1px solid var(--hairline-strong); border-radius: 999px; padding: .55rem .9rem; cursor: pointer; min-height: 40px; text-align: left; }
.mapa__fit button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.mapa__form input { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--hairline-strong); border-radius: 12px; padding: .75rem .9rem; min-height: 48px; margin-top: .4rem; }

.mapa__wa { background: #0b141a; border: 1px solid var(--hairline); border-radius: 14px; padding: .9rem; min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.mapa__wahead { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--text-muted); }
.mapa__wahead i { width: 22px; height: 22px; border-radius: 50%; background-image: var(--grad); display: grid; place-items: center; font-style: normal; font-size: .6rem; font-weight: 700; color: #fff; }
.mapa__bubble { align-self: flex-end; max-width: 100%; background: #005C4B; color: #e9edef; border-radius: 10px 2px 10px 10px; padding: .65rem .75rem 1.25rem; font-size: .82rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; position: relative; }
.mapa__bubble b { font-weight: 600; color: #fff; }
.mapa__bubble::after { content: "agora ✓✓"; position: absolute; right: .6rem; bottom: .25rem; font-size: .62rem; color: rgba(233,237,239,.6); }

.mapa__done { width: 64px; height: 64px; border-radius: 50%; background: rgba(47,128,255,.1); border: 1px solid rgba(47,128,255,.35); display: grid; place-items: center; }
.mapa__done svg { width: 30px; height: 30px; }
.mapa__summary { display: flex; flex-direction: column; gap: 1rem; }
.mapa__summary.card:hover { transform: none; }
.mapa__sumrow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.mapa__sumrow div { padding: .2rem 1rem; border-left: 1px solid var(--hairline); display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.mapa__sumrow div:first-child { border-left: 0; padding-left: 0; }
.mapa__sumrow span { font-size: .78rem; color: var(--text-muted); }
.mapa__sumrow b { font-size: 1.1rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mapa__sumrow b.is-txt { font-size: .98rem; }
.mapa__next { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mapa__next li { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--hairline); }
.mapa__next li:first-child { border-top: 0; padding-top: 0; }
.mapa__next li > span { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hairline-strong); display: grid; place-items: center; font-size: .85rem; font-weight: 600; }
.mapa__next p { margin: .15rem 0 0; color: var(--text-muted); font-size: .92rem; }
.mapa__copied { font-size: .85rem; color: #34C38F; }

/* O botão flutuante do WhatsApp some enquanto o Mapa está na tela (não cobre a barra de ações) */
.wa-fab { transition: opacity .2s ease; }
.wa-fab.is-hidden { opacity: 0; pointer-events: none; }

/* Barra de ações: gruda no rodapé da tela enquanto o Mapa está visível */
.mapa__bar { position: sticky; bottom: 0; z-index: 4; margin-top: var(--gap); padding: .75rem 0 calc(.75rem + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; align-items: center; gap: .8rem; background: linear-gradient(transparent, var(--bg) 22%); border-top: 1px solid var(--hairline); }
.mapa__bar.is-off { display: none; }
.mapa__bar-info { display: flex; flex-direction: column; min-width: 0; }
.mapa__bar-info span { font-size: .75rem; color: var(--text-muted); white-space: nowrap; }
.mapa__bar-info b { font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapa__bar-info b.is-txt { font-size: .9rem; font-weight: 600; }
.mapa__bar-actions { display: flex; gap: .5rem; flex: 0 0 auto; }
.mapa .btn.is-off { opacity: .35; pointer-events: none; }

@media (max-width: 600px) {
  .mapa__opts, .mapa__sliders, .mapa__solve, .mapa__send, .mapa__price { grid-template-columns: minmax(0,1fr); }
  .mapa__payback { border-left: 0; border-top: 1px solid var(--hairline); padding: 1rem 0 0; }
  .mapa__stagerow { grid-template-columns: minmax(0,1fr); gap: .6rem; }
  .mapa__sumrow { grid-template-columns: minmax(0,1fr); gap: .8rem; }
  .mapa__sumrow div { border-left: 0; padding: 0; }
  .mapa__bar-info b { font-size: .95rem; }
  .mapa__bar-info span { font-size: .7rem; }
  .mapa__bar-actions .btn { padding: .6rem .9rem; font-size: 1rem; }
  .mapa__progress div { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mapa__flow, .mapa__drip, .mapa__step.is-fwd, .mapa__step.is-back, .mapa__done path { animation: none; }
  .mapa__done path { stroke-dashoffset: 0; }
  .mapa__track i { transition: none; }
}

/* ===== O que resolvemos: cartões dos 4 vazamentos ===== */
.leak { --leak: var(--accent); position: relative; overflow: hidden; }
.leak::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--leak), transparent 75%); }
.leak:hover { border-color: color-mix(in srgb, var(--leak) 50%, transparent); box-shadow: 0 22px 50px rgba(0,0,0,.4), 0 0 0 1px color-mix(in srgb, var(--leak) 18%, transparent); }
.leak__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
.leak .card__icon { margin-bottom: 0; color: var(--leak); background: color-mix(in srgb, var(--leak) 12%, transparent); border-color: color-mix(in srgb, var(--leak) 26%, transparent); }
.leak__num { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--leak) 55%, transparent); }
.card .leak__tag { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leak); margin: 0 0 .9rem; }
.leak__dor { background: color-mix(in srgb, var(--leak) 7%, transparent); border: 1px solid color-mix(in srgb, var(--leak) 18%, transparent); border-radius: 12px; padding: .85rem 1rem; margin: 0 0 1.25rem; }
.leak__label { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .35rem; }
.card .leak__dor p { font-size: 1rem; line-height: 1.5; color: var(--text); }
.leak .solucao__cta { color: var(--leak); margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--hairline); align-self: stretch; }
