/* v2 · antes×depois objetivo, CMV 28%, mobile-first */

/* ---------- antes × depois ---------- */
.cmp { padding: 110px 0; background: var(--y); }
.cmp-grid { display: grid; grid-template-columns: 1fr 380px; grid-template-areas: "head slider" "fixes slider"; gap: 18px 56px; align-items: start; }
.cmp-head { grid-area: head; }
.ba-slider { grid-area: slider; position: relative; aspect-ratio: 9/17; width: 100%; max-width: 380px; margin-inline: auto; border-radius: 40px; border: 10px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 40px 80px rgba(142,0,0,.35); user-select: none; touch-action: pan-y; }
.ba-slider .pane { position: absolute; inset: 0; overflow: hidden; }
.ba-slider .pane.after { clip-path: inset(0 0 0 50%); }
.ba-slider .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; transform: translateX(-50%); cursor: ew-resize; z-index: 3; }
.ba-slider .handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.ba-slider .lbl { position: absolute; top: 14px; z-index: 2; }
.ba-slider .lbl.l { left: 14px; }
.ba-slider .lbl.r { right: 14px; }
.fixes { grid-area: fixes; display: grid; gap: 10px; }
.fix { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; background: rgba(255,255,255,.6); border-radius: 16px; padding: 10px 14px 10px 10px; text-align: left; width: 100%; transition: background .2s, transform .2s; }
.fix:hover { background: #fff; transform: translateX(4px); }
.fix .th { width: 76px; height: 56px; border-radius: 10px; background: #fff center top / cover; position: relative; overflow: hidden; border: 1px solid var(--line); }
.fix .th::after { content: '⤢'; position: absolute; right: 4px; bottom: 2px; font-size: 13px; color: #fff; text-shadow: 0 1px 4px #000; }
.fix s { display: block; color: var(--r2); font-size: 14px; text-decoration-thickness: 2px; line-height: 1.3; }
.fix b { display: block; font-size: 16px; line-height: 1.25; margin-top: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(26,12,5,.88); display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(86vh / var(--z)); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: #fff; font-size: 24px; }

/* ---------- CMV 28% ---------- */
.cmv { padding: 110px 0; background: #fff; }
.cmv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.cmv-kpis > div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.cmv-kpis b { display: block; font-size: clamp(26px, calc(3vw / var(--z)), 40px); line-height: 1.05; color: var(--ink); }
.cmv-kpis span { display: block; margin-top: 6px; color: var(--mute); font-size: 14px; }
.dumb { position: relative; margin-top: 34px; background: var(--paper); border-radius: 22px; padding: 22px 22px 16px; border: 1px solid var(--line); }
.dumb figcaption { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--round); font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 14px; }
.dumb .lg { display: inline-flex; align-items: center; gap: 7px; }
.dumb .lg i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dumb .lg i.o { border: 2.5px solid #8E847B; background: #fff; }
.dumb .lg i.f { background: #E00000; }
.dumb .lg i.ln { width: 16px; height: 0; border-radius: 0; border-top: 2px dashed var(--r); }
.dumb-rows { display: grid; gap: 4px; }
.drow { display: grid; grid-template-columns: 190px 1fr 132px; gap: 12px; align-items: center; min-height: 40px; cursor: default; border-radius: 10px; padding: 0 6px; }
.drow:hover, .drow:focus { background: rgba(255,237,0,.35); outline: none; }
.drow .nm { font-weight: 700; font-size: 14.5px; line-height: 1.2; color: var(--ink); }
.drow .nm small { display: block; font-weight: 400; color: var(--mute); font-size: 12px; }
.drow .track { position: relative; height: 40px; }
.drow .track .ref { position: absolute; top: 2px; bottom: 2px; width: 0; border-left: 2px dashed var(--r); }
.drow .track .bar { position: absolute; top: 50%; height: 2px; background: #C9BFB4; transform: translateY(-50%); }
.drow .track .d { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--paper); }
.drow .track .d.o { background: #fff; border: 2.5px solid #8E847B; }
.drow .track .d.f { background: #E00000; }
.drow .val { font-family: var(--round); font-weight: 700; font-size: 13.5px; color: var(--ink); text-align: right; white-space: nowrap; }
.drow .val small { display: block; color: var(--mute); font-weight: 600; font-size: 12px; }
.dumb-axis { position: relative; height: 22px; margin: 6px 156px 0 214px; border-top: 1px solid var(--line); }
.dumb-axis span { position: absolute; top: 4px; transform: translateX(-50%); font-family: var(--round); font-size: 11.5px; color: var(--mute); }
.dumb-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; padding: 9px 11px; border-radius: 10px; opacity: 0; transition: opacity .12s; z-index: 5; max-width: 240px; }
.dumb-tip.on { opacity: 1; }
.cmv-table { margin-top: 18px; }
.cmv-table summary { cursor: pointer; font-family: var(--round); font-weight: 800; letter-spacing: .04em; font-size: 15px; padding: 12px 0; color: var(--r2); }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--line); }
.cmv-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.cmv-table th, .cmv-table td { padding: 9px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cmv-table th:first-child, .cmv-table td:first-child { text-align: left; white-space: normal; }
.cmv-table th { background: var(--paper); font-family: var(--round); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cmv-table td.hi { color: var(--r2); font-weight: 700; }
.cmv-table td.ok { color: #137a3c; font-weight: 700; }

/* card: CMV e preço de hoje */
.card .meta { font-family: var(--round); font-weight: 700; font-size: 12px; color: var(--mute); display: flex; gap: 8px; flex-wrap: wrap; }
.card .meta .c { color: #137a3c; }

/* funil em lista (celular) */
.funnel-list { display: none; list-style: none; margin-top: 34px; gap: 10px; }
.funnel-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.funnel-list .t { font-family: var(--round); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.funnel-list .v { font-family: var(--round); font-weight: 800; color: var(--y); font-size: 20px; }
.funnel-list .b { grid-column: 1 / -1; height: 14px; border-radius: 7px; background: rgba(255,255,255,.08); overflow: hidden; }
.funnel-list .b i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--y), var(--r)); }
.funnel-list .dr { grid-column: 1 / -1; font-family: var(--round); font-weight: 800; color: #ff7a6b; font-size: 12.5px; margin-top: -2px; }
.funnel-notes { grid-template-columns: repeat(2, 1fr); }

.nav .m-link { display: none; }
.film-meta { align-items: center; }
.film-meta a { text-decoration: none; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .cmp { padding: 80px 0; }
  .cmp-grid { grid-template-columns: 1fr; grid-template-areas: "head" "slider" "fixes"; gap: 22px; }
  .ba-slider { max-width: 340px; border-width: 8px; border-radius: 34px; }
  .cmv-kpis { grid-template-columns: 1fr; }
  .drow { grid-template-columns: 1fr 104px; grid-template-areas: "nm val" "track track"; gap: 2px 8px; padding: 6px 4px; }
  .drow .nm { grid-area: nm; }
  .drow .val { grid-area: val; }
  .drow .track { grid-area: track; height: 26px; }
  .dumb { padding: 16px 12px 12px; }
  .dumb-axis { margin: 4px 4px 0; }
  .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { top: 10px; gap: 4px; padding: 5px; }
  .nav .m-link { display: inline-block; }
  .nav a { padding: 9px 11px; font-size: 13px; }
  .h-l { font-size: clamp(36px, calc(10.5vw / var(--z)), 56px); }
  .lead { font-size: 16.5px; }
  .stats { padding: 90px 0 60px; }
  .stats-grid { margin-top: 34px; }
  .stat .v { font-size: 34px; }
  .stat .k { font-size: 13.5px; }
  .funnel { padding: 90px 0; }
  .funnel-viz { display: none; }
  .funnel-list { display: grid; }
  .funnel-notes { grid-template-columns: 1fr; margin-top: 24px; }
  .two > div { padding: 80px 16px; }
  .two li { font-size: 15.5px; }
  .menu { padding: 80px 0 60px; }
  .menu-head .lead { font-size: 15px; }
  .items { grid-template-columns: 1fr; gap: 14px; }
  .card { flex-direction: row; min-height: 136px; }
  .card .ph { aspect-ratio: auto; width: 124px; flex: none; }
  .card .ph .serve { left: 8px; bottom: 8px; font-size: 10px; padding: 4px 8px; }
  .card .ph .badge { left: 8px; top: 8px; font-size: 9.5px; padding: 4px 7px; max-width: 110px; }
  .card .body { padding: 12px; gap: 4px; min-width: 0; }
  .card h4 { font-size: 15.5px; }
  .card p { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card .price { font-size: 18px; }
  .card .price s { font-size: 11.5px; }
  .card .add { width: 36px; height: 36px; font-size: 20px; }
  .card.anchor { flex-direction: column; }
  .card.anchor .ph { width: 100%; aspect-ratio: 16/9; }
  .cat-block > header h3 { font-size: 30px; }
  .app-sec { padding: 90px 0; }
  .phone { max-width: 320px; }
  .feat { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat > div { padding: 16px; }
  .feat h4 { font-size: 16px; margin-top: 10px; }
  .feat p { font-size: 13px; }
  .film { padding: 80px 0; }
  .film .wrap { width: 100%; }
  .film .eyebrow, .film .h-l, .film-meta { margin-inline: 16px; }
  .film-frame { border-radius: 0; border-left: 0; border-right: 0; margin-top: 28px; }
  .impact { padding: 90px 0; }
  .imp .to { font-size: 40px; }
  .bridge { padding: 18px; }
  .ai-fab { width: 58px; height: 58px; right: 14px; bottom: 14px; }
  .ai-fab img { width: 44px; height: 44px; }
  .ai-fab .bub { right: 68px; bottom: 6px; width: 122px; white-space: normal; text-align: left; font-size: 12px; line-height: 1.25; padding: 8px 11px; }
  .ai-panel { right: 10px; left: 10px; width: auto; bottom: 84px; height: min(560px, calc(calc(100vh / var(--z)) - 120px)); }
  .bag-btn { left: 12px; bottom: 16px; padding: 10px 14px 10px 10px; font-size: 14px; }
  .site-foot { padding: 70px 0 110px; }
}

/* negrito dentro do texto das notas do funil não herda o estilo do número */
.fnote p b { display: inline; font-size: inherit; color: #fff; font-family: inherit; }
