
/* TECH HOUSE — PEARL EXECUTIVE */

:root {
  color-scheme: light !important;
  --premium-bg: #f5f7fa;
  --premium-surface: #ffffff;
  --premium-border: #dfe5ed;
  --premium-text: #26364b;
  --premium-muted: #758398;
  --premium-accent: #647c9a;
  --premium-accent-dark: #455f81;
  --premium-champagne: #c8a978;

  --bg: #f5f7fa;
  --panel: #ffffff;
  --panel2: #f0f3f8;
  --text: #26364b;
  --muted: #758398;
  --border: #dfe5ed;
}

html, body {
  background: #f5f7fa !important;
  color: #26364b !important;
}

body, #app, .app, main, .main, .content,
.main-content, .dashboard, .page-content {
  color: #26364b !important;
}

aside, .sidebar, .side-menu, .side-nav,
nav.sidebar, .navigation {
  background: #ffffff !important;
  color: #34445a !important;
  border-right: 1px solid #e0e6ee !important;
}

aside a, aside button, aside span,
.sidebar a, .sidebar button, .sidebar span {
  color: #40516a !important;
}

aside a:hover, aside button:hover,
.sidebar a:hover, .sidebar button:hover,
.sidebar .active, aside .active {
  background: #e7edf5 !important;
  color: #455f81 !important;
}

header, .topbar, .top-bar, .app-header,
.page-header, .navbar {
  background: #ffffff !important;
  color: #26364b !important;
  border-color: #e0e6ee !important;
}

.card, .panel, .project-card, .stat,
.stat-card, .metric-card, .widget,
.login-card, .modal, .modal-content,
.table-container, .module-box,
.project-tile, .quick-card {
  background: #ffffff !important;
  color: #26364b !important;
  border: 1px solid #e0e6ee !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 22px rgba(38,54,75,.055) !important;
}

.card *, .panel *, .project-card *,
.stat-card *, .metric-card *,
.login-card *, .modal-content * {
  border-color: #e0e6ee;
}

h1, h2, h3, h4, h5, h6 {
  color: #26364b !important;
  letter-spacing: -.025em;
}

p, label, td, th {
  color: #40516a;
}

input, select, textarea {
  background: #ffffff !important;
  color: #26364b !important;
  border: 1px solid #d5deea !important;
  border-radius: 10px !important;
}

input::placeholder, textarea::placeholder {
  color: #929dad !important;
}

input:focus, select:focus, textarea:focus {
  outline-color: #647c9a !important;
  border-color: #647c9a !important;
}

button, .btn, .action, .action.primary,
button.primary, .btn-primary {
  border-radius: 10px;
}

.btn-primary, button.primary,
.action.primary, .primary-button {
  background: #526f94 !important;
  color: #ffffff !important;
  border-color: #526f94 !important;
}

.btn-primary:hover, button.primary:hover,
.action.primary:hover, .primary-button:hover {
  background: #405b7d !important;
}

table {
  background: #ffffff !important;
  color: #34445a !important;
}

thead, th {
  background: #f0f3f8 !important;
}

td, th {
  border-color: #e0e6ee !important;
}

tr:hover td {
  background: #f6f8fb !important;
}

.badge, .tag {
  border-radius: 8px;
}

a {
  color: #526f94;
}

a:hover {
  color: #344e70;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .card, .panel, .project-card {
    border-radius: 13px !important;
  }
}

@media (max-width: 600px) {
  button, input, select {
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ===== PEARL EXECUTIVE — REFINAMENTO FINAL ===== */

:root {
  color-scheme: light !important;
  --bg: #f6f7f9 !important;
  --panel: #ffffff !important;
  --panel2: #f1f2f5 !important;
  --text: #343942 !important;
  --muted: #777f8c !important;
  --border: #e0e3e8 !important;
  --accent: #545b66 !important;
}

html,
body,
body .app,
body .app > main,
body .app main,
body main,
body .main,
body .content,
body .main-content,
body .dashboard {
  background: #f6f7f9 !important;
  color: #343942 !important;
}

/* MENU LATERAL */

body aside,
body .sidebar,
body .side-brand,
body .side-bottom {
  background: #ffffff !important;
  color: #343942 !important;
  border-color: #e0e3e8 !important;
}

body .nav button,
body aside .nav button {
  color: #4c535e !important;
}

body .nav button.active,
body .nav button:hover {
  background: #e9ebef !important;
  color: #343942 !important;
  border-color: #dce0e5 !important;
}

/* CABEÇALHO */

body .topbar,
body .topbar > div,
body .topbar .search,
body .topbar .search-box {
  background: #ffffff !important;
  color: #343942 !important;
  border-color: #e0e3e8 !important;
}

body .topbar input {
  background: #f5f6f8 !important;
  color: #343942 !important;
  border: 1px solid #e0e3e8 !important;
}

body .topbar button {
  color: #545b66 !important;
}

/* BANNER PRINCIPAL */

body .hero {
  background: linear-gradient(
    125deg,
    #ffffff 0%,
    #f3f4f6 65%,
    #eceef2 100%
  ) !important;
  color: #343942 !important;
  border: 1px solid #e0e3e8 !important;
  box-shadow: 0 8px 28px rgba(30,35,45,.055) !important;
}

body .hero h1,
body .hero h2,
body .hero h3,
body .hero p,
body .hero strong {
  color: #343942 !important;
  text-shadow: none !important;
}

/* INDICADORES */

body .stats {
  background: transparent !important;
}

body .stat {
  background: #ffffff !important;
  border: 1px solid #e0e3e8 !important;
  color: #343942 !important;
  box-shadow: 0 5px 20px rgba(30,35,45,.045) !important;
}

body .stat strong,
body .stat b,
body .stat h2,
body .stat h3 {
  color: #343942 !important;
}

body .stat > div:first-child,
body .stat .icon,
body .stat .stat-icon {
  background: #eceef2 !important;
  color: #545b66 !important;
  border-color: #e0e3e8 !important;
}

body .stat svg {
  color: #545b66 !important;
}

/* PROJETOS */

body .projects,
body .projects-section,
body .project-list,
body .project-grid {
  background: transparent !important;
  color: #343942 !important;
}

body .projects h2,
body .projects h3,
body .projects-section h2,
body .projects-section h3 {
  color: #343942 !important;
}

body .project {
  background: #ffffff !important;
  color: #343942 !important;
  border: 1px solid #e0e3e8 !important;
  box-shadow: 0 6px 24px rgba(30,35,45,.055) !important;
  overflow: hidden;
}

body .project > div,
body .project .project-body,
body .project .project-info,
body .project .project-actions {
  background-color: #ffffff !important;
  color: #343942 !important;
  border-color: #e0e3e8 !important;
}

body .project .project-cover,
body .project .project-banner,
body .project .project-image,
body .project .cover {
  background: #f0f1f4 !important;
}

body .project h2,
body .project h3,
body .project strong {
  color: #343942 !important;
}

body .project p,
body .project small {
  color: #777f8c !important;
}

body .project:hover {
  border-color: #c5cad2 !important;
  box-shadow: 0 12px 30px rgba(30,35,45,.09) !important;
}

/* BOTÕES */

body .quick button,
body .project-actions button,
body .projects button {
  border-color: #dce0e5 !important;
}

body button.primary,
body .btn-primary,
body .primary-button,
body .action.primary {
  background: #545b66 !important;
  color: #ffffff !important;
  border-color: #545b66 !important;
}

body button.primary:hover,
body .btn-primary:hover,
body .primary-button:hover {
  background: #3f4650 !important;
}

/* ETIQUETAS */

body .badge,
body .project .badge {
  background: #eceef2 !important;
  color: #545b66 !important;
  border: 1px solid #dce0e5 !important;
}

/* OUTROS PAINÉIS */

body .panel,
body .tile,
body .card,
body .modal-box,
body .login-card {
  background: #ffffff !important;
  color: #343942 !important;
  border-color: #e0e3e8 !important;
}

body h1,
body h2,
body h3,
body h4 {
  color: #343942 !important;
}

body input,
body select,
body textarea {
  background: #ffffff !important;
  color: #343942 !important;
  border-color: #dce0e5 !important;
}

/* RESPONSIVIDADE */

@media (max-width: 900px) {
  body .hero,
  body .stat,
  body .project {
    border-radius: 14px !important;
  }
}


/* PEARL EXECUTIVE — BARRA DE PESQUISA */
body .topbar .pearl-search-shell,
body .topbar .pearl-search-shell > div {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

body .topbar .pearl-search-shell {
  padding: 0 !important;
  border: 0 !important;
}

body .topbar .pearl-search-shell input {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 43px !important;
  min-height: 43px !important;
  background: #ffffff !important;
  color: #343942 !important;
  border: 1px solid #dce0e6 !important;
  border-radius: 12px !important;
  padding: 0 16px 0 38px !important;
  box-shadow: 0 2px 9px rgba(30,35,45,.035) !important;
  outline: none !important;
}

body .topbar .pearl-search-shell input:focus {
  border-color: #aeb5bf !important;
  box-shadow: 0 0 0 3px rgba(150,155,165,.12) !important;
}

body .topbar .pearl-search-shell input::placeholder {
  color: #9199a5 !important;
  opacity: 1 !important;
}

body .topbar .pearl-search-shell svg,
body .topbar .pearl-search-shell i {
  color: #7a828e !important;
}

@media (max-width: 650px) {
  body .topbar .pearl-search-shell input {
    height: 40px !important;
    min-height: 40px !important;
  }
}

/* PEARL EXECUTIVE - BUSCA CORRIGIDA */
body .workspace header .search, body .workspace .search { background: transparent !important; background-image: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
body .workspace .search input { width: 100% !important; height: 43px !important; min-height: 43px !important; box-sizing: border-box !important; background: #ffffff !important; color: #343942 !important; border: 1px solid #dce0e6 !important; border-radius: 12px !important; padding: 0 15px 0 36px !important; box-shadow: 0 2px 8px rgba(35,40,50,.04) !important; }
body .workspace .search input:focus { border-color: #aab1bc !important; outline: none !important; box-shadow: 0 0 0 3px rgba(170,177,188,.15) !important; }
body .workspace .search svg, body .workspace .search i { color: #737b87 !important; }

/* PEARL EXECUTIVE - ACABAMENTO */
body .workspace .search > span:first-child{position:absolute!important;left:15px!important;top:50%!important;transform:translateY(-50%)!important;z-index:2!important;pointer-events:none!important;color:#777!important}body .workspace .search{position:relative!important;display:flex!important;align-items:center!important}body .project-actions button:first-child,body .project-actions a:first-child{background:#454b55!important;border-color:#454b55!important;color:white!important}body .project-actions button:first-child:hover,body .project-actions a:first-child:hover{background:#343942!important}body .project{border-color:#e3e6eb!important;box-shadow:0 5px 20px rgba(32,38,48,.05)!important}
/* PEARL EXECUTIVE V2 */
body .workspace .search{position:relative!important;background:transparent!important;border:0!important;box-shadow:none!important}
body .workspace .search input{padding-left:42px!important;border-radius:12px!important}
body .workspace .search:before{content:"⌕";position:absolute;left:15px;top:50%;transform:translateY(-50%);z-index:3;color:#737983;font-size:22px;pointer-events:none}
body .workspace .search>svg,body .workspace .search>i,body .workspace .search>span:first-child{display:none!important}
body .hero h1,body .hero h1 *,body .hero h2,body .hero h2 *{color:#343942!important;-webkit-text-fill-color:#343942!important;text-shadow:none!important}
body .projects button,body .project-actions button,body .project-actions a{background:#505660!important;background-image:none!important;color:#fff!important;border-color:#505660!important}
body .projects button:hover,body .project-actions button:hover,body .project-actions a:hover{background:#3b414a!important;border-color:#3b414a!important}
body .project{border:1px solid #e1e4e9!important;box-shadow:0 6px 20px rgba(30,35,45,.05)!important}
body .project .project-cover,body .project .project-banner,body .project .project-image,body .project .cover{background:linear-gradient(135deg,#f5f6f8,#e9ebef)!important}
body .project .badge{background:#f0f1f3!important;color:#5a606a!important;border-color:#e0e3e8!important}
body aside .nav button.active{background:#eceef1!important;color:#343942!important;border-color:#e0e3e8!important}

/* Central Tech House - Pearl Executive */
:root{--premium-accent:#b59a69;--premium-accent-dark:#8e754b;--premium-champagne:#b59a69;--accent:#b59a69!important}
body{background:#f4f5f7!important;color:#242b35!important}
body .hero{min-height:132px!important;padding:27px 34px!important;border:1px solid #e1e4e9!important;border-radius:18px!important;background:linear-gradient(115deg,#fff 0%,#f7f7f5 65%,#f0eee9 100%)!important;box-shadow:0 8px 28px rgba(27,38,54,.055)!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
body .hero-kicker{display:block;color:#9a8056;font-size:10px;font-weight:800;letter-spacing:.16em;margin-bottom:9px}
body .hero h1,body .hero h1 em{color:#252b34!important}body .hero h1 em{font-style:normal}body .hero p{color:#68717d!important;line-height:1.55!important}
body .hero-mark{display:flex;align-items:center;gap:10px;color:#82704f;font-size:9px;letter-spacing:.12em;font-weight:700}
body .hero-mark span{width:48px;height:48px;display:grid;place-items:center;border:1px solid #d6c7a8;border-radius:15px;color:#9a8056;font-size:16px;font-weight:800;background:#fff}
body .stat,body .panel,body .project{border:1px solid #e1e5eb!important;border-radius:15px!important;background:#fff!important;box-shadow:0 5px 18px rgba(25,37,54,.045)!important}
body .stat{min-height:62px}body .projects{gap:14px!important}body .project{overflow:hidden!important;transition:transform .18s ease,box-shadow .18s ease!important}
body .project:hover{transform:translateY(-2px)!important;box-shadow:0 10px 26px rgba(25,37,54,.10)!important}
body .project .project-cover,body .project .project-banner,body .project .project-image,body .project .cover{height:92px!important;min-height:92px!important;background-color:#ebeef2!important;background-image:linear-gradient(180deg,rgba(255,255,255,.04),rgba(26,35,48,.14)),var(--cover)!important;background-position:center!important;background-size:cover!important}
body .project .project-body{padding:13px 15px!important}
body .projects button,body .project-actions button,body .project-actions a{background:#202a39!important;border-color:#202a39!important;color:#fff!important;border-radius:9px!important;transition:background .18s ease,transform .18s ease!important}
body .projects button:hover,body .project-actions button:hover,body .project-actions a:hover{background:#9a8056!important;border-color:#9a8056!important;transform:translateY(-1px)}
body aside .nav button.active{background:#f2eee6!important;color:#725e3c!important;border-color:#e5dccb!important}
body .project .badge{background:#f3f0e9!important;color:#796744!important;border:1px solid #e9e2d5!important;border-radius:999px!important}
@media(max-width:700px){body .hero{padding:22px!important}body .hero-mark{display:none!important}}

body .project .project-cover{position:relative!important;overflow:hidden!important;background-image:linear-gradient(180deg,rgba(255,255,255,.08),rgba(16,26,42,.14)),var(--project-bg),var(--project-logo),var(--cover)!important;background-position:center!important;background-repeat:no-repeat!important;background-size:100% 100%,contain,contain,contain!important}
body .project .project-card-logo{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain;z-index:1}
.project-asset-preview{display:block;width:100%;height:90px;object-fit:contain;background:#f4f6f8;border:1px solid #dce2e9;border-radius:10px;margin:8px 0 4px;padding:6px}.project-asset-preview[hidden]{display:none}
