/* Modo escuro do website público */
.sofara-theme-toggle,
.dash-theme-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #5427db);
    background: var(--lighter-gray, #f4f5f7);
    border: 1px solid var(--border-light, #e9ecef);
    border-radius: 50%;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.sofara-theme-toggle:hover,.dash-theme-toggle:hover { transform: translateY(-1px); }
.sofara-theme-toggle:focus-visible,.dash-theme-toggle:focus-visible { outline: 3px solid rgba(84,39,219,.35); outline-offset: 2px; }
.sofara-theme-toggle { margin: 0; }

html[data-theme="dark"] {
    color-scheme: dark;
    --bg-color: #13111b;
    --logo-color: #a88bff;
    --logo-color-ghost: rgba(168,139,255,.18);
    --primary: #8f6cf0;
    --primary-light: #b39bff;
    --primary-dark: #754cdc;
    --primary-rgb: 143, 108, 240;
    --white: #13111b;
    --light-gray: #201d29;
    --lighter-gray: #1a1722;
    --medium-gray: #b4adbf;
    --dark-text: #f2eff8;
    --dark: #f4f0ff;
    --dark2: #ece6fa;
    --border-light: #393443;
    --border-lighter: #302b39;
    --ui-surface: #1c1926;
    --ui-surface-raised: #242033;
    --ui-surface-soft: #211d2a;
    --ui-text: #f2eff8;
    --ui-text-muted: #b4adbf;
    --ui-border: #393443;
    --shadow-xs: 0 1px 3px rgba(0,0,0,.22);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.24);
    --shadow-md: 0 4px 20px rgba(0,0,0,.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.36);
    --shadow-xl: 0 16px 60px rgba(0,0,0,.42);
}
html[data-theme="dark"] body,
html[data-theme="dark"] .app-layout,
html[data-theme="dark"] .app-body,
html[data-theme="dark"] .main-wrapper,
html[data-theme="dark"] .main-content { color: var(--dark-text); background-color: #13111b; }
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 { color: var(--dark); }
html[data-theme="dark"] .topbar { background: rgba(22,19,30,.94); border-color: #302b39; }
html[data-theme="dark"] .topbar__brand-tagline,
html[data-theme="dark"] .topbar__lang-btn,
html[data-theme="dark"] .topbar__search-shortcut { color: #b4adbf; }
html[data-theme="dark"] .topbar__search-input,
html[data-theme="dark"] .topbar__lang-dropdown,
html[data-theme="dark"] .topbar__search-results,
html[data-theme="dark"] .search-results__close { color: #f2eff8; background: #201d29; border-color: #393443; }
html[data-theme="dark"] .topbar__lang-option,
html[data-theme="dark"] .search-results__item { color: #f2eff8; }
html[data-theme="dark"] .topbar__lang-option:hover,
html[data-theme="dark"] .search-results__item:hover { background: #302b39; }
html[data-theme="dark"] .section--gray,
html[data-theme="dark"] .section--light,
html[data-theme="dark"] .bg-light,
html[data-theme="dark"] .section-gray { background-color: #191622 !important; }
html[data-theme="dark"] .card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .sites-tipo-card,
html[data-theme="dark"] .sites-plano-card,
html[data-theme="dark"] .sites-incluido-card,
html[data-theme="dark"] .sites-recurso-card,
html[data-theme="dark"] .legal-container,
html[data-theme="dark"] .legal-card,
html[data-theme="dark"] .help-card,
html[data-theme="dark"] .contact-info-card,
html[data-theme="dark"] .contact-form-card,
html[data-theme="dark"] .sistema-card,
html[data-theme="dark"] .hospedagem-card,
html[data-theme="dark"] .email-card,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .store-filter-btn,
html[data-theme="dark"] .blog-article__content,
html[data-theme="dark"] .legal-card,
html[data-theme="dark"] .help-card { color: var(--ui-text); background-color: var(--ui-surface); border-color: var(--ui-border); }
html[data-theme="dark"] .main-content p,
html[data-theme="dark"] .main-content .text-muted,
html[data-theme="dark"] .main-content .section__description { color: var(--ui-text-muted); }
html[data-theme="dark"] .main-content .service-card--featured p,
html[data-theme="dark"] .main-content .service-card--featured li,
html[data-theme="dark"] .main-content .dominios-cta p { color: rgba(255,255,255,.86); }
html[data-theme="dark"] .main-content a:not(.btn):not(.sidebar__nav-item) { color: #bca8ff; }
html[data-theme="dark"] .store-filters { background: transparent; border: 0; box-shadow: none; }
html[data-theme="dark"] .store-filter-btn--active,
html[data-theme="dark"] .store-filter-btn.store-filter-btn--active { color: #fff; background: #7047d8; border-color: #8b6bea; box-shadow: 0 6px 18px rgba(112,71,216,.3); }
html[data-theme="dark"] .store-filter-btn.store-filter-btn--active:hover { color: #fff; background: #8059e5; border-color: #a38af0; }
html[data-theme="dark"] .service-card__icon,
html[data-theme="dark"] .info-card__icon,
html[data-theme="dark"] .sites-tipo-card__icon,
html[data-theme="dark"] .sites-incluido-card i,
html[data-theme="dark"] .sites-recurso-icon,
html[data-theme="dark"] .contact-info-card__icon {
    color: #c4adff;
    background-color: rgba(168,139,255,.14);
}
html[data-theme="dark"] .service-card--featured,
html[data-theme="dark"] .service-card--featured h3,
html[data-theme="dark"] .service-card--featured p,
html[data-theme="dark"] .service-card--featured li,
html[data-theme="dark"] .service-card--featured a { color: #fff; }
html[data-theme="dark"] .service-card--featured .service-card__icon { color: #fff; background: rgba(255,255,255,.16); }
html[data-theme="dark"] .btn--primary,
html[data-theme="dark"] .btn--primary:hover { color: #fff; }
html[data-theme="dark"] .btn--outline { color: #c4adff; border-color: #66558a; }
html[data-theme="dark"] .btn--outline:hover { color: #fff; background: rgba(168,139,255,.12); }
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .form-input,
html[data-theme="dark"] .form-textarea,
html[data-theme="dark"] .topbar__search-input { color: #f2eff8; background-color: #201d29; border-color: #393443; }
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #aaa2b6; }
html[data-theme="dark"] .cookie-banner { color: #f2eff8; background: #1c1926; border-color: #393443; }
html[data-theme="dark"] .footer { background-color: #100e17; }
html[data-theme="dark"] .sofara-theme-toggle { color: #f7c948; background: #292435; border-color: #423b4d; }
html[data-theme="dark"] .sofara-theme-toggle i { color: #f7c948; }

/* Página inicial: fundos e chamadas principais com contraste no tema escuro. */
html[data-theme="dark"] .hero {
    background: linear-gradient(150deg, #191622 0%, #17141f 52%, #121019 100%);
}
html[data-theme="dark"] .hero__chip { color: #c4adff; background: rgba(168,139,255,.12); }
html[data-theme="dark"] .hero__title .hero__rotating-word { color: #a88bff; }
html[data-theme="dark"] .hero__description { color: #c2bbcd; }
html[data-theme="dark"] .hero__floating-card {
    color: #eeeaf5;
    background: rgba(34,30,44,.92);
    border: 1px solid #40394d;
}
html[data-theme="dark"] .hero__floating-card i { color: #bca8ff; }
html[data-theme="dark"] .hero__floating-card::after {
    background: linear-gradient(105deg, transparent 0%, rgba(196,173,255,.04) 24%, rgba(196,173,255,.48) 50%, rgba(196,173,255,.08) 76%, transparent 100%);
}
html[data-theme="dark"] .hero .btn--primary { color: #fff; }
html[data-theme="dark"] .hero .btn--outline { color: #c4adff; border-color: #51466a; }
html[data-theme="dark"] .hero .btn--outline:hover { background: rgba(168,139,255,.1); }

html[data-theme="dark"] .adn-banner {
    color: #f2eff8;
    background: linear-gradient(145deg, #100d18 0%, #1b1530 52%, #38205f 100%);
}
html[data-theme="dark"] .adn-banner__text { color: #eeeaf5; }
html[data-theme="dark"] .adn-banner__text span { color: #c7b5ff; }

/* O estado ativo do menu conserva destaque sem uma placa branca. */
html[data-theme="dark"] .sidebar { background: #15121d; border-color: #302b39; }
html[data-theme="dark"] .sidebar__nav-item { color: #b4adbf; }
html[data-theme="dark"] .sidebar__nav-item:hover,
html[data-theme="dark"] .sidebar__nav-item--active,
html[data-theme="dark"] .sidebar__nav-item--active:hover {
    color: #d2c3ff;
    background: #292238;
    border-color: #45395f;
    box-shadow: none;
}
html[data-theme="dark"] .sidebar__nav-item--active::before { background: #a88bff; }
html[data-theme="dark"] .sidebar__nav-item--active .sidebar__nav-icon { color: #fff; background: #7047d8; }
html[data-theme="dark"] .sidebar__dropdown-toggle:hover { color: #d2c3ff; background: #292238; border-color: #45395f; }

/* Sora AI: janela, chat, histórico, ações e controlos acompanham o tema. */
html[data-theme="dark"] .sora-widget {
    --primary: #a88bff;
    --primary-dark: #8f6cf0;
    --primary-rgb: 168, 139, 255;
    color: #f2eff8;
    background: #17141f;
    border-color: #393443;
}
html[data-theme="dark"] .sora-widget__overlay { background: rgba(5,4,10,.62); }
html[data-theme="dark"] .sora-widget__header,
html[data-theme="dark"] .sora-widget__body,
html[data-theme="dark"] .sora-chat__footer,
html[data-theme="dark"] .sora-chat__input-card,
html[data-theme="dark"] .sora-widget__historico-panel,
html[data-theme="dark"] .sora-widget__acoes-panel { background: #17141f; border-color: #393443; }
html[data-theme="dark"] .sora-widget__header-title,
html[data-theme="dark"] .sora-widget__header-title i,
html[data-theme="dark"] .sora-widget__historico-header h3,
html[data-theme="dark"] .sora-widget__acoes-header h3,
html[data-theme="dark"] .sora-widget__historico-item-titulo,
html[data-theme="dark"] .sora-widget__acao-info span,
html[data-theme="dark"] .sora-chat__model-select,
html[data-theme="dark"] .sora-chat__input-card textarea { color: #f2eff8; }
html[data-theme="dark"] .sora-widget__btn-icon,
html[data-theme="dark"] .sora-chat__icon-btn,
html[data-theme="dark"] .sora-chat__anexo,
html[data-theme="dark"] .sora-chat__actions-bar button,
html[data-theme="dark"] .sora-widget__historico-vazio,
html[data-theme="dark"] .sora-widget__historico-item-preview { color: #b4adbf; }
html[data-theme="dark"] .sora-widget__btn-icon:hover,
html[data-theme="dark"] .sora-chat__icon-btn:hover,
html[data-theme="dark"] .sora-chat__anexo:hover,
html[data-theme="dark"] .sora-chat__model-select:hover { color: #fff; background: #302b39; }
html[data-theme="dark"] .sora-widget__skill-option {
    color: #eeeaf5;
    background: transparent;
    border: 1px solid transparent;
}
html[data-theme="dark"] .sora-widget__skill-option:hover,
html[data-theme="dark"] .sora-widget__skill-option:focus-visible {
    color: #fff;
    background: #292435;
    border-color: #51466a;
    outline: none;
}
html[data-theme="dark"] .sora-widget__skill-option strong { color: #f4f0ff; }
html[data-theme="dark"] .sora-widget__skill-option small { color: #bdb5ce; }
html[data-theme="dark"] .sora-widget__skill-icon { color: #bca8ff; background: #29243a; }
html[data-theme="dark"] .sora-widget__skill-option:hover .sora-widget__skill-icon,
html[data-theme="dark"] .sora-widget__skill-option:focus-visible .sora-widget__skill-icon {
    color: #fff;
    background: #5940a0;
}
html[data-theme="dark"] .sora-chat__message--bot .sora-chat__content,
html[data-theme="dark"] .sora-chat__message--typing .sora-chat__content,
html[data-theme="dark"] .sora-widget__historico-item,
html[data-theme="dark"] .sora-widget__acao-item:hover { color: #eeeaf5; background: #211d2a; border-color: #393443; }
html[data-theme="dark"] .sora-chat__btn-secondary,
html[data-theme="dark"] .sora-chat__sugestao { color: #e8e1f5; background: #211d2a; border-color: #40394d; }
html[data-theme="dark"] .sora-chat__btn-secondary:hover,
html[data-theme="dark"] .sora-chat__sugestao:hover,
html[data-theme="dark"] .sora-widget__acao-item:hover { color: #fff; background: #302747; border-color: #8f6cf0; }
html[data-theme="dark"] .sora-widget__historico-header,
html[data-theme="dark"] .sora-widget__acoes-header { background: #1c1926; border-color: #393443; }
html[data-theme="dark"] .sora-widget__historico-item:hover { background: #302b39; border-color: #51466a; }
html[data-theme="dark"] .sora-widget__historico-item-tempo,
html[data-theme="dark"] .sora-chat__timestamp,
html[data-theme="dark"] .sora-chat__disclaimer,
html[data-theme="dark"] .sora-chat__input-card textarea::placeholder { color: #aaa2b6; }
html[data-theme="dark"] .sora-chat__input-card,
html[data-theme="dark"] .sora-chat__mic-btn { border-color: #40394d; }
html[data-theme="dark"] .sora-widget__historico-header #btnFecharHistorico {
    color: #c4bacf;
    background: #292435;
    border-color: #443b55;
}
html[data-theme="dark"] .sora-widget__historico-header #btnFecharHistorico:hover {
    color: #fff;
    background: #392d50;
    border-color: #7259a7;
}
html[data-theme="dark"] .sora-widget__historico-vazio p { color: #eeeaf5; }
html[data-theme="dark"] #btnEnviar:not(.sora-chat__mic-btn--send):not(.sora-chat__mic-btn--recording) {
    color: #d8c7ff;
    background: linear-gradient(#17141f, #17141f) padding-box,
                linear-gradient(135deg, #9c70ff 0%, #e05be9 52%, #63a2ff 100%) border-box;
    background-size: 100% 100%, 240% 240%;
    background-position: center, 0% 50%;
    border-color: transparent;
}
html[data-theme="dark"] #btnEnviar:not(.sora-chat__mic-btn--send):not(.sora-chat__mic-btn--recording):hover {
    background: linear-gradient(#211d2a, #211d2a) padding-box,
                linear-gradient(135deg, #b18dff 0%, #ed78f0 52%, #7eb6ff 100%) border-box;
    background-size: 100% 100%, 240% 240%;
}
html[data-theme="dark"] .sora-chat__input-card textarea { background: transparent; }
html[data-theme="dark"] .sora-widget__close:hover,
html[data-theme="dark"] .sora-widget__historico-item-deletar:hover { color: #ff9292; background: rgba(239,68,68,.15); }
html[data-theme="dark"] .sora-chat__typing-dot { background: #aaa2b6; }
html[data-theme="dark"] .sora-widget__toast { color: #fff; background: #302747; border: 1px solid #51466a; }
html[data-theme="dark"] .sidebar__sora-ai-btn { background: rgba(168,139,255,.1); border-color: rgba(168,139,255,.3); }
html[data-theme="dark"] .sidebar__sora-ai-arrow { color: #bca8ff; }

/* Cards do conteúdo público: preservar o movimento de hover sem sombras. */
main.main-content :is([class*="card"], [class*="Card"]),
main.main-content :is([class*="card"], [class*="Card"]):hover {
    box-shadow: none !important;
}

/* Cards, FAQ e etapas da página de domínios. */
html[data-theme="dark"] #dominios-nacionais .dominio-card,
html[data-theme="dark"] #dominios-internacionais .dominio-card,
html[data-theme="dark"] .dominio-pais-card,
html[data-theme="dark"] .dominios-servico-card,
html[data-theme="dark"] .dominios-faq-item {
    color: #f2eff8;
    background: #1c1926;
    border-color: #393443;
}
html[data-theme="dark"] #dominios-nacionais .dominio-card:hover,
html[data-theme="dark"] #dominios-internacionais .dominio-card:hover,
html[data-theme="dark"] .dominio-pais-card:hover,
html[data-theme="dark"] .dominios-servico-card:hover {
    background: #242033;
    border-color: #59487d;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
html[data-theme="dark"] #dominios-nacionais .dominio-card__icon,
html[data-theme="dark"] #dominios-internacionais .dominio-card__icon,
html[data-theme="dark"] .dominios-servico-icon {
    color: #c4adff;
    background: #302747;
}
html[data-theme="dark"] #dominios-nacionais .dominio-card:hover .dominio-card__icon,
html[data-theme="dark"] #dominios-internacionais .dominio-card:hover .dominio-card__icon,
html[data-theme="dark"] .dominios-servico-card:hover .dominios-servico-icon {
    color: #fff;
    background: #7047d8;
}
html[data-theme="dark"] #dominios-nacionais .dominio-card__title,
html[data-theme="dark"] #dominios-internacionais .dominio-card__title,
html[data-theme="dark"] .dominio-pais-ext,
html[data-theme="dark"] .dominios-faq-question:hover,
html[data-theme="dark"] .dominios-faq-item.active .dominios-faq-question,
html[data-theme="dark"] .dominios-faq-item.active .dominios-faq-question i {
    color: #c4adff;
}
html[data-theme="dark"] #dominios-nacionais .dominio-card__text,
html[data-theme="dark"] #dominios-internacionais .dominio-card__text,
html[data-theme="dark"] .dominio-pais-nome,
html[data-theme="dark"] .dominios-servico-title,
html[data-theme="dark"] .dominios-passo-title,
html[data-theme="dark"] .dominios-faq-question {
    color: #eeeaf5;
}
html[data-theme="dark"] .dominios-servico-text,
html[data-theme="dark"] .dominios-passo-text,
html[data-theme="dark"] .dominios-faq-answer p,
html[data-theme="dark"] .dominios-nota {
    color: #b4adbf;
}
html[data-theme="dark"] #dominios-nacionais .dominio-card__tag,
html[data-theme="dark"] #dominios-internacionais .dominio-card__tag,
html[data-theme="dark"] #dominios-internacionais .dominio-card__tag--blue {
    color: #d2c3ff;
    background: rgba(168,139,255,.16);
}
html[data-theme="dark"] .main-content [class$="-passo-numero"],
html[data-theme="dark"] .main-content [class$="-processo-numero"],
html[data-theme="dark"] .emails-migracao-number,
html[data-theme="dark"] .home-process-card__step { color: #fff; }
html[data-theme="dark"] .emails-migracao-number { border-color: #fff; }
html[data-theme="dark"] .sites-processo { --white: #fff; }
html[data-theme="dark"] .sites-cta,
html[data-theme="dark"] .sistemas-cta,
html[data-theme="dark"] .dominios-cta,
html[data-theme="dark"] .hospedagens-cta,
html[data-theme="dark"] .emails-cta {
    color: #fff;
    background: linear-gradient(120deg, #201338 0%, #35205f 52%, #4930a0 100%);
    border: 1px solid rgba(196,173,255,.2);
    box-shadow: 0 22px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .sites-cta h2,
html[data-theme="dark"] .sistemas-cta h2,
html[data-theme="dark"] .dominios-cta h2,
html[data-theme="dark"] .hospedagens-cta h2,
html[data-theme="dark"] .emails-cta h2 { color: #fff; }
html[data-theme="dark"] .sites-cta p,
html[data-theme="dark"] .sistemas-cta p,
html[data-theme="dark"] .dominios-cta p,
html[data-theme="dark"] .hospedagens-cta p,
html[data-theme="dark"] .emails-cta p { color: #d4ccdf; }
html[data-theme="dark"] .sites-cta-icon,
html[data-theme="dark"] .sistemas-cta-icon,
html[data-theme="dark"] .dominios-cta-icon,
html[data-theme="dark"] .hospedagens-cta-icon,
html[data-theme="dark"] .emails-cta-icon {
    color: #fff;
    background: rgba(196,173,255,.18);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 24px rgba(12,6,28,.2);
}
html[data-theme="dark"] .sites-cta-label,
html[data-theme="dark"] .sistemas-cta-label { color: #eee8ff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
html[data-theme="dark"] .sites-cta .btn--white,
html[data-theme="dark"] .sistemas-cta .btn--white,
html[data-theme="dark"] .dominios-cta .btn--white,
html[data-theme="dark"] .hospedagens-cta .btn--white,
html[data-theme="dark"] .emails-cta .btn--white {
    color: #321574;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 12px 28px rgba(13,6,30,.28);
}
html[data-theme="dark"] .sites-cta .btn--white:hover,
html[data-theme="dark"] .sistemas-cta .btn--white:hover,
html[data-theme="dark"] .dominios-cta .btn--white:hover,
html[data-theme="dark"] .hospedagens-cta .btn--white:hover,
html[data-theme="dark"] .emails-cta .btn--white:hover { color: #211047; background: #f0eaff; transform: translateY(-3px); }
html[data-theme="dark"] .sites-cta-link,
html[data-theme="dark"] .sistemas-cta-link { color: #e1d6ff; }
html[data-theme="dark"] .sites-cta-link:hover,
html[data-theme="dark"] .sistemas-cta-link:hover { color: #fff; }
html[data-theme="dark"] .sites-mini-cta { background: linear-gradient(120deg, #211b2d, #282137); border-color: #3d354c; box-shadow: 0 12px 32px rgba(0,0,0,.14); }
html[data-theme="dark"] .sites-mini-cta-content h3 { color: #f8f5ff; }
html[data-theme="dark"] .sites-mini-cta-content p { color: #c5bdcf; }
html[data-theme="dark"] .sites-mini-cta-icon { color: #d5c5ff; background: rgba(168,139,255,.16); }

/* Valores da Sofara: superfície escura e acentos violeta mais contidos. */
html[data-theme="dark"] .compromissos-section {
    background: linear-gradient(145deg, #121019 0%, #191622 50%, #171320 100%);
}
html[data-theme="dark"] .compromissos-section::before {
    background: radial-gradient(circle at 40% 60%, rgba(112,71,216,.22) 0%, rgba(84,39,219,.08) 42%, transparent 72%);
}
html[data-theme="dark"] .compromissos-section::after {
    background: radial-gradient(circle at 60% 40%, rgba(112,71,216,.16) 0%, rgba(66,30,175,.07) 42%, transparent 72%);
}
html[data-theme="dark"] .compromissos-pattern {
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.018) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(168,139,255,.025) 0%, transparent 60%);
}
html[data-theme="dark"] .compromissos-section .section__label { color: #c8b8f3; }
html[data-theme="dark"] .compromissos-section .section__label-line { background: #8f6cf0; }
html[data-theme="dark"] .compromissos-section .section__title { color: #f4f0ff; text-shadow: none; }
html[data-theme="dark"] .compromisso-card {
    background: linear-gradient(145deg, rgba(34,30,44,.92), rgba(27,24,36,.94));
    border-color: rgba(196,173,255,.13);
    box-shadow: 0 12px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
}
html[data-theme="dark"] .compromisso-card::before { background: linear-gradient(90deg, transparent, rgba(196,173,255,.32), transparent); }
html[data-theme="dark"] .compromisso-card::after { background: radial-gradient(circle at 50% 35%, rgba(143,108,240,.1) 0%, transparent 68%); }
html[data-theme="dark"] .compromisso-card:hover {
    background: linear-gradient(145deg, #292336, #211d2d);
    border-color: rgba(168,139,255,.38);
    box-shadow: 0 20px 44px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
}
html[data-theme="dark"] .compromisso-card__icon {
    color: #c9b7ff;
    background: rgba(143,108,240,.13);
    border-color: rgba(196,173,255,.22);
    box-shadow: 0 8px 22px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.06);
}
html[data-theme="dark"] .compromisso-card:hover .compromisso-card__icon {
    color: #fff;
    background: #7047d8;
    border-color: rgba(255,255,255,.25);
    box-shadow: 0 10px 28px rgba(84,39,219,.28);
}
html[data-theme="dark"] .compromisso-card__title { color: #f4f0ff; }
html[data-theme="dark"] .compromisso-card__text,
html[data-theme="dark"] .compromisso-card:hover .compromisso-card__text { color: #bdb6ca; }
html[data-theme="dark"] .sofara-contact-form-submit,
html[data-theme="dark"] .sofara-contact-form-submit span,
html[data-theme="dark"] .sofara-contact-form-submit i { color: #fff; }
html[data-theme="dark"] .sofara-backtotop,
html[data-theme="dark"] .sofara-backtotop i { color: #fff; }
html[data-theme="dark"] .sidebar .sidebar__cta {
    color: #f4f0ff;
    background: linear-gradient(135deg, #342653 0%, #292039 52%, #35264f 100%);
    border-color: rgba(196,173,255,.28);
    box-shadow: 0 6px 20px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07);
}
html[data-theme="dark"] .sidebar .sidebar__cta:hover {
    color: #fff;
    background: linear-gradient(135deg, #49356f 0%, #392b58 100%);
    border-color: rgba(196,173,255,.48);
}
html[data-theme="dark"] .sidebar .sidebar__cta > .sidebar__sprite-icon,
html[data-theme="dark"] .sidebar .sidebar__cta:hover > .sidebar__sprite-icon { color: #cdbaff; }
html[data-theme="dark"] .central-ajuda-pesquisa input {
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
}
html[data-theme="dark"] #btnFalarSoraAI {
    color: #fff;
    background: linear-gradient(135deg, #7047d8, #8b65ed);
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 10px 24px rgba(31,15,74,.25);
}
html[data-theme="dark"] #btnFalarSoraAI:hover { color: #fff; background: linear-gradient(135deg, #8058e3, #9877f2); }
html[data-theme="dark"] .sora-chat__voice-status[data-state="listening"] { color: #ff9daa; }
html[data-theme="dark"] .sora-chat__voice-status[data-state="ready"] { color: #77d9aa; }
html[data-theme="dark"] .sora-chat__voice-status[data-state="error"] { color: #ff9daa; }
html[data-theme="dark"] .sora-chat__mic-btn--recording { color: #ff9daa; background: rgba(209,67,91,.15); border-color: rgba(255,157,170,.5); }

@media (max-width: 768px) {
    .topbar__actions { gap: 0.35rem; margin-right: 0; }
    .sofara-theme-toggle { width: 36px; height: 36px; flex-basis: 36px; }
}

/* Cards do site público sem sombras; os movimentos de hover continuam activos. */
:is(
    .card,
    .service-card, .info-card, .capability-item,
    .central-ajuda-faq-card,
    .sofara-contact-card, .contact-form-card, .contact-info-card,
    .sofara-contact-form-box, .whatsapp-orcamento-card,
    .dominio-card, .dominio-pais-card, .dominios-servico-card,
    .email-card, .emails-gestao-card, .emails-plano-card, .emails-recurso-card, .emails-tipo-card,
    .hospedagem-card, .hospedagens-servico-card,
    .sistema-card, .sistemas-plano-card, .sistemas-recurso-card, .sistemas-tipo-card,
    .sites-design-card, .sites-gestao-card, .sites-incluido-card, .sites-infra-card,
    .sites-plano-card, .sites-recurso-card, .sites-tipo-card,
    .home-stat, .home-pillar, .home-project-card, .home-process-card,
    .store-category-card, .product-card, .legal-card, .help-card,
    .compromisso-card
) {
    box-shadow: none !important;
    transition-property: transform, border-color, background-color, color !important;
}

:is(
    .card,
    .service-card, .info-card, .capability-item,
    .central-ajuda-faq-card,
    .sofara-contact-card, .contact-form-card, .contact-info-card,
    .sofara-contact-form-box, .whatsapp-orcamento-card,
    .dominio-card, .dominio-pais-card, .dominios-servico-card,
    .email-card, .emails-gestao-card, .emails-plano-card, .emails-recurso-card, .emails-tipo-card,
    .hospedagem-card, .hospedagens-servico-card,
    .sistema-card, .sistemas-plano-card, .sistemas-recurso-card, .sistemas-tipo-card,
    .sites-design-card, .sites-gestao-card, .sites-incluido-card, .sites-infra-card,
    .sites-plano-card, .sites-recurso-card, .sites-tipo-card,
    .home-stat, .home-pillar, .home-project-card, .home-process-card,
    .store-category-card, .product-card, .legal-card, .help-card,
    .compromisso-card
):is(:hover, .active, .is-active) {
    box-shadow: none !important;
}
