/* Prova social e demonstração: barra de números, depoimentos e modal de demo */

/* ---------- Modal de demonstração ---------- */
.demo-modal { width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--bg); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7); overflow: auto; }
.demo-modal::backdrop { background: rgba(5, 7, 12, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.demo-modal[open] { animation: fadeUp .35s var(--ease) both; }
.demo-modal-head { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.demo-modal-head > div:first-child { margin-right: auto; }
.demo-modal-switch { display: flex; gap: .4rem; }
.demo-modal-switch button { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem .35rem .4rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: .85rem; font-weight: 600; }
.demo-modal-switch button[aria-pressed="true"] { color: var(--text); border-color: var(--p-accent); background: var(--surface); }
.demo-modal-body { padding: 1.25rem; }
.demo-modal-body .mock { box-shadow: var(--shadow); }
.demo-modal-body .demo-panel { min-height: 340px; }
.demo-modal-body video { width: 100%; height: auto; border-radius: var(--radius-lg); background: #000; }
.demo-modal-foot { padding: 0 1.25rem 1.25rem; }
.demo-caption-live { min-height: 3em; color: var(--text); font-size: 1.02rem; margin-bottom: .75rem; max-width: 70ch; }
.demo-controls { display: flex; align-items: center; gap: .9rem; }
.demo-progress { flex: 1; height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.demo-progress span { display: block; height: 100%; width: 0; background: var(--grad-brand); }
.demo-modal .when-paused { display: none; }
.demo-modal:not(.is-playing) .when-playing { display: none; }
.demo-modal:not(.is-playing) .when-paused { display: inline; }
@media (max-width: 575.98px) {
    .demo-controls .btn-gc { display: none; }
    .demo-modal-switch { order: 3; width: 100%; }
}

/* ---------- Barra de números ---------- */
.stats-bar { border-block: 1px solid var(--border); background: var(--bg-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; }
.stats > div { padding: 1.75rem 1.5rem; border-left: 1px solid var(--border); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: .35rem 0 0; color: var(--text-muted); font-size: .9rem; }

/* ---------- Depoimentos ---------- */
.testimonial { height: 100%; margin: 0; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; }
.testimonial blockquote { font-size: 1.02rem; line-height: 1.6; margin: 0 0 1.5rem; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption strong { display: block; font-size: .95rem; }
.testimonial figcaption small { color: var(--text-muted); font-size: .8rem; }
.testimonial-product { margin-left: auto; }

/* ---------- Rodapé: dados da empresa ---------- */
.footer-company { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .85rem; color: var(--text-muted); margin-top: 1rem; }
.footer-company span { display: inline-flex; align-items: center; gap: .4rem; }
