/* Como funciona — landing no mesmo padrão do app: base escura, superfícies em tons, âmbar
   só para ação, botões com degrau. Sem brilhos. Tokens do tema.css (--t-*). */

.cf-body { background: var(--t-bg, #0d0a16); color: #fff; }
.cf, .cf-footer {
    --c-bg: var(--t-bg, #0d0a16);
    --c-surface: var(--t-surface, #19142a);
    --c-raised: var(--t-raised, #241d3a);
    --c-line: var(--t-line, rgba(255, 255, 255, .08));
    --c-muted: var(--t-muted, #ada6c2);
    --c-lilac: var(--t-lilac, #c6b2ff);
    --c-amber: var(--t-amber, #fcba04);
    --c-on-amber: var(--t-on-amber, #170b33);
    --c-brand: var(--t-brand, #41009a);
    --c-green: #4ade80;
    font-family: var(--t-font, 'Onest', system-ui, sans-serif);
}
.cf { max-width: 1120px; margin: 0 auto; padding: 0 20px 40px; }
.cf .material-symbols-rounded { font-size: 20px; line-height: 1; }
.cf a { color: inherit; }
.cf [hidden] { display: none !important; }

.cf-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-amber); }
.cf-h1 { margin: 0; font-size: clamp(36px, 6.4vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.cf-h1 span { color: var(--c-lilac); }
.cf-h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.cf-lead { margin: 18px 0 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--c-muted); }

/* Botões */
.cf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 22px; border-radius: 16px; font-size: 16px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .15s ease, transform .12s cubic-bezier(.3, .7, .4, 1), box-shadow .12s ease; }
.cf-btn--primary { background: var(--c-amber); color: var(--c-on-amber) !important; box-shadow: 0 4px 0 #b38200; }
.cf-btn--primary:hover { background: #ffc933; }
.cf-btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 #b38200; }
.cf-btn--ghost { background: var(--c-surface); color: #fff !important; }
.cf-btn--ghost:hover { background: var(--c-raised); }
.cf-btn--ghost:active { transform: scale(.97); }
.cf-link { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--c-lilac) !important; text-decoration: none; }

/* Topo */
.cf-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px; min-height: min(78vh, 720px); padding: 48px 0 24px; }
.cf-hero__text { animation: cf-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.cf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cf-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 28px 0 0; padding: 0; }
.cf-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--c-muted); }
.cf-trust .material-symbols-rounded { color: var(--c-green); font-size: 20px; }

/* Pedido animado */
.cf-demo { position: relative; padding: 40px 10px; animation: cf-rise .7s cubic-bezier(.2, .8, .2, 1) .12s both; }
.cf-demo__card { position: relative; z-index: 1; max-width: 380px; margin: 0 auto; padding: 20px; border-radius: 24px; background: var(--c-surface); border: 1px solid var(--c-line); transition: transform .3s ease; }
.cf-demo__card.is-tick { animation: cf-tick .5s cubic-bezier(.2, .8, .2, 1); }
.cf-demo__head { display: flex; gap: 12px; align-items: flex-start; }
.cf-demo__tile { flex: 0 0 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--c-raised); color: var(--c-lilac); transition: color .3s ease; }
.cf-demo__card[data-state="2"] .cf-demo__tile { color: var(--c-amber); }
.cf-demo__card[data-state="3"] .cf-demo__tile { color: var(--c-green); }
.cf-demo__tile .material-symbols-rounded { font-size: 24px; }
.cf-demo__words { display: grid; gap: 1px; }
.cf-demo__words small { font-size: 12px; font-weight: 600; color: #8b8499; }
.cf-demo__words strong { font-size: 18px; font-weight: 800; }
.cf-demo__words span { font-size: 14px; color: var(--c-muted); }
.cf-demo__track { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0 4px; padding: 0; }
.cf-demo__track::before, .cf-demo__track::after { content: ""; position: absolute; top: 10px; left: 12.5%; height: 2px; border-radius: 2px; }
.cf-demo__track::before { right: 12.5%; background: var(--c-raised); }
.cf-demo__track::after { width: calc(75% * var(--fill, 0)); background: var(--c-amber); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.cf-demo__card[data-state="3"] .cf-demo__track::after { background: var(--c-green); }
.cf-demo__track li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; }
.cf-demo__track i { width: 22px; height: 22px; border-radius: 50%; background: var(--c-raised); box-shadow: 0 0 0 4px var(--c-surface); transition: background .3s ease, box-shadow .3s ease; }
.cf-demo__track li.is-done i { background: var(--c-amber); }
.cf-demo__card[data-state="3"] .cf-demo__track li i { background: var(--c-green); }
.cf-demo__track li.is-now i { background: var(--c-surface); box-shadow: 0 0 0 4px var(--c-surface), inset 0 0 0 6px var(--c-amber); }
.cf-demo__track span { font-size: 11px; font-weight: 600; color: #8b8499; }
.cf-demo__track li.is-now span, .cf-demo__track li.is-done span { color: #fff; }
.cf-demo__next { margin: 14px 0 0; font-size: 14px; color: var(--c-muted); min-height: 21px; }
.cf-demo__foot { display: flex; align-items: center; gap: 6px; margin: 14px -20px -20px; padding: 12px 20px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-muted); }
.cf-demo__foot .material-symbols-rounded { font-size: 17px; color: var(--c-green); }
.cf-demo__foot strong { color: #fff; }
.cf-demo__bubble { position: absolute; z-index: 2; padding: 10px 14px; border-radius: 16px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cf-demo__bubble--a { top: 0; left: 0; background: var(--c-raised); border-bottom-left-radius: 4px; }
.cf-demo__bubble--b { bottom: 4px; right: 0; background: var(--c-brand); border-bottom-right-radius: 4px; animation-delay: -2.5s; }

/* Seções */
.cf-section { padding: 72px 0 0; }
.cf-section__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.cf-section > .cf-h2 { margin-bottom: 28px; }

/* Chave de caminho */
.cf-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: var(--c-surface); }
.cf-switch__btn { position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: none; color: var(--c-muted); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: color .2s ease; }
.cf-switch__btn.is-on { color: var(--c-on-amber); }
.cf-switch__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 12px; background: var(--c-amber); transition: transform .35s cubic-bezier(.3, .7, .4, 1.2); }
.cf-switch[data-path="prestador"] .cf-switch__pill { transform: translateX(100%); }
.cf-switch__btn:focus-visible { outline: 2px solid var(--c-lilac); outline-offset: 2px; }

.cf-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; counter-reset: step; }
.cf-steps.is-swap .cf-step { animation: cf-rise .45s cubic-bezier(.2, .8, .2, 1) both; }
.cf-steps.is-swap .cf-step:nth-child(2) { animation-delay: .05s; }
.cf-steps.is-swap .cf-step:nth-child(3) { animation-delay: .1s; }
.cf-steps.is-swap .cf-step:nth-child(4) { animation-delay: .15s; }
.cf-step { position: relative; display: grid; align-content: start; gap: 10px; padding: 22px 20px; border-radius: 22px; background: var(--c-surface); }
.cf-step__n { position: absolute; top: 18px; right: 20px; font-size: 40px; line-height: 1; font-weight: 800; color: var(--c-raised); }
.cf-step__icon.material-symbols-rounded { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--c-raised); color: var(--c-amber); font-size: 26px; }
.cf-step h3 { margin: 6px 0 0; font-size: 18px; font-weight: 800; }
.cf-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--c-muted); }
.cf-path-cta { display: flex; justify-content: center; margin-top: 28px; }

/* Pagamento protegido */
.cf-escrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: center; }
.cf-flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 10px; padding: 26px 20px; border-radius: 24px; background: var(--c-surface); }
.cf-flow__node { display: grid; justify-items: center; gap: 6px; text-align: center; }
.cf-flow__node .material-symbols-rounded { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--c-raised); color: var(--c-lilac); font-size: 28px; }
.cf-flow__node--hold .material-symbols-rounded { background: var(--c-amber); color: var(--c-on-amber); }
.cf-flow__node--done .material-symbols-rounded { color: var(--c-green); }
.cf-flow__node strong { font-size: 14.5px; }
.cf-flow__node small { font-size: 12.5px; color: var(--c-muted); }
.cf-flow__line { position: relative; height: 3px; border-radius: 3px; background: var(--c-raised); overflow: hidden; margin-bottom: 40px; }
.cf-flow__line i { position: absolute; inset: 0; width: 40%; border-radius: inherit; background: var(--c-amber); animation: cf-flow 2.2s ease-in-out infinite; }
.cf-flow__line:nth-of-type(4) i { animation-delay: 1.1s; background: var(--c-green); }
.cf-escrow__problem { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: rgba(198, 178, 255, .08); }
.cf-escrow__problem .material-symbols-rounded { font-size: 26px; color: var(--c-lilac); flex: none; }
.cf-escrow__problem p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--c-muted); }
.cf-escrow__problem strong { color: #fff; }

/* Recursos */
.cf-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cf-feature { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 22px; background: var(--c-surface); transition: transform .2s ease, background .2s ease; }
.cf-feature:hover { transform: translateY(-3px); background: #1e1832; }
.cf-feature .material-symbols-rounded { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--c-raised); color: var(--c-lilac); font-size: 24px; margin-bottom: 6px; }
.cf-feature h3 { margin: 0; font-size: 17px; font-weight: 800; }
.cf-feature p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--c-muted); }

/* Preços */
.cf-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-price { display: grid; align-content: start; gap: 6px; padding: 26px; border-radius: 24px; background: var(--c-surface); }
.cf-price__who { font-size: 14px; font-weight: 700; color: var(--c-lilac); }
.cf-price__big { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--c-amber); }
.cf-price p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--c-muted); }

/* Perguntas */
.cf-faq { display: grid; gap: 10px; max-width: 820px; }
.cf-faq details { border-radius: 18px; background: var(--c-surface); overflow: hidden; }
.cf-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 16.5px; font-weight: 700; cursor: pointer; list-style: none; }
.cf-faq summary::-webkit-details-marker { display: none; }
.cf-faq summary .material-symbols-rounded { color: var(--c-muted); transition: transform .25s ease; flex: none; }
.cf-faq details[open] summary .material-symbols-rounded { transform: rotate(180deg); }
.cf-faq details[open] p { animation: cf-rise .3s ease both; }
.cf-faq p { margin: 0; padding: 0 20px 20px; font-size: 15.5px; line-height: 1.6; color: var(--c-muted); }
.cf-faq a { color: var(--c-lilac); }
.cf-faq summary:focus-visible { outline: 2px solid var(--c-lilac); outline-offset: -2px; border-radius: 18px; }

/* Chamada final */
.cf-final { margin-top: 80px; padding: 48px 24px; border-radius: 28px; background: var(--c-brand); text-align: center; }
.cf-final h2 { margin: 0; font-size: clamp(28px, 4.5vw, 42px); font-weight: 800; letter-spacing: -.025em; }
.cf-final p { margin: 10px 0 0; font-size: 17px; color: rgba(255, 255, 255, .8); }
.cf-final .cf-hero__actions { justify-content: center; }
.cf-final .cf-btn--ghost { background: rgba(255, 255, 255, .14); }
.cf-final .cf-btn--ghost:hover { background: rgba(255, 255, 255, .22); }

/* Rodapé */
.cf-footer { max-width: 1120px; margin: 0 auto; padding: 48px 20px calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); }
.cf-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.cf-footer__brand p { margin: 12px 0 0; max-width: 280px; font-size: 14.5px; line-height: 1.5; color: var(--c-muted); }
.cf-footer nav { display: grid; align-content: start; gap: 10px; }
.cf-footer nav strong { font-size: 14px; margin-bottom: 4px; }
.cf-footer nav a { font-size: 14.5px; color: var(--c-muted); text-decoration: none; }
.cf-footer nav a:hover { color: #fff; }
.cf-footer__copy { margin: 32px 0 0; font-size: 13px; color: #8b8499; }

/* Entradas ao rolar */
.cf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.cf-reveal.is-in { opacity: 1; transform: none; }

.cf a:focus-visible, .cf-footer a:focus-visible { outline: 2px solid var(--c-lilac); outline-offset: 3px; border-radius: 10px; }

@keyframes cf-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cf-tick { 40% { transform: scale(1.015); } }
@keyframes cf-flow { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

@media (max-width: 960px) {
    .cf-hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-top: 32px; }
    .cf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cf-escrow { grid-template-columns: 1fr; }
    .cf-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cf-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .cf { padding: 0 16px 32px; }
    .cf-lead { font-size: 16.5px; }
    .cf-hero__actions .cf-btn { flex: 1 1 100%; }
    .cf-section { padding-top: 56px; }
    .cf-switch { width: 100%; }
    .cf-switch__btn { padding: 0 8px; font-size: 14px; }
    .cf-steps, .cf-features, .cf-prices { grid-template-columns: 1fr; }
    .cf-flow { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
    .cf-flow__line { width: 3px; height: 26px; margin: 0; }
    .cf-flow__line i { width: 100%; height: 40%; animation-name: cf-flow-v; }
    .cf-final { margin-top: 56px; padding: 36px 18px; }
    .cf-footer__grid { grid-template-columns: 1fr; }
    .cf-demo__bubble--a { left: 4px; }
}
@keyframes cf-flow-v { 0% { transform: translateY(-110%); } 100% { transform: translateY(260%); } }
@media (prefers-reduced-motion: reduce) {
    .cf *, .cf { animation: none !important; transition: none !important; }
    .cf-reveal { opacity: 1; transform: none; }
}
/* Passos ilustrados (cena por passo, na paleta roxo e âmbar) */
.cf-step__art { display: block; margin: -6px -6px 4px; padding: 10px 6px 0; border-radius: 16px; background: var(--c-raised); }
.cf-step__svg { display: block; width: 100%; height: auto; max-height: 160px; }
.cf-step__n { z-index: 1; top: 14px; right: 16px; font-size: 15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-amber, #FCBA04); color: #1a1426; }
