/**
 * Cloud Win Enterprise â€” POLISH v2 (20260725p2)
 * Verde morto Â· sem 2Âº header Â· Ã­cones Â· cards animados Â· modal ISO light
 */

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/* â€”â€”â€” Kill green + second page banner â€”â€”â€” */
html[data-theme="enterprise"] {
  --secondary: #E8B931 !important;
}

html[data-theme="enterprise"] body.rackon-client .hero-bg-wrap,
html[data-theme="enterprise"] body.rackon-client .hero-bg-wrap.small-header,
html[data-theme="enterprise"] body.rackon-client .header-banner-styled,
html[data-theme="enterprise"] body.rackon-client .small-header.header-banner-styled {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

html[data-theme="enterprise"] body.rackon-client .hero-bg-wrap,
html[data-theme="enterprise"] body.rackon-client .hero-bg-wrap.small-header.inverse,
html[data-theme="enterprise"] body.rackon-client .hero-bg-wrap.small-header.dark,
html[data-theme="enterprise"] body.rackon-client .hero-bg-wrap.small-header.bg-primary {
  border-top: 0 !important;
  border-color: transparent !important;
  border: none !important;
}

/* â€”â€”â€” Header command dock (sticky floating) â€”â€”â€” */
html[data-theme="enterprise"] body.rackon-client #main-navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0.75rem 0.75rem 0.35rem !important;
  box-shadow: none !important;
}

html[data-theme="enterprise"] body.rackon-client .cros-navbar,
html[data-theme="enterprise"] body.rackon-client #nav.cros-navbar {
  position: relative !important;
  max-width: min(1180px, calc(100% - 1.5rem)) !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  clip-path: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  isolation: isolate;
}

html[data-theme="enterprise"] body.rackon-client .cros-navbar::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1.5px solid rgba(42, 69, 120, 0.12) !important;
  box-shadow: 0 18px 40px rgba(42, 69, 120, 0.1), 0 0 0 1px rgba(232, 185, 49, 0.08) !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)) !important;
  backdrop-filter: blur(16px) saturate(1.15);
}

html[data-theme="enterprise"] body.rackon-client .cros-navbar::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0; right: 14px; top: 0;
  height: 3px !important;
  background: linear-gradient(90deg, #C8102E, #E8B931, transparent 78%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

html[data-theme="enterprise"] body.rackon-client .cros-navbar .container {
  min-height: 4.15rem !important;
  position: relative;
  z-index: 1;
}

html[data-theme="enterprise"] body.rackon-client #main-body,
html[data-theme="enterprise"] body.rackon-client #main-body-smb {
  padding-top: 0.85rem !important;
}

/* Compact page title when banner is gone */
html[data-theme="enterprise"] body.rackon-client .primary-content > .header-lined:first-child,
html[data-theme="enterprise"] body.rackon-client #main-body .header-lined:first-of-type {
  margin: 0 0 1.25rem !important;
  padding: 0.35rem 0 0.85rem !important;
  border: 0 !important;
}

html[data-theme="enterprise"] body.rackon-client .header-lined h1 {
  font-family: "Jura", sans-serif !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  font-weight: 700 !important;
  color: #2A4578 !important;
  letter-spacing: -0.02em !important;
}

/* â€”â€”â€” Icons: kill Duotone ghost boxes â€”â€”â€” */
html[data-theme="enterprise"] body.rackon-client .fad::after,
html[data-theme="enterprise"] body.rackon-client .fal::after,
html[data-theme="enterprise"] body.rackon-client .fad::before {
  opacity: 1 !important;
}
html[data-theme="enterprise"] body.rackon-client .fad::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

html[data-theme="enterprise"] body.rackon-client .fal,
html[data-theme="enterprise"] body.rackon-client .fad,
html[data-theme="enterprise"] body.rackon-client .far,
html[data-theme="enterprise"] body.rackon-client .fas {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

html[data-theme="enterprise"] body.rackon-client .fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

html[data-theme="enterprise"] body.rackon-client .list-group-item i,
html[data-theme="enterprise"] body.rackon-client .sidebar i,
html[data-theme="enterprise"] body.rackon-client .cap-home-shortcut i,
html[data-theme="enterprise"] body.rackon-client .tile .icon i,
html[data-theme="enterprise"] body.rackon-client .cap-hero__icon i,
html[data-theme="enterprise"] body.rackon-client .cap-btn-primary i,
html[data-theme="enterprise"] body.rackon-client .cap-btn-outline i {
  opacity: 1 !important;
  visibility: visible !important;
  color: #2F3A8F !important;
}

/* â€”â€”â€” Home welcome card (not the killed banner) â€”â€”â€” */
html[data-theme="enterprise"] body.rackon-client .cap-home-hero {
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFF 55%, #FFFBEB 100%) !important;
  border: 1.5px solid rgba(42, 69, 120, 0.11) !important;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)) !important;
  box-shadow: 0 18px 44px rgba(42, 69, 120, 0.08) !important;
  overflow: hidden;
  margin-bottom: 1.35rem !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-home-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #C8102E, #E8B931, #2A4578);
}

html[data-theme="enterprise"] body.rackon-client .cap-home-hero__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
  color: #2A4578 !important;
  font-weight: 700 !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-home-hero__kicker {
  color: #2F3A8F !important;
  letter-spacing: 0.16em !important;
}

/* â€”â€”â€” Stats tiles â€” modern hover â€”â€”â€” */
html[data-theme="enterprise"] body.rackon-client .tile.cap-home-tile,
html[data-theme="enterprise"] body.rackon-client .cap-home-tile {
  position: relative;
  background: #fff !important;
  border: 1.5px solid rgba(42, 69, 120, 0.11) !important;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)) !important;
  box-shadow: 0 14px 36px rgba(42, 69, 120, 0.06) !important;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
  overflow: hidden;
}

html[data-theme="enterprise"] body.rackon-client .tile.cap-home-tile::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E8B931, transparent);
  transform: scaleX(0.35);
  transition: transform 0.35s ease;
}

html[data-theme="enterprise"] body.rackon-client .tile.cap-home-tile:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(232, 185, 49, 0.5) !important;
  box-shadow: 0 24px 48px rgba(42, 69, 120, 0.12) !important;
}

html[data-theme="enterprise"] body.rackon-client .tile.cap-home-tile:hover::after {
  transform: scaleX(1);
}

html[data-theme="enterprise"] body.rackon-client .tile .icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #EEF2FF, #FFFBEB) !important;
  border: 1px solid rgba(42, 69, 120, 0.1) !important;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  margin-bottom: 0.65rem;
  transition: transform 0.28s ease;
}

html[data-theme="enterprise"] body.rackon-client .tile.cap-home-tile:hover .icon {
  transform: scale(1.08) rotate(-3deg);
}

html[data-theme="enterprise"] body.rackon-client .tile .stat {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #2A4578 !important;
  font-family: "Jura", sans-serif !important;
}

html[data-theme="enterprise"] body.rackon-client .tile .title {
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #64748B !important;
  font-weight: 700 !important;
}

/* Quick shortcuts */
html[data-theme="enterprise"] body.rackon-client .cap-home-shortcut {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-home-shortcut::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 185, 49, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

html[data-theme="enterprise"] body.rackon-client .cap-home-shortcut:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(232, 185, 49, 0.55) !important;
  box-shadow: 0 20px 40px rgba(42, 69, 120, 0.1) !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-home-shortcut:hover::before {
  opacity: 1;
}

html[data-theme="enterprise"] body.rackon-client .cap-home-shortcut i {
  font-size: 1.45rem !important;
  color: #2A4578 !important;
  transition: transform 0.28s ease, color 0.28s ease;
  position: relative;
  z-index: 1;
}

html[data-theme="enterprise"] body.rackon-client .cap-home-shortcut:hover i {
  transform: scale(1.12);
  color: #B45309 !important;
}

/* â€”â€”â€” Meus ServiÃ§os hero card â€”â€”â€” */
html[data-theme="enterprise"] body.rackon-client .cap-hero,
html[data-theme="enterprise"] body.rackon-client .cap-products--modern .cap-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F6FB 50%, #FFFBEB 100%) !important;
  border: 1.5px solid rgba(42, 69, 120, 0.12) !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)) !important;
  box-shadow: 0 18px 44px rgba(42, 69, 120, 0.08) !important;
  padding: 1.35rem 1.5rem !important;
  margin-bottom: 1.25rem !important;
  position: relative;
  overflow: hidden;
}

html[data-theme="enterprise"] body.rackon-client .cap-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #C8102E, #E8B931, #2A4578);
}

html[data-theme="enterprise"] body.rackon-client .cap-hero__icon {
  width: 3.25rem !important;
  height: 3.25rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #EEF2FF, #FFFBEB) !important;
  border: 1.5px solid rgba(42, 69, 120, 0.12) !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)) !important;
  box-shadow: 0 8px 20px rgba(42, 69, 120, 0.08) !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-hero__icon i {
  font-size: 1.35rem !important;
  color: #2A4578 !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-hero__title {
  font-family: "Jura", sans-serif !important;
  font-weight: 800 !important;
  color: #2A4578 !important;
  font-size: 1.45rem !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-stat__value {
  font-family: "Jura", sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  color: #2A4578 !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-stat__label {
  font-size: 0.65rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #64748B !important;
  font-weight: 700 !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-btn-primary {
  background: linear-gradient(180deg, #3A5A9A, #2A4578) !important;
  border: 1px solid rgba(232, 185, 49, 0.5) !important;
  color: #fff !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)) !important;
  font-family: "Jura", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
  box-shadow: 0 12px 28px rgba(42, 69, 120, 0.2) !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-btn-primary:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.05);
  color: #fff !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-btn-outline {
  background: #fff !important;
  border: 1.5px solid rgba(42, 69, 120, 0.16) !important;
  color: #2A4578 !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)) !important;
  font-weight: 700 !important;
}

html[data-theme="enterprise"] body.rackon-client .cap-btn-outline:hover,
html[data-theme="enterprise"] body.rackon-client .cap-btn-outline.active {
  background: #FFFBEB !important;
  border-color: rgba(232, 185, 49, 0.55) !important;
  color: #2A4578 !important;
}

/* Sidebar panels */
html[data-theme="enterprise"] body.rackon-client .panel-sidebar,
html[data-theme="enterprise"] body.rackon-client .sidebar .panel {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

html[data-theme="enterprise"] body.rackon-client .panel-sidebar:hover,
html[data-theme="enterprise"] body.rackon-client .sidebar .panel:hover {
  box-shadow: 0 18px 40px rgba(42, 69, 120, 0.1) !important;
}

html[data-theme="enterprise"] body.rackon-client .list-group-item {
  transition: background 0.2s ease, padding-left 0.2s ease, color 0.2s ease !important;
}

/* Mobile */
@media (max-width: 991px) {
  html[data-theme="enterprise"] body.rackon-client #main-navbar {
    padding: 0.45rem 0.45rem 0.25rem !important;
  }
  html[data-theme="enterprise"] body.rackon-client .cros-navbar {
    max-width: calc(100% - 0.9rem) !important;
  }
  html[data-theme="enterprise"] body.rackon-client .cros-navbar .container {
    min-height: 3.5rem !important;
  }
  html[data-theme="enterprise"] body.rackon-client .cap-hero__inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  html[data-theme="enterprise"] body.rackon-client .tile.cap-home-tile:hover {
    transform: translateY(-3px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="enterprise"] body.rackon-client .tile.cap-home-tile,
  html[data-theme="enterprise"] body.rackon-client .cap-home-shortcut,
  html[data-theme="enterprise"] body.rackon-client .cap-btn-primary {
    transition: none !important;
  }
}

/* ——— Compact page title bar (substitui segundo header verde) ——— */
html[data-theme="enterprise"] body.rackon-client .cw-page-titlebar {
  background: transparent !important;
  border: 0 !important;
  padding: 0.35rem 0 0.15rem !important;
  margin: 0 !important;
}

html[data-theme="enterprise"] body.rackon-client .cw-page-titlebar .page-title {
  text-align: left !important;
  padding: 0.5rem 0 0.85rem !important;
}

html[data-theme="enterprise"] body.rackon-client .cw-page-titlebar .header-lined {
  margin: 0 !important;
  border: 0 !important;
}

html[data-theme="enterprise"] body.rackon-client .cw-page-titlebar h1,
html[data-theme="enterprise"] body.rackon-client .cw-page-titlebar .h1 {
  font-family: "Jura", sans-serif !important;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem) !important;
  font-weight: 700 !important;
  color: #2A4578 !important;
  margin: 0 0 0.25rem !important;
}

html[data-theme="enterprise"] body.rackon-client .cw-page-titlebar .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.78rem !important;
  color: #64748B !important;
}

html[data-theme="enterprise"] body.rackon-client .cw-page-titlebar .breadcrumb a {
  color: #2F3A8F !important;
}

html[data-theme="enterprise"] body.rackon-client .cw-page-titlebar .breadcrumb > li + li::before {
  color: #94A3B8 !important;
}
