@import url("micro-interactions.css?v=20260815v17");

/* ═════════════════════════════════════════════════════════════
   SANBERNARDA.COM · THEME-BRAND — APLICAÇÃO DOS TEMAS 2026
   Carregado por ÚLTIMO. Tokens vivem em globals.css.

   ESCURO  → canvas plum (#12061A) · laranja blaze · lavanda
   CLARO   → canvas cream (#FBF7F2) · ink plum · mesmo laranja
   ═════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   0 · BASE — os dois temas
   ───────────────────────────────────────────── */
html, body {
  background-color: var(--bg-base) !important;
  color: var(--text-primary) !important;
}

::selection {
  background: var(--dv-orange);
  color: var(--dv-white);
}

/* Toggle claro/escuro (header) */
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 9999px !important;
  flex: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--dv-orange);
  color: var(--dv-orange);
}
.theme-toggle__icon { position: absolute; font-size: 15px; line-height: 1; }
body.dark-theme .theme-toggle__icon--sun { opacity: 1; }
body.dark-theme .theme-toggle__icon--moon { opacity: 0; }
body:not(.dark-theme) .theme-toggle__icon--sun { opacity: 0; }
body:not(.dark-theme) .theme-toggle__icon--moon { opacity: 1; }
/* Logo */
.logo .logo-core { color: var(--dv-orange) !important; }

/* ─────────────────────────────────────────────
   1 · ESCURO — canvas plum coeso
   (a maior parte já flui pelos tokens; aqui só
    o que era preto puro forçado)
   ───────────────────────────────────────────── */
body.dark-theme,
html.cc-force-dark body {
  background-color: var(--dv-plum-950) !important;
}

body.dark-theme .hero-v3,
body.dark-theme .stats-strip,
body.dark-theme .spec,
body.dark-theme .testimonials-sec,
body.dark-theme .compare-sec,
body.dark-theme .techstack-sec,
body.dark-theme .ctaform,
body.dark-theme .marquee-strip,
body.dark-theme .footer,
body.dark-theme .footer.footer--cockpit {
  background: var(--dv-plum-950) !important;
}
html body .cs2 {
  background: var(--dv-plum-950) !important;
}
body.dark-theme .cases,
body.dark-theme .horizontal-scroll-section,
body.dark-theme .pricing-sec,
body.dark-theme .roi-calc-sec,
body.dark-theme .agenda-sec,
body.dark-theme .founder-block,
body.dark-theme .faq-section,
html body.dark-theme .probsol {
  background: var(--dv-plum-900) !important;
}

/* Separador do marquee — visível no escuro */
html.cc-brut body.dark-theme .marquee-track .mq-dot,
body.dark-theme .marquee-track .mq-dot {
  background: var(--dv-plum-600) !important;
}

/* Faixas de status no escuro — texto legível */
html.cc-brut body.dark-theme :is(.spec-status, .chapter-status) :is(span, .cfs-item),
body.dark-theme :is(.spec-status, .chapter-status) :is(span, .cfs-item) {
  color: var(--cc-gray) !important;
}
html.cc-brut body.dark-theme :is(.spec-status, .chapter-status) .cfs-item[class*="__right"],
body.dark-theme :is(.spec-status, .chapter-status) .cfs-item[class*="__right"] {
  color: var(--dv-orange) !important;
  background: transparent !important;
}

/* ─────────────────────────────────────────────
   2 · CLARO — cream + ink plum
   Especificidade alta (html body) para vencer
   os style-blocks inline e a camada brut.
   ───────────────────────────────────────────── */

/* 2.1 Canvases */
html body:not(.dark-theme) .hero-v3,
html body:not(.dark-theme) .stats-strip,
html body:not(.dark-theme) .spec,
html body:not(.dark-theme) .testimonials-sec,
html body:not(.dark-theme) .compare-sec,
html body:not(.dark-theme) .techstack-sec,
html body:not(.dark-theme) .ctaform,
html body:not(.dark-theme) .marquee-strip {
  background: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) .cases,
html body:not(.dark-theme) .horizontal-scroll-section,
html body:not(.dark-theme) .pricing-sec,
html body:not(.dark-theme) .roi-calc-sec,
html body:not(.dark-theme) .agenda-sec,
html body:not(.dark-theme) .founder-block,
html body:not(.dark-theme) .faq-section,
html body:not(.dark-theme) .probsol {
  background: var(--dv-cream-100) !important;
}
html body:not(.dark-theme) .probsol::before { display: none !important; }

/* 2.2 Navegação */
html body:not(.dark-theme) .nav-header:not(.nav-compact) {
  background: rgba(var(--dv-cream-rgb), 0.82) !important;
  backdrop-filter: blur(14px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.1) !important;
  border-bottom: 1px solid var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .nav-header.nav-compact {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* Pill do nav compacto — vira cream translúcido no claro */
html body:not(.dark-theme) .nav-header.nav-compact .container.nav-grid,
html.cc-brut body:not(.dark-theme) .nav-header.nav-compact .container.nav-grid {
  background: rgba(251, 247, 242, 0.88) !important;
  border: 1px solid var(--dv-cream-200) !important;
  box-shadow: 0 12px 32px rgba(26, 11, 36, 0.14) !important;
}
html body:not(.dark-theme) .nav-menu a,
html body:not(.dark-theme) .logo {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .nav-menu a:hover,
html body:not(.dark-theme) .nav-menu a.active {
  color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .mobile-menu {
  background: #FBF7F2 !important;
  background-color: #FBF7F2 !important;
}
html body.dark-theme .mobile-menu,
html.cc-force-dark body .mobile-menu {
  background: #150122 !important;
  background-color: #150122 !important;
}
html body:not(.dark-theme) .mobile-menu__nav a,
html body:not(.dark-theme) .mobile-menu__link {
  color: #1E0430 !important;
  -webkit-text-fill-color: #1E0430 !important;
}
html body.dark-theme .mobile-menu__nav a,
html body.dark-theme .mobile-menu__link {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
html body .mobile-menu__nav a:hover,
html body .mobile-menu__link:hover {
  color: #FF5C14 !important;
  -webkit-text-fill-color: #FF5C14 !important;
}

/* 2.3 Tipografia de seção */
html body:not(.dark-theme) h1,
html body:not(.dark-theme) h2,
html body:not(.dark-theme) h3,
html body:not(.dark-theme) h4,
html body:not(.dark-theme) .hero-title-v3,
html body:not(.dark-theme) .hero-title-v3 .hero-line,
html body:not(.dark-theme) .sec-head__title,
html body:not(.dark-theme) .spec-header__title,
html body:not(.dark-theme) .proc-header__title,
html body:not(.dark-theme) .cs2-title,
html body:not(.dark-theme) .proof__title,
html body:not(.dark-theme) .signup-strip__title,
html body:not(.dark-theme) .footer-hero__brand {
  color: var(--dv-ink) !important;
  -webkit-text-fill-color: var(--dv-ink) !important;
}
html body:not(.dark-theme) p,
html body:not(.dark-theme) .hero-sub,
html.cc-brut body:not(.dark-theme) :is(.hero-sub, .sec-head__desc, .spec-header__sub,
  .proc-header__sub, .cs2-sub, .proof__desc),
html body:not(.dark-theme) .sec-head__desc,
html body:not(.dark-theme) .spec-header__sub,
html body:not(.dark-theme) .proc-header__sub,
html body:not(.dark-theme) .cs2-sub,
html body:not(.dark-theme) .proof__desc {
  color: var(--text-muted) !important;
}

/* Rede de legibilidade — conteúdo das seções principais no claro */
html.cc-brut body:not(.dark-theme)
  :is(.probsol, .spec, .faq-section, .techstack-sec, .signup-strip)
  :is(p, li, dd, dt) {
  color: var(--text-muted) !important;
}
html.cc-brut body:not(.dark-theme)
  :is(.probsol, .spec, .faq-section, .techstack-sec)
  :is(h3, h4, .psc-name, .sc-name) {
  color: var(--dv-ink) !important;
  -webkit-text-fill-color: var(--dv-ink) !important;
}

/* Método (.proc) — texto plum no blaze (head/status/cards).
   Vault .spec-techstack tem regras próprias (cream no plum). */
html body .proc :is(.psc-head, .chapter-status, .proc-grid) :is(p, li, dd, dt, span),
html.cc-brut body .proc :is(.psc-head, .chapter-status, .proc-grid) :is(p, li, dd, dt, span),
html body .proc .proc-header__sub,
html body .proc .sec-head__desc {
  color: var(--dv-plum-900) !important;
}
html body .proc :is(.psc-head, .proc-grid) :is(h2, h3, h4, .proc-header__title),
html.cc-brut body .proc :is(.psc-head, .proc-grid) :is(h2, h3, h4, .proc-header__title) {
  color: var(--dv-plum-950) !important;
  -webkit-text-fill-color: var(--dv-plum-950) !important;
}
/* Watermark dos steps — nunca herda plum sólido */
html body .proc .proc-step__ghost,
html.cc-brut body .proc .proc-step__ghost {
  color: rgba(22, 8, 31, 0.06) !important;
  -webkit-text-fill-color: rgba(22, 8, 31, 0.06) !important;
}
/* Vault da stack dentro do método — cream legível nos dois temas */
html body .proc .spec-techstack .techstack-title,
html.cc-brut body .proc .spec-techstack .techstack-title {
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}
html body .proc .spec-techstack .techstack-intro,
html.cc-brut body .proc .spec-techstack .techstack-intro {
  color: rgba(251, 247, 242, 0.68) !important;
  -webkit-text-fill-color: rgba(251, 247, 242, 0.68) !important;
}
html body .proc .spec-techstack .techstack-kicker,
html.cc-brut body .proc .spec-techstack .techstack-kicker {
  color: var(--dv-orange) !important;
  -webkit-text-fill-color: var(--dv-orange) !important;
}
html body .proc .spec-techstack .techstack-row__cat,
html.cc-brut body .proc .spec-techstack .techstack-row__cat {
  color: rgba(251, 247, 242, 0.55) !important;
  -webkit-text-fill-color: rgba(251, 247, 242, 0.55) !important;
}
html body .proc .spec-techstack .ts-chip__name,
html.cc-brut body .proc .spec-techstack .ts-chip__name {
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) .sec-head__label,
html body:not(.dark-theme) .spec-header__label,
html body:not(.dark-theme) .proc-header__label,
html body:not(.dark-theme) .proof__label,
html body:not(.dark-theme) .cs2-kicker {
  color: var(--dv-orange) !important;
}

/* Bloco accent do hero — laranja com texto cream */
html body:not(.dark-theme) .hero-title-v3 .hero-line.accent,
html body:not(.dark-theme) .hero-title-v3 .accent {
  background: var(--dv-orange) !important;
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}

/* 2.3b Cases (.cs2) — dossiê permanece plum no claro (bloco de marca),
   texto vira cream; precisa vir DEPOIS das regras de ink acima */
html body:not(.dark-theme) .cs2 {
  background: var(--dv-plum-950) !important;
}
html body:not(.dark-theme) .cs2 .cs2-title,
html body:not(.dark-theme) .cs2 h2,
html body:not(.dark-theme) .cs2 h3 {
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) .cs2 p,
html body:not(.dark-theme) .cs2 .cs2-sub,
html.cc-brut body:not(.dark-theme) .cs2 :is(p, li, dd, dt) {
  color: #C9B8DC !important;
}
html body:not(.dark-theme) .cs2 .cs2-kicker { color: var(--dv-lavender) !important; }

/* Prova (.proof) — também permanece bloco escuro de marca no claro */
html body:not(.dark-theme) .proof .proof__title,
html body:not(.dark-theme) .proof h2,
html body:not(.dark-theme) .proof h3 {
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) .proof p,
html body:not(.dark-theme) .proof .proof__desc,
html.cc-brut body:not(.dark-theme) .proof :is(p, li, dd, dt) {
  color: #C9B8DC !important;
}
html body:not(.dark-theme) .proof .proof__label { color: var(--dv-lavender) !important; }
/* …mas dentro dos cards cream da prova, texto volta a ser ink */
html body:not(.dark-theme) .proof :is(.proof__quote, .proof__stat, .test-card) :is(p, span, cite, li),
html.cc-brut body:not(.dark-theme) .proof :is(.proof__quote, .proof__stat, .test-card) :is(p, span, cite, li) {
  color: var(--text-muted) !important;
}
html body:not(.dark-theme) .proof :is(.proof__quote, .proof__stat, .test-card) :is(h3, h4, strong, b) {
  color: var(--dv-ink) !important;
  -webkit-text-fill-color: var(--dv-ink) !important;
}
/* hierarquia tipográfica do ledger (vence muted genérico) */
html body:not(.dark-theme) .proof .proof__stat .proof__stat-num,
html.cc-brut body:not(.dark-theme) .proof .proof__stat .proof__stat-num {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .proof .proof__stat .proof__stat-num b,
html.cc-brut body:not(.dark-theme) .proof .proof__stat .proof__stat-num b {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: linear-gradient(115deg, var(--dv-plum-900) 0%, var(--dv-plum-700) 55%, var(--dv-orange) 120%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
html body:not(.dark-theme) .proof .proof__stat :is(.proof__stat-muted, .proof__stat-unit),
html.cc-brut body:not(.dark-theme) .proof .proof__stat :is(.proof__stat-muted, .proof__stat-unit) {
  color: rgba(22, 8, 31, .34) !important;
  -webkit-text-fill-color: rgba(22, 8, 31, .34) !important;
  background: none !important;
}
html body:not(.dark-theme) .proof .proof__stat .proof__stat-src,
html.cc-brut body:not(.dark-theme) .proof .proof__stat .proof__stat-src {
  color: rgba(22, 8, 31, .48) !important;
}
html body:not(.dark-theme) .proof .proof__stat .proof__stat-label,
html.cc-brut body:not(.dark-theme) .proof .proof__stat .proof__stat-label {
  color: rgba(22, 8, 31, .72) !important;
}

/* 2.4 Cards e superfícies */
html body:not(.dark-theme) :is(
  .spec-card, .spec-card--cockpit, .test-card,
  .pricing-card, .work-card, .blog-card, .industry-card,
  .team-card, .value-card, .svp-dcard, .faq-item, .cs2-card, .cs2-ledger,
  .proof__quote
) {
  background: var(--dv-white) !important;
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .proof .proof__stat,
html.cc-brut body:not(.dark-theme) .proof .proof__stat {
  background: var(--dv-cream-50) !important;
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .proof .proof__stat:hover,
html body:not(.dark-theme) .proof .proof__stat:focus-visible,
html.cc-brut body:not(.dark-theme) .proof .proof__stat:hover,
html.cc-brut body:not(.dark-theme) .proof .proof__stat:focus-visible {
  background: var(--dv-white) !important;
}
html body:not(.dark-theme) .probsol-grid,
html.cc-brut body:not(.dark-theme) .probsol .probsol-grid {
  background: var(--dv-cream-200) !important;
  border-color: var(--dv-cream-200) !important;
}
/* Trilho do diagnóstico: sem fundo próprio — a faixa fica no rail-wrap */
html.cc-brut body:not(.dark-theme) #diagnostico.probsol .psc-rail.probsol-grid,
html.cc-brut body.dark-theme #diagnostico.probsol .psc-rail.probsol-grid {
  background: transparent !important;
  border-color: transparent !important;
}
html body:not(.dark-theme) .probsol-card,
html body:not(.dark-theme) .probsol-card.psc-card-v2,
html.cc-brut body:not(.dark-theme) .probsol .probsol-card,
html.cc-brut body:not(.dark-theme) .probsol .psc-card-v2,
html.cc-brut body:not(.dark-theme) .probsol .probsol-card.psc-card-v2 {
  background: var(--dv-white) !important;
}
html body:not(.dark-theme) .probsol-card:hover,
html.cc-brut body:not(.dark-theme) .probsol .probsol-card:hover {
  background: #FFF6F0 !important;
}
html body:not(.dark-theme) .probsol .psc-col--sol,
html.cc-brut body:not(.dark-theme) .probsol .psc-col--sol {
  background: rgba(177, 156, 255, 0.10) !important;
}
html body:not(.dark-theme) .probsol-cta-bar,
html.cc-brut body:not(.dark-theme) .probsol .probsol-cta-bar {
  background: var(--dv-white) !important;
  border-color: var(--dv-cream-200) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .probsol-status {
  background: var(--dv-cream-100) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .probsol-status,
html body:not(.dark-theme) .probsol-cta-bar__text,
html.cc-brut body:not(.dark-theme) .probsol :is(.probsol-status, .probsol-status span, .probsol-cta-bar__text) {
  color: var(--text-muted) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .sec-head__desc {
  color: var(--text-muted) !important;
}

/* 2.5 Inputs e formulários */
html body:not(.dark-theme) input,
html body:not(.dark-theme) textarea,
html body:not(.dark-theme) select {
  background: var(--dv-white) !important;
  color: var(--dv-ink) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) input::placeholder,
html body:not(.dark-theme) textarea::placeholder {
  color: var(--cc-gray-muted) !important;
}

/* 2.6 Footer — bloco plum de marca (contraste proposital) */
html body:not(.dark-theme) .footer,
html body:not(.dark-theme) .footer.footer--cockpit {
  background: var(--dv-plum-900) !important;
}
html body:not(.dark-theme) .footer :is(h2, h3, h4, .footer-hero__brand) {
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) .footer p,
html body:not(.dark-theme) .footer a:not(.btn-nav-cta),
html body:not(.dark-theme) .footer li {
  color: #C9B8DC !important;
}
html body:not(.dark-theme) .footer a:not(.btn-nav-cta):hover {
  color: var(--dv-lavender) !important;
}
html body:not(.dark-theme) .footer input {
  background: var(--dv-plum-800) !important;
  color: var(--dv-cream-50) !important;
  border-color: var(--dv-plum-700) !important;
}

/* 2.7 Signup strip — gradiente da marca */
html body:not(.dark-theme) .signup-strip {
  background: var(--dv-white) !important;
  border-color: var(--dv-plum-900) !important;
}
html body:not(.dark-theme) .signup-strip__label { color: var(--dv-orange) !important; }
html body:not(.dark-theme) .signup-strip__text { color: var(--text-muted) !important; }
html body:not(.dark-theme) .signup-strip__login { color: var(--dv-violet) !important; }

/* 2.8 Hero claro — canvas de ondas e atmosfera quase some,
   deixando o cream dominar (texto ink legível) */
html body:not(.dark-theme) .hero-v3 > canvas {
  opacity: 0.07 !important;
}
html body:not(.dark-theme) .hero-atmosphere {
  opacity: 0.15 !important;
}
html body:not(.dark-theme) .hero-v3::before,
html body:not(.dark-theme) .hero-v3::after {
  opacity: 0.2 !important;
}
html body:not(.dark-theme) .hero-bg__glow { opacity: 0.25 !important; }

/* 2.8b HUD / telemetria / decorativos */
html body:not(.dark-theme) .hero-grain { opacity: 0.03 !important; }
html body:not(.dark-theme) #scroll-progress {
  background: var(--dv-orange) !important;
}

/* 2.9 Back-to-top (Redondo + Sombra Brutalista + Acima do Mascote) */
html body #back-to-top,
html body.dark-theme #back-to-top,
html body:not(.dark-theme) #back-to-top {
  position: fixed !important;
  right: calc(clamp(16px, 2.5vw, 32px) + 23px) !important;
  bottom: calc(clamp(20px, 3vh, 32px) + 98px) !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9988 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(12px) scale(0.9) !important;
  transition:
    opacity 0.28s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.28s cubic-bezier(0.23, 1, 0.32, 1),
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s cubic-bezier(0.23, 1, 0.32, 1),
    color 0.2s ease !important;
}

html body #back-to-top.visible,
html body.dark-theme #back-to-top.visible,
html body:not(.dark-theme) #back-to-top.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

/* Tema Claro — Brutalista */
html body:not(.dark-theme) #back-to-top {
  background: #FFFFFF !important;
  border: 2px solid var(--dv-plum, #1A0B24) !important;
  color: var(--dv-plum, #1A0B24) !important;
  box-shadow: 3px 3px 0 var(--dv-plum, #1A0B24) !important;
}

html body:not(.dark-theme) #back-to-top svg {
  width: 20px !important;
  height: 20px !important;
  stroke: var(--dv-plum, #1A0B24) !important;
  stroke-width: 2.4 !important;
  transition: transform 0.2s ease, stroke 0.2s ease !important;
}

html body:not(.dark-theme) #back-to-top:hover {
  background: var(--dv-orange, #FF5C14) !important;
  border-color: var(--dv-plum, #1A0B24) !important;
  color: #FFFFFF !important;
  box-shadow: 5px 5px 0 var(--dv-plum, #1A0B24) !important;
  transform: translate(-2px, -2px) scale(1.05) !important;
}

html body:not(.dark-theme) #back-to-top:hover svg {
  stroke: #FFFFFF !important;
  transform: translateY(-2px) !important;
}

html body:not(.dark-theme) #back-to-top:active {
  transform: translate(1px, 1px) scale(0.98) !important;
  box-shadow: 1px 1px 0 var(--dv-plum, #1A0B24) !important;
}

/* Tema Escuro — Brutalista */
html body.dark-theme #back-to-top {
  background: #251037 !important;
  border: 2px solid rgba(255, 255, 255, 0.88) !important;
  color: #FFFFFF !important;
  box-shadow: 3px 3px 0 var(--dv-orange, #FF5C14) !important;
}

html body.dark-theme #back-to-top svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #FFFFFF !important;
  stroke-width: 2.4 !important;
  transition: transform 0.2s ease, stroke 0.2s ease !important;
}

html body.dark-theme #back-to-top:hover {
  background: var(--dv-orange, #FF5C14) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  box-shadow: 5px 5px 0 #FFFFFF !important;
  transform: translate(-2px, -2px) scale(1.05) !important;
}

html body.dark-theme #back-to-top:hover svg {
  stroke: #FFFFFF !important;
  transform: translateY(-2px) !important;
}

html body.dark-theme #back-to-top:active {
  transform: translate(1px, 1px) scale(0.98) !important;
  box-shadow: 1px 1px 0 #FFFFFF !important;
}

@media (max-width: 640px) {
  html body #back-to-top,
  html body.dark-theme #back-to-top,
  html body:not(.dark-theme) #back-to-top {
    right: calc(clamp(16px, 2.5vw, 32px) + 16px) !important;
    bottom: calc(clamp(16px, 2vh, 24px) + 82px) !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
}
html body:not(.dark-theme) #section-indicator .si-dot {
  background: var(--dv-cream-200) !important;
  border-radius: 0 !important;
}
html body:not(.dark-theme) #section-indicator .si-dot.active {
  background: var(--dv-orange) !important;
  border-radius: 0 !important;
}

/* 2.10 Prompt dock (chat) — só thread expandida; compacto fica no §CHAT-2026 */
html body:not(.dark-theme) .cc-prompt-dock.is-chat-open .cc-prompt-dock__inner {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: var(--dv-cream-200) !important;
  box-shadow: 0 16px 40px rgba(26, 11, 36, 0.12) !important;
}
html body:not(.dark-theme) .cc-prompt-dock.is-chat-open .cc-prompt__input {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .cc-prompt-dock__chip {
  background: var(--dv-white) !important;
  color: var(--dv-ink) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .cc-prompt-dock__chip:hover {
  border-color: var(--dv-orange) !important;
  color: var(--dv-orange) !important;
}

/* 2.11 FAQ */
html body:not(.dark-theme) .faq-question {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .faq-answer {
  color: var(--text-muted) !important;
}

/* 2.12 Marquee / stats */
html body:not(.dark-theme) .marquee-strip {
  border-top: 1px solid var(--dv-cream-200) !important;
  border-bottom: 1px solid var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .marquee-track span { color: var(--cc-gray-muted) !important; }
html body:not(.dark-theme) .stats-strip__num,
html body:not(.dark-theme) .stats-strip__suffix {
  color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .stats-strip__label { color: var(--text-muted) !important; }

/* 2.13 Botões ghost / secundários — moldura plum, texto ink */
html body:not(.dark-theme) .btn-nav-cta--ghost,
html body:not(.dark-theme) .btn-hero-sec,
html.cc-brut body:not(.dark-theme) :is(.btn-nav-cta--ghost, .btn-hero-sec) {
  background: transparent !important;
  color: var(--dv-ink) !important;
  -webkit-text-fill-color: var(--dv-ink) !important;
  border-color: var(--dv-plum-900) !important;
}
html body:not(.dark-theme) :is(.btn-nav-cta--ghost, .btn-hero-sec) .btn-inner {
  color: var(--dv-ink) !important;
  -webkit-text-fill-color: var(--dv-ink) !important;
}
html body:not(.dark-theme) :is(.btn-nav-cta--ghost, .btn-hero-sec):hover {
  color: var(--dv-orange) !important;
  border-color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .hero-scroll-cta__label { color: var(--cc-gray-muted) !important; }

/* 2.14 Interior dos cards brancos do diagnóstico */
html body:not(.dark-theme) .probsol-card :is(
  .psc-hud__file, .psc-viz__label, .psc-progress__tot, .psc-metric__label),
html.cc-brut body:not(.dark-theme) .probsol-card :is(
  .psc-hud__file, .psc-viz__label, .psc-progress__tot) {
  color: var(--cc-gray-muted) !important;
}
html body:not(.dark-theme) .probsol-card .psc-chips span,
html.cc-brut body:not(.dark-theme) .probsol-card .psc-chips span {
  color: var(--dv-plum-900) !important;
  background: var(--dv-cream-100) !important;
  border-color: var(--dv-cream-200) !important;
}

/* Interior dos cards do diagnóstico: labels, métricas e barras */
html.cc-brut body:not(.dark-theme) .probsol :is(
  .psc-progress, .psc-progress span,
  .psc-metric__head, .psc-metric__head span,
  .psc-bar span, .psc-viz span, .psc-hud span,
  .psc-progress__tot) {
  color: var(--text-muted) !important;
}

/* ─────────────────────────────────────────────────────────────
   HUD TOOLTIP · DUAL THEME (LIGHT & DARK MODE)
   ───────────────────────────────────────────────────────────── */
.hud-tooltip {
  border-radius: 8px !important;
  overflow: hidden !important;
  min-width: 270px !important;
  max-width: 320px !important;
  box-sizing: border-box !important;
  visibility: hidden !important;
  display: none !important;
  opacity: 0 !important;
}
.hud-tooltip.hud-tooltip--visible {
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}
.hud-tooltip::before {
  display: none !important;
  content: none !important;
}

/* Modo Escuro */
html body.dark-theme .hud-tooltip,
html.cc-brut body.dark-theme .hud-tooltip,
html body .hud-tooltip {
  background: rgba(14, 8, 22, 0.96) !important;
  background-image: none !important;
  border: 1px solid rgba(177, 156, 255, 0.35) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 24px rgba(124, 58, 237, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
html body.dark-theme .hud-tooltip .hud-tip__header,
html.cc-brut body.dark-theme .hud-tooltip .hud-tip__header,
html body .hud-tooltip .hud-tip__header {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(177, 156, 255, 0.15)) !important;
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(177, 156, 255, 0.25) !important;
  font-family: var(--font-mono), 'DM Mono', monospace !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  padding: 8px 14px !important;
}
html body.dark-theme .hud-tooltip .hud-tip__body,
html.cc-brut body.dark-theme .hud-tooltip .hud-tip__body,
html body .hud-tooltip .hud-tip__body {
  padding: 12px 14px 10px !important;
  gap: 6px !important;
}
html body.dark-theme .hud-tooltip .hud-tip__line,
html.cc-brut body.dark-theme .hud-tooltip .hud-tip__line,
html body .hud-tooltip .hud-tip__line {
  color: #DDD2E8 !important;
  font-family: var(--font-mono), 'DM Mono', monospace !important;
  font-size: 10.5px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}
html body.dark-theme .hud-tooltip .hud-tip__marker,
html.cc-brut body.dark-theme .hud-tooltip .hud-tip__marker,
html body .hud-tooltip .hud-tip__marker {
  color: #B19CFF !important;
  font-weight: 900 !important;
}
html body.dark-theme .hud-tooltip .hud-tip__footer,
html.cc-brut body.dark-theme .hud-tooltip .hud-tip__footer,
html body .hud-tooltip .hud-tip__footer {
  background: rgba(0, 0, 0, 0.4) !important;
  border-top: 1px solid rgba(177, 156, 255, 0.18) !important;
  color: #FF7A38 !important;
  font-family: var(--font-mono), 'DM Mono', monospace !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  padding: 8px 14px !important;
}
html body.dark-theme .hud-tooltip::after,
html.cc-brut body.dark-theme .hud-tooltip::after,
html body .hud-tooltip::after {
  background: rgba(14, 8, 22, 0.98) !important;
}

/* Modo Claro */
html body:not(.dark-theme) .hud-tooltip,
html.cc-brut body:not(.dark-theme) .hud-tooltip {
  background: rgba(255, 255, 255, 0.98) !important;
  background-image: none !important;
  border: 1.5px solid rgba(106, 56, 235, 0.28) !important;
  box-shadow: 0 16px 45px rgba(24, 10, 34, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 #FFFFFF !important;
}
html body:not(.dark-theme) .hud-tooltip .hud-tip__header,
html.cc-brut body:not(.dark-theme) .hud-tooltip .hud-tip__header {
  background: linear-gradient(135deg, #F3EDFF, #E9DEFF) !important;
  color: #431E63 !important;
  border-bottom: 1px solid rgba(106, 56, 235, 0.2) !important;
  font-family: var(--font-mono), 'DM Mono', monospace !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  padding: 8px 14px !important;
}
html body:not(.dark-theme) .hud-tooltip .hud-tip__body,
html.cc-brut body:not(.dark-theme) .hud-tooltip .hud-tip__body {
  padding: 12px 14px 10px !important;
  gap: 6px !important;
}
html body:not(.dark-theme) .hud-tooltip .hud-tip__line,
html.cc-brut body:not(.dark-theme) .hud-tooltip .hud-tip__line {
  color: #2D1445 !important;
  font-family: var(--font-mono), 'DM Mono', monospace !important;
  font-size: 10.5px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
html body:not(.dark-theme) .hud-tooltip .hud-tip__marker,
html.cc-brut body:not(.dark-theme) .hud-tooltip .hud-tip__marker {
  color: #5B28D9 !important;
  font-weight: 900 !important;
}
html body:not(.dark-theme) .hud-tooltip .hud-tip__footer,
html.cc-brut body:not(.dark-theme) .hud-tooltip .hud-tip__footer {
  background: #FAF7FD !important;
  border-top: 1px solid rgba(106, 56, 235, 0.15) !important;
  color: #D63E00 !important;
  font-family: var(--font-mono), 'DM Mono', monospace !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  padding: 8px 14px !important;
}
html body:not(.dark-theme) .hud-tooltip::after,
html.cc-brut body:not(.dark-theme) .hud-tooltip::after {
  background: #FFFFFF !important;
}

/* 2.15 Faixas de status / réguas de seção → cream */
html body:not(.dark-theme) :is(.spec-status, .chapter-status),
html.cc-brut body:not(.dark-theme) :is(.spec-status, .chapter-status) {
  background: var(--dv-cream-100) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) :is(.spec-status, .chapter-status),
html body:not(.dark-theme) :is(.spec-status, .chapter-status) :is(span, .cfs-item),
html.cc-brut body:not(.dark-theme) :is(.spec-status, .chapter-status) :is(span, .cfs-item) {
  color: var(--text-muted) !important;
}
html body:not(.dark-theme) :is(.spec-status, .chapter-status) :is(span, .cfs-item),
html.cc-brut body:not(.dark-theme) :is(.spec-status, .chapter-status) :is(span, .cfs-item) {
  background: transparent !important;
}
html body:not(.dark-theme) .spec-slider__controls {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .spec-slider__hint { color: var(--cc-gray-muted) !important; }
html body:not(.dark-theme) .spec-slider__btn,
html body:not(.dark-theme) .spec-slider__btn span,
html.cc-brut body:not(.dark-theme) .spec-slider__btn span {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .spec-slider__btn:hover,
html body:not(.dark-theme) .spec-slider__btn:hover span {
  color: var(--dv-orange) !important;
}

/* 2.16 Réguas de cobertura / meta (serviços, depoimentos) */
html body:not(.dark-theme) :is(.spec-coverage__key, .testimonials-meta__key) {
  color: var(--cc-gray-muted) !important;
}
html body:not(.dark-theme) :is(.spec-coverage__val, .testimonials-meta__val) {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) :is(.spec-coverage__val--accent, .testimonials-meta__val--accent) {
  color: var(--dv-orange) !important;
}
/* CTAs secundários de régua (Briefing técnico etc.) → plum sólido */
html body:not(.dark-theme) :is(.spec-coverage__cta, .testimonials-meta__cta,
  .gua-contract__cta, .pricing-contract__cta, .clients-registry__cta, .cases-portfolio__cta),
html.cc-brut body:not(.dark-theme) :is(.spec-coverage__cta, .testimonials-meta__cta) {
  background: var(--dv-plum-900) !important;
  color: var(--dv-white) !important;
  -webkit-text-fill-color: var(--dv-white) !important;
  border-color: var(--dv-plum-900) !important;
}
html body:not(.dark-theme) :is(.spec-coverage__cta, .testimonials-meta__cta):hover {
  background: var(--dv-plum-700) !important;
}
/* Vault da stack (painel "classificado") — bloco plum de marca no claro,
   título cream como nos blocos cases/prova */
html body:not(.dark-theme) .techstack-head .techstack-title,
html.cc-brut body:not(.dark-theme) .techstack-head .techstack-title {
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) .techstack-head p,
html.cc-brut body:not(.dark-theme) .techstack-head :is(p, .techstack-sub) {
  color: #C9B8DC !important;
}
/* Painel de chips revelado → superfície branca no claro */
html body:not(.dark-theme) .techstack-panel {
  background: var(--dv-white) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .techstack-panel .ts-chip__name {
  color: var(--dv-ink) !important;
}
/* Chips destacados da stack → plum sólido com sigla branca */
html body:not(.dark-theme) .ts-chip--highlight,
html.cc-brut body:not(.dark-theme) .ts-chip--highlight {
  background: var(--dv-plum-900) !important;
  border-color: var(--dv-plum-900) !important;
}
/* Réguas decorativas (HUD) */
html body:not(.dark-theme) .cc-rules__h {
  color: rgba(26, 11, 36, 0.35) !important;
}
/* Trigger de conta no nav (Entrar) */
html body:not(.dark-theme) .nav-account__trigger,
html.cc-brut body:not(.dark-theme) .nav-account__trigger {
  color: #16081F !important;
  -webkit-text-fill-color: #16081F !important;
  background: rgba(22, 8, 31, 0.04) !important;
  border-color: rgba(22, 8, 31, 0.18) !important;
}
html body:not(.dark-theme) .nav-account__trigger:hover,
html.cc-brut body:not(.dark-theme) .nav-account--menu:hover .nav-account__trigger,
html.cc-brut body:not(.dark-theme) .nav-account--menu:focus-within .nav-account__trigger {
  color: var(--dv-orange) !important;
  -webkit-text-fill-color: var(--dv-orange) !important;
  background: rgba(255, 92, 20, 0.12) !important;
  border-color: var(--dv-orange, #FF5C14) !important;
}

/* 2.17 Mega menu (dropdown Serviços) → painel cream */
html body:not(.dark-theme) .cc-mega,
html.cc-brut body:not(.dark-theme) .cc-mega {
  background: var(--dv-cream-50) !important;
  border-color: var(--dv-cream-200) !important;
  box-shadow: 0 24px 60px rgba(26, 11, 36, 0.16) !important;
}
html body:not(.dark-theme) .cc-mega :is(.cc-mega__status, .cc-mega__foot) {
  background: var(--dv-cream-100) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .cc-mega :is(.cc-mega__iname, .cc-mega__divname, .cc-mega__foot-cta) {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .cc-mega :is(
  .cc-mega__iprev, .cc-mega__divtag, .cc-mega__status-r,
  .cc-mega__foot-label, .cc-rules__h, span) {
  color: var(--text-muted) !important;
}
html body:not(.dark-theme) .cc-mega a:hover :is(.cc-mega__iname) {
  color: var(--dv-orange) !important;
}

/* 2.18 Painel de chat do assistente → claro */
html body:not(.dark-theme) .cc-prompt-chat {
  background: var(--dv-white) !important;
  border-color: var(--dv-cream-200) !important;
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .cc-prompt-chat__empty {
  color: var(--text-muted) !important;
}

/* 2.19 Blocos escuros (cases/prova) — herança de texto cream
   corrige links/spans que herdavam ink do body */
html body:not(.dark-theme) :is(.cs2, .proof) {
  color: #D8CCE6;
}
html body:not(.dark-theme) :is(.cs2, .proof) a:not(.btn-nav-cta):not(.btn-cta):not(.proof__stat) {
  color: #E7DCF2 !important;
}
html body:not(.dark-theme) :is(.cs2, .proof) a:not(.btn-nav-cta):not(.btn-cta):not(.proof__stat):hover {
  color: var(--dv-lavender) !important;
}
/* ledger de métricas = links cream/ink (não herdam lilás do bloco escuro) */
html body:not(.dark-theme) .proof a.proof__stat,
html.cc-brut body:not(.dark-theme) .proof a.proof__stat {
  color: var(--dv-ink) !important;
  -webkit-text-fill-color: unset !important;
}
/* CTAs internos dos blocos plum → botão outline cream */
html body:not(.dark-theme) :is(.cs2-headlink, .cs2-ledger__cta, .proof__roster-cta),
html.cc-brut body:not(.dark-theme) :is(.cs2-headlink, .cs2-ledger__cta, .proof__roster-cta) {
  background: transparent !important;
  border: 1.5px solid rgba(251, 247, 242, 0.5) !important;
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) :is(.cs2-headlink, .cs2-ledger__cta, .proof__roster-cta):hover {
  border-color: var(--dv-orange) !important;
  color: var(--dv-orange) !important;
  -webkit-text-fill-color: var(--dv-orange) !important;
}
/* cards brancos da prova continuam ink (regra 2.3b já cobre p/span) */

/* ─────────────────────────────────────────────
   3 · GRADIENTE DE MARCA — detalhe assinatura
   linha no topo da página nos dois temas
   ───────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--dv-gradient);
  z-index: 10002;
  pointer-events: none;
}

/* ═════════════════════════════════════════════
   4 · REFINO SEÇÃO A SEÇÃO — BRAND 2026
   Gradientes bloom das referências Devloopy.
   ═════════════════════════════════════════════ */

/* ── 4.1 HERO ─────────────────────────────────
   Bloco accent do título vira o poster da marca:
   lilás derretendo em laranja, texto cream. */
html body .hero-title-v3 .hero-line.accent,
html body .hero-title-v3 .accent,
html.cc-brut body .hero-title-v3 .hero-line.accent,
html.cc-brut body .hero-title-v3 .accent,
html body:not(.dark-theme) .hero-title-v3 .hero-line.accent,
html body:not(.dark-theme) .hero-title-v3 .accent {
  background: var(--dv-gradient-poster) !important;
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
  text-shadow: 0 1px 0 rgba(var(--dv-plum-rgb), 0.25) !important;
  border-radius: 14px !important;
  padding: 0.04em 0.16em !important;
}

/* Atmosfera do hero — véu bloom (laranja ⇄ lilás) sobre o canvas */
html body .hero-v3 .hero-atmosphere,
html.cc-brut body .hero-v3 .hero-atmosphere {
  background: var(--dv-gradient-veil) !important;
}
html body:not(.dark-theme) .hero-v3 .hero-atmosphere {
  opacity: 0.5 !important;
}

/* Glow de fundo — o preto do glow antigo vira lilás profundo */
body.dark-theme .hero-bg__glow,
html body .hero-bg__glow {
  background:
    radial-gradient(ellipse 65% 80% at 15% 50%, rgba(var(--dv-orange-rgb), 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 75% at 82% 30%, rgba(var(--dv-lilac-rgb), 0.10) 0%, transparent 60%) !important;
}

/* ── 4.2 BOTÕES ───────────────────────────────
   Primário: peça gráfica da marca — bloom laranja/lilás.
   Secundário: moldura técnica, discreta em repouso e colorida no hover. */
:root {
  --dv-btn-shadow-dark: 5px 5px 0 var(--dv-plum-950);
  --dv-btn-shadow-light: 5px 5px 0 rgba(var(--dv-lilac-rgb), 0.62);
  --dv-btn-focus: 0 0 0 3px var(--bg-base), 0 0 0 6px var(--dv-lilac);
}

html body :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
  .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn
):not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  border: 1px solid rgba(var(--dv-plum-rgb), 0.32) !important;
  border-radius: 9999px !important;
  background:
    radial-gradient(130% 170% at 92% 110%,
      var(--dv-orange) 0%,
      var(--dv-coral) 42%,
      rgba(242, 148, 121, 0) 70%),
    linear-gradient(112deg,
      var(--dv-lilac) 0%,
      var(--dv-magenta) 50%,
      var(--dv-orange) 100%) !important;
  background-size: 135% 135% !important;
  background-position: 0 0 !important;
  color: var(--dv-plum-950) !important;
  -webkit-text-fill-color: var(--dv-plum-950) !important;
  box-shadow: var(--dv-btn-shadow-light) !important;
  filter: none !important;
  transition:
    transform 180ms cubic-bezier(.2,.8,.2,1),
    box-shadow 180ms cubic-bezier(.2,.8,.2,1),
    background-position 420ms ease,
    filter 180ms ease !important;
}

html body :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
  .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn
):not(.btn-nav-cta--ghost):not(.btn-hero-sec)
  :is(.btn-inner, span, i, svg) {
  position: relative;
  z-index: 2;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* reflexo gerenciado em loop por micro-interactions.css */

html body :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
  .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn
):not(.btn-nav-cta--ghost):not(.btn-hero-sec):active {
  transform: translate(3px, 3px) !important;
  box-shadow: 2px 2px 0 rgba(var(--dv-lilac-rgb), .72) !important;
  transition-duration: 80ms !important;
}

/* Secundário: contorno de 1px, sem sombra pesada. */
html body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
),
html.cc-brut body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
) {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .58) !important;
  border-radius: 9999px !important;
  background: rgba(var(--dv-plum-rgb), .06) !important;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  box-shadow: none !important;
  filter: none !important;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms cubic-bezier(.2,.8,.2,1),
    box-shadow 180ms ease !important;
}

html body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
)::before,
html.cc-brut body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
)::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(112deg,
    rgba(var(--dv-lilac-rgb), .16),
    rgba(var(--dv-orange-rgb), .14)) !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 300ms cubic-bezier(.16,1,.3,1) !important;
  pointer-events: none !important;
}

html body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
) :is(.btn-inner, span, i, svg) {
  position: relative;
  z-index: 1;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

html body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
):hover,
html.cc-brut body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
):hover {
  border-color: var(--dv-orange) !important;
  background: rgba(var(--dv-plum-rgb), .06) !important;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  box-shadow: 4px 4px 0 rgba(var(--dv-orange-rgb), .24) !important;
  transform: translate(-1px, -1px) !important;
}

html body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
):hover::before {
  transform: scaleX(1) !important;
}

html body :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
)::after {
  display: none !important;
  content: none !important;
}

/* Nos fundos escuros, o primário ganha sombra plum e o secundário fica cream. */
body.dark-theme :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
  .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn
):not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  box-shadow: var(--dv-btn-shadow-dark) !important;
}
body.dark-theme :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
  .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn
):not(.btn-nav-cta--ghost):not(.btn-hero-sec):hover {
  box-shadow:
    7px 7px 0 var(--dv-plum-950),
    0 12px 34px rgba(var(--dv-orange-rgb), .30),
    0 0 26px rgba(var(--dv-lilac-rgb), .16) !important;
}
body.dark-theme :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
) {
  background: rgba(var(--dv-lilac-rgb), .04) !important;
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}

/* Nav compacto precisa continuar leve e não vazar a pill. */
html body .nav-header.nav-compact
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  box-shadow: none !important;
}
html body .nav-header.nav-compact
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec):hover {
  box-shadow: 0 8px 22px rgba(var(--dv-orange-rgb), .24) !important;
}

html body :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
  .signup-strip__btn,
  .nav-account__btn--primary, .nav-account__btn--ghost,
  .ctaform-submit, .ctaform__submit, .btn-nav-cta--ghost, .btn-hero-sec
):focus-visible {
  outline: none !important;
  box-shadow: var(--dv-btn-focus) !important;
}

@media (prefers-reduced-motion: reduce) {
  html body :is(
    .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
    .signup-strip__btn,
    .nav-account__btn--primary, .ctaform-submit, .ctaform__submit
  ) {
    transition-duration: 0.01ms !important;
  }
  html body :is(
    .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
    .signup-strip__btn,
    .nav-account__btn--primary, .ctaform-submit, .ctaform__submit
  )::after {
    display: none !important;
  }
}

/* Ponte de especificidade: vence a política neobrutalista anterior sem
   depender da ordem dos vários arquivos legados. */
html.cc-brut body :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
  .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn
):not(.btn-nav-cta--ghost):not(.btn-hero-sec),
html.cc-brut body #main-content :is(
  .btn-nav-cta, .btn-hero, .btn-cta
):not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  border-radius: 9999px !important;
  border: 1px solid rgba(var(--dv-plum-rgb), .32) !important;
  background:
    radial-gradient(130% 170% at 92% 110%,
      var(--dv-orange) 0%,
      var(--dv-coral) 42%,
      rgba(242,148,121,0) 70%),
    linear-gradient(112deg,
      var(--dv-lilac) 0%,
      var(--dv-magenta) 50%,
      var(--dv-orange) 100%) !important;
  background-size: 135% 135% !important;
  color: var(--dv-plum-950) !important;
  -webkit-text-fill-color: var(--dv-plum-950) !important;
}

html.cc-brut body #main-content :is(
  .btn-nav-cta, .btn-hero, .btn-cta
):not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  box-shadow: var(--dv-btn-shadow-dark) !important;
}

html.cc-brut body :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid,
  .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn
):not(.btn-nav-cta--ghost):not(.btn-hero-sec):hover,
html.cc-brut body #main-content :is(
  .btn-nav-cta, .btn-hero, .btn-cta
):not(.btn-nav-cta--ghost):not(.btn-hero-sec):hover {
  background-position: 100% 100% !important;
  color: var(--dv-plum-950) !important;
  -webkit-text-fill-color: var(--dv-plum-950) !important;
  box-shadow:
    7px 7px 0 var(--dv-plum-950),
    0 12px 34px rgba(var(--dv-orange-rgb), .30),
    0 0 26px rgba(var(--dv-lilac-rgb), .16) !important;
  filter: saturate(1.08) !important;
  transform: translate(-2px,-2px) !important;
}

/* reflexo hero gerenciado em loop por micro-interactions.css */

html.cc-brut body #main-content :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
) {
  border-radius: 9999px !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .58) !important;
  background: rgba(var(--dv-lilac-rgb), .04) !important;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  box-shadow: none !important;
}

html.cc-brut body #main-content :is(
  .btn-nav-cta--ghost, .btn-hero-sec, .nav-account__btn--ghost
):hover {
  border-color: var(--dv-orange) !important;
  background: rgba(var(--dv-lilac-rgb), .04) !important;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  box-shadow: 4px 4px 0 rgba(var(--dv-orange-rgb), .24) !important;
  transform: translate(-1px,-1px) !important;
}

/* ── 4.3 AJUSTES DE CONSISTÊNCIA ─────────────────────────── */

/* Logo: no cream, CORE usa plum médio para contraste real; no escuro,
   o laranja continua sendo a assinatura luminosa. */
html body:not(.dark-theme) .logo .logo-core {
  color: var(--dv-plum-600) !important;
  -webkit-text-fill-color: var(--dv-plum-600) !important;
}
body.dark-theme .logo .logo-core {
  color: var(--dv-orange) !important;
  -webkit-text-fill-color: var(--dv-orange) !important;
}

/* Toggle de tema: somente o glifo, sem moldura ou superfície. */
html body .theme-toggle,
html.cc-brut body .theme-toggle {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-muted) !important;
  opacity: .62;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease !important;
}
html body .theme-toggle:hover,
html.cc-brut body .theme-toggle:hover {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--dv-orange) !important;
  opacity: 1;
  transform: rotate(8deg);
}
.theme-toggle__icon {
  font-size: 14px !important;
  font-weight: 400;
}

/* Hero claro: remove o vinhete escuro legado e deixa o canvas, agora
   colorido para cream, desenhar as ondas com presença. */
html.cc-brut body:not(.dark-theme) .hero-v3,
html body:not(.dark-theme) .hero-v3 {
  background: var(--dv-cream-50) !important;
  box-shadow: inset 0 -1px 0 var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .hero-v3 > canvas {
  opacity: .76 !important;
}
html body:not(.dark-theme) .hero-v3 .hero-atmosphere {
  opacity: .28 !important;
}

/* CTAs do hero: dimensões padrão fixas e estáveis (sem expansão ou encolhimento no hover) */
html.cc-brut body #main-content .hero-action-v3 .btn-hero,
html.cc-brut body #main-content .hero-action-v3 .btn-hero-sec,
html body #main-content .hero-action-v3 .btn-hero,
html body #main-content .hero-action-v3 .btn-hero-sec {
  box-sizing: border-box !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 0 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  line-height: 52px !important;
  white-space: nowrap !important;
  border-radius: 9999px !important;
  transform: none !important;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease, filter .25s ease !important;
}

html.cc-brut body #main-content .hero-action-v3 .btn-hero:hover,
html body #main-content .hero-action-v3 .btn-hero:hover,
html.cc-brut body #main-content .hero-action-v3 .btn-hero-sec:hover,
html body #main-content .hero-action-v3 .btn-hero-sec:hover {
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 0 24px !important;
  transform: none !important;
}

/* CTA da sticker de navegação: escala de navegação, não de hero. */
html.cc-brut body .nav-header:not(.nav-compact)
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec),
html body .nav-header:not(.nav-compact)
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  min-height: 46px !important;
  padding: 13px 24px !important;
  font-size: 12px !important;
  letter-spacing: .07em !important;
  box-shadow: 4px 4px 0 rgba(var(--dv-lilac-rgb), .58) !important;
}
html.cc-brut body .nav-header:not(.nav-compact)
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec):hover,
html body .nav-header:not(.nav-compact)
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec):hover {
  box-shadow:
    5px 5px 0 rgba(var(--dv-lilac-rgb), .68),
    0 8px 22px rgba(var(--dv-orange-rgb), .20) !important;
}

@media (max-width: 768px) {
  html.cc-brut body #main-content .hero-action-v3,
  html.cc-brut body #main-content .hero-action-v3 .magnetic-wrap {
    width: 100% !important;
  }
  html.cc-brut body #main-content .hero-action-v3 .btn-hero,
  html.cc-brut body #main-content .hero-action-v3 .btn-hero-sec {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    height: 50px !important;
    padding: 13px 22px !important;
    font-size: 13px !important;
  }
}

/* ── 4.4 MARQUEE, STICKER E ASSISTENTE ──────────────────── */

/* Marquee abaixo do hero: reduz a dominância do laranja e vira uma
   faixa editorial de transição entre hero e conteúdo. */
html.cc-brut body #main-content + .marquee-strip {
  height: 58px !important;
  background:
    linear-gradient(100deg,
      var(--dv-plum-900) 0%,
      var(--dv-plum-800) 52%,
      #351944 100%) !important;
  border-top: 1px solid rgba(var(--dv-lilac-rgb), .34) !important;
  border-bottom: 1px solid rgba(var(--dv-orange-rgb), .34) !important;
  box-shadow:
    inset 0 1px 0 rgba(var(--dv-lilac-rgb), .08),
    inset 0 -1px 0 rgba(var(--dv-orange-rgb), .08) !important;
}
html.cc-brut body #main-content + .marquee-strip .marquee-track span {
  color: #DCCFE8 !important;
  -webkit-text-fill-color: #DCCFE8 !important;
  font-weight: 600 !important;
  opacity: .82 !important;
}
html.cc-brut body #main-content + .marquee-strip .marquee-track .mq-dot {
  width: 8px !important;
  height: 8px !important;
  background: var(--dv-gradient) !important;
  opacity: .8 !important;
}
html.cc-brut body:not(.dark-theme) #main-content + .marquee-strip {
  background:
    linear-gradient(100deg,
      #E8D8F1 0%,
      var(--dv-cream-100) 52%,
      #F4D9CF 100%) !important;
  border-color: rgba(var(--dv-lilac-rgb), .42) !important;
}
html.cc-brut body:not(.dark-theme)
  #main-content + .marquee-strip .marquee-track span {
  color: var(--dv-plum-700) !important;
  -webkit-text-fill-color: var(--dv-plum-700) !important;
  opacity: .9 !important;
}

/* Header normal: CTA volta à escala padrão dos botões principais. */
html.cc-brut body .nav-header:not(.nav-compact)
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec),
html body .nav-header:not(.nav-compact)
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  min-height: 59px !important;
  padding: 18px 36px !important;
  font-size: 14px !important;
  letter-spacing: .07em !important;
  box-shadow: var(--dv-btn-shadow-light) !important;
}
body.dark-theme .nav-header:not(.nav-compact)
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  box-shadow: var(--dv-btn-shadow-dark) !important;
}

/* Sticker compacto: pílula plum/lilás, sem barra laranja dura. */
html.cc-brut body .nav-header.nav-compact .container.nav-grid,
body.dark-theme .nav-header.nav-compact .container.nav-grid,
html body .nav-header.nav-compact .container.nav-grid {
  padding: 8px 8px 8px 22px !important;
  gap: 18px !important;
  border-radius: 9999px !important;
  background:
    linear-gradient(110deg,
      rgba(30,4,48,.95),
      rgba(42,12,66,.92)) !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .30) !important;
  box-shadow:
    0 14px 38px rgba(12,1,20,.42),
    inset 0 1px 0 rgba(var(--dv-lilac-rgb), .08) !important;
}
html.cc-brut body:not(.dark-theme)
  .nav-header.nav-compact .container.nav-grid,
html body:not(.dark-theme)
  .nav-header.nav-compact .container.nav-grid {
  background:
    linear-gradient(110deg,
      rgba(251,247,242,.96),
      rgba(238,220,245,.94)) !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .42) !important;
  border-radius: 9999px !important;
  box-shadow: 0 12px 32px rgba(var(--dv-plum-rgb), .15) !important;
}
html.cc-brut body:not(.dark-theme) .nav-header.nav-compact .nav-menu a {
  color: var(--dv-plum-800) !important;
}

/* Só no sticker o CTA diminui, vira pílula e perde a sombra. */
html.cc-brut body .nav-header.nav-compact
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec),
html.cc-brut body .nav-header.nav-compact
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec):hover,
html body .nav-header.nav-compact
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec),
html body .nav-header.nav-compact
  .btn-nav-cta:not(.btn-nav-cta--ghost):not(.btn-hero-sec):hover {
  min-height: 40px !important;
  padding: 10px 20px !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background:
    linear-gradient(110deg,
      var(--dv-lilac) 0%,
      var(--dv-magenta) 58%,
      var(--dv-coral) 100%) !important;
  color: var(--dv-plum-950) !important;
  -webkit-text-fill-color: var(--dv-plum-950) !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Avatar: sem placa/sombra-bloco atrás — só o mascote */
body.dark-theme :is(.robo-companion, .cc-prompt-dock__mascot)
  .robo[data-robo-variant="core"],
body:not(.dark-theme) :is(.robo-companion, .cc-prompt-dock__mascot)
  .robo[data-robo-variant="core"],
html body :is(.robo-companion, .cc-prompt-dock__mascot) .robo {
  filter: none !important;
}

/* Balão escuro — painel plum com linha lilás. */
body.dark-theme .robo-companion-bubble {
  background:
    linear-gradient(145deg, var(--dv-plum-800), var(--dv-plum-900)) !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .58) !important;
  box-shadow:
    -5px 5px 0 var(--dv-plum-950),
    0 10px 28px rgba(var(--dv-plum-rgb), .34) !important;
}
body.dark-theme .robo-companion-bubble__label {
  color: var(--dv-lilac) !important;
}
body.dark-theme .robo-companion-bubble__text {
  color: var(--dv-cream-50) !important;
}
body.dark-theme .robo-companion-bubble__tail {
  background: var(--dv-plum-900) !important;
  border-right-color: rgba(var(--dv-lilac-rgb), .58) !important;
  border-bottom-color: rgba(var(--dv-lilac-rgb), .58) !important;
}
body.dark-theme .robo-companion-bubble__close {
  color: #CBBBDD !important;
  border-color: rgba(var(--dv-lilac-rgb), .24) !important;
  background: rgba(var(--dv-lilac-rgb), .06) !important;
}

/* Balão claro — card cream, texto plum e sombra lilás. */
body:not(.dark-theme) .robo-companion-bubble {
  background:
    linear-gradient(145deg, var(--dv-white), var(--dv-cream-100)) !important;
  border: 1px solid var(--dv-plum-600) !important;
  box-shadow:
    -5px 5px 0 rgba(var(--dv-lilac-rgb), .52),
    0 10px 28px rgba(var(--dv-plum-rgb), .12) !important;
}
body:not(.dark-theme) .robo-companion-bubble__label {
  color: var(--dv-orange-deep) !important;
}
body:not(.dark-theme) .robo-companion-bubble__text {
  color: var(--dv-ink) !important;
}
body:not(.dark-theme) .robo-companion-bubble__tail {
  background: var(--dv-cream-100) !important;
  border-right-color: var(--dv-plum-600) !important;
  border-bottom-color: var(--dv-plum-600) !important;
}
body:not(.dark-theme) .robo-companion-bubble__close {
  color: var(--dv-plum-600) !important;
  border-color: rgba(var(--dv-plum-rgb), .18) !important;
  background: rgba(var(--dv-lilac-rgb), .10) !important;
}

/* Política final: todos os CTAs primários sem borda.
   Controles funcionais e botões secundários mantêm suas molduras. */
html body :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid, .btn-wa-lp,
  .psc-card-cta, .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn,
  .cs2-headlink, .cs2-ledger__cta, .proof__roster-cta,
  .gua-contract__cta, .pricing-card__cta, .pc-btn-cta--featured,
  .footer-news-form button, .dcb-btn-wa, .cft-wa
):not(.btn-nav-cta--ghost):not(.btn-hero-sec),
html.cc-brut body :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid, .btn-wa-lp,
  .psc-card-cta, .signup-strip__btn,
  .nav-account__btn--primary, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn,
  .cs2-headlink, .cs2-ledger__cta, .proof__roster-cta,
  .gua-contract__cta, .pricing-card__cta, .pc-btn-cta--featured,
  .footer-news-form button, .dcb-btn-wa, .cft-wa
):not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  border: 0 !important;
  border-width: 0 !important;
}
html.cc-brut body #main-content :is(
  .btn-nav-cta, .btn-hero, .btn-cta, .btn-solid, .btn-wa-lp,
  .psc-card-cta, .signup-strip__btn, .ctaform-submit, .ctaform__submit,
  .ctaform-fasttrack__btn, .probsol-cta-bar__btn,
  .cs2-headlink, .cs2-ledger__cta, .proof__roster-cta,
  .gua-contract__cta, .pricing-card__cta, .pc-btn-cta--featured,
  .dcb-btn-wa, .cft-wa
):not(.btn-nav-cta--ghost):not(.btn-hero-sec) {
  border: 0 !important;
  border-width: 0 !important;
}

/* ── 4.5 LOGO E ASSISTENTE CORE ─────────────────────────── */

/* Assinatura no tema claro: CREATIVE roxo, CORE laranja e
   símbolo com traço plum para permanecer visível sobre cream. */
html body:not(.dark-theme) .logo {
  color: var(--dv-plum-700) !important;
  -webkit-text-fill-color: var(--dv-plum-700) !important;
}
html body:not(.dark-theme) .logo .logo-core {
  color: var(--dv-orange) !important;
  -webkit-text-fill-color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .logo-sq,
html body .logo-sq,
html.cc-brut body .logo-sq {
  background: var(--dv-orange) !important;
  border-radius: 0 !important;
}

/* Chat aberto: painel de marca com raios concêntricos fluidos */
html body .cc-prompt-dock :is(
  .cc-prompt-chat, .cc-prompt-chat__head, .cc-prompt-chat__online,
  .cc-prompt-chat__verified, .cc-prompt-chat__msg-body,
  .cc-prompt-chat__card, .cc-prompt-chat__badge,
  .cc-prompt-dock__chip, .cc-prompt, .cc-prompt__send,
  .cc-prompt__attach, .cc-prompt__mic, .cc-prompt-dock__mascot
) {
  border-radius: var(--cc-r-xl, 24px) !important;
}

html body .cc-prompt-chat {
  gap: 0 !important;
  max-height: min(56vh, 430px) !important;
  padding: 0 !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .34) !important;
  background:
    radial-gradient(circle at 88% 0%,
      rgba(var(--dv-orange-rgb), .14), transparent 34%),
    radial-gradient(circle at 8% 100%,
      rgba(var(--dv-lilac-rgb), .12), transparent 38%),
    linear-gradient(155deg, var(--dv-plum-900), var(--dv-plum-950)) !important;
  box-shadow:
    0 22px 58px rgba(10, 0, 18, .48),
    inset 0 1px 0 rgba(var(--dv-lilac-rgb), .08) !important;
}
html body .cc-prompt-chat[hidden] {
  display: none !important;
}
.cc-prompt-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(var(--dv-lilac-rgb), .20);
  background: rgba(var(--dv-plum-rgb), .20);
}
.cc-prompt-chat__identity {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cc-prompt-chat__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--dv-lilac) !important;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 0;
  white-space: nowrap;
}
.cc-prompt-chat__title {
  display: inline-block;
  color: var(--dv-cream-50) !important;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0;
  white-space: nowrap;
}
.cc-prompt-chat__online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(var(--dv-orange-rgb), .28);
  color: #F4D9CF !important;
  background: rgba(var(--dv-orange-rgb), .07);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.cc-prompt-chat__online i {
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background: var(--dv-orange);
  box-shadow: 0 0 9px rgba(var(--dv-orange-rgb), .55);
}
html body .cc-prompt-chat__verified {
  margin: 8px 14px 0 !important;
  padding: 4px 2px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
html body .cc-prompt-chat__verified.is-unverified {
  color: #BFAFCF !important;
  background: transparent !important;
}
html body .cc-prompt-chat__messages {
  gap: 12px !important;
  max-height: min(39vh, 300px) !important;
  padding: 12px !important;
}
html body .cc-prompt-chat__messages:empty {
  display: none !important;
  padding: 0 !important;
}
html body .cc-prompt-chat__msg {
  gap: 5px !important;
  max-width: 82% !important;
}
html body .cc-prompt-chat__msg-tag {
  color: #A994BC !important;
  font-size: 8px !important;
  font-weight: 700;
}
html body .cc-prompt-chat__msg--user .cc-prompt-chat__msg-tag {
  color: var(--dv-coral) !important;
}
html body .cc-prompt-chat__msg-body {
  padding: 10px 12px !important;
  color: #F6F0F8 !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .20) !important;
  background: rgba(var(--dv-lilac-rgb), .07) !important;
  box-shadow: none !important;
}
html body .cc-prompt-chat__msg--user .cc-prompt-chat__msg-body {
  color: var(--dv-plum-950) !important;
  border: 0 !important;
  background: linear-gradient(110deg,
    var(--dv-lilac), var(--dv-magenta) 56%, var(--dv-coral)) !important;
}

/* Barra e ações pertencem visualmente ao mesmo sistema do painel. */
html body .cc-prompt-dock__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 2px 0 6px !important;
  justify-content: flex-start !important;
  background: transparent !important;
}
html body .cc-prompt-dock__chip {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  color: #E2D6EE !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .32) !important;
  background: rgba(var(--dv-lilac-rgb), .12) !important;
  font-family: var(--font-mono, 'DM Mono', monospace) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .03em !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2) !important;
  transition: all 0.2s ease !important;
}
html body .cc-prompt-dock__chip:hover {
  color: #FFFFFF !important;
  border-color: rgba(var(--dv-lilac-rgb), .6) !important;
  background: rgba(var(--dv-lilac-rgb), .24) !important;
  box-shadow: 0 0 12px rgba(var(--dv-lilac-rgb), .35) !important;
  transform: translateY(-1px) !important;
}
html body .cc-prompt {
  border: 1px solid rgba(var(--dv-lilac-rgb), .22) !important;
  background:
    linear-gradient(110deg,
      rgba(20, 2, 33, .97), rgba(35, 8, 53, .96)) !important;
  box-shadow: 0 16px 38px rgba(10, 0, 18, .38) !important;
}
html body .cc-prompt:focus-within,
html body .cc-prompt__bar:focus-within,
html body .cc-prompt__field:focus-within,
html body .cc-prompt__input:focus {
  border-color: rgba(var(--dv-lilac-rgb), .45) !important;
  box-shadow: 0 0 0 2px rgba(var(--dv-lilac-rgb), .12) !important;
  outline: none !important;
}
html body .cc-prompt__input {
  color: var(--dv-cream-50) !important;
}
html body .cc-prompt__input::placeholder {
  color: #9E8CAF !important;
}
html body .cc-prompt__attach,
html body .cc-prompt__mic {
  color: #A994BC !important;
  border-color: rgba(var(--dv-lilac-rgb), .14) !important;
}
html body .cc-prompt__send {
  border: 0 !important;
  color: var(--dv-plum-950) !important;
  background: var(--dv-gradient-poster) !important;
}
html body .cc-prompt-dock__mascot {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Versão clara: cream e branco com contraste plum, sem recolorir
   genericamente todo span/div e apagar a hierarquia do componente. */
html body:not(.dark-theme) .cc-prompt-chat {
  color: var(--dv-ink) !important;
  border-color: rgba(var(--dv-plum-rgb), .24) !important;
  background:
    radial-gradient(circle at 90% 0%,
      rgba(var(--dv-orange-rgb), .13), transparent 34%),
    radial-gradient(circle at 5% 100%,
      rgba(var(--dv-lilac-rgb), .18), transparent 40%),
    linear-gradient(155deg, var(--dv-white), var(--dv-cream-100)) !important;
  box-shadow:
    0 22px 52px rgba(var(--dv-plum-rgb), .16),
    inset 0 1px 0 rgba(255,255,255,.72) !important;
}
html body:not(.dark-theme) .cc-prompt-chat__head {
  border-bottom-color: rgba(var(--dv-plum-rgb), .13);
  background: rgba(var(--dv-lilac-rgb), .09);
}
html body:not(.dark-theme) .cc-prompt-chat__eyebrow {
  color: var(--dv-orange-deep) !important;
}
html body:not(.dark-theme) .cc-prompt-chat__title {
  color: var(--dv-plum-800) !important;
}
html body:not(.dark-theme) .cc-prompt-chat__online {
  color: var(--dv-plum-700) !important;
  border-color: rgba(var(--dv-orange-rgb), .34);
  background: rgba(var(--dv-orange-rgb), .08);
}
html body:not(.dark-theme) .cc-prompt-chat__verified {
  color: var(--dv-plum-600) !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body:not(.dark-theme) .cc-prompt-chat__verified-label,
html body:not(.dark-theme) .cc-prompt-chat__msg-tag {
  color: var(--dv-plum-600) !important;
}
html body:not(.dark-theme) .cc-prompt-chat__msg-body {
  color: var(--dv-ink) !important;
  border-color: rgba(var(--dv-plum-rgb), .16) !important;
  background: rgba(255,255,255,.72) !important;
}
html body:not(.dark-theme)
  .cc-prompt-chat__msg--user .cc-prompt-chat__msg-body {
  color: var(--dv-plum-950) !important;
  border: 0 !important;
  background: linear-gradient(110deg,
    #DEC4EC, var(--dv-lilac) 56%, #FFB39B) !important;
}
html body:not(.dark-theme) .cc-prompt-dock__chips {
  justify-content: flex-start !important;
}
html body:not(.dark-theme) .cc-prompt-dock__chip {
  color: #2D143E !important;
  border-color: rgba(22, 8, 31, 0.16) !important;
  background: rgba(22, 8, 31, 0.05) !important;
  box-shadow: 0 2px 6px rgba(22, 8, 31, 0.05) !important;
}
html body:not(.dark-theme) .cc-prompt-dock__chip:hover {
  color: #16081F !important;
  border-color: rgba(22, 8, 31, 0.35) !important;
  background: rgba(22, 8, 31, 0.1) !important;
  box-shadow: 0 0 10px rgba(22, 8, 31, 0.1) !important;
}
html body:not(.dark-theme) .cc-prompt {
  border-color: rgba(22, 8, 31, 0.14) !important;
  background:
    linear-gradient(110deg,
      rgba(255,255,255,.98), rgba(250,244,252,.97)) !important;
  box-shadow: 0 16px 38px rgba(22, 8, 31, .08) !important;
}
html body:not(.dark-theme) .cc-prompt:focus-within,
html body:not(.dark-theme) .cc-prompt__bar:focus-within,
html body:not(.dark-theme) .cc-prompt__field:focus-within,
html body:not(.dark-theme) .cc-prompt__input:focus {
  border-color: rgba(22, 8, 31, 0.3) !important;
  box-shadow: 0 0 0 2px rgba(22, 8, 31, 0.08) !important;
  outline: none !important;
}
html body:not(.dark-theme) .cc-prompt__input {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .cc-prompt__input::placeholder {
  color: var(--dv-plum-500) !important;
}
html body:not(.dark-theme) .cc-prompt__attach,
html body:not(.dark-theme) .cc-prompt__mic {
  color: var(--dv-plum-500) !important;
  border-color: rgba(var(--dv-plum-rgb), .12) !important;
}
html body:not(.dark-theme) .cc-prompt-dock__mascot {
  border: 0 !important;
  background: transparent !important;
}

html body .cc-prompt-dock:not(.is-chat-open) .cc-prompt-dock__inner,
html body .cc-prompt-dock.is-chat-minimized .cc-prompt-dock__inner,
html body .cc-prompt-dock:not(.is-chat-expanded) .cc-prompt-dock__inner {
  border: 0 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

/* Janela de IA: histórico e compositor formam uma única superfície.
   O ponto de partida continua centralizado no rodapé; no desktop o
   cabeçalho move a janela e as bordas permitem redimensioná-la. */
html body .cc-prompt-dock.is-chat-open.is-chat-expanded .cc-prompt-dock__inner {
  position: relative;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(var(--dv-lilac-rgb), .34) !important;
  border-radius: var(--cc-r-xl, 24px) !important;
  background:
    radial-gradient(circle at 88% 0%,
      rgba(var(--dv-orange-rgb), .12), transparent 32%),
    linear-gradient(155deg, var(--dv-plum-900), var(--dv-plum-950)) !important;
  box-shadow:
    0 24px 64px rgba(10, 0, 18, .48),
    inset 0 1px 0 rgba(var(--dv-lilac-rgb), .08) !important;
}
html body .cc-prompt-dock.is-chat-open
  :is(.cc-prompt-chat, .cc-prompt) {
  width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-chat {
  flex: 1 1 auto;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-dock__row {
  flex: 0 0 auto;
  gap: 0 !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt {
  min-height: 64px !important;
  height: 64px !important;
  border-top: 1px solid rgba(var(--dv-lilac-rgb), .22) !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt__bar {
  margin: 8px 10px 10px;
  min-height: 48px;
  border: 1px solid rgba(var(--dv-lilac-rgb), .16);
  border-radius: 5px;
  background: rgba(var(--dv-lilac-rgb), .045);
}
html body .cc-prompt-dock.is-chat-open .cc-prompt__attach,
html body .cc-prompt-dock.is-chat-open .cc-prompt__mic {
  border-color: transparent !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt__input {
  padding-block: 12px !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-chat__head {
  cursor: grab;
  touch-action: none;
  user-select: none;
}
html body .cc-prompt-dock.is-window-moving .cc-prompt-chat__head {
  cursor: grabbing;
}
.cc-prompt-chat__tools {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.cc-prompt-chat__window-grip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 0;
  padding: 5px 7px;
  border: 0;
  border-radius: 5px;
  color: #877397;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: grab;
}
.cc-prompt-chat__window-grip:hover,
.cc-prompt-chat__window-grip:focus-visible {
  color: var(--dv-lilac);
  background: rgba(var(--dv-lilac-rgb), .07);
  outline: 1px solid rgba(var(--dv-lilac-rgb), .20);
  outline-offset: 0;
}
.cc-prompt-chat__window-grip i {
  width: 12px;
  height: 12px;
  background:
    radial-gradient(circle, currentColor 1px, transparent 1.5px)
    0 0 / 4px 4px;
}

html body .cc-prompt-dock.is-chat-open.is-chat-pinned.is-detached {
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  transition: opacity .18s ease !important;
}
html body .cc-prompt-dock.is-user-sized .cc-prompt-dock__inner {
  height: 100%;
}
html body .cc-prompt-dock.is-user-sized .cc-prompt-chat {
  min-height: 0 !important;
  max-height: none !important;
}
html body .cc-prompt-dock.is-user-sized .cc-prompt-chat__messages {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
}

.cc-prompt-resize {
  display: none;
  position: absolute;
  z-index: 12;
  touch-action: none;
}
.cc-prompt-dock.is-chat-open:not(.is-chat-minimized) .cc-prompt-resize {
  display: block;
}
.cc-prompt-resize--n,
.cc-prompt-resize--s {
  left: 12px;
  right: 12px;
  height: 8px;
  cursor: ns-resize;
}
.cc-prompt-resize--n { top: -4px; }
.cc-prompt-resize--s { bottom: -4px; }
.cc-prompt-resize--e,
.cc-prompt-resize--w {
  top: 12px;
  bottom: 12px;
  width: 8px;
  cursor: ew-resize;
}
.cc-prompt-resize--e { right: -4px; }
.cc-prompt-resize--w { left: -4px; }
.cc-prompt-resize--ne,
.cc-prompt-resize--se,
.cc-prompt-resize--sw,
.cc-prompt-resize--nw {
  width: 16px;
  height: 16px;
}
.cc-prompt-resize--ne { top: -4px; right: -4px; cursor: nesw-resize; }
.cc-prompt-resize--se { right: -4px; bottom: -4px; cursor: nwse-resize; }
.cc-prompt-resize--sw { left: -4px; bottom: -4px; cursor: nesw-resize; }
.cc-prompt-resize--nw { top: -4px; left: -4px; cursor: nwse-resize; }
.cc-prompt-resize--se::after {
  content: '';
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(var(--dv-lilac-rgb), .62);
  border-bottom: 1px solid rgba(var(--dv-lilac-rgb), .62);
  border-radius: 0 0 5px 0;
}
body.cc-chat-window-active {
  user-select: none !important;
}

html body:not(.dark-theme)
  .cc-prompt-dock.is-chat-open .cc-prompt-dock__inner {
  border-color: rgba(var(--dv-plum-rgb), .24) !important;
  background:
    radial-gradient(circle at 90% 0%,
      rgba(var(--dv-orange-rgb), .11), transparent 32%),
    linear-gradient(155deg, var(--dv-white), var(--dv-cream-100)) !important;
  box-shadow:
    0 24px 58px rgba(var(--dv-plum-rgb), .17),
    inset 0 1px 0 rgba(255,255,255,.76) !important;
}
html body:not(.dark-theme)
  .cc-prompt-dock.is-chat-open .cc-prompt {
  border-top-color: rgba(var(--dv-plum-rgb), .14) !important;
}
html body:not(.dark-theme)
  .cc-prompt-dock.is-chat-open .cc-prompt__bar {
  border-color: rgba(var(--dv-plum-rgb), .13);
  background: rgba(255,255,255,.58);
}
html body:not(.dark-theme) .cc-prompt-chat__window-grip {
  color: var(--dv-plum-500) !important;
}

@media (max-width: 768px) {
  .cc-prompt-resize,
  .cc-prompt-chat__window-grip {
    display: none !important;
  }
  html body .cc-prompt-dock.is-chat-open .cc-prompt-dock__inner {
    overflow: hidden;
  }
}

/* Balão do avatar: superfície limpa com filete de gradiente;
   elimina as sombras em bloco que competiam com o mascote. */
html body .robo-companion-bubble {
  overflow: visible;
  border-radius: 8px !important;
  padding: 10px 14px 11px !important;
}
html body .robo-companion-bubble__close {
  border-radius: 4px !important;
  width: 18px !important;
  height: 18px !important;
  top: 6px !important;
  right: 6px !important;
}
html body .robo-companion-bubble__tail {
  border-radius: 0 0 2px 0 !important;
  right: -5px !important;
  left: auto !important;
  bottom: 14px !important;
  width: 9px !important;
  height: 9px !important;
  transform: rotate(-45deg) !important;
}
html body .robo-companion-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 7px 7px 0 0 !important;
  background: var(--dv-gradient-poster, linear-gradient(90deg, #9D7BB0, #E84500)) !important;
  pointer-events: none;
}
body.dark-theme .robo-companion-bubble {
  border: 1px solid rgba(var(--dv-lilac-rgb), .34) !important;
  background: linear-gradient(145deg,
    rgba(40, 12, 60, .98), rgba(20, 2, 33, .99)) !important;
  box-shadow:
    0 14px 36px rgba(10,0,18,.42),
    inset 0 1px 0 rgba(var(--dv-lilac-rgb),.07) !important;
}
body.dark-theme .robo-companion-bubble__label {
  color: var(--dv-coral) !important;
}
body.dark-theme .robo-companion-bubble__tail {
  background: #1B052B !important;
  border-right: 1px solid rgba(var(--dv-lilac-rgb), .34) !important;
  border-bottom: 1px solid rgba(var(--dv-lilac-rgb), .34) !important;
  border-left: 0 !important;
  border-top: 0 !important;
}
body:not(.dark-theme) .robo-companion-bubble {
  border: 1px solid rgba(var(--dv-plum-rgb), .24) !important;
  background: linear-gradient(145deg,
    rgba(255,255,255,.99), rgba(246,238,248,.98)) !important;
  box-shadow:
    0 14px 34px rgba(var(--dv-plum-rgb),.14),
    inset 0 1px 0 rgba(255,255,255,.78) !important;
}
body:not(.dark-theme) .robo-companion-bubble__label {
  color: var(--dv-orange-deep) !important;
}
body:not(.dark-theme) .robo-companion-bubble__text {
  color: var(--dv-plum-900) !important;
}
body:not(.dark-theme) .robo-companion-bubble__tail {
  background: #F6EEF8 !important;
  border-right: 1px solid rgba(var(--dv-plum-rgb), .24) !important;
  border-bottom: 1px solid rgba(var(--dv-plum-rgb), .24) !important;
  border-left: 0 !important;
  border-top: 0 !important;
}

/* ── 4.6 FAIXA DE MÉTRICAS ────────────────────────────────
   Uma ponte cream entre o hero e o diagnóstico, com cada dado
   ocupando uma faixa da paleta em vez de repetir laranja puro. */
html.cc-brut body .stats-strip {
  --stat-a: var(--dv-plum-600);
  --stat-b: var(--dv-magenta);
  position: relative;
  border-radius: 0 !important;
  background:
    radial-gradient(ellipse 30% 110% at 10% 50%,
      rgba(var(--dv-lilac-rgb), .18), transparent 70%),
    radial-gradient(ellipse 28% 120% at 92% 45%,
      rgba(var(--dv-orange-rgb), .11), transparent 72%),
    linear-gradient(100deg,
      var(--dv-cream-50), #F6EEF8 48%, var(--dv-cream-100)) !important;
  border-top: 1px solid rgba(var(--dv-lilac-rgb), .24) !important;
  border-bottom: 1px solid rgba(var(--dv-plum-rgb), .14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.76),
    inset 0 -1px 0 rgba(var(--dv-orange-rgb),.05) !important;
}
html.cc-brut body .stats-strip::before {
  height: 3px !important;
  opacity: .82 !important;
  background: var(--dv-gradient-poster) !important;
}
html.cc-brut body .stats-strip__item {
  border-radius: 0 !important;
  border-right: 1px solid rgba(var(--dv-plum-rgb), .14) !important;
  background: transparent !important;
  transition: background-color 180ms ease, box-shadow 180ms ease !important;
}
html.cc-brut body .stats-strip__item:nth-child(2) {
  --stat-a: var(--dv-orange-deep);
  --stat-b: var(--dv-coral);
}
html.cc-brut body .stats-strip__item:nth-child(3) {
  --stat-a: var(--dv-plum-700);
  --stat-b: var(--dv-lilac);
}
html.cc-brut body .stats-strip__item:nth-child(4) {
  --stat-a: var(--dv-magenta);
  --stat-b: var(--dv-orange);
}
html.cc-brut body .stats-strip__item:hover {
  background: rgba(var(--dv-lilac-rgb), .08) !important;
  box-shadow: inset 0 -3px 0 rgba(var(--dv-orange-rgb), .28);
}
html.cc-brut body .stats-strip__item
  :is(.stats-strip__num, .stats-strip__prefix, .stats-strip__suffix) {
  color: var(--stat-a) !important;
  -webkit-text-fill-color: transparent !important;
  background: linear-gradient(115deg, var(--stat-a), var(--stat-b)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  text-shadow: none !important;
  filter: drop-shadow(0 5px 12px rgba(var(--dv-plum-rgb), .08));
}
html.cc-brut body .stats-strip__label {
  color: var(--dv-plum-600) !important;
  opacity: .78;
}
html.cc-brut body .stats-strip :is(.ahud-readout, .ahud-bars) {
  color: var(--dv-plum-500) !important;
  opacity: .44;
}

body.dark-theme .stats-strip,
html.cc-brut body.dark-theme .stats-strip {
  background:
    repeating-linear-gradient(0deg,
      rgba(var(--dv-lilac-rgb),.018) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg,
      rgba(var(--dv-lilac-rgb),.018) 0 1px, transparent 1px 72px),
    radial-gradient(ellipse 55% 120% at 8% 35%,
      rgba(var(--dv-lilac-rgb), .11), transparent 65%),
    radial-gradient(ellipse 48% 120% at 92% 60%,
      rgba(var(--dv-orange-rgb), .10), transparent 67%),
    linear-gradient(105deg, var(--dv-plum-950), var(--dv-plum-900)) !important;
  border-color: rgba(var(--dv-lilac-rgb), .18) !important;
  box-shadow:
    inset 0 1px 0 rgba(var(--dv-lilac-rgb), .07),
    inset 0 -1px 0 rgba(var(--dv-orange-rgb), .07) !important;
}
html.cc-brut body.dark-theme .stats-strip__item {
  --stat-a: var(--dv-lilac);
  --stat-b: var(--dv-magenta);
  border-right-color: rgba(var(--dv-lilac-rgb), .16) !important;
}
html.cc-brut body.dark-theme .stats-strip__item:nth-child(2) {
  --stat-a: var(--dv-orange);
  --stat-b: var(--dv-coral);
}
html.cc-brut body.dark-theme .stats-strip__item:nth-child(3) {
  --stat-a: #E3C8F0;
  --stat-b: var(--dv-lilac);
}
html.cc-brut body.dark-theme .stats-strip__item:nth-child(4) {
  --stat-a: var(--dv-magenta);
  --stat-b: var(--dv-orange);
}
html.cc-brut body.dark-theme .stats-strip__label {
  color: #CDBFD9 !important;
  opacity: .68;
}

/* ── 4.7 DIAGNÓSTICO · CONSOLE DE DECISÃO ─────────────────
   Cards sem rolagem interna; geometria final do palco em §4.8 (foco narrativo). */
html.cc-brut body .probsol .psc-stage {
  --psc-card-w: min(1560px, calc(var(--cc-vw, 100vw) - 48px)) !important;
  --psc-card-h: min(720px, calc(var(--cc-vh, 100vh) - 130px)) !important;
}
html.cc-brut body .probsol .psc-rail.probsol-grid {
  --psc-gap: clamp(24px, 4vw, 56px) !important;
  align-items: center !important;
}
html.cc-brut body .probsol .psc-rail .probsol-card,
html.cc-brut body .probsol .probsol-card.psc-card-v2 {
  border: 2.5px solid rgba(var(--dv-lilac-rgb), .45) !important;
  border-radius: 5px !important;
  background:
    radial-gradient(ellipse 62% 95% at 100% 0%,
      rgba(var(--dv-lilac-rgb), .12), transparent 68%),
    linear-gradient(145deg, rgba(39,14,55,.98), rgba(21,1,34,.99)) !important;
  box-shadow:
    8px 8px 0 rgba(var(--dv-plum-rgb), .55),
    0 22px 54px rgba(5,0,10,.28) !important;
  height: var(--psc-card-h) !important;
  min-height: var(--psc-card-h) !important;
  max-height: var(--psc-card-h) !important;
  overflow: hidden !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
html.cc-brut body .probsol .psc-rail .probsol-card:hover,
html.cc-brut body .probsol .probsol-card.psc-card-v2:hover {
  box-shadow:
    8px 8px 0 var(--dv-orange, #FF5C14),
    0 26px 60px rgba(5, 0, 10, 0.4) !important;
  border-color: var(--dv-orange, #FF5C14) !important;
}
html.cc-brut body .probsol .probsol-card::before,
html.cc-brut body .probsol .probsol-card::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  pointer-events: none;
}
html.cc-brut body .probsol .probsol-card::before {
  inset: 0 auto 0 0 !important;
  width: 8px !important;
  height: auto !important;
  opacity: 1 !important;
  background: var(--dv-gradient-poster) !important;
  box-shadow: 0 0 18px rgba(255, 92, 20, 0.55), 0 0 10px rgba(124, 58, 237, 0.4) !important;
  border-radius: 0 !important;
  z-index: 5 !important;
}
html.cc-brut body .probsol .probsol-card::after {
  inset: 0 0 auto 0 !important;
  height: 1px !important;
  opacity: .82 !important;
  background: linear-gradient(90deg,
    var(--dv-orange), var(--dv-lilac), transparent 82%) !important;
  z-index: 5 !important;
}

/* Remove o vidro leitoso antigo; mantém somente uma superfície técnica. */
html.cc-brut body .probsol .psc-glass {
  border-radius: 5px !important;
  background:
    linear-gradient(rgba(var(--dv-lilac-rgb),.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dv-lilac-rgb),.025) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
  opacity: .72;
}
html.cc-brut body .probsol .psc-glass__frost {
  background: linear-gradient(135deg,
    rgba(255,255,255,.025), transparent 42%, rgba(var(--dv-orange-rgb),.025)) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
  backdrop-filter: blur(14px) saturate(120%) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.08) !important;
}
html.cc-brut body .probsol .psc-glass__shine,
html.cc-brut body .probsol .psc-glass__rim {
  display: none !important;
}

html.cc-brut body .probsol .psc-hud {
  min-height: 42px;
  padding: 10px 18px !important;
  border-bottom: 1px solid rgba(var(--dv-lilac-rgb), .18) !important;
  border-radius: 0 !important;
  background: rgba(var(--dv-plum-rgb), .38) !important;
  box-shadow: none !important;
}
html.cc-brut body .probsol .psc-hud__file {
  color: #D9CCE4 !important;
  font-size: 9px !important;
  letter-spacing: .16em !important;
}
html.cc-brut body .probsol .psc-hud__status {
  color: var(--dv-orange) !important;
  font-size: 9px !important;
}
html.cc-brut body .probsol .psc-hud__status i {
  width: 5px;
  height: 5px;
  border-radius: 50% !important;
}

html.cc-brut body .probsol .psc-card-v2 .psc-body,
html.cc-brut body .probsol .psc-rail .probsol-card:nth-child(n+3) .psc-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr) !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-col,
html.cc-brut body .probsol .psc-rail .probsol-card:nth-child(n+3) .psc-col {
  padding: clamp(16px, 2.2vw, 24px) !important;
  gap: clamp(8px, 1.2vh, 13px) !important;
  min-width: 0;
}
html.cc-brut body .probsol .psc-card-v2 .psc-col--prob,
html.cc-brut body .probsol .psc-rail .probsol-card:nth-child(n+3) .psc-col--prob {
  border-right: 1px solid rgba(var(--dv-orange-rgb), .17) !important;
  border-bottom: 0 !important;
  background: linear-gradient(155deg,
    rgba(var(--dv-orange-rgb),.09), transparent 60%) !important;
  box-shadow: none !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-col--sol {
  background: linear-gradient(155deg,
    rgba(var(--dv-lilac-rgb),.10), transparent 62%) !important;
  box-shadow: none !important;
}

/* Controles e microcards: a mesma geometria mínima de 3px. */
html.cc-brut body .probsol :is(
  .psc-tag, .psc-icon, .psc-viz, .psc-kpis > div,
  .psc-chips span, .psc-card-cta
) {
  border-radius: 5px !important;
}
html.cc-brut body .probsol .psc-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--dv-lilac-rgb), .35) !important;
  color: var(--dv-lilac) !important;
  background: rgba(var(--dv-lilac-rgb), .07) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html.cc-brut body .probsol .psc-icon svg {
  width: 14px;
  height: 14px;
}
html.cc-brut body .probsol .psc-tag {
  padding: 5px 12px !important;
  font-size: 11px !important;
  letter-spacing: .12em !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html.cc-brut body .probsol .psc-tag--prob {
  color: #FF8B5C !important;
  border-color: rgba(var(--dv-orange-rgb), .45) !important;
  background: rgba(var(--dv-orange-rgb), .09) !important;
}
html.cc-brut body .probsol .psc-tag--sol {
  color: #DDB5F0 !important;
  border-color: rgba(var(--dv-lilac-rgb), .42) !important;
  background: rgba(var(--dv-lilac-rgb), .09) !important;
}
html.cc-brut body .probsol .psc-problem__text {
  color: #FFF8F3 !important;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
  line-height: 1.38 !important;
  text-shadow: none !important;
}
html.cc-brut body .probsol .psc-solution__text {
  color: #D9CDE2 !important;
  font-size: clamp(.88rem, 1.1vw, .98rem) !important;
  line-height: 1.55 !important;
  text-shadow: none !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-note {
  color: #FF9A70 !important;
  font-size: 11px !important;
}

/* Visualização refeita como painel de sinal, não como gráfico genérico. */
html.cc-brut body .probsol .psc-card-v2 .psc-viz {
  width: 100% !important;
  max-width: none !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(var(--dv-orange-rgb), .25) !important;
  background:
    linear-gradient(rgba(var(--dv-lilac-rgb),.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dv-lilac-rgb),.045) 1px, transparent 1px),
    rgba(var(--dv-plum-rgb), .28) !important;
  background-size: 16px 16px !important;
  box-shadow: inset 0 0 24px rgba(var(--dv-orange-rgb), .035) !important;
  backdrop-filter: none !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-viz__label {
  color: #BDAEC8 !important;
  margin-bottom: 8px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-spark {
  height: 38px !important;
  margin-bottom: 8px !important;
  filter: drop-shadow(0 0 5px rgba(var(--dv-orange-rgb),.28));
}
html.cc-brut body .probsol .psc-spark__area {
  opacity: .42;
}
html.cc-brut body .probsol .psc-spark__line {
  stroke: var(--dv-orange) !important;
  stroke-width: 1.7px !important;
}
html.cc-brut body .probsol .psc-kpis {
  gap: 8px !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-kpis > div {
  padding: 8px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .16) !important;
  background: rgba(var(--dv-lilac-rgb), .045) !important;
  box-shadow: none !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-kpis b {
  color: #FF8A59 !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-kpis span {
  color: #AFA1BA !important;
  margin-top: 3px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

html.cc-brut body .probsol .psc-chips {
  gap: 6px !important;
}
html.cc-brut body .probsol .psc-chips span {
  padding: 5px 11px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .22) !important;
  color: #CFC1D9 !important;
  background: rgba(var(--dv-lilac-rgb), .05) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}
html.cc-brut body .probsol .psc-metrics {
  margin-top: auto !important;
  padding-top: 10px !important;
  gap: 8px !important;
  border-top-color: rgba(var(--dv-lilac-rgb), .15) !important;
}
html.cc-brut body .probsol .psc-metric__head {
  margin-bottom: 6px !important;
}
html.cc-brut body .probsol .psc-metric__head span {
  color: #AFA1BA !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
}
html.cc-brut body .probsol .psc-metric__head b {
  color: #E1B9F2 !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-gauge {
  width: 48px !important;
  height: 48px !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-gauge__track {
  stroke: rgba(var(--dv-lilac-rgb), .14) !important;
}
html.cc-brut body .probsol .psc-card-v2 .psc-gauge__fill {
  stroke: var(--dv-lilac) !important;
  filter: drop-shadow(0 0 3px rgba(var(--dv-lilac-rgb),.35));
}
html.cc-brut body .probsol .psc-card-v2 .psc-gauge__val {
  color: #E1B9F2 !important;
  font-size: 11px !important;
  text-shadow: none !important;
}
html.cc-brut body .probsol .psc-bars {
  gap: 6px;
}
html.cc-brut body .probsol .psc-bar {
  gap: 8px !important;
}
html.cc-brut body .probsol .psc-bar i {
  height: 4px !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
}
html.cc-brut body .probsol .psc-bar--before i {
  background: linear-gradient(90deg,
    rgba(var(--dv-orange-rgb),.18), var(--dv-orange)) !important;
}
html.cc-brut body .probsol .psc-bar--after i {
  background: linear-gradient(90deg,
    rgba(var(--dv-lilac-rgb),.18), var(--dv-lilac)) !important;
}
html.cc-brut body .probsol .psc-bar span {
  color: #AFA1BA !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}
html.cc-brut body .probsol .psc-card-cta {
  min-height: 44px;
  margin-top: 6px !important;
  padding: 10px 18px !important;
  font-size: 12px !important;
  border-radius: 9999px !important;
}

/* Tema claro: papel técnico cream, tinta plum e bloom muito controlado. */
html.cc-brut body:not(.dark-theme) .probsol .psc-rail .probsol-card,
html.cc-brut body:not(.dark-theme) .probsol .probsol-card.psc-card-v2 {
  border-color: rgba(var(--dv-plum-rgb), .18) !important;
  background:
    radial-gradient(ellipse 65% 100% at 100% 0%,
      rgba(var(--dv-lilac-rgb), .10), transparent 68%),
    linear-gradient(145deg, #FFFCFA, #F3E9F0) !important;
  box-shadow:
    6px 6px 0 rgba(var(--dv-plum-rgb), .10),
    0 16px 40px rgba(var(--dv-plum-rgb), .08) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .psc-hud {
  background: rgba(var(--dv-lilac-rgb), .08) !important;
  border-bottom-color: rgba(var(--dv-plum-rgb), .13) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .psc-hud__file {
  color: var(--dv-plum-700) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .psc-card-v2 .psc-col--prob {
  background: linear-gradient(155deg,
    rgba(var(--dv-orange-rgb),.08), transparent 62%) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .psc-card-v2 .psc-col--sol {
  background: linear-gradient(155deg,
    rgba(var(--dv-lilac-rgb),.13), transparent 64%) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .psc-problem__text {
  color: var(--dv-plum-950) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .psc-solution__text {
  color: var(--dv-plum-700) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .psc-card-v2 .psc-viz {
  border-color: rgba(var(--dv-orange-rgb), .24) !important;
  background:
    linear-gradient(rgba(var(--dv-plum-rgb),.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dv-plum-rgb),.035) 1px, transparent 1px),
    rgba(255,255,255,.56) !important;
  background-size: 16px 16px !important;
}
html.cc-brut body:not(.dark-theme) .probsol :is(
  .psc-viz__label, .psc-kpis span, .psc-metric__head span,
  .psc-bar span, .psc-chips span
) {
  color: var(--dv-plum-600) !important;
}
html.cc-brut body:not(.dark-theme) .probsol .psc-chips span,
html.cc-brut body:not(.dark-theme) .probsol .psc-card-v2 .psc-kpis > div {
  border-color: rgba(var(--dv-plum-rgb), .13) !important;
  background: rgba(255,255,255,.54) !important;
}

@media (max-height: 720px) and (min-width: 769px) {
  html.cc-brut body #diagnostico.probsol .psc-stage {
    --psc-card-h: min(400px, calc(100svh - 96px)) !important;
    --psc-focus-h: min(560px, calc(100svh - 120px));
    --psc-band-h: min(360px, calc(var(--psc-focus-h) * .66));
  }
  html.cc-brut body .probsol .psc-stage {
    --psc-card-h: min(440px, calc(100svh - 76px)) !important;
  }
  html.cc-brut body .probsol .psc-card-v2 .psc-col {
    padding: 13px 18px !important;
    gap: 7px !important;
  }
  html.cc-brut body .probsol .psc-card-v2 .psc-spark {
    height: 26px !important;
  }
  html.cc-brut body .probsol .psc-card-v2 .psc-viz {
    padding-block: 7px !important;
  }
}

html.cc-brut body:not(.dark-theme) .probsol .psc-spark__grid {
  stroke: rgba(var(--dv-plum-rgb), .10) !important;
}

@media (max-width: 768px) {
  html.cc-brut body .probsol .psc-stage {
    --psc-card-w: min(380px, calc(var(--cc-vw, 100vw) - 28px)) !important;
    --psc-card-h: min(660px, calc(100svh - 32px)) !important;
  }
  html.cc-brut body .probsol .psc-card-v2 .psc-body,
  html.cc-brut body .probsol .psc-rail .probsol-card:nth-child(n+3) .psc-body {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  html.cc-brut body .probsol .psc-card-v2 .psc-col {
    padding: 12px 14px !important;
    gap: 7px !important;
  }
  html.cc-brut body .probsol .psc-card-v2 .psc-col--prob {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(var(--dv-orange-rgb), .17) !important;
  }
  html.cc-brut body .probsol .psc-card-v2 .psc-viz {
    display: none !important;
  }
  html.cc-brut body .probsol .psc-problem__text {
    font-size: .92rem !important;
    line-height: 1.3 !important;
  }
  html.cc-brut body .probsol .psc-solution__text {
    font-size: .8rem !important;
    line-height: 1.4 !important;
  }
  html.cc-brut body .probsol .psc-metrics {
    padding-top: 7px !important;
  }
}

/* Trava final de geometria: os estilos históricos da home são inline,
   então o ID garante que nenhuma regra antiga recoloque cantos de 24px
   ou transforme o corpo do card em uma área de rolagem. */
html.cc-brut body #diagnostico.probsol .psc-rail .probsol-card {
  border-radius: 5px !important;
}
html.cc-brut body #diagnostico.probsol .psc-rail .probsol-card .psc-glass {
  border-radius: 5px !important;
}
html.cc-brut body #diagnostico.probsol .psc-rail .probsol-card .psc-body {
  flex: none !important;
  height: calc(100% - 42px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
html.cc-brut body #diagnostico.probsol .psc-rail .probsol-card :is(
  .psc-tag, .psc-icon, .psc-viz, .psc-kpis > div,
  .psc-chips span, .psc-card-cta
) {
  border-radius: 5px !important;
}

/* ── 4.8 DIAGNÓSTICO · FOCO NARRATIVO ─────────────────────
   Cards maiores ocupam o viewport; marker inferior anda no sentido oposto.
   Espaçamento superior/inferior da stage compactado. */
html.cc-brut body #diagnostico.probsol {
  position: relative;
  overflow: visible !important;
  isolation: isolate;
  background: var(--dv-cream-50) !important;
}
html.cc-brut body.dark-theme #diagnostico.probsol {
  background: var(--dv-plum-950) !important;
}
/* Mata overlays antigos que tapavam / competiam com a aurora */
html.cc-brut body #diagnostico.probsol::before,
html.cc-brut body.dark-theme #diagnostico.probsol::before {
  content: none !important;
  display: none !important;
}
html.cc-brut body #diagnostico.probsol > .probsol-status {
  background: transparent !important;
  border-bottom-color: rgba(var(--dv-plum-rgb), .08) !important;
}
html.cc-brut body.dark-theme #diagnostico.probsol > .probsol-status {
  border-bottom-color: rgba(255,255,255,.08) !important;
}
html.cc-brut body #diagnostico.probsol > .container,
html.cc-brut body #diagnostico.probsol > .probsol-status,
html.cc-brut body #diagnostico.probsol > .psc-pin {
  position: relative;
  z-index: 2;
}
html.cc-brut body #diagnostico.probsol > .container {
  /* Ritmo vertical vem do padding da seção + --home-* (sem pad extra no container) */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible;
}

html.cc-brut body #diagnostico.probsol .probsol-status {
  /* Alinhado ao gap único status→título (--home-status-gap) */
  padding: 14px 0 !important;
  margin: 0 0 var(--home-status-gap, var(--space-head-in)) !important;
}

/* ── Cabeçalho Diagnóstico · composição (não o sec-head básico) ── */
html.cc-brut body .psc-head .brut-index {
  display: none !important;
}
html.cc-brut body .psc-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 1.05fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
  margin-bottom: var(--home-head-gap, clamp(52px, 6.5vw, 80px));
  overflow: visible;
}
html.cc-brut body .psc-head__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  position: relative;
}
html.cc-brut body .psc-head__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
html.cc-brut body .psc-head__idx {
  font: 900 clamp(3.5rem, 7vw, 5.6rem)/.78 var(--font-display);
  letter-spacing: -.06em;
  background: linear-gradient(115deg, rgba(var(--dv-lilac-rgb), .7), var(--dv-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--dv-orange-rgb), .5);
  paint-order: stroke fill;
}
html.cc-brut body .psc-head span.psc-head__tag.sec-head__label,
html.cc-brut body .psc-head .psc-head__tag {
  margin: 0 !important;
  padding: 8px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: linear-gradient(115deg, var(--dv-orange), #E23A8C) !important;
  color: #fff !important;
  font: 800 10px/1 var(--font-mono) !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  box-shadow: 3px 3px 0 rgba(var(--dv-plum-rgb), .28) !important;
}
html.cc-brut body .psc-head__flow {
  color: rgba(var(--dv-plum-rgb), .42);
  font: 600 9px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
html.cc-brut body .psc-head__title {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html.cc-brut body .psc-head__line {
  display: block;
  font: 900 clamp(2.6rem, 5.4vw, 4.35rem)/.94 var(--font-display) !important;
  letter-spacing: -.035em !important;
  text-transform: uppercase !important;
  color: var(--dv-plum-950);
}
html.cc-brut body .psc-head__line--accent {
  width: fit-content;
  max-width: 100%;
  padding: .14em .3em .12em !important;
  color: #fff !important;
  background: linear-gradient(115deg, var(--dv-lilac), var(--dv-orange)) !important;
  box-shadow: 6px 6px 0 rgba(var(--dv-plum-rgb), .28);
  -webkit-text-fill-color: #fff;
}

/* Diagnóstico (home) · número outline + título compacto */
html.cc-brut body #diagnostico.probsol .psc-head__idx {
  --psc-idx-hole: #FBF7F2;
  font: 900 clamp(5.25rem, 14vw, 10.5rem)/.72 var(--font-display);
  letter-spacing: -.06em;
  color: var(--psc-idx-hole);
  -webkit-text-fill-color: var(--psc-idx-hole);
  background: linear-gradient(
    125deg,
    var(--dv-lilac) 0%,
    #E23A8C 38%,
    var(--dv-orange) 72%,
    #FFB347 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 3.5px transparent;
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 22px rgba(var(--dv-orange-rgb), .28));
}
html.cc-brut body.dark-theme #diagnostico.probsol .psc-head__idx {
  --psc-idx-hole: #180A22;
}
html.cc-brut body #diagnostico.probsol .psc-head__title {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: clamp(4px, 0.8vw, 8px) !important;
}
html.cc-brut body #diagnostico.probsol .psc-head__line--accent {
  display: inline-block !important;
  white-space: normal !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 0.08em 0.32em 0.06em !important;
  line-height: 1.05 !important;
  vertical-align: baseline !important;
  box-shadow: 5px 5px 0 rgba(var(--dv-plum-rgb), .26) !important;
  border-radius: var(--cc-r-sm, 5px) !important;
}
@media (max-width: 768px) {
  html.cc-brut body #diagnostico.probsol .psc-head__idx {
    font-size: clamp(4.25rem, 22vw, 5.75rem);
    -webkit-text-stroke-width: 2.75px;
  }
}
html.cc-brut body .psc-head__desc {
  margin: 0 !important;
  max-width: 46ch !important;
  color: rgba(var(--dv-plum-rgb), .72) !important;
  font: 500 clamp(1.08rem, 1.4vw, 1.24rem)/1.55 inherit !important;
}
html.cc-brut body .psc-head__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
html.cc-brut body .psc-head__chips li {
  padding: 9px 14px;
  border-radius: 5px;
  border: 1px solid rgba(var(--dv-plum-rgb), .12);
  background: rgba(255,255,255,.72);
  color: var(--dv-plum-800);
  font: 700 9px/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Painel de dados · flutuando sobre a atmosfera (sem caixa) */
html.cc-brut body .psc-head__panel {
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  pointer-events: none;
}
html.cc-brut body .psc-head__panel-ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 100%;
  padding: 10px 4px 6px 12px;
}
html.cc-brut body .psc-head__panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: rgba(var(--dv-plum-rgb), .52);
  font: 700 8px/1 var(--font-mono);
  letter-spacing: .16em;
}
html.cc-brut body .psc-head__panel-top b {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dv-orange);
  font-weight: 800;
  animation: psc-head-live 2.4s ease-in-out infinite;
}
@keyframes psc-head-live {
  50% { opacity: .45; }
}
html.cc-brut body .psc-head__radar {
  position: relative;
  flex: 0 1 auto;
  width: 100%;
  min-height: 132px;
  aspect-ratio: 2.15 / 1;
  margin-bottom: 12px;
  border-radius: 0;
  border: 0;
  background:
    linear-gradient(rgba(var(--dv-plum-rgb), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dv-plum-rgb), .045) 1px, transparent 1px),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.28), transparent 55%);
  background-size: 22px 22px, 22px 22px, auto;
  overflow: hidden;
}
html.cc-brut body .psc-head__radar-ring {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border: 1px solid rgba(var(--dv-plum-rgb), .2);
  border-radius: 50%;
}
html.cc-brut body .psc-head__radar-ring--2 {
  width: 132px;
  height: 132px;
  margin: -66px 0 0 -66px;
  border-color: rgba(var(--dv-orange-rgb), .22);
}
html.cc-brut body .psc-head__radar-sweep {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 64px;
  height: 64px;
  margin: -64px 0 0 0;
  transform-origin: 0 100%;
  background: conic-gradient(from 0deg, transparent 0 72%, rgba(var(--dv-orange-rgb), .4) 90%, transparent 100%);
  border-radius: 0 100% 0 0;
  animation: psc-head-sweep 4.2s linear infinite;
  opacity: .7;
}
@keyframes psc-head-sweep {
  to { transform: rotate(1turn); }
}
html.cc-brut body .psc-head__radar-core {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  font: 900 1.85rem/.9 var(--font-display);
  letter-spacing: -.045em;
  background: linear-gradient(115deg, var(--dv-plum-800), var(--dv-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
html.cc-brut body .psc-head__radar em {
  position: absolute;
  left: 50%;
  top: 68%;
  transform: translateX(-50%);
  color: rgba(var(--dv-plum-rgb), .48);
  font: 600 7.5px/1.25 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-style: normal;
  text-align: center;
}
html.cc-brut body .psc-head__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
html.cc-brut body .psc-head__stats > div {
  padding: 6px 2px 4px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(var(--dv-plum-rgb), .12);
}
html.cc-brut body .psc-head__stats strong {
  display: block;
  font: 900 1.15rem/.95 var(--font-display);
  letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--dv-lilac), var(--dv-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
html.cc-brut body .psc-head__stats span {
  color: rgba(var(--dv-plum-rgb), .42);
  font: 600 7.5px/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
html.cc-brut body .psc-head__mods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html.cc-brut body .psc-head__mods li {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 4px 0;
  border-radius: 0;
  background: transparent;
  color: rgba(var(--dv-plum-rgb), .48);
  font: 600 8px/1 var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
html.cc-brut body .psc-head__mods li b {
  color: rgba(var(--dv-plum-rgb), .35);
  font-weight: 700;
}
html.cc-brut body .psc-head__mods li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.cc-brut body .psc-head__mods li.is-hot {
  background: transparent;
  color: var(--dv-plum-900);
  box-shadow: none;
}
html.cc-brut body .psc-head__mods li.is-hot b {
  color: var(--dv-orange);
}

html.cc-brut body.dark-theme .psc-head__flow {
  color: rgba(255,255,255,.42);
}
html.cc-brut body.dark-theme .psc-head__line {
  color: #F7EEFA;
}
html.cc-brut body.dark-theme .psc-head__desc {
  color: rgba(255,255,255,.62) !important;
}
html.cc-brut body.dark-theme .psc-head__chips li {
  border-color: rgba(var(--dv-lilac-rgb), .28);
  background: rgba(var(--dv-plum-rgb), .28);
  color: #E8DCF2;
}
html.cc-brut body.dark-theme .psc-head__panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}
html.cc-brut body.dark-theme .psc-head__panel-top {
  color: rgba(255,255,255,.5);
}
html.cc-brut body.dark-theme .psc-head__panel-top b {
  color: var(--dv-orange);
}
html.cc-brut body.dark-theme .psc-head__radar {
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.08), transparent 55%);
  background-size: 22px 22px, 22px 22px, auto;
}
html.cc-brut body.dark-theme .psc-head__radar-ring {
  border-color: rgba(255,255,255,.18);
}
html.cc-brut body.dark-theme .psc-head__radar-core {
  background: linear-gradient(115deg, #fff, var(--dv-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.cc-brut body.dark-theme .psc-head__radar em {
  color: rgba(255,255,255,.42);
}
html.cc-brut body.dark-theme .psc-head__stats > div {
  background: transparent;
  border-color: rgba(255,255,255,.12);
}
html.cc-brut body.dark-theme .psc-head__stats span {
  color: rgba(255,255,255,.4);
}
html.cc-brut body.dark-theme .psc-head__mods li {
  background: transparent;
  color: rgba(255,255,255,.42);
}
html.cc-brut body.dark-theme .psc-head__mods li b {
  color: rgba(255,255,255,.3);
}
html.cc-brut body.dark-theme .psc-head__mods li.is-hot {
  background: transparent;
  color: #F3E9F8;
}
html.cc-brut body.dark-theme .psc-head__mods li.is-hot b {
  color: var(--dv-orange);
}

@media (max-width: 900px) {
  html.cc-brut body .psc-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  html.cc-brut body .psc-head__panel {
    max-width: 480px;
    height: auto;
  }
}
@media (max-width: 768px) {
  html.cc-brut body .psc-head__idx {
    font-size: 2.75rem;
  }
  html.cc-brut body .psc-head__line {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem) !important;
  }
  html.cc-brut body .psc-head__chips {
    gap: 5px !important;
  }
  html.cc-brut body .psc-head__chips li {
    padding: 5px 9px !important;
    font-size: 8px !important;
    letter-spacing: .08em;
  }
  html.cc-brut body .psc-head__mods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  html.cc-brut body .psc-head__radar-sweep,
  html.cc-brut body .psc-head__panel-top b {
    animation: none !important;
  }
}
/* Palco sticky · faixa escura atrás + card focado sobrepondo */
html.cc-brut body #diagnostico.probsol .psc-stage {
  --psc-card-w: min(1560px, calc(var(--cc-vw, 100vw) - 48px)) !important;
  --psc-card-h: min(720px, calc(var(--cc-vh, 100vh) - 130px)) !important;
  --psc-focus-h: min(720px, calc(var(--cc-vh, 100vh) - 130px));
  --psc-band-h: min(520px, calc(var(--psc-focus-h) * .72));
  --psc-rail-pad: max(16px, calc((var(--cc-vw, 100vw) - var(--psc-card-w)) / 2));
  position: sticky !important;
  top: 0 !important;
  height: 100svh !important;
  min-height: 520px !important;
  max-height: 980px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  padding: clamp(28px, 4vh, 56px) 0 !important;
  gap: 0 !important;
  /* clip só no X — sombra e overlap vertical do card não cortam */
  overflow-x: visible !important;
  overflow-y: visible !important;
  isolation: isolate;
  box-sizing: border-box !important;
  background: transparent !important;
}
html.cc-brut body #diagnostico.probsol .psc-pin {
  background: transparent !important;
  overflow: visible !important;
}
/* Vinhetas laterais suaves (não tapam a aurora) */
html.cc-brut body #diagnostico.probsol .psc-stage::before,
html.cc-brut body #diagnostico.probsol .psc-stage::after {
  background: transparent !important;
}
html.cc-brut body #diagnostico.probsol .psc-rail-wrap,
html.cc-brut body #diagnostico.probsol .psc-progress,
html.cc-brut body #diagnostico.probsol .psc-marker {
  z-index: 3;
}
html.cc-brut body #diagnostico.probsol .psc-outro {
  z-index: 10;
}
html.cc-brut body #diagnostico.probsol .psc-rail-wrap {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--psc-focus-h);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Faixa mais escura — o card focado é mais alto e sobressai nela */
html.cc-brut body #diagnostico.probsol .psc-rail-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 0;
  height: var(--psc-band-h);
  transform: translateY(-50%);
  pointer-events: none;
  border-block: 1px solid rgba(var(--dv-plum-rgb), .10);
  background:
    linear-gradient(90deg,
      rgba(var(--dv-plum-rgb), .03) 0%,
      transparent 8%,
      transparent 92%,
      rgba(var(--dv-plum-rgb), .03) 100%),
    linear-gradient(180deg,
      rgba(var(--dv-plum-rgb), .06),
      rgba(var(--dv-plum-rgb), .10) 45%,
      rgba(var(--dv-plum-rgb), .06)),
    var(--dv-cream-200);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -18px 40px rgba(var(--dv-plum-rgb), .06);
}
html.cc-brut body.dark-theme #diagnostico.probsol .psc-rail-wrap::before {
  border-block-color: rgba(255,255,255,.06);
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.35) 0%,
      transparent 10%,
      transparent 90%,
      rgba(0,0,0,.35) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,.22),
      rgba(8,0,14,.55) 48%,
      rgba(0,0,0,.22)),
    var(--dv-plum-900);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 -24px 48px rgba(0,0,0,.28);
}
html.cc-brut body #diagnostico.probsol .psc-rail .probsol-card {
  position: relative;
  z-index: 3;
}
@media (max-width: 768px) {
  html.cc-brut body #diagnostico.probsol .psc-stage {
    --psc-card-w: clamp(300px, 94vw, 400px) !important;
    --psc-focus-h: min(640px, calc(100svh - 110px));
    --psc-band-h: min(420px, calc(var(--psc-focus-h) * .78));
    --psc-rail-pad: max(12px, calc((var(--cc-vw, 100vw) - var(--psc-card-w)) / 2));
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    padding: 12px 0 !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.cc-brut body #diagnostico.probsol .psc-stage {
    position: static !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }
}
html.cc-brut body #diagnostico.probsol .psc-progress {
  top: 14px !important;
}
/* [REMOVED: Diagnóstico 2026 styles are fully authoritative in index.html #cc-probsol-sol-evolution] */

/* ── Marker inferior · progresso inverso ao trilho ── */
.psc-marker {
  --psc-m: 0;
  --psc-m-inv: 1;
  position: relative;
  z-index: 9;
  flex: 0 0 auto;
  width: min(860px, calc(100% - 64px));
  margin: 42px auto 8px;
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(var(--dv-lilac-rgb), .3);
  background: rgba(26, 11, 36, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(8, 0, 14, 0.35);
  pointer-events: auto;
  isolation: isolate;
}
.psc-marker__bloom {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 42%;
  width: 70%;
  height: 120%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 55% 70% at 30% 50%, rgba(var(--dv-lilac-rgb), .22), transparent 70%),
    radial-gradient(ellipse 50% 65% at 78% 45%, rgba(var(--dv-orange-rgb), .18), transparent 68%);
  filter: blur(28px);
  opacity: .85;
  pointer-events: none;
  animation: psc-marker-bloom 4.2s ease-in-out infinite;
}
@keyframes psc-marker-bloom {
  50% { opacity: .55; transform: translate(-50%, -50%) scale(1.06); }
}
.psc-marker__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: 18px 28px;
  padding: 4px 6px 2px;
}
.psc-marker__rail {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding-top: 16px;
}
.psc-marker__caption {
  position: absolute;
  top: 0;
  left: 2px;
  color: rgba(255,255,255,.55);
  font: 700 9.5px/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.psc-marker__track,
.psc-marker__fill,
.psc-marker__ghost {
  position: absolute;
  left: 14px;
  right: 14px;
  top: calc(16px + 12px + 14px);
  height: 3px;
  border-radius: 9999px;
  pointer-events: none;
  transform: translateY(-50%);
}
.psc-marker__track {
  background: linear-gradient(90deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.24) 20%,
    rgba(255,255,255,.24) 80%,
    rgba(255,255,255,.08));
}
.psc-marker__fill {
  right: auto;
  width: calc((100% - 28px) * var(--psc-m));
  background: linear-gradient(90deg, var(--dv-lilac), var(--dv-orange));
  box-shadow:
    0 0 14px rgba(var(--dv-orange-rgb), .55),
    0 0 28px rgba(var(--dv-lilac-rgb), .3);
  transition: width .18s linear;
}
.psc-marker__ghost {
  /* Anda no sentido oposto ao avanço dos cards */
  left: auto;
  right: calc(14px + (100% - 28px) * var(--psc-m));
  width: 56px;
  height: 4px;
  background: linear-gradient(270deg,
    transparent,
    rgba(255,255,255,.95),
    rgba(var(--dv-lilac-rgb), .9),
    transparent);
  filter: blur(.3px);
  animation: psc-marker-ghost 1.7s ease-in-out infinite;
}
@keyframes psc-marker-ghost {
  50% { opacity: .4; transform: translateX(-10px) scaleX(1.15); }
}
.psc-marker__ticks {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
}
.psc-marker__tick {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.42);
  cursor: pointer;
}
.psc-marker__tick i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.22);
  box-shadow: 0 0 0 4px rgba(255,255,255,.04);
  transition:
    transform .4s cubic-bezier(.16,1,.3,1),
    background .3s ease,
    box-shadow .35s ease,
    width .35s ease,
    height .35s ease;
}
.psc-marker__tick span {
  position: absolute;
  top: calc(100% + 6px);
  font: 700 10.5px/1 var(--font-mono);
  letter-spacing: .08em;
  opacity: .45;
  transform: translateY(0);
  transition: opacity .3s ease, color .3s ease, transform .3s ease;
}
.psc-marker__tick.is-done i {
  background: linear-gradient(135deg, var(--dv-lilac), rgba(var(--dv-orange-rgb), .85));
  border-color: var(--dv-lilac);
  box-shadow: 0 0 10px rgba(var(--dv-lilac-rgb), .45);
}
.psc-marker__tick.is-done span {
  opacity: .75;
  color: #D8C8E4;
}
.psc-marker__tick.is-active i {
  width: 18px;
  height: 18px;
  border: 2px solid #FFFFFF !important;
  background: var(--dv-orange) !important;
  box-shadow:
    0 0 0 4px rgba(var(--dv-orange-rgb), .3),
    0 0 20px rgba(var(--dv-orange-rgb), .8),
    inset 0 0 6px #FFFFFF !important;
  animation: psc-marker-pulse 1.55s ease-in-out infinite;
}
.psc-marker__tick.is-active span {
  opacity: 1;
  color: var(--dv-orange);
  font-weight: 900;
  transform: translateY(1px);
}
@keyframes psc-marker-pulse {
  50% {
    box-shadow:
      0 0 0 7px rgba(var(--dv-orange-rgb), .2),
      0 0 26px rgba(var(--dv-orange-rgb), .9),
      inset 0 0 8px #FFFFFF !important;
  }
}
.psc-marker__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: end;
  min-width: 0;
  padding-left: 6px;
}
.psc-marker__eyebrow {
  grid-column: 1 / -1;
  color: rgba(var(--dv-orange-rgb), .95);
  font: 700 9.5px/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.psc-marker__mod {
  grid-column: 1;
  color: rgba(255,255,255,.92);
  font: 700 13px/1.2 var(--font-display);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psc-marker__mod b {
  color: var(--dv-orange);
  font-family: var(--font-mono);
  font-size: .88em;
  letter-spacing: .12em;
}
.psc-marker__metric {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  font: 900 clamp(1.55rem, 2.4vw, 2.1rem)/.88 var(--font-display);
  letter-spacing: -.045em;
  background: linear-gradient(115deg, #fff 8%, var(--dv-orange) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(var(--dv-orange-rgb), .28));
}
.psc-marker__label {
  grid-column: 1;
  color: rgba(255,255,255,.7);
  font: 600 11px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-style: normal;
}
.psc-marker__signal {
  grid-column: 1;
  margin-top: 2px;
  color: rgba(225, 214, 238, .85);
  font: 500 10.5px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psc-marker.is-flip .psc-marker__info {
  animation: psc-marker-flip .45s cubic-bezier(.16,1,.3,1);
}
@keyframes psc-marker-flip {
  from { opacity: .3; transform: translateY(6px); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Fluxo contínuo do sinal e pulsação dos pontos apenas no card em foco. */
.probsol-card.is-focused .psc-spark__line {
  stroke-dasharray: 8 4;
  animation: psc-signal-flow 1.15s linear infinite;
}
.probsol-card.is-focused .psc-spark__area {
  animation: psc-signal-breathe 2.1s ease-in-out infinite;
}
.probsol-card.is-focused .psc-spark__dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: psc-signal-dot 1.35s ease-in-out infinite;
}
@keyframes psc-signal-flow { to { stroke-dashoffset: -24; } }
@keyframes psc-signal-breathe { 50% { opacity: .72; } }
@keyframes psc-signal-dot { 50% { transform: scale(1.75); opacity: .55; } }

/* Encerramento Monumental: Palco imersivo com Warp Grid, Plasma Aura e Tipografia Gigante */
.psc-outro {
  --p: var(--psc-outro-progress, 0);
  position: absolute;
  z-index: 25;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: var(--p);
  overflow: hidden;
  isolation: isolate;
}

/* ── Fundo Inovador: Aurora Prismática + Laser Rays + Hologrid 3D + Telemetria Cyber ── */
.psc-outro__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.psc-outro__aurora {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(ellipse 65% 50% at 50% 48%, rgba(255, 92, 20, 0.24) 0%, rgba(147, 51, 234, 0.16) 42%, rgba(24, 8, 38, 0.1) 70%, transparent 85%),
    radial-gradient(ellipse 45% 32% at 50% 50%, rgba(255, 122, 56, 0.28) 0%, transparent 65%);
  filter: blur(48px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: pscAuroraPulse 5s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes pscAuroraPulse {
  0% { transform: scale(0.94) rotate(-1deg); opacity: 0.8; }
  100% { transform: scale(1.08) rotate(1.5deg); opacity: 1; }
}

.psc-outro__hologrid {
  position: absolute;
  inset: -30% -15%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 92, 20, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 62% 52% at 50% 50%, black 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 62% 52% at 50% 50%, black 18%, transparent 78%);
  transform: perspective(650px) rotateX(58deg) scale(calc(0.88 + var(--p) * 0.24));
  opacity: calc(var(--p) * 0.75);
  will-change: transform, opacity;
}

.psc-outro__rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.psc-ray {
  position: absolute;
  left: -20%;
  right: -20%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 92, 20, 0.15) 20%, rgba(255, 255, 255, 0.95) 50%, rgba(147, 51, 234, 0.2) 80%, transparent 100%);
  filter: drop-shadow(0 0 8px #FF5C14) drop-shadow(0 0 18px #9333EA);
  transform-origin: center;
}

.psc-ray--1 {
  top: 36%;
  transform: rotate(-2deg) scaleX(calc(0.6 + var(--p) * 0.4));
  opacity: calc(var(--p) * 0.85);
  animation: pscRayShimmer 4s ease-in-out infinite alternate;
}

.psc-ray--2 {
  top: 64%;
  transform: rotate(1.8deg) scaleX(calc(0.5 + var(--p) * 0.5));
  opacity: calc(var(--p) * 0.75);
  animation: pscRayShimmer 5s ease-in-out infinite alternate-reverse;
}

.psc-ray--3 {
  top: 50%;
  height: 2px;
  transform: scaleX(calc(0.7 + var(--p) * 0.3));
  opacity: calc(var(--p) * 0.95);
  filter: drop-shadow(0 0 10px #FFFFFF) drop-shadow(0 0 20px #FF5C14);
}

.psc-ray--4 {
  top: 45%;
  transform: rotate(-0.6deg);
  opacity: calc(var(--p) * 0.55);
}

@keyframes pscRayShimmer {
  0% { transform: rotate(-2deg) scaleY(0.8); opacity: 0.6; }
  100% { transform: rotate(-1.5deg) scaleY(1.4); opacity: 1; }
}

.psc-outro__scanline {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(56, 189, 248, 0.6) 30%, #FFFFFF 50%, rgba(0, 229, 255, 0.6) 70%, transparent 95%);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5), 0 0 35px rgba(0, 229, 255, 0.35);
  animation: pscScanSweep 5s ease-in-out infinite;
  opacity: calc(var(--p) * 0.7);
  pointer-events: none;
}

@keyframes pscScanSweep {
  0% { top: 22%; opacity: 0.2; }
  50% { top: 78%; opacity: 0.75; }
  100% { top: 22%; opacity: 0.2; }
}

.psc-outro__telemetry {
  position: absolute;
  inset: clamp(20px, 3.5vw, 44px);
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  opacity: calc(var(--p) * 0.65);
  font-family: var(--fonte-mono, 'DM Mono', monospace);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(56, 189, 248, 0.75);
}

.psc-outro__telemetry > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.psc-outro__telemetry > div:last-child {
  align-items: flex-end;
  text-align: right;
}

.psc-telem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.psc-telem i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}

/* ── Painel de Encerramento no Trilho Horizontal (Surge à Direita do Card 06) ── */
.psc-outro-panel {
  flex: 0 0 auto !important;
  width: clamp(340px, 46vw, 680px) !important;
  height: var(--psc-card-h, 580px) !important;
  min-height: var(--psc-card-h, 580px) !important;
  max-height: var(--psc-card-h, 580px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding: clamp(20px, 3.5vw, 48px) !important;
  margin-left: clamp(20px, 3vw, 44px) !important;
  margin-right: clamp(40px, 6vw, 90px) !important;
  box-sizing: border-box !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 10 !important;
}

.psc-outro-panel .psc-outro__content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.psc-outro-panel .psc-outro__kicker {
  margin-bottom: 16px;
}

.psc-outro-panel .psc-outro__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(177, 156, 255, 0.12);
  border: 1px solid rgba(177, 156, 255, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #C8B6FF;
  font: 700 10.5px/1 var(--fonte-corpo, 'DM Mono', monospace);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(177, 156, 255, 0.16);
}

.psc-outro-panel .psc-outro__badge .psc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF5C14;
  box-shadow: 0 0 8px #FF5C14;
  animation: pscPulseDot 1.4s infinite ease-in-out;
}

.psc-outro-panel .psc-outro__heading {
  margin: 0 0 18px 0;
  font-family: var(--fonte-titulo, 'Archivo', sans-serif) !important;
  font-weight: 900 !important;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75) !important;
}

.psc-outro-panel .psc-outro__hl {
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-top: 6px !important;
  padding: 0.1em 0.34em 0.08em !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: linear-gradient(115deg, var(--dv-lilac, #B19CFF) 0%, var(--dv-orange, #FF5C14) 100%) !important;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45) !important;
  border-radius: 4px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  filter: drop-shadow(0 4px 18px rgba(255, 92, 20, 0.35)) !important;
  line-height: 1.05 !important;
  vertical-align: baseline !important;
}

.psc-outro-panel .psc-outro__desc {
  margin: 0 0 24px 0;
  max-width: 540px;
  font-family: var(--fonte-corpo, 'DM Mono', monospace);
  font-size: clamp(12.5px, 1.2vw, 14px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.psc-outro-panel .psc-outro__footer {
  margin-top: 0;
}

.psc-outro-panel .psc-outro__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88) !important;
  font: 700 12px/1 var(--fonte-corpo, 'DM Mono', monospace);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  opacity: 0.9;
}

.psc-outro-panel .psc-outro__action:hover {
  opacity: 1;
  background: transparent !important;
  border: none !important;
  color: #FFFFFF !important;
  transform: translateX(3px);
}

.psc-outro-panel .psc-outro__action .psc-arrow {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 900;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
  animation: pscBounceArrow 1.6s infinite ease-in-out;
}

.psc-outro-panel .psc-outro__action:hover .psc-arrow {
  color: #FFFFFF;
}

@keyframes pscBounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ── Adaptação Tema Claro (Light Theme) ── */
html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__badge {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.28);
  color: #6D28D9;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08);
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__badge .psc-dot {
  background: #FF5C14;
  box-shadow: 0 0 8px #FF5C14;
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__heading {
  color: #180826 !important;
  text-shadow: none !important;
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__hl {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: linear-gradient(115deg, var(--dv-lilac, #B19CFF) 0%, var(--dv-orange, #FF5C14) 100%) !important;
  box-shadow: 5px 5px 0 rgba(24, 8, 38, 0.28) !important;
  text-shadow: none !important;
  filter: none !important;
  border-radius: 4px !important;
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__desc {
  color: #4A3E56 !important;
  text-shadow: none !important;
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__action {
  color: #180826 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.9;
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__action .psc-arrow {
  color: #180826;
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__action:hover {
  opacity: 1;
  background: transparent !important;
  border: none !important;
  color: var(--dv-orange, #FF5C14) !important;
  transform: translateX(3px);
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro-panel .psc-outro__action:hover .psc-arrow {
  color: var(--dv-orange, #FF5C14);
}

html.cc-brut body:not(.dark-theme) #diagnostico .psc-focus-panel {
  border-left-color: rgba(var(--dv-plum-rgb), .13);
  background:
    radial-gradient(ellipse 100% 50% at 50% -10%, rgba(var(--dv-orange-rgb),.14), transparent 55%),
    linear-gradient(180deg, rgba(var(--dv-lilac-rgb),.14), rgba(255,255,255,.62));
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-video-slot {
  border-color: rgba(var(--dv-orange-rgb), .48);
  background:
    linear-gradient(rgba(var(--dv-plum-rgb),.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--dv-plum-rgb),.06) 1px, transparent 1px),
    radial-gradient(circle at 52% 44%, rgba(var(--dv-orange-rgb),.42), transparent 36%),
    radial-gradient(circle at 18% 82%, rgba(var(--dv-lilac-rgb),.32), transparent 40%),
    linear-gradient(155deg, #EED8F2, #D4B8E4);
  background-size: 18px 18px, 18px 18px, auto, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    0 0 0 1px rgba(var(--dv-orange-rgb), .14),
    0 14px 36px rgba(var(--dv-plum-rgb), .16),
    0 0 52px rgba(var(--dv-orange-rgb), .2);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-video-slot__head {
  background: linear-gradient(90deg, rgba(255,255,255,.65), rgba(var(--dv-lilac-rgb), .18));
  color: var(--dv-plum-700);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-video-slot__stage {
  color: var(--dv-plum-800);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-video-slot__ring {
  border-color: rgba(var(--dv-plum-rgb), .2);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-focus-insight {
  color: var(--dv-plum-900);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-impact-stack {
  border-color: rgba(var(--dv-orange-rgb), .28);
  background: linear-gradient(135deg, rgba(var(--dv-orange-rgb),.12), rgba(var(--dv-lilac-rgb),.14));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-impact-hero span,
html.cc-brut body:not(.dark-theme) #diagnostico .psc-impact-hero em {
  color: var(--dv-plum-600);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-impact-hero b {
  background: linear-gradient(115deg, var(--dv-plum-800), var(--dv-orange));
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-impact-tile {
  border-color: rgba(var(--dv-plum-rgb), .14);
  background: rgba(255,255,255,.78);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-impact-tile span {
  color: var(--dv-plum-800);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-impact-tile em {
  color: var(--dv-plum-500);
}
html.cc-brut body:not(.dark-theme) #diagnostico .probsol-card.is-focused .psc-col--prob .psc-viz {
  border-color: rgba(var(--dv-orange-rgb), .24) !important;
  background:
    radial-gradient(ellipse 90% 80% at 80% 20%, rgba(var(--dv-orange-rgb),.14), transparent 55%),
    rgba(255,255,255,.55) !important;
}
html.cc-brut body:not(.dark-theme) #diagnostico .probsol-card.is-focused .psc-kpis > div {
  background: rgba(255,255,255,.7) !important;
  border-color: rgba(var(--dv-orange-rgb), .18) !important;
}
html.cc-brut body:not(.dark-theme) #diagnostico .probsol-card.is-focused .psc-note {
  background: rgba(var(--dv-orange-rgb), .08) !important;
  color: var(--dv-plum-700);
}
html.cc-brut body:not(.dark-theme) #diagnostico .probsol-card.is-focused .psc-metrics {
  border-color: rgba(var(--dv-lilac-rgb), .3) !important;
  background:
    radial-gradient(ellipse 100% 90% at 100% 0%, rgba(var(--dv-orange-rgb),.1), transparent 50%),
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(var(--dv-lilac-rgb),.16), transparent 55%),
    rgba(255,255,255,.62) !important;
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro {
  color: var(--dv-plum-950);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-outro em {
  color: var(--dv-plum-600);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker {
  border: 1px solid rgba(var(--dv-plum-rgb), 0.18);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(var(--dv-plum-rgb), 0.12);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__bloom {
  background:
    radial-gradient(ellipse 55% 70% at 28% 50%, rgba(var(--dv-lilac-rgb), .2), transparent 70%),
    radial-gradient(ellipse 50% 65% at 78% 45%, rgba(var(--dv-orange-rgb), .16), transparent 68%);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__caption {
  color: rgba(var(--dv-plum-rgb), .42);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__track {
  background: linear-gradient(90deg,
    rgba(var(--dv-plum-rgb), .05),
    rgba(var(--dv-plum-rgb), .16) 20%,
    rgba(var(--dv-plum-rgb), .16) 80%,
    rgba(var(--dv-plum-rgb), .05));
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__tick {
  color: rgba(var(--dv-plum-rgb), .45);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__tick i {
  background: rgba(var(--dv-plum-rgb), .18);
  box-shadow: 0 0 0 4px rgba(var(--dv-plum-rgb), .04);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__tick.is-done span {
  color: var(--dv-plum-600);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__eyebrow {
  color: rgba(var(--dv-orange-rgb), .9);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__mod {
  color: var(--dv-plum-900);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__label {
  color: var(--dv-plum-600);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__signal {
  color: rgba(var(--dv-plum-rgb), .55);
}
html.cc-brut body:not(.dark-theme) #diagnostico .psc-marker__metric {
  background: linear-gradient(115deg, var(--dv-plum-800), var(--dv-orange));
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
}

@media (max-width: 768px) {
  html.cc-brut body #diagnostico.probsol .psc-stage {
    --psc-card-w: min(400px, calc(var(--cc-vw, 100vw) - 24px)) !important;
    --psc-card-h: min(520px, calc(100svh - 48px)) !important;
    --psc-focus-h: min(640px, calc(100svh - 100px));
    --psc-band-h: min(400px, calc(var(--psc-focus-h) * .76));
    --psc-rail-pad: max(12px, calc((var(--cc-vw, 100vw) - var(--psc-card-w)) / 2));
    padding: 16px 0 !important;
  }
  html.cc-brut body #diagnostico.probsol .psc-rail-wrap {
    min-height: var(--psc-focus-h);
  }
  html.cc-brut body #diagnostico.probsol .psc-rail .probsol-card {
    opacity: .38 !important;
    transform: scale(.78);
  }
  html.cc-brut body #diagnostico.probsol .psc-rail .probsol-card.is-focused {
    --psc-card-h: var(--psc-focus-h);
    opacity: 1 !important;
    transform: scale(1);
  }
  .psc-marker {
    width: calc(100% - 28px);
    margin-top: 28px;
  }
  .psc-marker__body {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .psc-marker__info {
    grid-template-columns: 1fr auto;
  }
  .psc-marker__metric {
    font-size: 1.45rem;
  }
  .psc-marker__tick span {
    font-size: 7px;
  }
  html.cc-brut body #diagnostico.probsol .psc-rail .probsol-card.is-focused .psc-body {
    display: flex !important;
    flex-direction: column !important;
  }
  .probsol-card.is-focused .psc-focus-panel {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    gap: 8px;
    border-left: 0;
    border-top: 1px solid rgba(var(--dv-lilac-rgb), .18);
  }
  .psc-video-slot {
    flex: 0 0 auto;
    min-height: 140px;
    aspect-ratio: 16 / 9;
  }
  .psc-video-play {
    width: 48px;
    height: 48px;
  }
  .psc-video-slot__ring {
    width: 74px;
    height: 74px;
    margin: -37px 0 0 -37px;
  }
  .psc-focus-insight {
    font-size: .68rem;
  }
  .psc-impact-hero b {
    font-size: 1.7rem;
  }
  .psc-impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .psc-impact-tile {
    min-height: 52px;
    padding: 6px;
  }
  .psc-impact-tile strong {
    font-size: .88rem;
  }
  .psc-outro {
    width: min(340px, calc(100vw - 32px));
    padding: 20px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .probsol-card.is-focused :is(
    .psc-spark__line, .psc-spark__area, .psc-spark__dot,
    .psc-video-slot::after, .psc-video-slot__glow, .psc-video-slot__ring,
    .psc-data-row i b
  ),
  .psc-outro__portal,
  .psc-marker__ghost,
  .psc-marker__bloom,
  .psc-marker__tick.is-active i,
  .psc-marker.is-flip .psc-marker__info {
    animation: none !important;
  }
}

/* ═════════════════════════════════════════════════════════════
   WORK PAGES — casos.html + case-*.html
   Hero interno, stack de cases, filtros e dossiês
   ═════════════════════════════════════════════════════════════ */

/* ── Nav escuro (páginas internas, barra completa) ── */
html.cc-brut body.dark-theme .nav-header:not(.nav-compact),
html.cc-force-dark body .nav-header:not(.nav-compact) {
  background: rgba(18, 6, 26, 0.88) !important;
  border-bottom: 1px solid rgba(var(--dv-lilac-rgb), .22) !important;
  backdrop-filter: blur(16px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.15) !important;
}
html.cc-brut body.dark-theme .nav-header .nav-menu a,
html.cc-force-dark body .nav-header .nav-menu a {
  color: rgba(251, 247, 242, .72) !important;
}
html.cc-brut body.dark-theme .nav-header .nav-menu a:hover,
html.cc-brut body.dark-theme .nav-header .nav-menu a.active,
html.cc-force-dark body .nav-header .nav-menu a:hover,
html.cc-force-dark body .nav-header .nav-menu a.active {
  color: var(--dv-lavender) !important;
}
html.cc-brut body.dark-theme .nav-header .logo,
html.cc-force-dark body .nav-header .logo {
  color: var(--dv-cream-50) !important;
}

/* ── Page hero (casos + cases) ── */
body.dark-theme .page-hero,
html.cc-brut body.dark-theme .page-hero,
html.cc-force-dark body .page-hero {
  background: var(--dv-plum-950) !important;
  border-bottom-color: rgba(var(--dv-lilac-rgb), .20) !important;
}
body.dark-theme .page-hero__title,
html.cc-brut body.dark-theme .page-hero__title {
  color: var(--dv-cream-50) !important;
  -webkit-text-fill-color: var(--dv-cream-50) !important;
}
body.dark-theme .page-hero__desc,
html.cc-brut body.dark-theme .page-hero__desc {
  color: #C9B8DC !important;
}
body.dark-theme .page-hero .sec-head__label,
html.cc-brut body.dark-theme .page-hero .sec-head__label {
  color: var(--dv-lavender) !important;
}

html body:not(.dark-theme) .page-hero {
  background: var(--dv-cream-50) !important;
  border-bottom-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .page-hero__title {
  color: var(--dv-ink) !important;
  -webkit-text-fill-color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .page-hero__desc {
  color: var(--text-muted) !important;
}
html body:not(.dark-theme) .page-hero .sec-head__label {
  color: var(--dv-orange) !important;
}

/* ── Cases status / filtros / portfólio bar ── */
body.dark-theme .cases-status,
html.cc-brut body.dark-theme .cases-status {
  border-color: rgba(var(--dv-lilac-rgb), .18) !important;
  color: #C9B8DC !important;
}
body.dark-theme .cases-status .cases-status__right,
html.cc-brut body.dark-theme .cases-status .cases-status__right {
  color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .cases-status {
  background: var(--dv-cream-100) !important;
  border-color: var(--dv-cream-200) !important;
  color: var(--text-muted) !important;
}
html body:not(.dark-theme) .cases-status .cases-status__right {
  color: var(--dv-orange) !important;
}

html body:not(.dark-theme) .cases-filter__btn {
  color: var(--text-muted) !important;
  border-color: rgba(var(--dv-plum-rgb), 0.15) !important;
  background: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) .cases-filter__btn:hover {
  color: var(--dv-ink) !important;
  background: var(--dv-white) !important;
  border-color: rgba(var(--dv-plum-rgb), 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--dv-plum-rgb), 0.08);
}
html body:not(.dark-theme) .cases-filter__btn.active {
  color: var(--dv-white) !important;
  background: var(--dv-plum-900) !important;
  border-color: var(--dv-plum-900) !important;
  box-shadow: 0 4px 16px rgba(var(--dv-plum-rgb), 0.25);
  transform: translateY(-2px);
}
body.dark-theme .cases-filter__btn,
html.cc-brut body.dark-theme .cases-filter__btn {
  color: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(var(--dv-lilac-rgb), 0.2) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}
body.dark-theme .cases-filter__btn:hover,
html.cc-brut body.dark-theme .cases-filter__btn:hover {
  color: var(--dv-white) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(var(--dv-lilac-rgb), 0.4) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--dv-lilac-rgb), 0.1);
}
body.dark-theme .cases-filter__btn.active,
html.cc-brut body.dark-theme .cases-filter__btn.active {
  background: var(--dv-orange) !important;
  border-color: var(--dv-orange) !important;
  color: var(--dv-plum-950) !important;
  box-shadow: 0 4px 16px rgba(var(--dv-orange-rgb), 0.3);
  transform: translateY(-2px);
}

body.dark-theme .cases-portfolio,
html.cc-brut body.dark-theme .cases-portfolio {
  background: var(--dv-plum-900) !important;
  border-color: rgba(var(--dv-lilac-rgb), .22) !important;
}
body.dark-theme .cases-portfolio__label,
html.cc-brut body.dark-theme .cases-portfolio__label {
  color: var(--dv-lavender) !important;
}
body.dark-theme .cases-portfolio__val,
html.cc-brut body.dark-theme .cases-portfolio__val {
  color: var(--dv-cream-50) !important;
}
body.dark-theme .cases-portfolio__val--accent,
html.cc-brut body.dark-theme .cases-portfolio__val--accent {
  color: var(--dv-orange) !important;
}
body.dark-theme .cases-portfolio__key,
html.cc-brut body.dark-theme .cases-portfolio__key {
  color: #C9B8DC !important;
}
html body:not(.dark-theme) .cases-portfolio {
  background: var(--dv-white) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .cases-portfolio__label {
  color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .cases-portfolio__val {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .cases-portfolio__val--accent {
  color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .cases-portfolio__key {
  color: var(--text-muted) !important;
}
html body:not(.dark-theme) .cases-portfolio__cta {
  background: var(--dv-plum-900) !important;
  color: var(--dv-white) !important;
  border-color: var(--dv-plum-900) !important;
}
html body:not(.dark-theme) .cases-portfolio__cta:hover {
  background: var(--dv-plum-700) !important;
}

/* Cases stack — títulos e links */
body.dark-theme .cases.cases--cockpit .sec-head__label,
html.cc-brut body.dark-theme .cases.cases--cockpit .sec-head__label {
  color: var(--dv-lavender) !important;
}
body.dark-theme .cases.cases--cockpit .link-more,
html.cc-brut body.dark-theme .cases.cases--cockpit .link-more {
  color: var(--dv-orange) !important;
  border-color: rgba(var(--dv-orange-rgb), .45) !important;
}
html body:not(.dark-theme) .cases.cases--cockpit .sec-head__title {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .cases.cases--cockpit .sec-head__label {
  color: var(--dv-orange) !important;
}

html.cc-brut body .works-catalog-sec {
  padding-top: clamp(48px, 6vw, 88px);
}

/* Cases rail — sistema premium por tema (tokens em cases-stack.css) */
html body:not(.dark-theme) .cases .cstack-rail .cs-hud__status {
  color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .cases .cstack-rail .cs-hud__status i {
  background: var(--dv-orange) !important;
  box-shadow: 0 0 6px rgba(var(--dv-orange-rgb), .45) !important;
}
html body:not(.dark-theme) .cases .cstack-rail .cs-bar--before i {
  background: linear-gradient(90deg,
    rgba(var(--dv-orange-rgb), .14), var(--dv-orange)) !important;
}
html body:not(.dark-theme) .cases .cstack-rail .cs-bar--after i {
  background: linear-gradient(90deg,
    rgba(var(--dv-plum-rgb), .12), var(--dv-plum-700)) !important;
}
html body:not(.dark-theme) .cases .cstack-rail .cs-cta {
  background: var(--dv-plum-900) !important;
  color: var(--dv-white) !important;
  border: none !important;
  box-shadow: 4px 4px 0 rgba(var(--dv-plum-rgb), .12) !important;
}
html body:not(.dark-theme) .cases .cstack-rail .cs-panel:not(.is-focused) .cs-cta {
  background: var(--dv-cream-100) !important;
  color: var(--dv-plum-900) !important;
  border: 1.5px solid var(--dv-cream-200) !important;
  box-shadow: none !important;
}
html body:not(.dark-theme) .cases .cstack-rail .cs-panel.is-focused .cs-cta {
  background: var(--dv-orange) !important;
  color: var(--dv-plum-950) !important;
  box-shadow: 4px 4px 0 rgba(var(--dv-plum-rgb), .14) !important;
}
html body:not(.dark-theme) .cases .cstack-rail .cs-panel.is-focused .cs-cta:hover {
  background: var(--dv-orange-deep, #E84500) !important;
}

body.dark-theme .cases .cstack-rail .cs-panel.is-focused .cs-cta,
html.cc-brut body.dark-theme .cases .cstack-rail .cs-panel.is-focused .cs-cta {
  background:
    radial-gradient(130% 170% at 92% 110%, var(--dv-orange) 0%, var(--dv-coral, #F29479) 42%, transparent 70%),
    linear-gradient(112deg, var(--dv-lilac) 0%, var(--dv-magenta, #E056FF) 50%, var(--dv-orange) 100%) !important;
  color: var(--dv-plum-950) !important;
  box-shadow: 4px 4px 0 rgba(var(--dv-plum-rgb), .55) !important;
}

/* Work cards — acentos de marca */
body.dark-theme .work-card__link,
html.cc-brut body.dark-theme .work-card__link {
  color: var(--dv-orange) !important;
}
body.dark-theme .work-card__dot,
html.cc-brut body.dark-theme .work-card__dot {
  background: var(--dv-orange) !important;
}
html body:not(.dark-theme) .work-card__title {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .work-card__link {
  color: var(--dv-orange-deep) !important;
}

/* ── Case dossiers (.svp-*) ── */
body.dark-theme .svp-hero,
html.cc-brut body.dark-theme .svp-hero,
html.cc-force-dark body .svp-hero {
  background: var(--dv-plum-950) !important;
}
body.dark-theme .svp-sec,
html.cc-brut body.dark-theme .svp-sec {
  background: var(--dv-plum-950) !important;
  border-top-color: rgba(var(--dv-lilac-rgb), .14) !important;
}
body.dark-theme .svp-sec:nth-child(even),
html.cc-brut body.dark-theme .svp-sec:nth-child(even) {
  background: var(--dv-plum-900) !important;
}
body.dark-theme .svp-spec,
html.cc-brut body.dark-theme .svp-spec {
  background: var(--dv-plum-900) !important;
}
body.dark-theme .svp-specs,
html.cc-brut body.dark-theme .svp-specs {
  background: rgba(var(--dv-lilac-rgb), .12) !important;
  border-color: rgba(var(--dv-lilac-rgb), .22) !important;
}
body.dark-theme .svp-cta,
html.cc-brut body.dark-theme .svp-cta {
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(var(--dv-orange-rgb), .14), transparent 70%),
    var(--dv-plum-900) !important;
  border-top-color: rgba(var(--dv-orange-rgb), .28) !important;
}

html body:not(.dark-theme) .svp-hero,
html body:not(.dark-theme) .page-hero.svp-hero {
  background: var(--dv-cream-50) !important;
}
html body:not(.dark-theme) .svp-sec {
  background: var(--dv-cream-50) !important;
  border-top-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .svp-sec:nth-child(even) {
  background: var(--dv-cream-100) !important;
}
html body:not(.dark-theme) .svp-hero__title,
html body:not(.dark-theme) .svp-sec__title {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .svp-hero__desc,
html body:not(.dark-theme) .svp-dcard__d,
html body:not(.dark-theme) .svp-step__d,
html body:not(.dark-theme) .svp-faq__a,
html body:not(.dark-theme) .svp-rcard__d,
html body:not(.dark-theme) .svp-cta__sub {
  color: var(--text-muted) !important;
}
html body:not(.dark-theme) .svp-crumb,
html body:not(.dark-theme) .svp-crumb a {
  color: var(--text-muted) !important;
}
html body:not(.dark-theme) .svp-crumb a:hover {
  color: var(--dv-orange) !important;
}
html body:not(.dark-theme) .svp-spec {
  background: var(--dv-white) !important;
}
html body:not(.dark-theme) .svp-specs {
  background: var(--dv-cream-200) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .svp-spec__key {
  color: var(--cc-gray-muted) !important;
}
html body:not(.dark-theme) .svp-spec__val {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .svp-tag {
  color: var(--text-muted) !important;
  border-color: var(--dv-cream-200) !important;
  background: var(--dv-white) !important;
}
html body:not(.dark-theme) .svp-dcard,
html body:not(.dark-theme) .svp-faq__item,
html body:not(.dark-theme) .svp-rcard {
  background: var(--dv-white) !important;
  border-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .svp-dcard__t,
html body:not(.dark-theme) .svp-step__t,
html body:not(.dark-theme) .svp-faq__item summary,
html body:not(.dark-theme) .svp-rcard__t {
  color: var(--dv-ink) !important;
}
html body:not(.dark-theme) .svp-dcard:hover,
html body:not(.dark-theme) .svp-rcard:hover {
  border-color: rgba(var(--dv-orange-rgb), .35) !important;
  background: #FFF6F0 !important;
}
html body:not(.dark-theme) .svp-step {
  border-top-color: var(--dv-cream-200) !important;
}
html body:not(.dark-theme) .svp-cta {
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(var(--dv-orange-rgb), .08), transparent 70%),
    var(--dv-cream-100) !important;
  border-top-color: rgba(var(--dv-orange-rgb), .22) !important;
}
html body:not(.dark-theme) .svp-cta__title {
  color: var(--dv-ink) !important;
}

/* Acentos laranja/lilás — dossiers nos dois temas */
html.cc-brut body :is(
  .svp-hero__promise, .svp-sec__label, .svp-dcard__num, .svp-step__num,
  .svp-cta__kicker, .svp-crumb__div, .svp-tag::before, .svp-hero__meta::before,
  .svp-spec__key::before, .svp-rcard__num, .svp-faq__item summary::before
) {
  color: var(--dv-orange) !important;
}
html.cc-brut body.dark-theme :is(.svp-sec__label, .svp-cta__kicker) {
  color: var(--dv-lavender) !important;
}
html body:not(.dark-theme) :is(.svp-sec__label, .svp-cta__kicker) {
  color: var(--dv-orange) !important;
}

/* Hero interno — todas as páginas (título sem nº, sem faixa laranja) */
body .page-hero > .cc-rules,
body .svp-hero > .cc-rules {
  display: none !important;
}
body .page-hero :is(.sec-head__label, .spec-header__label),
body .svp-hero :is(.sec-head__label, .spec-header__label) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body .page-hero + .stats-strip::before,
body .svp-hero + .stats-strip::before {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   §CHAT-2026 · Assistente Sanbernarda — floating agent
   Raios generosos · superfície soft · grip discreto
   ═══════════════════════════════════════════════════════════════ */
html body .cc-prompt-dock{
  --cc-chat-r: var(--cc-r-xl, 24px);
  --cc-chat-r-sm: var(--cc-r-md, 16px);
  --cc-chat-r-pill: var(--cc-r-pill, 9999px);
}
html body .cc-prompt-dock.is-chat-open.is-chat-expanded .cc-prompt-dock__inner{
  border-radius: var(--cc-chat-r, 24px) !important;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
html body .cc-prompt-dock.is-window-moving,
html body .cc-prompt-dock.is-window-moving .cc-prompt-dock__inner{
  transition: none !important;
  will-change: left, top, width, height;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt__bar{
  margin: 10px 16px 0 !important;
  min-height: 48px !important;
  border-radius: var(--cc-chat-r-pill) !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .18) !important;
  background: rgba(255,255,255,.06) !important;
  padding-inline: 4px;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt__attach,
html body .cc-prompt-dock.is-chat-open .cc-prompt__mic{
  width: 40px !important;
  height: 40px !important;
  border-radius: var(--cc-chat-r-pill) !important;
  border: 0 !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt__send{
  width: 42px !important;
  height: 42px !important;
  margin: 0 6px 0 4px !important;
  border-radius: var(--cc-chat-r-pill) !important;
  background: linear-gradient(135deg, var(--dv-orange), #E23A8C) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(var(--dv-orange-rgb), .35) !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-chat__head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px !important;
  cursor: grab;
  touch-action: none;
  user-select: none;
  border-bottom: 1px solid rgba(var(--dv-lilac-rgb), .14);
}
html body .cc-prompt-dock.is-window-moving .cc-prompt-chat__head{
  cursor: grabbing;
}
html body .cc-prompt-chat__identity{
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0 !important;
}
html body .cc-prompt-chat__title{
  display: block !important;
  font: 800 clamp(0.85rem, 1.2vw, 0.95rem)/1.1 var(--font-display) !important;
  letter-spacing: -.01em !important;
  color: inherit !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
html body .cc-prompt-chat__eyebrow{
  display: block !important;
  font: 700 8.5px/1 var(--font-mono) !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--dv-orange) !important;
  opacity: .92 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
/* Controles: ONLINE → MOVER → MINIMIZAR (harmonia à direita) */
html body .cc-prompt-chat__tools{
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
html body .cc-prompt-chat__window-grip{
  margin-left: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .16) !important;
  background: rgba(255,255,255,.04) !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 0 !important;
  gap: 0 !important;
}
html body .cc-prompt-chat__window-grip span{ display: none !important; }
html body .cc-prompt-chat__window-grip i{
  width: 14px !important;
  height: 14px !important;
  opacity: .85;
}
html body .cc-prompt-chat__online{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--cc-chat-r-pill);
  border: 1px solid rgba(var(--dv-orange-rgb), .45);
  font: 700 8px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  background: rgba(var(--dv-orange-rgb), .08);
  box-sizing: border-box;
}
html body .cc-prompt-chat__online i{
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dv-orange);
  box-shadow: 0 0 8px rgba(var(--dv-orange-rgb), .45);
}
html body .cc-prompt-chat__minimize{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .16) !important;
  background: rgba(255,255,255,.04) !important;
  color: rgba(255,255,255,.7) !important;
  cursor: pointer;
  touch-action: manipulation;
}
html body .cc-prompt-chat__minimize:hover,
html body .cc-prompt-chat__minimize:focus-visible{
  color: #fff !important;
  border-color: rgba(var(--dv-orange-rgb), .45) !important;
  background: rgba(var(--dv-orange-rgb), .12) !important;
  outline: none;
}
html body .cc-prompt-chat__minimize i{
  display: block;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: none;
}
html body .cc-prompt-chat__verified{
  margin: 8px 16px 0 !important;
  padding: 4px 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body .cc-prompt-chat__messages{
  padding: 8px 14px 12px !important;
}
html body .cc-prompt-chat__msg-body{
  border-radius: 5px !important;
}
html body .cc-prompt-chat__msg--user .cc-prompt-chat__msg-body{
  border-radius: 5px !important;
}
html body .cc-prompt-chat__msg--assistant .cc-prompt-chat__msg-body{
  border-radius: 5px !important;
}
html body .cc-prompt-dock__chip{
  border-radius: 5px !important;
  padding: 6px 12px !important;
}
html body .cc-prompt-resize--se::after{
  border-radius: 0 0 5px 0 !important;
}
html body:not(.dark-theme) .cc-prompt-dock.is-chat-open.is-chat-expanded .cc-prompt-dock__inner{
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
html body:not(.dark-theme) .cc-prompt-dock.is-chat-open .cc-prompt__bar{
  background: rgba(255,255,255,.72) !important;
  border-color: rgba(var(--dv-plum-rgb), .12) !important;
}
html body:not(.dark-theme) .cc-prompt-chat__title{
  color: var(--dv-ink);
}
html body:not(.dark-theme) .cc-prompt-chat__online{
  color: rgba(var(--dv-plum-rgb), .7);
  background: rgba(var(--dv-orange-rgb), .08);
}
html body:not(.dark-theme) .cc-prompt-chat__window-grip{
  color: rgba(var(--dv-plum-rgb), .55) !important;
  background: rgba(var(--dv-plum-rgb), .05) !important;
  border-color: rgba(var(--dv-plum-rgb), .12) !important;
}
html body:not(.dark-theme) .cc-prompt-chat__minimize{
  color: rgba(var(--dv-plum-rgb), .65) !important;
  background: rgba(var(--dv-plum-rgb), .05) !important;
  border-color: rgba(var(--dv-plum-rgb), .12) !important;
}
html body:not(.dark-theme) .cc-prompt-chat__minimize:hover,
html body:not(.dark-theme) .cc-prompt-chat__minimize:focus-visible{
  color: var(--dv-ink) !important;
  border-color: rgba(var(--dv-orange-rgb), .4) !important;
  background: rgba(var(--dv-orange-rgb), .1) !important;
}
html body .cc-prompt:not(.cc-prompt-dock .cc-prompt){
  border-radius: var(--cc-chat-r-sm, 5px) !important;
}
@media (max-width: 768px){
  html body .cc-prompt-dock{
    --cc-chat-r: 5px;
    --cc-chat-r-sm: 5px;
  }
  html body .cc-prompt-dock.is-chat-open.is-chat-expanded .cc-prompt-dock__inner{
    border-radius: 5px 5px 0 0 !important;
  }
}

/* ── Compacto (pill curta elegante) vs Expanded (thread) ── */
html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact){
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: clamp(14px, 2.5vh, 24px) !important;
  transform: translateX(-50%) !important;
  width: min(580px, calc(100vw - 32px)) !important;
  max-width: min(580px, calc(100vw - 32px)) !important;
  --cc-prompt-thread-w: min(580px, calc(100vw - 32px));
  z-index: 9999 !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) :is(.cc-prompt-chat, .cc-prompt-resize, .cc-prompt-dock__chips, .cc-prompt-chat__briefing, .cc-prompt-chat__verified){
  display: none !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt-dock__inner{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt-dock__row{
  display: flex !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  align-items: center !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  grid-template-columns: unset !important;
  width: 100% !important;
  min-height: 56px !important;
  height: 56px !important;
  max-height: 56px !important;
  padding: 5px 6px 5px 8px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .28) !important;
  background:
    linear-gradient(155deg, rgba(28, 12, 42, .96), rgba(16, 4, 25, .98)) !important;
  box-shadow:
    0 16px 42px rgba(8, 0, 15, .50),
    0 2px 8px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .12) !important;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body:not(.dark-theme) :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt{
  border-color: rgba(var(--dv-plum-rgb), .16) !important;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .97), rgba(248, 243, 238, .98)) !important;
  box-shadow:
    0 16px 40px rgba(var(--dv-plum-rgb), .16),
    0 2px 10px rgba(0, 0, 0, .04),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt-dock__mascot{
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 0 !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__bar{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background: transparent !important;
  padding: 0 !important;
  gap: 4px !important;
  box-shadow: none !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__attach{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(var(--dv-lilac-rgb), .16) !important;
  background: rgba(var(--dv-lilac-rgb), .06) !important;
  color: rgba(255, 255, 255, .70) !important;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}

html body:not(.dark-theme) :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__attach{
  border-color: rgba(var(--dv-plum-rgb), .12) !important;
  background: rgba(var(--dv-plum-rgb), .05) !important;
  color: rgba(var(--dv-plum-rgb), .70) !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__attach:hover{
  background: rgba(var(--dv-orange-rgb), .14) !important;
  border-color: rgba(var(--dv-orange-rgb), .4) !important;
  color: var(--dv-orange) !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__field{
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__input{
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 8px !important;
  margin: 0 !important;
  font-family: var(--fonte-corpo), 'DM Mono', monospace !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: -.01em !important;
  line-height: 44px !important;
  color: rgba(255, 255, 255, .95) !important;
  outline: none !important;
  box-shadow: none !important;
}

html body:not(.dark-theme) :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__input{
  color: var(--dv-ink, #180826) !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__input::placeholder{
  color: rgba(255, 255, 255, .44) !important;
  font-size: 13.5px !important;
}

html body:not(.dark-theme) :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__input::placeholder{
  color: rgba(var(--dv-plum-rgb), .48) !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__mic{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, .60) !important;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}

html body:not(.dark-theme) :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__mic{
  color: rgba(var(--dv-plum-rgb), .60) !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__mic:hover{
  background: rgba(var(--dv-orange-rgb), .12) !important;
  color: var(--dv-orange) !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__send{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  margin: 0 0 0 4px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--dv-orange), #E23A8C) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(var(--dv-orange-rgb), .38) !important;
  cursor: pointer;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s ease, opacity .2s ease;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__send:hover:not(:disabled){
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(var(--dv-orange-rgb), .50) !important;
}

html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__send:disabled,
html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt__send.is-empty{
  opacity: .55 !important;
  filter: saturate(.85);
  cursor: not-allowed;
}
/* Expanded: janela centralizada */
html body .cc-prompt-dock.is-chat-open{
  left: 50% !important;
  right: auto !important;
  bottom: clamp(8px, 1.2vw, 14px) !important;
  --cc-prompt-thread-max: 780px;
  --cc-prompt-thread-w: min(var(--cc-prompt-thread-max), calc(100vw - 48px));
  width: var(--cc-prompt-thread-w) !important;
  max-width: min(980px, calc(100vw - 24px)) !important;
  transform: translate(-50%, 0) !important;
  overflow: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}
html body .cc-prompt-dock.is-chat-open.is-detached,
html body .cc-prompt-dock.is-chat-open.is-user-sized{
  max-width: none !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-chat{
  display: flex !important;
}
/* Margem interna inferior da janela — compacta */
html body .cc-prompt-dock.is-chat-open.is-chat-expanded .cc-prompt-dock__inner{
  padding: 0 0 10px !important;
  box-sizing: border-box !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-dock__row{
  padding: 0 6px !important;
  margin-bottom: 0 !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-resize{
  display: block !important;
  pointer-events: auto;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-resize--se{
  width: 22px !important;
  height: 22px !important;
  right: 2px !important;
  bottom: 2px !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-resize--se::after{
  width: 10px;
  height: 10px;
  right: 6px;
  bottom: 6px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-color: rgba(var(--dv-orange-rgb), .7);
  opacity: 1;
}
html body:not(.dark-theme) .cc-prompt-dock.is-chat-open .cc-prompt-resize--se::after{
  border-color: rgba(var(--dv-plum-rgb), .45);
}
html body .cc-prompt-dock.is-avatar-only:not(.is-chat-open),
html body .cc-prompt-dock.is-chat-minimized:not(.is-chat-open){
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: none !important;
}

/* Anula §brutalist 3px do style.css — era o “código antigo” misturado */
html.cc-brut body .cc-prompt-dock .cc-prompt,
html.cc-brut body .cc-prompt-dock .cc-prompt.cc-prompt--with-mascot,
html.cc-force-dark body .cc-prompt-dock .cc-prompt,
html.cc-force-dark body .cc-prompt-dock .cc-prompt.cc-prompt--with-mascot,
body.dark-theme .cc-prompt-dock .cc-prompt,
body.dark-theme .cc-prompt-dock .cc-prompt.cc-prompt--with-mascot,
html body .cc-prompt-dock .cc-prompt.cc-prompt--with-mascot{
  border-radius: 9999px !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}
html.cc-brut body .cc-prompt-dock.is-chat-open .cc-prompt,
html.cc-brut body .cc-prompt-dock.is-chat-open .cc-prompt.cc-prompt--with-mascot,
html.cc-force-dark body .cc-prompt-dock.is-chat-open .cc-prompt,
html.cc-force-dark body .cc-prompt-dock.is-chat-open .cc-prompt.cc-prompt--with-mascot,
body.dark-theme .cc-prompt-dock.is-chat-open .cc-prompt,
body.dark-theme .cc-prompt-dock.is-chat-open .cc-prompt.cc-prompt--with-mascot,
html body .cc-prompt-dock.is-chat-open .cc-prompt.cc-prompt--with-mascot{
  border-radius: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(var(--dv-plum-rgb), .12) !important;
  background: transparent !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 64px !important;
  padding: 8px 14px 10px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Avatar Mascote posicionado no lado ESQUERDO dentro da barra do popup */
html body .cc-prompt-dock .cc-prompt.cc-prompt--with-mascot .cc-prompt-dock__mascot {
  order: 0 !important;
  margin: 0 6px 0 0 !important;
}
html body .cc-prompt-dock .cc-prompt.cc-prompt--with-mascot .cc-prompt__bar {
  order: 1 !important;
  flex: 1 1 auto !important;
}

/* Avatar Companion flutuante posicionado no lado DIREITO do site */
html body .robo-companion {
  right: clamp(16px, 2.5vw, 32px) !important;
  left: auto !important;
  bottom: clamp(20px, 3vh, 32px) !important;
}
html body .robo-companion-bubble {
  right: calc(100% + 12px) !important;
  left: auto !important;
  bottom: 25% !important;
}
html.cc-brut body .cc-prompt-dock .cc-prompt button.cc-prompt__send,
html.cc-force-dark body .cc-prompt-dock .cc-prompt button.cc-prompt__send,
body.dark-theme .cc-prompt-dock .cc-prompt button.cc-prompt__send,
html body .cc-prompt-dock .cc-prompt button.cc-prompt__send{
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--dv-orange), #E23A8C) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(var(--dv-orange-rgb), .32) !important;
  transform: none !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt__bar{
  margin: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
  flex: 1 1 auto !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(var(--dv-plum-rgb), .12) !important;
  background: rgba(255,255,255,.55) !important;
}
html body.dark-theme .cc-prompt-dock.is-chat-open .cc-prompt__bar,
html.cc-force-dark body .cc-prompt-dock.is-chat-open .cc-prompt__bar{
  border-color: rgba(var(--dv-lilac-rgb), .18) !important;
  background: rgba(255,255,255,.06) !important;
}
html body .cc-prompt-dock.is-chat-open .cc-prompt-chat{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
html body:not(.dark-theme) .cc-prompt-dock.is-chat-open.is-chat-expanded .cc-prompt-dock__inner{
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--dv-orange-rgb), .1), transparent 34%),
    linear-gradient(155deg, rgba(255,255,255,.97), rgba(251,247,242,.98)) !important;
  border-color: rgba(var(--dv-plum-rgb), .14) !important;
  box-shadow:
    0 22px 52px rgba(var(--dv-plum-rgb), .16),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}
html body:not(.dark-theme) .cc-prompt-dock.is-chat-open .cc-prompt-chat__head{
  background: transparent !important;
  border-bottom-color: rgba(var(--dv-plum-rgb), .1) !important;
}

/* Avatares sem placa/quadrado · badge cliente sem fundo · dock mais baixo */
html body .cc-prompt-dock__mascot,
html body .cc-prompt-dock.is-chat-open .cc-prompt-dock__mascot,
html body .cc-prompt-dock.is-compact .cc-prompt-dock__mascot{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  overflow: visible !important;
  width: 52px !important;
  min-width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  flex: 0 0 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body .cc-prompt-dock__mascot .robo,
html body .robo-companion .robo{
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}
html body .robo-companion,
html body .robo-companion.is-avatar-only,
html body .robo-companion.has-active-chat,
html body .robo-companion.is-dragging{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
html body .robo-companion.is-avatar-only::before,
html body .robo-companion::before{
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Bolinha de notificação do Avatar — sem borda, gradiente luminoso 3D e micro-animação fluida */
html body :is(.robo-companion, .cc-prompt-dock__mascot):is(.has-active-chat, .has-notification, .has-unread)::after {
  content: '' !important;
  position: absolute !important;
  top: 1px !important;
  right: 1px !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  border: 0 !important;
  outline: none !important;
  background: radial-gradient(circle at 32% 30%, #FFFFFF 0%, #FFA86B 22%, #FF5C14 62%, #D83600 100%) !important;
  box-shadow:
    0 0 10px rgba(255, 92, 20, 0.85),
    0 0 20px rgba(255, 92, 20, 0.4),
    0 2px 5px rgba(0, 0, 0, 0.35) !important;
  z-index: 15 !important;
  pointer-events: none !important;
  transform-origin: center center !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, filter 0.28s ease, opacity 0.25s ease !important;
}

html body :is(.robo-companion, .cc-prompt-dock__mascot):is(.has-active-chat, .has-notification, .has-unread):not(.is-dormant)::after {
  opacity: 1 !important;
  animation: cc-avatar-notif-micro 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

html body :is(.robo-companion, .cc-prompt-dock__mascot):is(.has-active-chat, .has-notification, .has-unread).is-dormant::after {
  transform: scale(0.82) !important;
  opacity: 0.6 !important;
  animation: none !important;
}

html body :is(.robo-companion, .cc-prompt-dock__mascot):is(.has-active-chat, .has-notification, .has-unread).is-chat-busy::after {
  animation: cc-avatar-notif-busy 0.85s ease-in-out infinite !important;
}

html body :is(.robo-companion, .cc-prompt-dock__mascot):hover:is(.has-active-chat, .has-notification, .has-unread)::after {
  transform: translateY(-2px) scale(1.24) !important;
  box-shadow:
    0 0 0 4px rgba(255, 92, 20, 0.3),
    0 0 20px 4px rgba(255, 92, 20, 1),
    0 0 32px 8px rgba(255, 92, 20, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.3) !important;
  filter: brightness(1.3) !important;
}
html body .cc-prompt-chat__verified,
html body .cc-prompt-chat__verified.is-unverified,
html body .cc-prompt-chat__verified.is-verified,
html body:not(.dark-theme) .cc-prompt-chat__verified{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 2px 16px 0 !important;
  margin: 6px 0 0 !important;
}
html body .cc-prompt-chat__verified-label{
  background: transparent !important;
}
html body .cc-prompt-dock{
  bottom: clamp(8px, 1.2vw, 14px) !important;
}
html body .cc-prompt-dock.is-chat-open.is-chat-expanded .cc-prompt-dock__inner{
  padding-bottom: 8px !important;
}

/* ══════════════════════════════════════════════════════════════════
   PROMPT DOCK CHAT · MENU BOLINHA & ADAPTAÇÃO MOBILE ULTRA-LIMPA
   Desktop: 100% inalterado (menu oculto, comportamento original)
   Mobile: menu bolinha no cabeçalho com popover de ações rápidas
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  html body .cc-prompt-chat__menu-toggle,
  html body .cc-prompt-chat__popover {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Oculta os 3 botões inline e badge duplicado da área de rolagem no mobile */
  html body .cc-prompt-dock.is-chat-open .cc-prompt-dock__chips,
  html body .cc-prompt-dock.is-chat-open .cc-prompt-chat__verified {
    display: none !important;
  }

  /* Botão Menu Bolinha (3 pontinhos / Kebab) ao lado do minimizar */
  html body .cc-prompt-chat__menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(var(--dv-lilac-rgb), .22) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: rgba(255, 255, 255, .78) !important;
    cursor: pointer;
    touch-action: manipulation;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  html body .cc-prompt-chat__menu-toggle:hover,
  html body .cc-prompt-chat__menu-toggle:focus-visible,
  html body .cc-prompt-chat__menu-toggle[aria-expanded="true"] {
    color: #fff !important;
    border-color: rgba(var(--dv-orange-rgb), .6) !important;
    background: rgba(var(--dv-orange-rgb), .18) !important;
    outline: none;
    box-shadow: 0 0 12px rgba(var(--dv-orange-rgb), .4);
  }

  html body:not(.dark-theme) .cc-prompt-chat__menu-toggle {
    border-color: rgba(var(--dv-plum-rgb), .16) !important;
    background: rgba(var(--dv-plum-rgb), .06) !important;
    color: rgba(var(--dv-plum-rgb), .75) !important;
  }

  html body:not(.dark-theme) .cc-prompt-chat__menu-toggle:hover,
  html body:not(.dark-theme) .cc-prompt-chat__menu-toggle:focus-visible,
  html body:not(.dark-theme) .cc-prompt-chat__menu-toggle[aria-expanded="true"] {
    color: var(--dv-ink) !important;
    border-color: rgba(var(--dv-orange-rgb), .5) !important;
    background: rgba(var(--dv-orange-rgb), .12) !important;
  }

  /* Ícone dos 3 pontinhos */
  html body .cc-prompt-chat__menu-toggle .cc-dots-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }
  html body .cc-prompt-chat__menu-toggle .cc-dots-icon span {
    display: block;
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: currentColor;
  }

  /* Popover Flutuante de Ações Rápidas no Mobile */
  html body .cc-prompt-chat__popover {
    position: absolute;
    top: 48px;
    right: 10px;
    left: 10px;
    z-index: 99;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(28, 10, 42, 0.98), rgba(16, 4, 25, 0.99)) !important;
    border: 1px solid rgba(var(--dv-lilac-rgb), 0.28) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    padding: 12px 12px 14px;
    animation: cc-popover-slide-down 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  html body:not(.dark-theme) .cc-prompt-chat__popover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(250, 246, 241, 0.99)) !important;
    border-color: rgba(var(--dv-plum-rgb), 0.18) !important;
    box-shadow: 0 18px 44px rgba(var(--dv-plum-rgb), 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  }

  html body .cc-prompt-chat__popover[hidden] {
    display: none !important;
  }

  html body .cc-prompt-chat__popover-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  html body .cc-prompt-chat__popover-head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(var(--dv-lilac-rgb), 0.14);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
  }

  html body:not(.dark-theme) .cc-prompt-chat__popover-head {
    border-bottom-color: rgba(var(--dv-plum-rgb), 0.1);
    color: rgba(var(--dv-plum-rgb), 0.7);
  }

  html body .cc-prompt-chat__popover-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dv-orange);
    box-shadow: 0 0 8px rgba(var(--dv-orange-rgb), 0.55);
  }

  html body .cc-prompt-chat__popover.is-verified .cc-prompt-chat__popover-status-dot {
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.55);
  }

  html body .cc-prompt-chat__popover-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  html body .cc-popover-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(var(--dv-lilac-rgb), 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--fonte-corpo), 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  }

  html body .cc-popover-item:active,
  html body .cc-popover-item:hover {
    border-color: rgba(var(--dv-orange-rgb), 0.45);
    background: rgba(var(--dv-orange-rgb), 0.14);
    color: #ffffff;
    transform: translateY(-1px);
  }

  html body:not(.dark-theme) .cc-popover-item {
    border-color: rgba(var(--dv-plum-rgb), 0.12);
    background: rgba(var(--dv-plum-rgb), 0.03);
    color: var(--dv-ink);
  }

  html body:not(.dark-theme) .cc-popover-item:active,
  html body:not(.dark-theme) .cc-popover-item:hover {
    border-color: rgba(var(--dv-orange-rgb), 0.45);
    background: rgba(var(--dv-orange-rgb), 0.1);
    color: var(--dv-ink);
  }

  /* Centralização Universal Perfeita do Dock em Mobile */
  html body .cc-prompt-dock,
  html body .cc-prompt-dock.is-chat-open,
  html body .cc-prompt-dock.is-chat-open.is-chat-expanded,
  html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  html body .cc-prompt-dock.is-chat-open.is-chat-expanded .cc-prompt-dock__inner {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    max-height: calc(100svh - 80px) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  html body .cc-prompt-dock.is-chat-open .cc-prompt-chat {
    height: min(65svh, 480px) !important;
    max-height: 65svh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  html body .cc-prompt-dock.is-chat-open .cc-prompt-chat__messages {
    flex: 1 1 auto !important;
    min-height: 160px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 10px 12px 14px !important;
  }

  /* Área de Digitação Mobile de Extrema Qualidade e Espaço Amplo */
  html body .cc-prompt-dock .cc-prompt,
  html body .cc-prompt-dock.is-chat-open .cc-prompt,
  html body .cc-prompt-dock.is-chat-open .cc-prompt.cc-prompt--with-mascot {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 52px !important;
    height: auto !important;
    padding: 6px 8px 8px !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }

  /* No modo chat aberto no mobile, o mascote fica oculto na barra para dar 100% de espaço ao campo de texto */
  html body .cc-prompt-dock.is-chat-open .cc-prompt-dock__mascot {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 0 !important;
  }

  /* No modo compacto fechado no mobile, mascote fica compacto (34px) */
  html body :is(.cc-prompt-dock:not(.is-chat-open), .cc-prompt-dock.is-chat-minimized, .cc-prompt-dock.is-compact) .cc-prompt-dock__mascot {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    flex: 0 0 34px !important;
    margin: 0 4px 0 0 !important;
  }

  /* Barra de Prompt Mobile — Espaço horizontal maximizado */
  html body .cc-prompt-dock .cc-prompt__bar,
  html body .cc-prompt-dock.is-chat-open .cc-prompt__bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 4px 0 6px !important;
    margin: 0 !important;
    gap: 4px !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
  }

  /* Botão Anexar (+) compacto */
  html body .cc-prompt-dock .cc-prompt__attach,
  html body .cc-prompt-dock.is-chat-open .cc-prompt__attach {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    min-width: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  /* Campo de Texto (Input Wrapper & Field) — Ocupa todo o espaço restante */
  html body .cc-prompt-dock .cc-prompt__field,
  html body .cc-prompt-dock.is-chat-open .cc-prompt__field {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
  }

  html body .cc-prompt-dock .cc-prompt__input,
  html body .cc-prompt-dock.is-chat-open .cc-prompt__input {
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 6px !important;
    margin: 0 !important;
    font-size: 15.5px !important;
    line-height: 46px !important;
    font-weight: 500 !important;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  /* Botão de Microfone compacto */
  html body .cc-prompt-dock .cc-prompt__mic,
  html body .cc-prompt-dock.is-chat-open .cc-prompt__mic {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    min-width: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  /* Botão de Envio proporcional */
  html body .cc-prompt-dock .cc-prompt__send,
  html body .cc-prompt-dock.is-chat-open .cc-prompt__send,
  html body .cc-prompt-dock button.cc-prompt__send {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    min-width: 36px !important;
    margin: 0 0 0 2px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
}

@keyframes cc-popover-slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

