/* Páginas de venda (/, /recursos, /segmentos, /planos, /demonstracao). Usa as cores do tema (theme.css). */
.st { --st-max: 1120px; --st-navy: #1b2340; --st-navy-2: #283157; min-height: 100dvh; background: var(--wc-bg); color: var(--wc-text); font-family: var(--wc-font); }
.st * { box-sizing: border-box; }
.st a { color: inherit; }
.st-wrap { max-width: var(--st-max); margin: 0 auto; padding: 0 20px; }

/* Topo */
.st-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--wc-top) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--wc-border); }
.st-top .st-wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.st-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; }
.st-nav { display: flex; gap: 4px; flex: 1; }
.st-nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--wc-muted); font-weight: 500; }
.st-nav a:hover, .st-nav a.active { color: var(--wc-text); background: var(--wc-hover); }
.st-actions { display: flex; gap: 8px; align-items: center; }

/* Botões */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.st a.st-btn-primary, .st-btn-primary { background: var(--wc-primary); color: var(--wc-on-primary); }
.st-btn-primary:hover { background: var(--wc-primary-hover); }
.st a.st-btn-ghost, .st-btn-ghost { background: transparent; color: var(--wc-text); border-color: var(--wc-border); }
.st-btn-ghost:hover { background: var(--wc-hover); }
.st a.st-btn-light, .st-btn-light { background: #fff; color: #1b2340; }
.st a.st-btn-outline-light, .st-btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.st-btn-sm { padding: 8px 14px; font-size: 14px; }

/* Herói (azul-marinho nos dois temas) */
.st-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(220,38,38,.35), transparent 60%), linear-gradient(160deg, var(--st-navy), #121831); color: #fff; padding: 72px 0 0; overflow: hidden; }
.st-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; max-width: 820px; }
.st-hero p.st-sub { font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: #c9cfe0; max-width: 680px; margin: 0 0 28px; }
.st-hero .st-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.st-hero .st-note { font-size: 13px; color: #9aa3c0; margin-bottom: 48px; }
.st-hero .st-shot { margin-bottom: -2px; border-radius: 14px 14px 0 0; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
.st-pill { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; margin-bottom: 20px; }
.st-hero-small { padding: 56px 0 56px; }
.st-hero-small h1 { font-size: clamp(30px, 4.4vw, 46px); }
.st-hero-small p.st-sub { margin-bottom: 0; }

/* Print do sistema: corta a faixa de topo antiga dos prints */
.st-shot { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--wc-border); box-shadow: 0 24px 60px rgba(15,18,25,.25); background: #fff; aspect-ratio: 2000 / 1178; }
.st-shot img { display: block; width: 100%; height: auto; margin-top: -3.6%; }

/* Seções */
.st-section { padding: 80px 0; }
.st-section.alt { background: var(--wc-card); border-top: 1px solid var(--wc-border); border-bottom: 1px solid var(--wc-border); }
.st-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wc-primary-text); margin-bottom: 10px; }
.st-h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.st-lead { font-size: 18px; line-height: 1.6; color: var(--wc-muted); margin: 0 0 36px; max-width: 720px; }
.st-center { text-align: center; }
.st-center .st-lead { margin-left: auto; margin-right: auto; }

.st-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.st-card { background: var(--wc-card); border: 1px solid var(--wc-border); border-radius: 14px; padding: 24px; }
.st-section.alt .st-card { background: var(--wc-bg); }
.st-card h3 { font-size: 18px; margin: 10px 0 8px; }
.st-card p { margin: 0; color: var(--wc-muted); line-height: 1.6; font-size: 15px; }
.st-icon { font-size: 26px; line-height: 1; }
a.st-card { text-decoration: none; display: block; transition: transform .15s, border-color .15s; }
a.st-card:hover { transform: translateY(-2px); border-color: var(--wc-primary); }
.st-more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--wc-primary-text); }

/* Dor x solução */
.st-pain .st-today { font-size: 14px; color: var(--wc-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--wc-danger) 60%, transparent); margin: 0 0 10px; }
.st-pain .st-with { font-size: 15px; line-height: 1.55; margin: 0; color: var(--wc-text); }
.st-pain .st-with b { color: var(--wc-success); }

/* Canais */
.st-channels { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.st-channel { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--wc-card); border: 1px solid var(--wc-border); font-weight: 600; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; }

/* Recurso com print ao lado */
.st-feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.st-feature.reverse > :first-child { order: 2; }
.st-feature.noshot { grid-template-columns: 1fr 1fr; }
.st-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.st-list li { position: relative; padding-left: 28px; line-height: 1.55; font-size: 15px; }
.st-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--wc-success-soft); color: var(--wc-success); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.st-tag { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--wc-primary-soft); color: var(--wc-primary-text); font-weight: 600; }

/* Celular com conversa de bot (sem print) */
.st-phone { max-width: 340px; margin: 0 auto; background: var(--wc-chat-bg); border: 8px solid var(--st-navy); border-radius: 32px; padding: 18px 14px; box-shadow: 0 24px 60px rgba(15,18,25,.25); display: flex; flex-direction: column; gap: 10px; }
.st-msg { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-line; }
.st-msg.in { background: var(--wc-in-bubble); border: 1px solid var(--wc-border); align-self: flex-start; }
.st-msg.bot { background: var(--wc-bot-bubble); border: 1px solid var(--wc-bot-border); align-self: flex-end; }
.st-msg.out { background: var(--wc-out-bubble); border: 1px solid var(--wc-out-border); align-self: flex-end; }
.st-msg small { display: block; font-size: 11px; color: var(--wc-muted); margin-bottom: 2px; font-weight: 600; }

/* Passos */
.st-steps { counter-reset: st-step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.st-step { counter-increment: st-step; }
.st-step::before { content: counter(st-step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wc-primary); color: var(--wc-on-primary); font-weight: 800; }

/* Chips de segmentos */
.st-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.st-chip { text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--wc-border); background: var(--wc-card); font-weight: 600; font-size: 15px; }
.st-chip:hover { border-color: var(--wc-primary); }

/* Planos */
.st-plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.st-plan { display: flex; flex-direction: column; gap: 14px; }
.st-plan.featured { border: 2px solid var(--wc-primary); position: relative; }
.st-plan .st-badge { position: absolute; top: -12px; left: 24px; background: var(--wc-primary); color: var(--wc-on-primary); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.st-plan h3 { font-size: 22px; margin: 0; letter-spacing: .04em; }
.st-plan .st-agents { font-weight: 700; font-size: 15px; }
.st-plan .st-list { flex: 1; }

/* FAQ */
.st-faq details { border-bottom: 1px solid var(--wc-border); padding: 16px 0; }
.st-faq summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.st-faq p { color: var(--wc-muted); line-height: 1.6; margin: 10px 0 0; }

/* Faixa final */
.st-band { background: linear-gradient(135deg, var(--st-navy), #3a1630); color: #fff; border-radius: 20px; padding: 48px 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.st-band h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.st-band p { margin: 0; color: #c9cfe0; font-size: 16px; }
.st-band .st-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Formulário */
.st-form-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.st-form { display: grid; gap: 14px; }
.st-form .st-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.st-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.st-field input, .st-field select, .st-field textarea { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--wc-border); background: var(--wc-input); color: var(--wc-text); font: inherit; font-size: 15px; }
.st-field input:focus, .st-field select:focus, .st-field textarea:focus { outline: 2px solid color-mix(in srgb, var(--wc-primary) 45%, transparent); border-color: var(--wc-primary); }
.st-field .validation-message { color: var(--wc-danger); font-size: 13px; margin-top: 4px; }
.st-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.st-alert { padding: 14px 16px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.st-alert.ok { background: var(--wc-success-soft); color: var(--wc-success); }
.st-alert.err { background: var(--wc-danger-soft); color: var(--wc-danger); }
.st-small { font-size: 13px; color: var(--wc-muted); line-height: 1.5; }

/* Rodapé */
.st-foot { border-top: 1px solid var(--wc-border); padding: 40px 0; margin-top: 40px; font-size: 14px; color: var(--wc-muted); }
.st-foot .st-wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.st-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.st-foot a { color: var(--wc-muted); text-decoration: none; }
.st-foot a:hover { color: var(--wc-text); }

/* Botão flutuante de WhatsApp */
.st-wa { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); text-decoration: none; }
.st-wa svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
    .st-feature, .st-feature.noshot, .st-form-grid { grid-template-columns: 1fr; gap: 28px; }
    .st-feature.reverse > :first-child { order: 0; }
    .st-section { padding: 56px 0; }
}
@media (max-width: 720px) {
    .st-top .st-wrap { gap: 8px 12px; padding-top: 8px; padding-bottom: 8px; }
    .st-nav { order: 3; flex-basis: 100%; overflow-x: auto; }
    .st-actions { margin-left: auto; }
    .st-actions .st-hide-sm { display: none; }
    .st-hero { padding-top: 48px; }
    .st-form .st-row { grid-template-columns: 1fr; }
    .st-band { padding: 32px 22px; }
    .st-wrap { padding: 0 16px; }
}
/* Com o chat do site no canto, o botão de WhatsApp sobe para não ficar por baixo do balão */
.st-wa.st-wa-up { bottom: 92px; }
