/*! Sistemas TECINFOSP (1.0.0) - focus-mode home that sells the systems. Red, gray and white.
 * Colors come from the theme variables (--mr-*); --sys = color of each system. */

.stc { --stc-accent: var(--mr-brass, #e10600); --stc-accent-2: var(--mr-brass-600, #b80500); --stc-on-accent: var(--mr-on-accent, #fff);
       --stc-card: var(--mr-card, #fff); --stc-line: var(--mr-card-line, #e3e3e3); --stc-head: var(--mr-card-heading, #141414);
       --stc-text: var(--mr-card-text, #5f6368); --stc-paper: var(--mr-paper, #fff); --stc-mist: var(--mr-mist, #f3f3f3); --stc-sale: var(--mr-sale, #e10600);
       overflow-x: clip; background: var(--stc-paper); }

/* main buttons: red with white text; secondary: gray outline (the parent paints .btn-primary black) */
html[class*="msp-theme-meridian"] .mr-scope.stc .btn-primary, .stc-sticky .btn-primary { background: var(--stc-accent, #e10600) !important; border-color: var(--stc-accent, #e10600) !important; color: #fff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc .btn-primary:hover, .stc-sticky .btn-primary:hover { background: var(--stc-accent-2, #b80500) !important; border-color: var(--stc-accent-2, #b80500) !important; color: #fff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc .btn-outline-primary { background: #fff !important; border-color: #c7c7c7 !important; color: #3c3c3c !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc .btn-outline-primary:hover { background: var(--stc-mist) !important; border-color: #8a8a8a !important; color: #141414 !important; }
.stc .stc-brand { font-size: .78rem; font-weight: 800; letter-spacing: .2em; color: var(--stc-accent) !important; margin: 0 0 .7rem; }
.stc .stc-brand sup { font-size: .6em; letter-spacing: 0; }
.stc .stc-h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: var(--stc-head) !important; margin: 0 0 1.1rem; }
.stc .stc-h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: var(--stc-head) !important; margin: .4rem 0 1rem; max-width: 760px; }
.stc .stc-hl { color: var(--stc-accent) !important; display: block; }
.stc .stc-muted, .stc .stc-calc-note, .stc .stc-mock-note { color: var(--stc-text) !important; opacity: .8; }
.stc .stc-dot { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--sys, var(--stc-accent)); color: #fff; font-weight: 800; font-size: .95rem; flex: none; }

/* 1. faixa da campanha (abaixo da navbar fixa) */
.stc-bar { position: relative; z-index: 3; margin-top: 72px; background: var(--stc-accent); color: var(--stc-on-accent); }
.stc-bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.2rem; padding-block: .6rem; font-weight: 700; }
.stc .stc-bar-tag { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--stc-on-accent) !important; background: rgba(255,255,255,.18); padding: .2rem .55rem; border-radius: 4px; }
.stc .stc-bar-txt { font-size: .95rem; color: var(--stc-on-accent) !important; }
.stc-count { display: inline-flex; gap: .35rem; }
.stc-count > span { display: grid; justify-items: center; min-width: 3rem; padding: .2rem .4rem; border-radius: 6px; background: #fff; color: var(--stc-accent); line-height: 1; }
.stc .stc-count b { font-size: 1.15rem; font-variant-numeric: tabular-nums; color: var(--stc-accent) !important; }
.stc .stc-count small { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; color: var(--stc-accent) !important; opacity: .85; }

/* 2. hero */
.stc-hero { position: relative; padding: calc(72px + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  background: radial-gradient(900px 480px at 85% 10%, color-mix(in srgb, var(--sys) 22%, transparent), transparent 65%),
              radial-gradient(800px 420px at 0% 100%, color-mix(in srgb, var(--stc-accent) 7%, transparent), transparent 60%), var(--stc-mist);
  border-bottom: 1px solid var(--stc-line); }
.stc-hero.has-bar { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.stc .stc-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: .04em; color: var(--stc-head) !important; margin-bottom: 1.2rem; }
.stc .stc-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; color: var(--stc-text) !important; max-width: 600px; }
.stc-ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .45rem; }
.stc .stc-ticks li { display: flex; gap: .55rem; align-items: center; color: var(--stc-head) !important; font-weight: 600; }
.stc .stc-ticks svg, .stc .stc-plan-list svg { color: var(--stc-accent); flex: none; }
.stc-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.stc .stc-cta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; box-shadow: 0 10px 24px color-mix(in srgb, var(--stc-accent) 22%, transparent); }
.stc .stc-cta:hover { transform: translateY(-1px); }
.stc .stc-sub { margin-top: 1rem; color: var(--stc-text) !important; }
.stc .stc-sub a { color: var(--stc-accent-2) !important; font-weight: 700; }

.stc-mock { background: var(--stc-card); border: 1px solid var(--stc-line); border-radius: 16px; padding: 1rem 1.1rem 1.2rem; box-shadow: 0 24px 60px rgba(20,20,20,.12); border-top: 3px solid var(--sys); }
.stc-mock-top { display: flex; align-items: center; gap: .35rem; margin-bottom: 1rem; }
.stc-mock-top span { width: .6rem; height: .6rem; border-radius: 50%; background: #d6d6d6; }
.stc .stc-mock-top em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--stc-head) !important; font-size: .9rem; }
.stc-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .9rem; }
.stc-mock-kpis > div { background: color-mix(in srgb, var(--sys) 14%, transparent); border-radius: 10px; padding: .6rem .7rem; }
.stc .stc-mock-kpis small { display: block; font-size: .7rem; color: var(--stc-text) !important; }
.stc .stc-mock-kpis b { font-size: 1.4rem; color: var(--stc-head) !important; }
.stc .stc-mock-row { display: flex; align-items: center; gap: .55rem; padding: .6rem .2rem; border-top: 1px solid var(--stc-line); font-size: .88rem; color: var(--stc-text) !important; }
.stc-mock-row span { width: .55rem; height: .55rem; border-radius: 50%; flex: none; }
.stc-mock-row .ok { background: #22c55e; } .stc-mock-row .warn { background: #9a9a9a; } .stc-mock-row .new { background: var(--sys); }
.stc .stc-mock-row i { margin-left: auto; font-style: normal; font-size: .75rem; color: var(--stc-head) !important; }
.stc .stc-mock-note { font-size: .72rem; margin: .6rem 0 0; text-align: right; }

/* 3. calculadora */
.stc-calc { background: var(--stc-mist); }
.stc-calc-box { box-shadow: 0 18px 40px rgba(20,20,20,.07); background: var(--stc-card); border: 1px solid var(--stc-line); border-radius: 16px; padding: clamp(1.1rem, 3vw, 1.8rem); }
.stc .stc-calc-box .form-label { color: var(--stc-head) !important; font-weight: 600; font-size: .9rem; }
.stc .stc-calc-box .form-control, .stc .stc-lead-box .form-control { background: #fff; border-color: var(--stc-line); color: var(--stc-head); }
.stc .stc-calc-box .form-control:focus, .stc .stc-lead-box .form-control:focus { border-color: var(--stc-accent); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--stc-accent) 25%, transparent); }
.stc-calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1.2rem 0 .6rem; }
.stc-calc-out > div { border: 1px solid var(--stc-line); border-radius: 12px; padding: .8rem; }
.stc .stc-calc-out small { display: block; font-size: .78rem; color: var(--stc-text) !important; }
.stc .stc-calc-out b { display: block; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--stc-sale) !important; font-variant-numeric: tabular-nums; }
.stc .stc-calc-out .is-gain { border-color: var(--stc-accent); background: color-mix(in srgb, var(--stc-accent) 10%, transparent); }
.stc .stc-calc-out .is-gain b { color: var(--stc-accent) !important; }
.stc .stc-calc-note { font-size: .78rem; margin-bottom: 1rem; }

/* 4. planos */
.stc .stc-plans-offer { display: inline-block; background: var(--stc-sale); color: #fff !important; font-weight: 800; padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem; }
.stc-plan { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--stc-card); border: 1px solid var(--stc-line); border-radius: 16px; padding: 1.6rem 1.4rem; }
.stc-plan.is-featured { border: 2px solid var(--stc-accent); box-shadow: 0 20px 50px color-mix(in srgb, var(--stc-accent) 14%, transparent); }
.stc .stc-plan-tag { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); background: var(--stc-accent); color: var(--stc-on-accent) !important; font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.stc .stc-plan-name { font-size: 1.15rem; font-weight: 800; color: var(--stc-head) !important; margin: 0 0 .3rem; }
.stc .stc-plan-price { font-size: 2rem; font-weight: 800; color: var(--stc-head) !important; margin: 0 0 1rem; }
.stc-plan-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; flex: 1; align-content: start; }
.stc .stc-plan-list li { display: flex; gap: .5rem; align-items: flex-start; color: var(--stc-text) !important; font-size: .93rem; }
.stc-plan-pay { display: grid; gap: .5rem; }

/* 5. demais sistemas */
.stc-sys { height: 100%; display: flex; flex-direction: column; gap: .5rem; background: var(--stc-card); border: 1px solid var(--stc-line); border-top: 3px solid var(--sys); border-radius: 14px; padding: 1.3rem; }
.stc .stc-sys h3 { font-size: 1.15rem; font-weight: 800; color: var(--stc-head) !important; margin: .3rem 0 0; }
.stc .stc-sys p { font-size: .9rem; color: var(--stc-text) !important; margin: 0; flex: 1; }
.stc .stc-sys .stc-sys-price { flex: none; font-weight: 800; color: var(--stc-head) !important; }

/* 6. passos, depoimentos, faq */
.stc-step { height: 100%; background: var(--stc-card); border: 1px solid var(--stc-line); border-radius: 14px; padding: 1.4rem; }
.stc .stc-step b { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--stc-accent); color: var(--stc-on-accent) !important; font-weight: 800; margin-bottom: .8rem; }
.stc .stc-step h3 { font-size: 1.1rem; font-weight: 800; color: var(--stc-head) !important; }
.stc .stc-step p { color: var(--stc-text) !important; margin: 0; }
.stc-quote { height: 100%; margin: 0; background: var(--stc-card); border: 1px solid var(--stc-line); border-radius: 14px; padding: 1.4rem; }
.stc .stc-quote blockquote { color: var(--stc-head) !important; font-size: 1rem; line-height: 1.6; margin: 0 0 1rem; }
.stc .stc-quote figcaption { color: var(--stc-text) !important; font-size: .88rem; }
.stc .accordion-button:not(.collapsed) { color: var(--stc-accent) !important; box-shadow: none; }

/* 7. captura */
.stc-lead-sec { background: var(--stc-mist); }
.stc-lead-box { text-align: center; background: linear-gradient(135deg, color-mix(in srgb, var(--stc-accent) 6%, #fff), #fff); border: 1px solid var(--stc-accent); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.6rem); }
.stc-lead-box .stc-h2 { margin-inline: auto; }

/* o tema pai pinta todo <p> de cinza com !important: estes vencem pela especificidade */
html[class*="msp-theme-meridian"] .mr-scope.stc p.stc-plan-price, html[class*="msp-theme-meridian"] .mr-scope.stc p.stc-sys-price, html[class*="msp-theme-meridian"] .mr-scope.stc p.stc-eyebrow { color: var(--stc-head) !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc p.stc-plans-offer { color: #fff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc p.stc-lead, html[class*="msp-theme-meridian"] .mr-scope.stc p.stc-sub { color: var(--stc-text) !important; }
.stc .stc-lead-box .btn { white-space: nowrap; }

/* botão fixo no celular */
.stc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); border-top: 1px solid #e3e3e3; backdrop-filter: blur(6px); --stc-accent: var(--mr-brass, #e10600); --stc-accent-2: var(--mr-brass-600, #b80500); }
.stc-sticky .btn { font-weight: 800; }
@media (max-width: 991.98px) {
  body:has(.stc-sticky) { padding-bottom: 4.2rem; }
  .stc-bar { margin-top: 64px; }
  .stc-hero:not(.has-bar) { padding-top: calc(64px + 2rem); }
}
@media (max-width: 575.98px) {
  .stc-calc-out { grid-template-columns: 1fr; }
  .stc-count > span { min-width: 2.6rem; }
  .stc .stc-bar-txt { flex-basis: 100%; text-align: center; font-size: .85rem; }
  .stc-actions .btn { width: 100%; justify-content: center; }
  .stc-mock-kpis b { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .stc .stc-cta:hover { transform: none; } }
.stc .accordion-item { border-color: var(--stc-line); }
.stc .accordion-button:focus { box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--stc-accent) 20%, transparent); }
.stc .accordion-button:not(.collapsed) { background: color-mix(in srgb, var(--stc-accent) 5%, #fff); }
.stc .accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e10600'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }
.stc .stc-faq { background: var(--stc-mist); }

/* 1.1.0: alternating sections - every second section is black (counts only the sections that are shown) */
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) {
  --stc-card: #1c1c1c; --stc-line: rgba(255,255,255,.12); --stc-head: #ffffff; --stc-text: #c4c4c4; --stc-mist: #1c1c1c;
  background: radial-gradient(900px 420px at 50% -10%, color-mix(in srgb, var(--stc-accent) 18%, transparent), transparent 60%), linear-gradient(180deg, #141414 0%, #0c0c0c 100%) !important;
  color: #fff; border-color: transparent;
}
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(odd):not(.stc-hero) { background: #ffffff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) :is(h2, h3, .stc-h2, strong, blockquote, label, .form-label) { color: #fff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) :is(p, .lead, li, small, figcaption, .accordion-body) { color: #c4c4c4 !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) .mr-kicker { color: #ff6b63 !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) p.stc-sys-price { color: #fff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) p.stc-plans-offer { color: #fff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) .btn-link-arrow { color: #ff6b63 !important; }
.stc > section:nth-of-type(even) .form-control { background: #0f0f0f !important; border-color: rgba(255,255,255,.18) !important; color: #fff !important; }
.stc > section:nth-of-type(even) .form-control::placeholder { color: #8a8a8a; }
.stc > section:nth-of-type(even) .stc-calc-out b { color: #ff6b63 !important; }
.stc > section:nth-of-type(even) .stc-calc-out .is-gain { background: rgba(225,6,0,.16); }
.stc > section:nth-of-type(even) .stc-lead-box { background: linear-gradient(135deg, rgba(225,6,0,.14), #1c1c1c); }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) .accordion-item { background: #1c1c1c !important; border-color: rgba(255,255,255,.12) !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) .accordion-button { background: #1c1c1c !important; color: #fff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section:nth-of-type(even) .accordion-button:not(.collapsed) { background: #2a1414 !important; color: #ff6b63 !important; }
.stc > section:nth-of-type(even) .accordion-button.collapsed::after { filter: invert(1); }
.stc > section:nth-of-type(even) .stc-calc-box, .stc > section:nth-of-type(even) .stc-sys,
.stc > section:nth-of-type(even) .stc-step, .stc > section:nth-of-type(even) .stc-quote { box-shadow: none; }

/* 1.1.2: contact section always dark gray (wins over the alternating black/white rule) */
html[class*="msp-theme-meridian"] .mr-scope.stc > section#contact {
  --stc-card: #1f1f1f; --stc-line: rgba(255,255,255,.14); --stc-head: #ffffff; --stc-text: #c4c4c4; --stc-mist: #2b2b2b;
  background: #2b2b2b !important; color: #fff; border-top: 1px solid #3a3a3a;
}
html[class*="msp-theme-meridian"] .mr-scope.stc > section#contact :is(h2, h3, .stc-h2, strong, label) { color: #ffffff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section#contact :is(p, .lead, small) { color: #c4c4c4 !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section#contact .stc-lead-box { background: #1f1f1f !important; border-color: var(--stc-accent); box-shadow: 0 20px 44px rgba(0,0,0,.35); }
html[class*="msp-theme-meridian"] .mr-scope.stc > section#contact .form-control { background: #141414 !important; border-color: rgba(255,255,255,.18) !important; color: #fff !important; }
html[class*="msp-theme-meridian"] .mr-scope.stc > section#contact .form-control::placeholder { color: #8a8a8a; }

/* 1.3.0: "Sobre nós" (page list) - same cards as the user panel: one card, centered button at the bottom */
html[class*="msp-theme-meridian"] section.stc-pages { padding-top: 150px !important; padding-bottom: 5rem !important; background: radial-gradient(900px 420px at 50% -10%, rgba(225,6,0,.16), transparent 60%), linear-gradient(180deg, #141414 0%, #0c0c0c 100%) !important; }
html[class*="msp-theme-meridian"] section.stc-pages .mbr-overlay { display: none !important; }
html[class*="msp-theme-meridian"] .stc-pages .stc-pages-card {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 1.6rem 1.4rem 1.4rem !important; text-align: center !important;
}
html[class*="msp-theme-meridian"] .stc-pages .stc-pages-card .card-title { margin-bottom: .6rem !important; }
html[class*="msp-theme-meridian"] .stc-pages .stc-pages-card .card-text { flex: 1 1 auto; margin: 0 0 1.2rem !important; }
html[class*="msp-theme-meridian"] .stc-pages .stc-pages-card .mbr-section-btn { width: 100%; display: flex; justify-content: center; margin-top: auto; }
html[class*="msp-theme-meridian"] .stc-pages .stc-pages-card .mbr-section-btn .btn { margin: 0 auto !important; }
html[class*="msp-theme-meridian"] .stc-pages .breadcrumb { justify-content: center; }

/* 1.3.0: inner pages opened from "Sobre nós" - dark background, no card border or shadow */
html[class*="msp-theme-meridian"] section.stc-page-dark {
  background: radial-gradient(900px 420px at 50% -10%, rgba(225,6,0,.14), transparent 60%), linear-gradient(180deg, #141414 0%, #0c0c0c 100%) !important;
  padding-top: 90px; padding-bottom: 5rem;
}
html[class*="msp-theme-meridian"] .stc-page-dark .features-image .item-wrapper,
html[class*="msp-theme-meridian"] .stc-page-dark .features4,
html[class*="msp-theme-meridian"] .stc-page-dark .item-content {
  background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
}
html[class*="msp-theme-meridian"] .stc-page-dark .features-image .item-wrapper :is(h1, h2, h3, h4, h5, h6, .item-title, strong, b) { color: #ffffff !important; }
html[class*="msp-theme-meridian"] .stc-page-dark .features-image .item-wrapper :is(p, li, span, td, th, .mbr-text, .display-7, div):not(.btn) { color: #d0d0d0 !important; }
html[class*="msp-theme-meridian"] .stc-page-dark .features-image .item-wrapper a:not(.btn) { color: #ff6b63 !important; text-decoration-color: #ff6b63; }
html[class*="msp-theme-meridian"] .stc-page-dark .features-image .item-wrapper :is(hr, table, td, th) { border-color: rgba(255,255,255,.15) !important; }
html[class*="msp-theme-meridian"] .stc-page-dark .breadcrumb-item.active { color: #9a9a9a !important; }
html[class*="msp-theme-meridian"] .stc-page-dark .item-footer .btn {
  background: transparent !important; border: 1px solid rgba(255,255,255,.4) !important; color: #fff !important; margin: .25rem !important; border-radius: 4px !important;
}
html[class*="msp-theme-meridian"] .stc-page-dark .item-footer .btn:hover { background: #e10600 !important; border-color: #e10600 !important; }
html[class*="msp-theme-meridian"] .stc-pages .mbr-section-head, html[class*="msp-theme-meridian"] .stc-pages .mbr-section-head h1 { text-align: center !important; }
