/*
 * Página de consultorias: carrega depois de css/home.css e usa os mesmos tokens.
 * Capítulos de cor chapada, com as cores da logo: azul-marinho, verde e azul.
 * A troca de cor entre os capítulos é o único divisor; nada de fios nem sombras.
 */

.cx { background: var(--night); color: #fff; }
.cx-frame { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.cx h2 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.04em; max-width: 18ch; text-wrap: balance; }
.cx-lead { margin-top: 18px; max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }

/* Cabeçalho escuro */
.cx .site-header { background: var(--night); }
.cx .site-header.is-scrolled { border-bottom-color: transparent; }
.cx .nav a, .cx .header-wa { color: rgba(255, 255, 255, .78); }
.cx .nav a:hover, .cx .header-wa:hover { color: #fff; }
.cx .menu-btn { color: #fff; }
.cx .mobile-menu { background: var(--night); border-top-color: rgba(255, 255, 255, .14); }
.cx .mobile-menu a:not(.btn) { color: #fff; border-color: rgba(255, 255, 255, .14); }
.cx .site-header .btn--approve { color: var(--ink); }

/* Chave: do lado da consultoria, ela acende em verde */
.cx .svc-switch { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
.cx .svc-switch::before { background: var(--green); }
.cx .svc-switch a { color: rgba(255, 255, 255, .86); }
.cx .svc-switch a:hover { color: #fff; }
.cx .svc-switch[data-side="right"] a[data-side="right"] { color: var(--ink); }
.cx .svc-switch[data-side="left"]::before { background: #fff; }
.cx .svc-switch[data-side="left"] a[data-side="left"] { color: var(--ink); }

/* Botão azul-marinho, para os campos claros */
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ink:active { transform: translateY(1px); }

/* Abertura */
.cx-hero { display: flex; flex-direction: column; min-height: calc(100svh - 136px); background: var(--night); }
.cx-hero > .cx-frame { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vw, 52px); padding-block: clamp(36px, 5vw, 64px); }
.cx-season { align-self: flex-start; font-size: 15px; font-weight: 600; color: #FFC46B; text-decoration: none; }
.cx-season:hover { color: #FFD79B; text-decoration: underline; }
.cx-hero h1 { font-size: clamp(43px, 11.4vw, 190px); font-weight: 650; line-height: .96; letter-spacing: -0.05em; color: #fff; }
.cx-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.cx-line > span { display: block; white-space: nowrap; }
.cx-line--2 { color: var(--green-glow); }
.cx-hero-foot { display: grid; gap: 24px 64px; }
.cx-hero-foot > p { max-width: 54ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; }
.cx-hero-act { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cx-hero-act span { font-size: 15px; color: rgba(255, 255, 255, .78); }
.cx-hero-act .btn { color: var(--ink); min-height: 56px; padding-inline: 26px; font-size: 16.5px; }

/* Faixa branca: os canais */
.cx-logos { background: #fff; color: var(--ink); }
.cx-logos ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; list-style: none; margin-inline: auto; padding: 24px 0; }
.cx-logos img { display: block; width: auto; }
.cx-logos-own { font-size: 15px; font-weight: 600; white-space: nowrap; }

/* Calculadora: resultado fixo no verde, controles rolando no papel */
.cx-calc { display: grid; background: var(--bg); color: var(--ink); }
.cx-calc-out { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px) var(--gutter); background: var(--green); }
.cx-slip { width: min(100%, 460px); margin: 0; padding: clamp(20px, 3vw, 32px); background: #fff; color: var(--ink); border-radius: var(--radius); }
.cx-slip figcaption { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.cx-slip figcaption b { font-weight: 650; }
.cx-bar { display: flex; gap: 2px; height: 20px; margin-top: 14px; overflow: hidden; border-radius: 5px; background: var(--tint); }
.cx-bar i { display: block; width: var(--w, 0); background: var(--c); transition: width .28s var(--ease); }
.cx-slip ul { list-style: none; margin: 14px 0 0; padding: 0; }
.cx-slip li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 15.5px; }
.cx-slip li b { font-weight: 600; }
.cx-left { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--green-tint); }
.cx-left > span { font-size: 17px; font-weight: 600; }
.cx-left b { font-size: clamp(36px, 4vw, 52px); font-weight: 650; line-height: 1; letter-spacing: -0.04em; color: var(--green-ink); }
.cx-slip.is-loss .cx-left { background: #FCEBE9; }
.cx-slip.is-loss .cx-left b { color: var(--rose); }
.cx-slip > p { margin-top: 12px; font-size: 15.5px; }
.cx-calc-in { padding: clamp(44px, 7vw, 112px) var(--gutter); }
.cx-calc-in h2 { font-size: clamp(36px, 4.6vw, 68px); }
.cx-controls { display: grid; gap: clamp(26px, 3vw, 38px); margin-top: clamp(28px, 4vw, 44px); }
.cx-controls fieldset { display: grid; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.cx-controls legend { padding: 0 0 2px; font-size: clamp(20px, 1.9vw, 25px); font-weight: 600; letter-spacing: -0.02em; }
.cx-field { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; }
.cx-field label { font-size: 16px; }
.cx-num { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; min-height: 40px; background: var(--tint); border-radius: var(--radius-s); font-weight: 600; font-variant-numeric: tabular-nums; }
.cx-num:focus-within { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.cx-num input { width: 56px; border: 0; background: none; font: inherit; color: inherit; text-align: right; outline: none; -moz-appearance: textfield; appearance: textfield; }
.cx-num input::-webkit-outer-spin-button, .cx-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cx-field input[type="range"] { grid-column: 1 / -1; width: 100%; height: 32px; margin: 0; accent-color: var(--green-ink); }
.cx-note { margin-top: 24px; max-width: 58ch; font-size: 15px; color: var(--muted); }
#cx-calc-go { margin-top: 20px; min-height: 54px; }

/* O que resolvemos: frases e ficha sobre o disco */
.cx-pick { padding-block: clamp(64px, 9vw, 136px); background: var(--ink); }
.cx-pick-grid { display: grid; gap: 32px; margin-top: clamp(32px, 5vw, 64px); }
.cx-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(6px, 1vw, 12px); }
.cx-opt { display: block; width: 100%; padding: 10px 0; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--display); font-size: clamp(24px, 2.7vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: rgba(255, 255, 255, .55); text-wrap: balance; transition: color .22s, transform .3s var(--ease); }
.cx-opt:hover { color: rgba(255, 255, 255, .85); }
.cx-opt[aria-pressed="true"] { color: #fff; }
.cx-stage { position: relative; display: grid; place-items: center; }
.cx-disc { display: none; }
.cx-cards { position: relative; z-index: 1; width: 100%; display: grid; }
.cx-card { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 34px); background: #fff; color: var(--ink); border-radius: var(--radius); }
.js .cx-card { transition: opacity .28s, transform .4s var(--ease), visibility .28s; }
.js .cx-card[data-off] { opacity: 0; transform: translateY(14px) scale(.985); visibility: hidden; pointer-events: none; }
html:not(.js) .cx-cards { gap: 16px; }
html:not(.js) .cx-card { grid-area: auto; }
.cx-card h3 { font-size: clamp(22px, 2vw, 28px); }
.cx-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.cx-card li { position: relative; padding-left: 26px; }
.cx-card li::before { content: ""; position: absolute; left: 0; top: .22em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='3.4'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cx-card-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cx-card .btn { color: var(--ink); }

/* Como funciona: a escada que sobe até o verde */
.cx-how { padding-block: clamp(64px, 9vw, 136px); background: var(--bg); color: var(--ink); }
.cx-stair { list-style: none; margin: clamp(32px, 5vw, 60px) 0 0; padding: 0; display: grid; gap: 6px; }
.cx-stair li { display: grid; gap: 6px; align-content: start; padding: 18px 20px; background: var(--s); border-radius: var(--radius-s); }
.cx-stair li:nth-child(1) { --s: var(--green-tint); }
.cx-stair li:nth-child(2) { --s: #DCEFD6; }
.cx-stair li:nth-child(3) { --s: #BDE3B7; }
.cx-stair li:nth-child(4) { --s: #8FD488; }
.cx-stair li:nth-child(5) { --s: var(--green); }
.cx-stair b { font-size: clamp(19px, 1.6vw, 23px); font-weight: 650; line-height: 1.12; letter-spacing: -0.02em; }
.cx-stair span { font-size: 15.5px; line-height: 1.42; }
.cx-needs { display: grid; gap: 16px 56px; margin-top: clamp(40px, 5vw, 72px); }
.cx-needs h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.03em; }
.cx-needs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 32px; font-size: 17px; font-weight: 500; }
.cx-needs p { font-size: 16px; }

/* Depois do projeto */
.cx-after { padding-block: clamp(64px, 9vw, 136px); background: var(--tint); color: var(--ink); }
.cx-after-grid { display: grid; gap: 40px 64px; align-items: center; }
.cx-after h2 { font-size: clamp(36px, 4.6vw, 68px); }
.cx-after h3 { margin-top: 30px; font-size: clamp(20px, 1.8vw, 24px); }
.cx-after h3 + p { margin-top: 6px; max-width: 48ch; font-size: 16.5px; }
.cx-after a { font-weight: 600; white-space: nowrap; }
.cx-panel { margin: 0; padding: clamp(18px, 2.5vw, 28px); background: #fff; border-radius: var(--radius); min-width: 0; }
.cx-panel figcaption { margin-bottom: 12px; font-size: 18px; font-weight: 600; }

/* Dúvidas: blocos preenchidos */
.cx-faq { padding-block: clamp(64px, 9vw, 136px); background: var(--bg); color: var(--ink); }
.cx-faq-grid { display: grid; gap: 28px 64px; align-items: start; }
.cx-faq h2 { font-size: clamp(36px, 4.6vw, 68px); }
.cx-tiles { display: grid; gap: 6px; }
.cx-tiles details { background: var(--tint); border-radius: var(--radius-s); transition: background .2s; }
.cx-tiles details[open] { background: var(--green-tint); }
.cx-tiles summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 20px; font-size: 17px; font-weight: 600; }
.cx-tiles summary::-webkit-details-marker { display: none; }
.cx-tiles summary i { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.cx-tiles summary i::before, .cx-tiles summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.cx-tiles summary i::after { transform: rotate(90deg); }
.cx-tiles details[open] summary i::after { transform: rotate(0); }
.cx-tiles details p { padding: 0 20px 18px; max-width: 66ch; font-size: 16px; }

/* Formulário */
.cx-contact { padding-block: clamp(64px, 9vw, 136px); background: var(--night); }
.cx-contact h2 { font-size: clamp(42px, 8vw, 128px); }
.cx-contact .final-grid { margin-top: clamp(32px, 5vw, 56px); }
.cx-contact .direct a { color: var(--cyan); }
.lead-form .cx-span { grid-column: 1 / -1; }

/* Rodapé */
.cx .site-footer { background: var(--night); color: rgba(255, 255, 255, .78); border-top: 0; }
.cx .site-footer a { color: rgba(255, 255, 255, .78); }
.cx .site-footer a:hover { color: #fff; }
.cx .footer-grid h4 { color: #fff; }
.cx .footer-bottom { border-top-color: rgba(255, 255, 255, .14); }

/* Entrada: o título sobe por trás da linha; as partes de cada capítulo em sequência */
@keyframes cx-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes cx-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.js .cx-line > span { animation: cx-up .9s var(--ease) .05s backwards; }
.js .cx-line--2 > span { animation-delay: .17s; }
.js .cx-season, .js .cx-hero-foot { animation: cx-in .7s var(--ease) .42s backwards; }
.js [data-r]:not(.is-in) { opacity: 0; transform: translateY(22px); }
.js [data-r] { transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }

@media (min-width: 620px) {
    .cx-needs ul { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .cx-hero-foot { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; }
    .cx-hero-act { align-items: flex-end; text-align: right; }
    .cx-calc { grid-template-columns: 1fr 1fr; }
    .cx-calc-out { position: sticky; top: 67px; height: calc(100svh - 67px); align-self: start; }
    .cx-calc-in { padding-inline: clamp(40px, 6vw, 96px) var(--gutter); }
    .cx-pick-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
    .cx-stage { min-height: min(68vh, 620px); }
    .cx-disc { display: block; position: absolute; left: 50%; top: 50%; width: min(66vh, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--green); transform: translate(-50%, -50%); }
    .cx-cards { width: min(100% - 48px, 470px); }
    .cx-stair { grid-template-columns: repeat(5, 1fr); align-items: end; }
    .cx-stair li { min-height: var(--h); }
    .cx-stair li:nth-child(1) { --h: 210px; }
    .cx-stair li:nth-child(2) { --h: 262px; }
    .cx-stair li:nth-child(3) { --h: 314px; }
    .cx-stair li:nth-child(4) { --h: 366px; }
    .cx-stair li:nth-child(5) { --h: 418px; }
    .cx-needs { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; }
    .cx-needs p { grid-column: 2; }
    .cx-after-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .cx-faq-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
}
@media (max-width: 899px) {
    /* No celular o resultado acompanha os controles, em versão compacta */
    .cx-calc-out { position: sticky; top: 67px; z-index: 5; padding: 8px var(--gutter); }
    .cx-slip { width: 100%; padding: 10px 14px; }
    .cx-slip figcaption { font-size: 14.5px; }
    .cx-bar { height: 12px; margin-top: 6px; }
    .cx-slip ul, .cx-slip > p { display: none; }
    .cx-left { margin-top: 6px; padding: 4px 10px; }
    .cx-left b { font-size: 26px; }
    .cx-left > span { font-size: 15px; }
    .cx-stage { order: 0; }
    .cx-hero { min-height: 0; }
    .cx-card { padding: 18px; }
    .cx-opts .cx-stage { margin: 4px 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .js .cx-line > span, .js .cx-season, .js .cx-hero-foot { animation: none; }
    .js [data-r], .js [data-r]:not(.is-in) { opacity: 1; transform: none; transition: none; }
    .cx-bar i, .js .cx-card, .cx-opt { transition: none; }
}

/* Mesmas margens em toda a página; superfícies sem sombra */
.cx .wrap { width: min(100% - 2 * var(--gutter), 1320px); }
.cx .lead-form { box-shadow: none; }
.cx .btn--approve { box-shadow: none; }
.cx .footer-bottom { border-top: 0; }

/* Colunas podem encolher até a largura da tela; a faixa de logos deixa espaço para o botão do WhatsApp */
.cx-calc { grid-template-columns: minmax(0, 1fr); }
.cx-calc-out, .cx-calc-in, .cx-opts, .cx-stage, .cx-opts li { min-width: 0; }
.cx-field { grid-template-columns: minmax(0, 1fr) auto; }
.cx-left { flex-wrap: nowrap; }
@media (min-width: 900px) {
    .cx-calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .cx-logos ul { padding-right: 76px; }
}

/* Botões com texto longo quebram linha em vez de alargar a página */
.cx .btn { max-width: 100%; white-space: normal; text-align: center; }

/* Ficha do tamanho do conteúdo; âncoras param abaixo do cabeçalho */
.cx-card { align-self: center; }
.cx main section[id] { scroll-margin-top: 67px; }
@media (min-width: 900px) {
    .cx-calc-in { padding-right: max(var(--gutter), calc((100vw - 1320px) / 2)); }
}
@media (max-width: 899px) {
    .js .cx-card[data-off] { display: none; }
    .cx-card { align-self: start; }
}

/* =====================================================================
   Raio-X do Lucro: esteira de raio-X. Três trilhas iguais andam juntas e cada
   uma só aparece na sua área, então o pedido "muda" ao passar pela máquina.
   ===================================================================== */
.rx { --card-w: 300px; --card-h: 256px; --gap: 28px; --steps: 5; padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 96px); background: var(--blue); color: var(--night); scroll-margin-top: 67px; }
.rx-head { display: grid; gap: 18px 56px; align-items: end; }
.cx .rx-head h2 { font-size: clamp(38px, 7.2vw, 112px); line-height: .98; max-width: 19ch; }
.rx-head p { max-width: 54ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; }

.rx-machine { margin-top: clamp(32px, 4vw, 52px); background: var(--night); }
.rx-belt-wrap { position: relative; height: 372px; overflow: hidden; }
.rx-zone { position: absolute; inset: 0; clip-path: inset(0 var(--r) 0 var(--l)); }
.rx-zone--in { --l: 0%; --r: 66%; background: var(--night); }
.rx-zone--scan { --l: 34%; --r: 33%; background: #03304F; }
.rx-zone--out { --l: 67%; --r: 0%; background: var(--paper, #FAFAF7); background: var(--bg); }
.rx-cap { position: absolute; top: 14px; font-size: 15px; font-weight: 600; z-index: 2; }
.rx-zone--in .rx-cap { left: var(--gutter); color: #fff; }
.rx-zone--scan .rx-cap { left: 34%; width: 33%; text-align: center; color: #7FE7F5; }
.rx-zone--out .rx-cap { right: var(--gutter); color: var(--ink); }
.rx-track { position: absolute; left: 0; top: 56px; display: flex; gap: var(--gap); width: max-content; animation: rx-belt 90s linear infinite; }
@keyframes rx-belt { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.rx-paused .rx-track, .rx-paused .rx-beam, .rx-paused .rx-rollers { animation-play-state: paused; }

/* Rolos da esteira */
.rx-rollers { position: absolute; left: 0; right: 0; bottom: 18px; height: 8px; z-index: 3; background: repeating-linear-gradient(90deg, #1E3B5C 0 22px, #0E2240 22px 44px); animation: rx-roll 1.2s linear infinite; }
@keyframes rx-roll { to { background-position-x: 44px; } }

/* A máquina: entrada e saída, com o feixe por dentro */
.rx-wall { position: absolute; top: 0; bottom: 0; width: 18px; z-index: 4; background: #29486B; }
.rx-wall::after { content: ""; position: absolute; inset: 0 7px; background: #14DBF2; }
.rx-wall--a { left: calc(34% - 9px); }
.rx-wall--b { left: calc(67% - 9px); }
.rx-beam { position: absolute; left: 34%; width: 33%; top: 44px; height: 3px; z-index: 3; background: #14DBF2; animation: rx-beam 3.4s ease-in-out infinite alternate; }
@keyframes rx-beam { from { transform: translateY(0); } to { transform: translateY(292px); } }

/* Cartões */
.rx-card { flex: none; width: var(--card-w); height: var(--card-h); padding: 16px 18px; border-radius: 12px; display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.3; }
.rx-card--in { background: #fff; color: var(--ink); }
.rx-card--in img { display: block; height: 26px; width: auto; object-fit: contain; object-position: left; }
.rx-card--in h3 { margin-top: 18px; font-size: 21px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.12; }
.rx-card--in .rx-sold { margin-top: auto; font-size: 34px; font-weight: 650; letter-spacing: -0.035em; line-height: 1; }
.rx-card--in small { margin-top: 6px; font-size: 14px; color: var(--muted); }
.rx-card--scan { background: #06233A; border: 1.5px solid #29BFE0; color: #BDF4FB; }
.rx-card--scan h3 { font-size: 15.5px; font-weight: 650; color: #fff; margin-bottom: 8px; }
.rx-card--scan ul { list-style: none; margin: 0; padding: 0; }
.rx-card--scan li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 14px; }
.rx-card--scan li.is-bad { margin-inline: -8px; padding-inline: 8px; border-radius: 5px; background: #FFC46B; color: #2B1B00; font-weight: 650; }
.rx-left { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 8px; font-weight: 600; color: #fff; }
.rx-left b { font-size: 25px; font-weight: 650; letter-spacing: -0.03em; }
.rx-left.is-loss b { color: #FF9C8F; }
.rx-left.is-ok b { color: #7BE36F; }
.rx-card--out { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.rx-card--out .rx-flag { align-self: flex-start; padding: 3px 9px; border-radius: 999px; font-size: 13.5px; font-weight: 650; }
.rx-flag--bad { background: #FBE3E0; color: #8E1B12; }
.rx-flag--warn { background: #FDF0DD; color: var(--amber-ink); }
.rx-flag--ok { background: var(--green-tint); color: var(--green-ink); }
.rx-card--out h3 { margin-top: 10px; font-size: 18.5px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.15; }
.rx-card--out p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.rx-next { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--green-ink); }

/* Sem movimento: o mesmo pedido, um estágio ao lado do outro */
.rx-still { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px var(--gutter); }
.rx-still .rx-card { width: 100%; }

.rx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px var(--gutter); background: var(--ink); color: rgba(255, 255, 255, .82); font-size: 14px; }
.rx-toggle { min-height: 38px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 8px; background: none; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.rx-toggle:hover { border-color: #fff; }

.rx-foot { display: grid; gap: 32px 64px; margin-top: clamp(36px, 5vw, 64px); }
.rx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 32px; }
.rx-steps b { display: block; font-size: clamp(19px, 1.7vw, 24px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.rx-steps span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.42; }
.rx-cta { display: grid; gap: 18px; justify-items: start; }
.rx-cta p { max-width: 58ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.42; }
.rx-cta b { font-weight: 700; }
.rx-cta .btn { min-height: 56px; padding-inline: 26px; }

@media (min-width: 900px) {
    .rx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rx-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
}
/* No celular a esteira desce: entrada em cima, máquina no meio, saída embaixo */
@media (max-width: 899px) {
    .rx { --card-w: calc(100vw - 2 * var(--gutter)); --card-h: 206px; --gap: 16px; }
    .rx-belt-wrap { height: 780px; }
    .rx-card { padding: 12px 14px; }
    .rx-card--scan h3 { margin-bottom: 4px; font-size: 15px; }
    .rx-card--scan li { padding: 1px 0; font-size: 13.5px; }
    .rx-left { padding-top: 4px; }
    .rx-left b { font-size: 22px; }
    .rx-card--in h3 { margin-top: 12px; }
    .rx-card--out h3 { margin-top: 8px; font-size: 17.5px; }
    .rx-zone { clip-path: inset(var(--t) 0 var(--b) 0); }
    .rx-zone--in { --t: 0%; --b: 67%; }
    .rx-zone--scan { --t: 33%; --b: 34%; }
    .rx-zone--out { --t: 66%; --b: 0%; }
    .rx-cap { left: 0 !important; right: 0 !important; width: auto !important; text-align: left !important; top: auto; padding: 8px var(--gutter); }
    .rx-zone--in .rx-cap { top: 0; background: var(--night); }
    .rx-zone--scan .rx-cap { top: calc(33% + 7px); background: #03304F; }
    .rx-zone--out .rx-cap { top: calc(66% + 7px); background: var(--bg); }
    .rx-track { left: var(--gutter); top: 0; flex-direction: column; animation-name: rx-belt-y; animation-duration: 80s; }
    @keyframes rx-belt-y { from { transform: translateY(-50%); } to { transform: translateY(0); } }
    .rx-wall { left: 0; right: 0; top: auto; bottom: auto; width: auto; height: 14px; }
    .rx-wall::after { inset: 5px 0; }
    .rx-wall--a { top: calc(33% - 7px); }
    .rx-wall--b { top: calc(66% - 7px); }
    .rx-beam { left: 0; right: 0; width: auto; top: 33%; animation-name: rx-beam-y; }
    @keyframes rx-beam-y { from { transform: translateY(40px); } to { transform: translateY(240px); } }
    .rx-rollers { display: none; }
    .rx-still { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .rx-track, .rx-beam, .rx-rollers { animation: none; }
}
