/* Seção de planos (#preco) e faixa de exemplos de cortes antes dela. Home e /clipador nos 3 idiomas.
   Usa os tokens de clipador.css (claro e escuro); não mexe nele: tudo aqui é por cima. */

/* ---- Faixa de exemplos (marquee) ---- */
.cx-strip { padding: 88px 0 8px; overflow: hidden; }
.cx-head { display: grid; justify-items: center; gap: 6px; margin-bottom: 26px; text-align: center; }
.cx-head h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; font-weight: 750; letter-spacing: -.03em; }
.cx-rows { display: grid; gap: 14px; }
.cx-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.cx-row { display: flex; width: max-content; animation: cx-scroll 70s linear infinite; }
.cx-row.is-rev { animation-direction: reverse; animation-duration: 80s; }
.cx-track:hover .cx-row, .cx-track:focus-within .cx-row { animation-play-state: paused; }
.cx-group { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.cx-card { display: flex; align-items: center; gap: 12px; width: 290px; padding: 9px 14px 9px 9px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: 0 14px 30px -26px var(--shadow); }
.cx-card img { flex: none; width: 54px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.cx-txt { display: grid; gap: 6px; min-width: 0; }
.cx-txt b { overflow: hidden; color: var(--ink); font-size: 14.5px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cx-meta { display: flex; align-items: center; gap: 8px; }
.cx-niche { color: var(--muted); font-size: 12.5px; }
.cx-tier { padding: 2px 8px; border-radius: 999px; font: 600 11px/1.5 var(--mono); font-style: normal; color: var(--primary-text); background: var(--primary-soft); }
.cx-tier.is-plus { color: var(--cut); background: color-mix(in srgb, var(--cut) 14%, transparent); }
.cx-tier.is-live { color: #fff; background: #e5484d; }
@keyframes cx-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .cx-row { animation: none; }
  .cx-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: thin; }
  .cx-group[aria-hidden="true"] { display: none; }
  .cx-group { padding-left: 20px; }
}

/* ---- Planos ---- */
.pr .pr-head { justify-items: center; max-width: 720px; margin-inline: auto; text-align: center; }
.pr-switch-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -12px 0 44px; color: var(--ink); font-size: 15px; font-weight: 600; }
.pr-switch-label b { color: var(--primary-text); font-weight: 650; }
.pr-switch { position: relative; flex: none; width: 46px; height: 26px; padding: 0; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface-2); cursor: pointer; transition: background-color .25s ease, border-color .25s ease; }
.pr-knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / 30%); transition: transform .3s var(--ease-spring); }
.pr-switch[aria-checked="true"] { border-color: var(--primary); background: var(--primary); }
.pr-switch[aria-checked="true"] .pr-knob { transform: translateX(20px); }
.pr-confetti { position: fixed; z-index: 120; top: 0; left: 0; width: 7px; height: 9px; border-radius: 2px; pointer-events: none; }

.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; max-width: 1040px; margin: 0 auto; padding-top: 24px; perspective: 1400px; }
.pr-card { --lift: 0px; --shift: 0px; --tilt: 0deg; --scale: 1; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 26px; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface); box-shadow: 0 24px 50px -40px var(--shadow); transform: translateX(var(--shift)) translateY(var(--lift)) rotateY(var(--tilt)) scale(var(--scale)); transform-style: preserve-3d; }
.pr-card.is-first { --shift: 26px; --tilt: 7deg; --scale: .94; z-index: 0; transform-origin: 100% 50%; }
.pr-card.is-last { --shift: -26px; --tilt: -7deg; --scale: .94; z-index: 0; transform-origin: 0 50%; }
.pr-card.is-popular { --lift: -20px; z-index: 1; border: 2px solid var(--primary); padding: 29px 27px 25px; box-shadow: 0 40px 80px -46px color-mix(in srgb, var(--primary) 70%, transparent), 0 24px 50px -40px var(--shadow); }
.pr-badge { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 0 20px 0 14px; color: #fff; background: var(--primary); font-size: 12.5px; font-weight: 700; }
.pr-name { color: var(--muted); font-size: 15px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
.pr-price { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 6px; margin-top: 4px; }
.pr-amount { color: var(--ink); font-size: clamp(34px, 3.2vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-per { color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; }
.pr-billed { margin-top: -6px; color: var(--soft); font-size: 13px; }
.pr-list { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.pr-list li { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.pr-list li::before { content: "✓"; flex: none; color: var(--primary-text); font-weight: 800; }
.pr-list li:first-child { color: var(--ink); font-weight: 600; }
.pr-rule { width: 100%; height: 1px; margin: auto 0 0; border: 0; background: var(--line-strong); }
.pr-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 4px; padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); background: transparent; font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease-out); }
.pr-cta:hover, .pr-cta:focus-visible { border-color: var(--primary); color: #fff; background: var(--primary); }
.pr-cta:active { transform: scale(.98); }
.pr-cta.is-filled { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--primary) 85%, transparent); }
.pr-cta.is-filled:hover { filter: brightness(1.08); }
.pr-desc { color: var(--soft); font-size: 13px; text-align: center; }

.pr-free { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; max-width: 1040px; margin: 34px auto 0; padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: 20px; }
.pr-free-tag { padding: 4px 11px; border-radius: 999px; color: var(--primary-text); background: var(--primary-soft); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pr-free p { flex: 1 1 320px; color: var(--muted); font-size: 14.5px; }
.pr-free .button { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.pr .cost-card { max-width: 1040px; margin-inline: auto; }

/* Entrada: os cartões sobem para a posição final com mola suave quando a seção aparece (pricing.js põe .pr-anim e .is-in). */
@media (prefers-reduced-motion: no-preference) {
  .pr-grid.pr-anim .pr-card { transition: transform 1s var(--ease-spring), opacity .6s ease, border-color .25s ease; transition-delay: calc(var(--i) * 90ms); }
  .pr-grid.pr-anim .pr-card:not(.is-in) { opacity: 0; transform: translateX(0) translateY(48px) rotateY(0deg) scale(.96); }
}

@media (max-width: 900px) {
  .pr-grid { grid-template-columns: 1fr; gap: 20px; max-width: 460px; padding-top: 0; perspective: none; }
  .pr-card, .pr-card.is-first, .pr-card.is-last, .pr-card.is-popular { --lift: 0px; --shift: 0px; --tilt: 0deg; --scale: 1; }
  .pr-card { padding: 26px 22px 22px; }
  .pr-card.is-popular { padding: 25px 21px 21px; }
  .pr-free { max-width: 460px; }
  .pr-switch-row { margin: -14px 0 30px; }
}
@media (max-width: 760px) {
  .cx-strip { padding-top: 64px; }
  .cx-card { width: 250px; }
  .cx-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
}
@media (max-width: 900px) { .pr-grid.pr-anim .pr-card { transition-delay: 0s; } }
