/* ================================================================
   FISCUM — Workspaces (CSS específico da página)
   Componentes exclusivos: hero split, dashboard mockup, personas,
   features grid, plans row.
   ================================================================ */

/* ===== Hero ===== */
.ws-hero {
  padding-top: calc(var(--nav-h) + 36px + 80px);
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* ws-hero dot pattern removed */

.ws-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ws-h-ey {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ws-h-ey::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.ws-h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .95;
  margin-bottom: 24px;
}

.ws-h1 em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--blue);
}

.ws-h-p {
  font-size: 18px;
  font-weight: 300;
  color: var(--g5);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}

.ws-h-p strong {
  font-weight: 600;
  color: var(--black);
}

.ws-h-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.ws-h-kpis {
  display: flex;
  gap: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.ws-hk {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}

.ws-hk:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 24px;
}

.ws-hk-n {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--black);
  line-height: 1;
}

.ws-hk-n em {
  color: var(--blue);
  font-style: normal;
}

.ws-hk-l {
  font-size: 12px;
  color: var(--g4);
  margin-top: 5px;
  font-family: var(--mono);
  letter-spacing: .03em;
}


/* ===== Dashboard mockup ===== */
.ws-dashboard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.wsd-bar {
  padding: 10px 16px;
  background: var(--g1);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wsd-dots {
  display: flex;
  gap: 6px;
}

.wsd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.wsd-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--g4);
  margin-left: 8px;
  letter-spacing: .03em;
}

.wsd-body {
  padding: 16px;
}

/* Mini workspace rows */
.ws-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ws-row {
  padding: 10px 12px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  transition: background .15s;
}

.ws-row:hover {
  background: var(--blue5);
}

.ws-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.ws-name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

.ws-cnpj {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--g4);
  letter-spacing: .04em;
}

.ws-status {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
}

.ws-ok {
  background: var(--green2);
  color: var(--green);
}

.ws-warn {
  background: #FEF3C7;
  color: #92400E;
}


/* ===== Personas ===== */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 48px;
}

.persona {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  background: var(--white);
  transition: background .2s;
  position: relative;
  overflow: hidden;
}

.persona:last-child {
  border-right: none;
}

.persona:hover {
  background: var(--blue5);
}

.persona-emoji {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.persona-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.persona-desc {
  font-size: 14px;
  color: var(--g5);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 16px;
}

.persona-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.persona-list li {
  font-size: 13px;
  color: var(--g4);
  display: flex;
  gap: 7px;
}

.persona-list li::before {
  content: '\2192';
  color: var(--blue);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ===== Features grid ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 48px;
}

.fc {
  background: var(--white);
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .2s;
}

.fc:nth-child(3n) {
  border-right: none;
}

.fc:nth-last-child(-n+3) {
  border-bottom: none;
}

.fc:hover {
  background: var(--blue5);
}

.fc-icon {
  width: 40px;
  height: 40px;
  background: var(--blue4);
  border: 1px solid rgba(0, 102, 255, .15);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-h {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.fc-p {
  font-size: 14px;
  color: var(--g5);
  line-height: 1.7;
  font-weight: 300;
}


/* ===== Plans row (workspace comparison) ===== */
.plans-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 48px;
}

.pc {
  background: var(--white);
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pc:last-child {
  border-right: none;
}

.pc.featured {
  background: var(--blue);
  color: #fff;
}

.pc-track {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g4);
}

.pc.featured .pc-track {
  color: rgba(255, 255, 255, .6);
}

.pc-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.pc-price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.pc-price sup {
  font-size: 14px;
  vertical-align: top;
  margin-top: 6px;
}

.pc-price span {
  font-size: 14px;
  font-weight: 300;
  color: var(--g4);
  letter-spacing: 0;
}

.pc.featured .pc-price span {
  color: rgba(255, 255, 255, .6);
}

.pc-ws {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--blue4);
  color: var(--blue);
  padding: 5px 10px;
  border-radius: var(--r);
}

.pc.featured .pc-ws {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.pc-div {
  height: 1px;
  background: var(--border);
}

.pc.featured .pc-div {
  background: rgba(255, 255, 255, .2);
}

.pc-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pc-items li {
  font-size: 13px;
  color: var(--g5);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.pc.featured .pc-items li {
  color: rgba(255, 255, 255, .75);
}

.pc-items li::before {
  content: '\2713';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

.pc.featured .pc-items li::before {
  color: rgba(255, 255, 255, .9);
}

.pc-btn {
  padding: 11px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: 1.5px solid var(--border-m);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all .2s;
  margin-top: auto;
}

.pc-btn:hover {
  border-color: var(--g4);
}

.pc.featured .pc-btn {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.pc.featured .pc-btn:hover {
  background: rgba(255, 255, 255, .25);
}


/* ===== Responsive — 768px ===== */
@media (max-width: 768px) {
  .ws-hero-inner,
  .feat-grid,
  .plans-row,
  .personas {
    grid-template-columns: 1fr;
  }
}
